:root {
  --bg:#FFF8EE; --fg:#3A2418; --card:#FFFDF8; --muted:#7A5F50;
  --orange:#F0702A; --ember:#D8392B; --sun:#F7D15A; --border:#EEDCC8;
}
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; scroll-padding-top:84px; }
body { min-height:100vh; display:flex; flex-direction:column; background:var(--bg); color:var(--fg); font-family:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif; line-height:1.6; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
.wrap { width:min(1160px,100%); margin:0 auto; padding:0 28px; }
header.top { position:sticky; top:0; z-index:20; background:rgba(255,248,238,.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--border); }
.top-in { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:68px; }
.logo { display:flex; align-items:center; gap:11px; color:var(--fg); text-decoration:none; font-weight:900; font-size:1.35rem; letter-spacing:-.02em; }
.dot { width:19px; height:19px; flex:0 0 19px; display:inline-block; border-radius:50%; background:radial-gradient(circle at 35% 30%,#FFE58A 0%,#F7B232 35%,#F0702A 70%,#D8392B 100%); box-shadow:0 0 0 4px rgba(240,112,42,.13); }
.head-right { display:flex; align-items:center; gap:12px; }
.lang { display:inline-flex; overflow:hidden; border:1.5px solid var(--border); border-radius:999px; background:#fff; }
.lang button { border:0; padding:7px 11px; background:transparent; color:var(--fg); font:inherit; font-size:.8rem; font-weight:900; cursor:pointer; }
.lang button.active { background:var(--orange); color:#fff; }
.menu-btn { width:42px; height:42px; display:grid; place-items:center; border:1.5px solid var(--border); border-radius:12px; background:#fff; cursor:pointer; }
.menu-btn span { display:block; width:18px; height:2px; margin:2px 0; border-radius:2px; background:var(--fg); transition:transform .2s ease,opacity .2s ease; }
.menu-btn.open span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity:0; }
.menu-btn.open span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
.drawer { position:fixed; inset:0 0 0 auto; z-index:30; display:flex; flex-direction:column; gap:5px; width:min(360px,88vw); padding:24px; overflow-y:auto; background:var(--bg); box-shadow:-20px 0 45px -25px rgba(40,20,10,.35); transform:translateX(110%); transition:transform .25s ease; }
.drawer.open { transform:translateX(0); }
.drawer .close { align-self:flex-end; width:40px; height:40px; margin-bottom:8px; border:1.5px solid var(--border); border-radius:50%; background:#fff; color:var(--fg); font-size:1.1rem; cursor:pointer; }
.drawer a { padding:11px 8px; border-radius:10px; color:var(--fg); text-decoration:none; font-size:1.05rem; font-weight:800; }
.drawer a:hover,.drawer a:focus-visible { background:#FBE9CF; color:var(--ember); }
.scrim { position:fixed; inset:0; z-index:25; background:rgba(40,20,10,.32); opacity:0; pointer-events:none; transition:opacity .25s ease; }
.scrim.open { opacity:1; pointer-events:auto; }
main { flex:1; }
.page-heading { padding:68px 0 48px; border-bottom:1px solid var(--border); }
.eyebrow { display:inline-block; margin-bottom:12px; color:var(--ember); font-size:.76rem; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
h1 { max-width:18ch; font-size:clamp(2.4rem,5.6vw,4.4rem); line-height:1.05; letter-spacing:-.035em; font-weight:900; }
.page-heading p { max-width:70ch; margin-top:18px; color:var(--muted); font-size:clamp(1.02rem,2vw,1.16rem); }
.content-section { padding:48px 0; }
.section-heading { max-width:720px; margin-bottom:24px; }
.section-heading h2 { font-size:clamp(1.65rem,3.4vw,2.35rem); line-height:1.15; letter-spacing:-.02em; }
.section-heading p { margin-top:10px; color:var(--muted); }
.content-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.info-card { padding:23px; border:1px solid var(--border); border-radius:18px; background:var(--card); }
.info-number { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; margin-bottom:14px; border-radius:50%; background:#FBE9CF; color:var(--ember); font-weight:900; font-size:.85rem; }
.info-card h3 { margin-bottom:7px; font-size:1.12rem; }
.info-card p { color:var(--muted); font-size:.96rem; }
.research-panel { display:grid; grid-template-columns:minmax(180px,.65fr) 1.35fr; gap:26px; align-items:start; padding:26px; border:1px solid var(--border); border-radius:18px; background:#FFF4E4; }
.research-label { color:var(--ember); font-size:.75rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.research-panel h2 { margin:5px 0 0; font-size:1.45rem; line-height:1.2; }
.research-item + .research-item { margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.research-item p { color:var(--muted); }
.research-item a { display:inline-block; margin-top:6px; color:var(--ember); font-size:.9rem; font-weight:900; text-decoration-thickness:1px; text-underline-offset:3px; }
.note { margin-top:14px; color:var(--muted); font-size:.84rem; }
.cta { display:flex; align-items:center; justify-content:space-between; gap:22px; margin:8px 0 58px; padding:25px 27px; border:1px solid var(--border); border-radius:18px; background:var(--card); }
.cta h2 { font-size:1.35rem; }
.cta p { margin-top:4px; color:var(--muted); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; flex:0 0 auto; padding:12px 20px; border:0; border-radius:999px; background:var(--orange); color:white; font:inherit; font-weight:900; text-decoration:none; transition:transform .15s ease,background .15s ease; }
.btn:hover { transform:translateY(-2px); background:var(--ember); }
.steps { counter-reset:step; }
.step-card { position:relative; }
.step-card .info-number { width:38px; height:38px; }
.step-card p strong { color:var(--fg); }
.faq-list { max-width:900px; padding-bottom:56px; }
.faq-list details { border-bottom:1px solid var(--border); }
.faq-list details:first-child { border-top:1px solid var(--border); }
.faq-list summary { position:relative; padding:19px 42px 19px 4px; cursor:pointer; list-style:none; font-size:1.04rem; font-weight:900; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"+"; position:absolute; top:15px; right:8px; color:var(--orange); font-size:1.5rem; font-weight:500; }
.faq-list details[open] summary::after { content:"−"; }
.faq-list details p { max-width:78ch; padding:0 42px 20px 4px; color:var(--muted); }
.faq-list details a { color:var(--ember); font-weight:800; }
footer { margin-top:auto; border-top:1px solid var(--border); padding:25px 0 30px; color:var(--muted); font-size:.88rem; }
.foot { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.foot a { color:var(--fg); font-weight:800; text-decoration:none; }
.foot a:hover { color:var(--ember); }
@media(max-width:760px) {
  .wrap { padding:0 20px; }
  .page-heading { padding:48px 0 35px; }
  h1 { font-size:2rem; overflow-wrap:anywhere; }
  .content-section { padding:36px 0; }
  .content-grid { grid-template-columns:1fr; }
  .research-panel { grid-template-columns:1fr; gap:12px; padding:22px; }
  .cta { align-items:flex-start; flex-direction:column; }
  .foot { align-items:flex-start; flex-direction:column; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; }
}
  /* NEPSIS MOTION SYSTEM — visible, warm, and consistent across pages */
  @view-transition { navigation: auto; }
  @media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(root) {
      animation: nepsis-page-out .22s cubic-bezier(.4,0,.2,1) both;
    }
    ::view-transition-new(root) {
      animation: nepsis-page-in .58s cubic-bezier(.16,1,.3,1) both;
    }
    @keyframes nepsis-page-out {
      to { opacity: 0; filter: blur(3px); transform: translateY(-7px) scale(.995); }
    }
    @keyframes nepsis-page-in {
      from { opacity: 0; filter: blur(5px); clip-path: inset(0 0 8% 0); transform: translateY(16px) scale(.995); }
      to { opacity: 1; filter: blur(0); clip-path: inset(0 0 0 0); transform: translateY(0) scale(1); }
    }
  }
  .btn, .menu-btn, .lang button, .acc-btn {
    transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
  }
  .btn:hover, .acc-btn:hover { transform: translateY(-3px); }
  .btn:active, .menu-btn:active, .acc-btn:active { transform: translateY(0) scale(.97); }
  .page-heading .eyebrow {
    position: relative; padding: 7px 13px 7px 16px; border-radius: 999px;
    background: rgba(240,112,42,.09); border: 1px solid rgba(208,91,43,.18);
  }
  .page-heading h1, .wrap > h1 { text-wrap: balance; }
  .page-heading h1::after, .wrap > h1::after {
    content: ""; display: block; width: min(150px, 42%); height: 4px; margin-top: 15px;
    border-radius: 99px; background: linear-gradient(90deg,#F7D15A 0%,#F0702A 58%,#D8392B 100%);
    transform-origin: left center;
  }
  .motion-spotlight {
    --nepsis-x: 50%; --nepsis-y: 50%;
    position: relative; isolation: isolate;
    transition: border-color .3s ease, box-shadow .3s ease;
  }
  .motion-spotlight .nepsis-light {
    position: absolute; inset: 0; z-index: 0; border-radius: inherit;
    pointer-events: none; opacity: 0;
    background: radial-gradient(280px circle at var(--nepsis-x) var(--nepsis-y), rgba(217,112,58,.22), rgba(247,209,90,.07) 38%, transparent 72%);
    transition: opacity .28s ease;
  }
  .motion-spotlight:hover .nepsis-light,
  .motion-spotlight:focus-within .nepsis-light { opacity: 1; }
  .motion-spotlight:hover {
    border-color: rgba(190,89,46,.56);
    box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 38px -24px rgba(120,64,36,.48), 0 0 0 1px rgba(190,89,46,.12);
  }
  .motion-spotlight > :not(.nepsis-light) { position: relative; z-index: 1; }

  .motion-spotlight > .stage-folder-tab { position: absolute; top: 0; }
  @media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  }
  .drawer a { transition: transform .28s cubic-bezier(.2,.8,.2,1), color .2s ease, background .2s ease; }
  .drawer.open a { animation: nepsis-menu-item .48s cubic-bezier(.16,1,.3,1) both; }
  .drawer.open a:nth-of-type(2) { animation-delay: .035s; }
  .drawer.open a:nth-of-type(3) { animation-delay: .07s; }
  .drawer.open a:nth-of-type(4) { animation-delay: .105s; }
  .drawer.open a:nth-of-type(5) { animation-delay: .14s; }
  .drawer.open a:nth-of-type(6) { animation-delay: .175s; }
  .drawer.open a:nth-of-type(7) { animation-delay: .21s; }
  .drawer.open a:nth-of-type(8) { animation-delay: .245s; }
  .drawer.open a:nth-of-type(9) { animation-delay: .28s; }
  @keyframes nepsis-menu-item { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
  @media (prefers-reduced-motion: reduce) {
    .btn:hover, .acc-btn:hover { transform: none; }
    .drawer.open a { animation: none; }
    .motion-spotlight, .motion-spotlight .nepsis-light { transition: none !important; }
  }


  /* NEPSIS FINISH PASS — clearer depth, light and tactile feedback */
  .motion-spotlight .nepsis-light {
    background: radial-gradient(340px circle at var(--nepsis-x) var(--nepsis-y),
      rgba(217,112,58,.28), rgba(247,209,90,.11) 40%, transparent 74%);
  }
  .motion-spotlight:hover {
    border-color: rgba(190,89,46,.72);
    box-shadow: 0 1px 0 rgba(255,255,255,.92) inset,
      0 24px 44px -25px rgba(120,64,36,.52),
      0 0 0 1px rgba(190,89,46,.18);
  }
  .cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
  }
  .cta::before {
    content: "";
    position: absolute;
    width: 280px; height: 280px;
    right: -105px; top: -165px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247,209,90,.24), rgba(240,112,42,.08) 48%, transparent 72%);
    pointer-events: none; z-index: -1;
    transition: transform .65s cubic-bezier(.16,1,.3,1);
  }
  .cta:hover { transform: translateY(-4px); border-color: rgba(190,89,46,.48); box-shadow: 0 22px 46px -30px rgba(120,64,36,.5); }
  .cta:hover::before { transform: scale(1.35) translate(-12px,10px); }
  .btn:not(:disabled) { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, filter .3s ease; }
  .btn-primary:hover { filter: saturate(1.12) brightness(1.04); box-shadow: 0 20px 42px -17px rgba(216,57,43,.68); }
  .page-heading h1::after, .wrap > h1::after { animation: nepsis-heading-line .85s .28s cubic-bezier(.16,1,.3,1) both; }
  @keyframes nepsis-heading-line { from { transform: scaleX(.08); opacity: .35; } to { transform: scaleX(1); opacity: 1; } }
  @media (prefers-reduced-motion: reduce) {
    .cta, .cta::before, .btn:not(:disabled), .page-heading h1::after, .wrap > h1::after { animation: none !important; transition: none !important; }
    .cta:hover { transform: none; }
  }


/* NEPSIS SIGNATURE REDESIGN — strong editorial layout, original palette preserved */
:root { scroll-behavior:smooth; }
body { -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
::selection { background:rgba(216,57,43,.18); color:var(--fg,#3A2418); }

/* Shared brand system */
header.top, body > header, body > .wrap > header {
  position:sticky; top:0; z-index:50;
  background:rgba(255,248,238,.94);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(58,36,24,.09);
}
.logo { letter-spacing:-.065em !important; font-weight:850 !important; }
.menu-btn { transition:transform .28s ease,background .28s ease; }
.menu-btn:hover { transform:rotate(90deg); }
main .page-heading, main > .wrap > .page-heading { padding-top:clamp(64px,10vw,132px); padding-bottom:clamp(48px,7vw,88px); }
.page-heading h1, .intro h1, main > .wrap > h1, .hero h1 {
  letter-spacing:-.065em !important; line-height:.98 !important;
}
.page-heading p, .intro p { max-width:62ch; line-height:1.8 !important; }
.content-section, .faq-list, .content, .panel, .tool-panel, .room, .privacy, .welcome {
  border-radius:26px !important;
}
.info-card, .step-card, .card, .stat, .tool-panel, .tip {
  transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,border-color .35s ease;
}
.info-card:hover, .step-card:hover, .stat:hover, .tip:hover {
  transform:translateY(-5px); box-shadow:0 22px 50px -34px rgba(58,36,24,.32);
}
button,.btn,.back,.filter { transition:transform .25s ease,box-shadow .25s ease,background .25s ease; }
button:hover,.btn:hover,.back:hover { transform:translateY(-2px); }
.drawer { box-shadow:-28px 0 80px rgba(58,36,24,.14); }

/* Homepage: unmistakable hero composition */
body.home-page .hero {
  min-height:min(940px,calc(100svh - 76px));
  display:flex; align-items:center; isolation:isolate; overflow:hidden;
  padding:clamp(80px,10vh,140px) 0 110px;
  background:
    radial-gradient(ellipse at 78% 48%,rgba(87,153,193,.16),transparent 43%),
    radial-gradient(ellipse at 12% 92%,rgba(247,209,90,.2),transparent 34%),
    var(--bg);
}
body.home-page .hero::before {
  content:""; position:absolute; z-index:-1; width:min(72vw,980px); aspect-ratio:1;
  right:-13vw; top:50%; transform:translateY(-50%);
  border:1px solid rgba(58,36,24,.08); border-radius:50%;
  box-shadow:0 0 0 42px rgba(58,36,24,.018),0 0 0 92px rgba(58,36,24,.014);
  pointer-events:none;
}
body.home-page .hero::after {
  background:linear-gradient(90deg,var(--bg) 0%,rgba(255,248,238,.98) 28%,rgba(255,248,238,.84) 43%,rgba(255,248,238,0) 69%);
}
body.home-page .hero-copy { position:relative; z-index:3; max-width:620px; }
body.home-page .hero .badge { display:inline-flex; align-items:center; gap:10px; padding:10px 15px; border:1px solid var(--border); border-radius:99px; background:rgba(255,255,255,.54); }
body.home-page .hero h1 { font-size:clamp(4rem,7.4vw,7.6rem); max-width:8.8ch; margin:32px 0 24px; }
body.home-page .hero h1 em { color:var(--orange); font-style:normal; }
body.home-page .hero p.lead { max-width:32ch; font-size:clamp(1.1rem,1.5vw,1.35rem); line-height:1.65; }
body.home-page .hero .btns { gap:14px; margin-top:38px; }
body.home-page .hero .btn-primary { padding:17px 25px; min-height:58px; box-shadow:0 16px 34px -20px rgba(216,57,43,.75); }
body.home-page .hero .btn-ghost { padding:16px 12px; }
body.home-page .hero-earth {
  width:min(76vw,1120px); height:min(76vw,1120px); right:-4vw; top:50%;
  transform:translateY(-50%); z-index:1;
  filter:drop-shadow(0 34px 56px rgba(35,74,104,.2));
}
body.home-page .hero-earth canvas { cursor:grab; }
body.home-page .hero-earth canvas:active { cursor:grabbing; }
body.home-page .globe-drag-hint { left:34%; bottom:9%; z-index:4; }
body.home-page .hero-country {
  z-index:5; left:clamp(22px,5vw,76px); right:auto; bottom:26px;
  width:245px; padding:15px 18px; border:1px solid rgba(58,36,24,.1);
  background:rgba(255,253,248,.88); backdrop-filter:blur(16px);
  box-shadow:0 18px 50px -34px rgba(58,36,24,.35);
}
body.home-page .home-discovery { padding:clamp(100px,13vw,180px) 0; }
body.home-page .home-intro { max-width:850px; margin-bottom:70px; }
body.home-page .home-intro h2 { max-width:12ch; font-size:clamp(3.1rem,6vw,6rem); line-height:.98; letter-spacing:-.065em; }
body.home-page .home-intro p { max-width:52ch; font-size:1.12rem; line-height:1.8; }
body.home-page .home-links {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px;
  border:0;
}
body.home-page .home-link {
  position:relative; min-height:220px; padding:26px 26px 30px;
  display:flex; flex-direction:column; align-items:flex-start; gap:14px;
  border:1px solid var(--border); border-radius:22px; background:var(--card);
  box-shadow:0 8px 28px -24px rgba(58,36,24,.3);
  transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .35s ease,box-shadow .35s ease;
}
body.home-page .home-link:hover { transform:translateY(-7px); border-color:rgba(216,57,43,.42); box-shadow:0 24px 48px -32px rgba(58,36,24,.32); }
body.home-page .home-link-number { font-size:.72rem; font-weight:850; letter-spacing:.15em; color:var(--orange); }
body.home-page .home-link strong { font-size:1.35rem; line-height:1.2; letter-spacing:-.04em; }
body.home-page .home-link > span:nth-of-type(2) { max-width:30ch; line-height:1.65; }
body.home-page .home-link-arrow { right:24px; bottom:22px; font-size:1.45rem; }
body.home-page .home-footnote { max-width:70ch; margin:34px 0 0; text-align:left; line-height:1.8; }
body.home-page .block { padding:clamp(96px,12vw,164px) 0; }
body.home-page .block .head { max-width:850px; margin-bottom:54px; }
body.home-page .block .head h2 { font-size:clamp(2.8rem,5.2vw,5.4rem); line-height:1; letter-spacing:-.06em; }
body.home-page .calc { display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,6vw,80px); padding:clamp(28px,5vw,64px); border-radius:30px; }
body.home-page .result { border-radius:24px; padding:34px; }
body.home-page .compare { gap:18px; }
body.home-page .cmp { border-radius:26px; padding:clamp(24px,4vw,42px); }
body.home-page .stages { gap:16px; }
body.home-page .stage { border-radius:26px; }
body.home-page footer { padding-top:42px; }

/* Practice experience: make the actual tool feel like a product dashboard */
body.practice-page main > .hero { min-height:460px; padding:68px 0 42px; }
body.practice-page .hero-copy { max-width:760px; }
body.practice-page .hero h1 { font-size:clamp(3.4rem,6vw,6.2rem); max-width:10ch; }
body.practice-page .hero-earth { opacity:.34; width:min(55vw,700px); height:min(55vw,700px); right:-7vw; }
body.practice-page .hero-country { display:none; }
body.practice-page .block { padding:clamp(72px,9vw,120px) 0; }
body.practice-page .head { max-width:800px; margin-bottom:38px; }
body.practice-page .head h2 { font-size:clamp(2.6rem,5vw,4.8rem); letter-spacing:-.06em; line-height:1.02; }
body.practice-page .daily-challenge {
  position:relative; overflow:hidden; padding:clamp(30px,5vw,58px);
  border-radius:30px; border:1px solid rgba(216,57,43,.2);
  background:linear-gradient(125deg,rgba(247,209,90,.22),rgba(255,255,255,.72) 58%,rgba(87,153,193,.1));
  box-shadow:0 22px 60px -48px rgba(58,36,24,.36);
}
body.practice-page .daily-challenge h3 { max-width:18ch; font-size:clamp(2rem,4vw,3.5rem); line-height:1.05; letter-spacing:-.055em; }
body.practice-page .daily-challenge p { max-width:56ch; line-height:1.75; }
body.practice-page .progress-card { border-radius:26px; padding:clamp(22px,3vw,34px) !important; }
body.practice-page #quiz { border-radius:26px !important; padding:clamp(24px,4vw,42px) !important; }
body.practice-page .stages { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
body.practice-page .stage {
  min-height:270px; border-radius:26px; padding:22px 16px;
  box-shadow:0 12px 36px -28px rgba(58,36,24,.38);
}
body.practice-page .stage .ring { transform:scale(1.08); }
body.practice-page .stage .start { min-height:44px; border-radius:99px; }
body.practice-page .knowledge-note { border-radius:24px; padding:clamp(24px,4vw,42px); }

/* Other pages: editorial headers and calmer content surfaces */
body:not(.home-page):not(.practice-page) main { padding-bottom:clamp(64px,9vw,120px); }
body:not(.home-page):not(.practice-page) .page-heading,
body:not(.home-page):not(.practice-page) .intro,
body:not(.home-page):not(.practice-page) main > .wrap > .hero {
  position:relative; padding-top:clamp(66px,9vw,118px); padding-bottom:clamp(44px,6vw,76px);
}
body:not(.home-page):not(.practice-page) .page-heading h1,
body:not(.home-page):not(.practice-page) .intro h1,
body:not(.home-page):not(.practice-page) main > .wrap > .hero h1,
body:not(.home-page):not(.practice-page) main > .wrap > h1 {
  font-size:clamp(3rem,6.6vw,6.2rem); max-width:12ch;
}
body:not(.home-page):not(.practice-page) .page-heading::after,
body:not(.home-page):not(.practice-page) .intro::after,
body:not(.home-page):not(.practice-page) main > .wrap > .hero::after {
  content:""; display:block; width:min(100%,240px); height:3px; margin-top:34px;
  background:linear-gradient(90deg,var(--orange),rgba(216,57,43,0));
  transform-origin:left; animation:nepsis-line-in .8s .15s both;
}
@keyframes nepsis-line-in { from{transform:scaleX(.08);opacity:.3} to{transform:scaleX(1);opacity:1} }
body:not(.home-page):not(.practice-page) .content-grid,
body:not(.home-page):not(.practice-page) .grid,
body:not(.home-page):not(.practice-page) .stats,
body:not(.home-page):not(.practice-page) .tools-grid { gap:16px !important; }
body:not(.home-page):not(.practice-page) .info-card,
body:not(.home-page):not(.practice-page) .step-card,
body:not(.home-page):not(.practice-page) .card,
body:not(.home-page):not(.practice-page) .stat,
body:not(.home-page):not(.practice-page) .panel,
body:not(.home-page):not(.practice-page) .tool-panel,
body:not(.home-page):not(.practice-page) .content {
  border-radius:24px !important;
}
body:not(.home-page):not(.practice-page) .faq-list details {
  border-radius:18px; margin:10px 0; padding:20px 24px;
  border:1px solid var(--border); background:var(--card);
}
body:not(.home-page):not(.practice-page) .faq-list summary { font-weight:750; }
body:not(.home-page):not(.practice-page) .hero .search,
body:not(.home-page):not(.practice-page) .search { max-width:700px; }
body:not(.home-page):not(.practice-page) .filters { display:flex; flex-wrap:wrap; gap:9px; margin:24px 0 34px; }
body:not(.home-page):not(.practice-page) .filter { border-radius:99px; padding:10px 17px; }
body:not(.home-page):not(.practice-page) .privacy { padding:22px 26px; }
body:not(.home-page):not(.practice-page) .room { padding:clamp(26px,5vw,54px); }
body:not(.home-page):not(.practice-page) footer { margin-top:64px; }

/* Responsive art direction */
@media(max-width:900px) {
  body.home-page .hero { min-height:820px; align-items:flex-start; padding-top:48px; }
  body.home-page .hero-earth { width:min(92vw,760px); height:min(92vw,760px); right:-25vw; top:47%; opacity:.92; }
  body.home-page .hero-copy { max-width:590px; }
  body.home-page .hero h1 { font-size:clamp(3.5rem,9vw,6rem); }
  body.home-page .home-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.practice-page .stages { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:600px) {
  body.home-page .hero { min-height:760px; padding:30px 0 40px; }
  body.home-page .hero-earth { width:112vw; height:112vw; right:-38vw; top:38%; opacity:.72; }
  body.home-page .hero::after { background:linear-gradient(180deg,rgba(255,248,238,.1),rgba(255,248,238,.2) 45%,var(--bg) 76%); }
  body.home-page .hero-copy { padding-top:0; }
  body.home-page .hero h1 { font-size:clamp(3.15rem,13vw,4.5rem); max-width:9ch; }
  body.home-page .hero-country { left:22px; bottom:16px; width:min(230px,calc(100% - 44px)); }
  body.home-page .globe-drag-hint { left:auto; right:18px; bottom:20%; }
  body.home-page .home-links { grid-template-columns:1fr; }
  body.home-page .home-link { min-height:174px; }
  body.home-page .calc { grid-template-columns:1fr; }
  body.practice-page main > .hero { min-height:360px; }
  body.practice-page .hero-earth { opacity:.2; right:-36vw; }
  body.practice-page .stages { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body:not(.home-page):not(.practice-page) .page-heading h1,
  body:not(.home-page):not(.practice-page) .intro h1,
  body:not(.home-page):not(.practice-page) main > .wrap > .hero h1,
  body:not(.home-page):not(.practice-page) main > .wrap > h1 { font-size:clamp(2.7rem,12vw,4rem); }
}
@media(max-width:390px) {
  body.practice-page .stages { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* Standalone tip pages: same editorial shell, narrower measure so long titles stay inside the screen */
body.tip-page:not(.home-page):not(.practice-page) .page-heading h1 {
  max-width: min(18ch, 100%);
  overflow-wrap: anywhere;
}
body.tip-page:not(.home-page):not(.practice-page) .page-heading::after {
  content: none;
  animation: none;
}
body.tip-page .tip-copy {
  max-width: 68ch;
  font-size: 1.06rem;
  line-height: 1.75;
}
body.tip-page .tip-source {
  max-width: 100%;
  margin-top: 22px;
  color: var(--muted);
  font-size: .95rem;
  overflow-wrap: anywhere;
}
body.tip-page .tip-source a {
  color: var(--ember);
  font-weight: 800;
  overflow-wrap: anywhere;
}
body.tip-page .tip-action { margin-top: 28px; }
body.tip-page .tip-action .btn { max-width: 100%; text-align: center; }

/* January exams page — calm countdown, same warm surfaces */
.exam-page .page-heading h1 { overflow-wrap:break-word; }
.exam-when {
  max-width:min(640px, 100%);
  margin-top:28px;
  padding:22px 22px 18px;
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--card);
}
.exam-when label span { display:block; margin-bottom:8px; font-weight:800; }
.exam-when input[type="date"] {
  display:block;
  width:min(100%, 16rem);
  max-width:100%;
  min-width:0;
  padding:10px 12px;
  border:1.5px solid var(--border);
  border-radius:12px;
  background:var(--card);
  color:var(--fg);
  font:inherit;
  font-weight:700;
}
.exam-count { margin-top:2px; font-size:1.2rem; font-weight:800; letter-spacing:-.02em; overflow-wrap:break-word; }
.exam-change {
  display:inline-block;
  margin-top:8px;
  padding:0;
  border:0;
  background:none;
  color:var(--ember);
  font:inherit;
  font-size:.9rem;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.exam-change[hidden],
#examForm[hidden],
#examCountdown[hidden] { display:none !important; }
.exam-copy p { max-width:68ch; margin-top:16px; }
.exam-copy p:first-child { margin-top:0; }
.exam-copy a { color:var(--ember); font-weight:800; }
.exam-actions { margin-top:28px; }
.exam-sources {
  max-width:68ch;
  margin:12px 0 0;
  padding-left:1.15em;
  color:var(--muted);
  font-size:.9rem;
}
.exam-sources li + li { margin-top:4px; }
.exam-sources a { overflow-wrap:anywhere; }
@media(max-width:760px) {
  .exam-page .page-heading h1 { font-size:clamp(1.85rem, 8vw, 2.2rem); }
  .exam-when { padding:18px 16px 14px; }
  .exam-when input[type="date"] { width:100%; }
}

