/* Case study + policy pages (dark source; light version is generated) */
.content-page main { position: relative; isolation: isolate; overflow: clip; }
.content-page main::before { position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 620px; content: ''; pointer-events: none; background: radial-gradient(ellipse at 85% 0, #b266252d, transparent 60%), linear-gradient(#b0835810 1px, transparent 1px), linear-gradient(90deg, #b0835810 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; mask-image: linear-gradient(#000, transparent); }

.cs-hero { padding-block: 64px 36px; }
.cs-crumbs { display: flex; gap: 10px; margin-bottom: 30px; color: var(--muted); font-size: 12px; }
.cs-crumbs a { color: #ffcba6; }
.cs-crumbs a:hover { color: #ffe5d2; }
.cs-hero h1 { margin: 0 0 14px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(56px, 9vw, 112px); font-weight: 400; line-height: .95; letter-spacing: -4px; animation: hero-enter .7s ease both; }
.cs-tagline { margin: 0 0 24px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 2px; animation: hero-enter .7s .08s ease both; }
.cs-lead { max-width: 640px; margin-bottom: 30px; color: var(--muted); font-size: 18px; animation: hero-enter .7s .14s ease both; }
.cs-hero .actions { gap: 14px 22px; animation: hero-enter .7s .2s ease both; }
.cs-meta { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 46px 0 0; padding-top: 26px; border-top: 1px solid var(--line); animation: hero-enter .7s .26s ease both; }
.cs-meta dt { margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.cs-meta dd { margin: 0; font-size: 14px; line-height: 1.5; }

.cs-showcase { padding-block: 20px 40px; }
.cs-stage { position: relative; padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(ellipse at 15% 0, #f5bb9126, transparent 55%), linear-gradient(150deg, #2a1d14, #18120d); }
.cs-browser { overflow: hidden; max-width: 820px; border-radius: 14px; background: #f6f1ec; box-shadow: 0 30px 70px #0006; }
.cs-browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #e8e1da; }
.cs-browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #cfc4ba; }
.cs-browser-bar b { margin-left: 12px; padding: 4px 14px; border-radius: 6px; background: #f6f1ec; color: #8a7d70; font-size: 10px; font-weight: 400; }
.cs-site { padding: 22px 30px 30px; color: #4b4538; }
.cs-site-nav { display: flex; align-items: center; gap: 18px; font-size: 10px; color: #7d7466; }
.cs-site-nav strong { margin-right: auto; color: #3f3a30; font-family: Georgia, serif; font-size: 17px; font-weight: 400; }
.cs-site-nav em { padding: 7px 13px; border-radius: 20px; background: #4b4538; color: #f6f1ec; font-style: normal; }
.cs-site-hero { padding: 54px 0 40px; }
.cs-site-hero small { font-size: 8px; letter-spacing: 1.6px; color: #9a8f80; }
.cs-site-hero p { margin: 12px 0 22px; font-family: Georgia, serif; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -1.5px; color: #3f3a30; }
.cs-site-buttons { display: flex; gap: 10px; font-size: 10px; }
.cs-site-buttons em, .cs-site-buttons i { padding: 9px 15px; border-radius: 20px; font-style: normal; }
.cs-site-buttons em { background: #4b4538; color: #f6f1ec; }
.cs-site-buttons i { border: 1px solid #b9ad9e; }
.cs-site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cs-site-cards span { padding: 14px; border-radius: 10px; background: #ece5dd; font-size: 10px; color: #7d7466; }
.cs-site-cards b { display: block; margin-bottom: 4px; color: #3f3a30; font-size: 12px; }
.cs-phone { position: absolute; right: clamp(18px, 5vw, 60px); bottom: -28px; width: 210px; padding: 30px 16px 20px; border: 6px solid #2a2420; border-radius: 30px; background: #f6f1ec; color: #4b4538; box-shadow: 0 30px 60px #0007; animation: gentle-float 6s ease-in-out infinite; }
.cs-phone-notch { position: absolute; top: 8px; left: 50%; width: 54px; height: 6px; border-radius: 6px; background: #2a2420; transform: translateX(-50%); }
.cs-phone small { font-family: Georgia, serif; font-size: 13px; }
.cs-phone p { margin: 14px 0 12px; font-size: 13px; font-weight: 600; line-height: 1.35; color: #3f3a30; }
.cs-phone-field { display: block; padding: 22px 10px; border: 1px dashed #b9ad9e; border-radius: 8px; color: #9a8f80; font-size: 9px; }
.cs-phone em { display: block; margin: 10px 0; padding: 8px; border-radius: 20px; background: #4b4538; color: #f6f1ec; font-size: 10px; font-style: normal; text-align: center; }
.cs-phone-result { display: flex; gap: 6px; align-items: center; padding: 8px; border-radius: 8px; background: #e3eadb; color: #4f6440; font-size: 9px; }

.cs-section { padding-block: 90px; }
.cs-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.cs-split h2 { font-size: clamp(32px, 3.6vw, 44px); }
.cs-prose p { color: var(--muted); font-size: 17px; }
.cs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.cs-steps li, .cs-features article { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.cs-steps span { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 26px; border: 1px solid #5d4534; border-radius: 50%; color: #ffc79f; font-size: 12px; }
.cs-steps h3, .cs-features h3 { margin-bottom: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.4px; }
.cs-steps p, .cs-features p { margin: 0; color: var(--muted); font-size: 14px; }
.cs-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cs-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 12px; background: linear-gradient(120deg, #ffda75, #ff973a); color: #4c260c; font-size: 18px; font-weight: 700; }
.cs-outcomes { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cs-outcomes li { position: relative; padding: 18px 20px 18px 54px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-size: 16px; line-height: 1.6; }
.cs-outcomes li::before { position: absolute; top: 18px; left: 20px; content: '✓'; color: var(--orange); font-weight: 700; }
.cs-cta { padding-block: 40px 100px; }
.cs-cta-card { padding: clamp(36px, 6vw, 70px); border: 1px solid #9c7337; border-radius: 28px; background: radial-gradient(ellipse at 90% 0, #ff9b3833, transparent 60%), #241a13; text-align: center; }
.cs-cta-card h2 { margin-bottom: 18px; }
.cs-cta-card > p:not(.eyebrow) { margin: 0 auto 30px; max-width: 480px; color: var(--muted); font-size: 16px; }
.cs-cta-card .actions { justify-content: center; }

[data-cs-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .1, 1); }
.js [data-cs-reveal].cs-pending { opacity: 0; transform: translateY(26px); }

.legal { padding-block: 70px 100px; }
.legal-wrap { max-width: 760px; }
.legal h1 { margin: 0 0 12px; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -2.4px; }
.legal-updated { color: var(--muted); font-size: 13px; }
.legal-intro { margin: 26px 0 10px; font-size: 18px; }
.legal-body h2 { margin: 42px 0 12px; font-size: 22px; letter-spacing: -.5px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-body ul { padding-left: 20px; }
.legal-body a, .legal-intro a { color: #ffcba6; text-decoration: underline; text-underline-offset: 3px; }

/* Real SereniSkin hero in the case study preview */
.cs-browser { background: #f9f8f6; }
.cs-real .pj-site-nav { gap: 20px; padding: 14px 24px; font-size: 12px; }
.cs-real .pj-site-nav img { width: 92px; }
.cs-real .pj-site-nav em { padding: 8px 16px; font-size: 11px; }
.cs-real .pj-site-hero { min-height: 400px; }
.cs-real .pj-site-copy { gap: 14px; padding: 30px 28px; }
.cs-real .pj-rule { width: 40px; }
.cs-real .pj-site-copy small { font-size: 9px; letter-spacing: 2px; }
.cs-real .pj-site-copy p { font-size: clamp(30px, 4vw, 46px); letter-spacing: -1px; }
.cs-real .pj-site-text { max-width: 320px; font-size: 12px; }
.cs-real .pj-site-btns { gap: 18px; font-size: 11px; }
.cs-real .pj-site-btns b { padding: 11px 18px; }
.cs-phone-real { width: 200px; padding: 0; overflow: hidden; }
.cs-phone-real .cs-phone-notch { z-index: 1; }
.cs-phone-real .pj-phone-photo { height: 170px; }
.cs-phone-real .pj-phone-copy { padding: 14px 14px 18px; }
.cs-phone-real .pj-phone-copy p { margin-bottom: 12px; font-size: 17px; }
.cs-phone-real .pj-phone-copy b { padding: 9px; font-size: 10px; }
.cs-phone-real .pj-phone-copy p em { display: inline; margin: 0; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-style: italic; text-align: inherit; }
@media (max-width: 560px) {
  .cs-real .pj-site-nav span { display: none; }
  .cs-real .pj-site-hero { grid-template-columns: 1fr; min-height: 0; }
  .cs-real .pj-site-photo { height: 220px; }
}

/* Case study: screenshots + result */
.cs-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.cs-gallery figure { margin: 0; }
.cs-shot { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f9f8f6; box-shadow: 0 24px 50px #0000002e; }
.cs-shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ece6df; }
.cs-shot-bar span { width: 8px; height: 8px; border-radius: 50%; background: #cfc4ba; }
.cs-shot-bar b { margin-left: 10px; overflow: hidden; padding: 3px 12px; border-radius: 6px; background: #f9f8f6; color: #8a7d70; font-size: 10px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
.cs-shot img { display: block; width: 100%; height: auto; }
.cs-gallery figcaption { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.cs-gallery figcaption b { display: block; margin-bottom: 3px; color: var(--text); font-size: 16px; font-weight: 600; }
.cs-stat { display: inline-flex; flex-direction: column; gap: 6px; margin-top: 30px; padding: 22px 26px; border: 1px solid #9c7337; border-radius: 20px; background: var(--surface); }
.cs-stat strong { font-size: clamp(44px, 5vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -2px; background: linear-gradient(110deg, var(--gold), var(--orange)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.cs-stat span { max-width: 230px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cs-section .testimonial { margin-top: 56px; }
@media (max-width: 760px) { .cs-gallery { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-split, .cs-steps, .cs-features { grid-template-columns: 1fr; gap: 20px; }
  .cs-split { gap: 26px; }
  .cs-phone { position: relative; right: auto; bottom: auto; margin: -60px 0 0 auto; }
}
@media (max-width: 560px) {
  .cs-site { padding: 16px; }
  .cs-site-nav span { display: none; }
  .cs-site-cards { grid-template-columns: 1fr; }
  .cs-phone { margin: 20px auto 0; }
  .cs-section { padding-block: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-phone { animation: none; }
  .js [data-cs-reveal].cs-pending { opacity: 1; transform: none; }
}

/* 404 */
.notfound { display: grid; min-height: calc(100svh - var(--header-height) - 160px); align-items: center; padding-block: 60px; }
.notfound-inner { position: relative; text-align: center; }
.notfound-code { position: absolute; top: -40px; left: 50%; z-index: -1; margin: 0; font-family: 'Inter Display', 'Inter', Arial, sans-serif; font-size: clamp(160px, 26vw, 320px); font-weight: 700; line-height: 1; letter-spacing: -10px; background: linear-gradient(160deg, #ff9b3833, #ff9b3805); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; transform: translateX(-50%); user-select: none; }
.notfound h1 { margin: 0 auto 18px; max-width: 700px; font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -2.4px; }
.notfound-lead { margin: 0 auto 30px; max-width: 480px; color: var(--muted); font-size: 17px; }
.notfound .actions { justify-content: center; gap: 14px 22px; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; font-size: 14px; color: var(--muted); }
.notfound-links a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.notfound-links a:hover { color: var(--text); border-color: var(--orange); }
