:root{--bg:#FFF8EE;--fg:#3A2418;--muted:#7A5F50;--card:#FFFDF8;--orange:#F0702A;--ember:#D8392B;--sun:#F7D15A;--border:#EEDCC8;--green:#78917A;--grad:linear-gradient(120deg,#F7D15A,#F0702A 55%,#D8392B)}
*{box-sizing:border-box;margin:0;padding:0}
body{min-height:100vh;background:radial-gradient(ellipse at 50% 28%,#FCEBD7 0%,var(--bg) 58%);color:var(--fg);font-family:Nunito,system-ui,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit}.wrap{width:min(1080px,calc(100% - 36px));margin:auto}
header{height:68px;border-bottom:1px solid var(--border);background:#FFF8EEEA;backdrop-filter:blur(12px)}
.top{height:100%;display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:1.25rem;font-weight:900}
.dot{width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#FFE58A,#F7B232 35%,#F0702A 70%,#D8392B);box-shadow:0 0 0 5px #F0702A20}
.controls{display:flex;gap:9px;align-items:center}
.lang button,.back{border:1px solid var(--border);background:#fff;border-radius:999px;padding:8px 12px;font:inherit;font-size:.82rem;font-weight:900;text-decoration:none;cursor:pointer}
.lang button.active{background:var(--orange);color:#fff}
main{padding:clamp(34px,7vw,76px) 0 86px}
.intro{text-align:center;max-width:700px;margin:0 auto 28px}
.eyebrow{color:var(--green);font-size:.75rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
h1{font-size:clamp(2.5rem,6vw,4.4rem);line-height:1.04;letter-spacing:-.045em;margin:12px 0}
h1 em{font-family:Literata,Georgia,serif;font-weight:500;color:var(--green)}
.intro p{color:var(--muted);font-size:1.05rem;max-width:54ch;margin:auto}
.room{width:min(780px,100%);margin:0 auto;background:#FFFDF8D9;border:1px solid var(--border);border-radius:30px;padding:clamp(22px,5vw,42px);box-shadow:0 24px 70px -48px #6B432C66;text-align:center}
.mode-label{font-size:.82rem;color:var(--muted);font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.orb-wrap{height:250px;display:grid;place-items:center;position:relative;margin:12px 0}
.orb{width:178px;height:178px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 34% 28%,#FFF6D9 0%,#E9D6B6 45%,#C8B99D 100%);box-shadow:0 18px 42px #8B765133,inset -12px -14px 28px #8B765122;transform:scale(.82);transition:transform 4s ease-in-out,box-shadow 4s ease-in-out;position:relative}
.orb:before{content:"";position:absolute;inset:12px;border:1px solid #fff9;border-radius:50%}
.orb:after{content:"";position:absolute;width:12px;height:12px;border-radius:50%;background:#fff9;top:32px;left:48px;filter:blur(1px)}
.orb.inhale{transform:scale(1.12);box-shadow:0 24px 60px #78917A35,inset -12px -14px 28px #8B765122;transition-duration:4s}
.orb.exhale{transform:scale(.82);transition-duration:6s}
.phase{font-size:1.25rem;font-weight:900;position:relative;z-index:1}
.count{font-size:.88rem;color:var(--muted);font-variant-numeric:tabular-nums}
.timer{font-size:2rem;font-weight:900;font-variant-numeric:tabular-nums;margin:4px 0 14px}
.progress{height:6px;background:#F0E5D8;border-radius:99px;overflow:hidden;max-width:340px;margin:0 auto 22px}
.progress span{display:block;height:100%;width:0;background:var(--grad);border-radius:99px;transition:width .3s}
.actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.btn{border:0;border-radius:999px;padding:13px 23px;font:inherit;font-weight:900;cursor:pointer;transition:transform .18s,box-shadow .18s}
.btn:hover{transform:translateY(-2px)}
.primary{background:linear-gradient(120deg,#C84A1A,#B8341E);color:#fff;box-shadow:0 12px 26px #B8341E30}
.secondary{background:#fff;border:1px solid var(--border);color:var(--fg)}
.note{font-size:.82rem;color:var(--muted);margin:16px auto 0;max-width:58ch}
.below{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px auto 0;max-width:780px}
.tip{background:#FFFDF8B8;border:1px solid var(--border);border-radius:22px;padding:22px}
.tip h2{font-size:1.08rem;margin-bottom:7px}.tip p{font-size:.92rem;color:var(--muted)}
.steps{display:grid;gap:8px;margin-top:12px}
.step{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:.9rem}
.step b{color:var(--green);font-variant-numeric:tabular-nums}
footer{text-align:center;border-top:1px solid var(--border);padding:24px;color:var(--muted);font-size:.85rem}
@media(max-width:620px){.below{grid-template-columns:1fr}.orb-wrap{height:220px}.orb{width:158px;height:158px}.room{border-radius:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* 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; }
}

