:root {
    --bg: #FFF8EE; --fg: #3A2418; --card: #FFFDF8; --muted: #7A5F50;
    --orange: #F0702A; --ember: #D8392B; --sun: #F7D15A; --border: #EEDCC8;
    --grad: linear-gradient(120deg, #F7D15A 0%, #F0702A 55%, #D8392B 100%);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--fg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
  section { scroll-margin-top: 80px; }
  .wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
  .eyebrow { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin-bottom: 10px; }
  h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
  .muted { color: var(--muted); }
  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; border-radius: 999px; font: inherit; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease; }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: linear-gradient(120deg, #C84A1A 0%, #B8341E 100%); color: #fff; box-shadow: 0 18px 40px -18px rgba(216,57,43,.55); }
  .btn-ghost { background: #fff; color: var(--fg); border-color: var(--border); }
  .card { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: 30px;
    box-shadow: 0 1px 2px rgba(120,60,30,.08), 0 16px 30px -12px rgba(120,60,30,.28), 0 44px 70px -34px rgba(120,60,30,.4);
    transition: transform .25s ease, box-shadow .25s ease; }
  .card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(120,60,30,.08), 0 24px 40px -14px rgba(120,60,30,.32), 0 60px 90px -40px rgba(120,60,30,.45); }

  /* header */
  header.top {
  position: sticky; top: 0; z-index: 9999;
  background: rgba(255,248,238,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  pointer-events: auto;
  padding-top: env(safe-area-inset-top);
}
  .top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; letter-spacing: -.01em; color: var(--fg); text-decoration: none; }
  .dot { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE58A 0%, #F7B232 35%, #F0702A 70%, #D8392B 100%); box-shadow: 0 0 0 5px rgba(240,112,42,.16), 0 8px 16px -4px rgba(216,57,43,.65); display: inline-block; }
  .head-right { display: flex; align-items: center; gap: 12px; }
  .lang { display: inline-flex; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; background: #fff; }
  .lang button { background: none; border: 0; padding: 6px 12px; font: inherit; font-weight: 800; font-size: .8rem; cursor: pointer; color: var(--fg); }
  .lang button.active { background: var(--orange); color: #fff; }
  .menu-btn { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; display: grid; place-items: center; }
  .menu-btn span { display: block; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; margin: 2px 0; }
  .drawer { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--bg); box-shadow: -20px 0 40px -20px rgba(0,0,0,.3); transform: translateX(110%); transition: transform .25s ease; z-index: 30; padding: 28px 26px; display: flex; flex-direction: column; gap: 6px; }
  .drawer.open { transform: translateX(0); }
  .drawer .close { align-self: flex-end; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--orange); background: none; color: var(--orange); font-size: 1.2rem; cursor: pointer; }
  .drawer a { font-size: 1.4rem; font-weight: 800; color: var(--fg); text-decoration: none; padding: 12px 6px; border-radius: 12px; }
  .drawer a:hover { color: var(--ember); background: #FBE9CF; }
  .drawer .menu-home { font-size: 1.2rem; margin: 2px 0 8px; }
  .drawer .menu-group { border-top: 1px solid var(--border); padding: 7px 0; }
  .drawer .menu-group summary { position: relative; list-style: none; cursor: pointer; padding: 10px 30px 10px 6px; border-radius: 12px; font-size: 1.12rem; font-weight: 900; line-height: 1.3; }
  .drawer .menu-group summary::-webkit-details-marker { display: none; }
  .drawer .menu-group summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.35rem; font-weight: 700; }
  .drawer .menu-group[open] summary::after { content: "−"; }
  .drawer .menu-group summary:hover { color: var(--ember); background: #FBE9CF; }
  .drawer .menu-group a { display: block; margin: 2px 0 2px 10px; padding: 8px 10px; font-size: 1rem; font-weight: 700; color: var(--muted); }
  .drawer .menu-group a:hover { color: var(--ember); background: #FBE9CF; }
  .drawer .menu-group[open] a { animation: nepsis-menu-item .3s ease both; }
  @media (max-width: 420px) {
    .drawer { padding: 22px 20px; }
    .drawer .menu-group summary { font-size: 1.04rem; }
  }
  .drawer .lang { margin-top: 18px; align-self: flex-start; }
  .scrim { position: fixed; inset: 0; background: rgba(40,20,10,.35); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 25; }
  .scrim.open { opacity: 1; pointer-events: auto; }

  /* immersive globe hero */
  .hero {
    position: relative; isolation: isolate; display: flex; align-items: center;
    min-height: clamp(680px, calc(100svh - 64px), 980px);
    padding: 46px 0 76px; text-align: left; overflow: hidden;
    background:
      radial-gradient(54% 88% at 78% 48%, rgba(87,153,193,.16) 0%, transparent 72%),
      radial-gradient(45% 70% at 8% 65%, rgba(247,209,90,.28) 0%, transparent 72%),
      var(--bg);
  }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--bg) 0%, rgba(255,248,238,.96) 27%, rgba(255,248,238,.78) 41%, rgba(255,248,238,0) 69%);
  }
  .hero .wrap { position: relative; z-index: 3; width: 100%; pointer-events: none; }
  .hero-copy { position: relative; z-index: 3; max-width: 535px; pointer-events: auto; }
  .hero h1 { font-size: clamp(2.7rem, 5vw, 4.65rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 0; max-width: 12ch; }
  .hero h1 em { font-family: "Literata", Georgia, serif; font-style: italic; font-weight: 500; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero p.lead { margin: 18px 0 0; max-width: 39ch; font-size: 1.1rem; color: var(--muted); }
  .hero .btns { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; margin-top: 30px; }
  .hero-earth {
    position: absolute; z-index: 0; top: 50%; right: -2.5vw;
    width: min(92vh, 78vw, 1020px); height: min(92vh, 78vw, 1020px);
    transform: translateY(-50%); pointer-events: none;
    filter: drop-shadow(0 28px 48px rgba(35,74,104,.20));
  }
  #globeCanvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; pointer-events: none; outline: none; }
  #globeCanvas:active { cursor: grabbing; }
  .globe-drag-hint {
    position: absolute; left: 31%; bottom: 7%; z-index: 2; color: var(--muted);
    font-size: .88rem; font-weight: 800; white-space: nowrap; pointer-events: none;
    background: rgba(255,253,248,.78); border: 1px solid rgba(238,220,200,.8);
    border-radius: 999px; padding: 8px 14px; backdrop-filter: blur(8px);
  }
  .hero-country {
    position: absolute; z-index: 4; right: clamp(18px, 4vw, 64px); bottom: 22px;
    width: min(300px, calc(100vw - 36px)); padding: 17px 19px;
    background: rgba(255,253,248,.94); border: 1px solid var(--border);
    border-radius: 20px; box-shadow: 0 12px 34px rgba(120,60,30,.14);
    backdrop-filter: blur(12px);
  }
  .hero-country .eyebrow { margin-bottom: 4px; }
  .hero-country h2 { font-size: 1.16rem; line-height: 1.2; }
  .hero-country label { display: grid; gap: 7px; font-weight: 800; margin-top: 11px; font-size: .9rem; }
  .hero-country select { width: 100%; font: inherit; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; color: var(--fg); }
  .hero-country .msg { min-height: 1.4em; margin-top: 8px; color: var(--ember); font-weight: 800; font-size: .82rem; }
  @media (max-width: 820px) {
    .hero { min-height: max(640px, calc(100svh - 64px)); align-items: flex-start; padding: 24px 0 80px; }
    .hero::after { background: linear-gradient(180deg, rgba(255,248,238,.05) 0%, rgba(255,248,238,.18) 36%, rgba(255,248,238,.94) 57%, var(--bg) 82%); }
    .hero .wrap { margin-top: auto; }
    .hero-earth {
      width: min(90vw, 70vh); height: min(90vw, 70vh);
      top: 40%; left: 50%; right: auto;
      transform: translate(-50%, -50%);
      opacity: .96;
    }
    .hero-copy { max-width: 100%; padding-top: min(48vh, 420px); }
    .hero h1 { font-size: clamp(2.45rem, 8.7vw, 3.65rem); max-width: 14ch; }
    .hero p.lead { max-width: 37ch; }
    .hero-country { position: relative; right: auto; bottom: auto; width: min(100%, 360px); margin: 22px 0 0; }
    .globe-drag-hint { left: 12%; bottom: 12%; font-size: .78rem; }
  }
  @media (max-width: 480px) {
    .hero { min-height: 680px; padding-bottom: 24px; }
    .hero-earth {
      width: min(88vw, 65vh); height: min(88vw, 65vh);
      top: 38%; left: 50%; right: auto;
      transform: translate(-50%, -50%);
    }
    .hero-copy { padding-top: min(51vh, 430px); }
    .hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
    .hero .btns { gap: 9px; margin-top: 22px; }
    .hero .btn { padding: 12px 20px; }
    .globe-drag-hint { display: none; }
  }


  /* Mobile homepage layout: keep the globe, country selector and hero copy inside the viewport. */
  @media (max-width: 600px) {
    .hero {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      min-height: 0;
      padding: 18px 0 42px;
      overflow: hidden;
    }
    .hero::after { background: linear-gradient(180deg, rgba(255,248,238,.04), rgba(255,248,238,.16) 65%, var(--bg) 100%); }
    .hero-earth {
      position: relative;
      top: auto;
      right: auto;
      width: min(90vw, 390px);
      height: min(90vw, 390px);
      max-width: 100%;
      margin: 0 auto 8px;
      transform: none;
      opacity: 1;
      flex: 0 0 auto;
    }
    .hero .wrap { margin-top: 0; padding-left: 22px; padding-right: 22px; }
    .hero-copy { max-width: 100%; padding-top: 0; }
    .hero h1 { max-width: 13ch; font-size: clamp(2.15rem, 9.4vw, 2.8rem); }
    .hero p.lead { max-width: 34ch; font-size: 1rem; }
    .hero-country {
      position: relative;
      inset: auto;
      width: calc(100% - 44px);
      max-width: 390px;
      margin: 24px auto 0;
      padding: 16px 18px;
    }
    .hero-country select { min-width: 0; max-width: 100%; }
    .globe-drag-hint { display: none; }
  }
  @media (max-width: 380px) {
    .hero-earth { width: 88vw; height: 88vw; }
    .hero .wrap { padding-left: 18px; padding-right: 18px; }
    .hero-country { width: calc(100% - 36px); }
  }

  /* sections */
  .block { padding: 96px 0; }
  .block .head { max-width: 680px; margin-bottom: 30px; }
  .block .head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }

  /* 3D globe styles are part of the immersive hero above */

  /* calculator */
  .calc { display: grid; gap: 22px; }
  @media (min-width: 820px) { .calc { grid-template-columns: 1fr 1fr; } }
  .calc input[type=range] { width: 100%; accent-color: var(--orange); margin-top: 10px; }
  .calc .lbl { font-weight: 800; }
  .result { border-radius: 24px; padding: 28px; background: linear-gradient(180deg, #FCE9C2, #F7D9A5); text-align: center; }
  .result .big { font-size: clamp(3.4rem, 9vw, 5rem); font-weight: 800; color: var(--orange); line-height: 1; margin-top: 8px; }
  .result .formula { font-size: .9rem; color: var(--muted); margin-top: 10px; }
  .note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

  /* compare */
  .compare { display: grid; gap: 18px; }
  @media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }
  .cmp { border-radius: 24px; padding: 26px; }
  .cmp.off { background: #3A2420; color: #F6E9DE; }
  .cmp.on { background: #fff; border: 1.5px solid #F3B99A; }
  .cmp h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 14px; }
  .cmp ul { list-style: none; display: grid; gap: 12px; }
  .cmp li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; font-size: .98rem; }
  .cmp time { font-weight: 800; color: var(--ember); }
  .cmp.off time { color: #F2A37A; }
  .pill { display: inline-block; margin-top: 18px; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .9rem; }
  .cmp.off .pill { background: transparent; border: 1px solid #F2A37A; color: #F6E9DE; }
  .cmp.on .pill { background: var(--sun); color: var(--fg); }

  .premium-choices .choice-copy { margin: 0 0 16px; color: var(--muted); }
  .premium-choices .cmp.off .choice-copy { color: #F6E9DE; }
  .premium-choices .btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
  .premium-choices .btn { padding: 12px 16px; min-height: 0; white-space: normal; text-align: center; }
  .premium-note { margin-top: 18px; color: var(--muted); font-size: .95rem; max-width: 62ch; }

  /* stages */
  .stages { display: grid; gap: 16px; grid-template-columns: 1fr; }
  @media (min-width: 640px) { .stages { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1000px) { .stages { grid-template-columns: repeat(5, 1fr); } }
  .stage { display: flex; flex-direction: column; gap: 10px; }
  .stage .top { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--ember); }
  .stage .dot2 { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
  .stage h3 { font-size: 1.3rem; font-weight: 800; }
  .stage .desc { font-size: .92rem; color: var(--muted); min-height: 3.6em; }
  .ring { position: relative; width: 150px; height: 150px; margin: 10px auto 4px; }
  .ring svg { transform: rotate(-90deg); width: 150px; height: 150px; }
  .ring .track { stroke: rgba(58,36,24,.1); }
  .ring .prog { stroke: url(#ringGrad); transition: stroke-dashoffset .9s linear; }
  .ring .time { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; }
  .stage .start { margin-top: auto; width: 100%; justify-content: center; padding: 12px; font-size: .95rem; }
  .stage .msg { font-size: .85rem; color: var(--ember); font-weight: 800; min-height: 1.4em; text-align: center; }
  .stage-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }

  /* faq */
  .faq { display: grid; gap: 22px; }
  @media (min-width: 820px) { .faq { grid-template-columns: 1fr 1.4fr; } }
  .faq-list { background: var(--card); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
  .faq-list details { border-bottom: 1px solid var(--border); }
  .faq-list details:last-child { border-bottom: 0; }
  .faq-list summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after { content: "⌄"; color: var(--orange); font-size: 1.2rem; }
  .faq-list details[open] summary::after { content: "⌃"; }
  .faq-list details p { padding: 0 22px 18px; color: var(--muted); }

  /* footer */
  footer { border-top: 1px solid var(--border); padding: 36px 0 48px; margin-top: 40px; }
  .foot { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: space-between; text-align: center; font-size: .9rem; color: var(--muted); }
  @media (min-width: 720px) { .foot { flex-direction: row; text-align: left; } }
  .foot a { color: var(--fg); font-weight: 800; }
  .progress-card { padding: 22px 24px; }
  .progress-card .streak { font-size: 1.5rem; font-weight: 800; }
  .progress-card .sub { color: var(--muted); margin-top: 4px; font-size: .95rem; }
  .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .badge2 { padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; border: 2px solid var(--fg); }
  .badge2.done { background: var(--fg); color: #FFF8EE; }
  .after { font-size: .9rem; }
  .fact { background: linear-gradient(180deg, #FCE9C2, #F7D9A5); border-radius: 18px; padding: 16px 18px; margin-top: 10px; }
  .fact .src { font-size: .8rem; color: var(--muted); margin-top: 6px; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
  .chips button { border: 2px solid var(--fg); background: transparent; color: var(--fg); padding: 7px 12px; border-radius: 999px; font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer; }
  .chips button:hover { background: var(--fg); color: #FFF8EE; }
  .after .saved { color: var(--ember); font-weight: 800; margin-top: 6px; font-size: .85rem; }
  .cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; text-transform: capitalize; }
  .cal-head .nav { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; font-size: 1.1rem; cursor: pointer; }
  .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
  .dow { font-size: .7rem; font-weight: 800; color: var(--muted); text-align: center; }
  .day { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: #F6EBDD; color: var(--muted); }
  .day.lvl1 { background: #FBE3B4; color: var(--fg); }
  .day.lvl2 { background: #F7C978; color: var(--fg); }
  .day.lvl3 { background: #F0702A; color: #fff; }
  .day.lvl4 { background: #D8392B; color: #fff; }
  .day.today { outline: 2px solid var(--fg); }
  .qbox { margin-top: 16px; }
  .qtext { font-weight: 800; }
  .chips button.sel { background: var(--fg); color: #FFF8EE; }
  .sub-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 18px; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .sub-modal.open { opacity: 1; pointer-events: none; }
  .sub-card { position: relative; background: var(--card); border-radius: 28px; padding: 28px; width: min(520px, 100%); max-height: 92vh; overflow: auto; box-shadow: 0 40px 80px -30px rgba(120,60,30,.55); transform: translateY(14px); transition: transform .25s ease; }
  .sub-modal.open .sub-card { transform: translateY(0); pointer-events: auto; }
  .sub-card .close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--orange); background: none; color: var(--orange); font-size: 1.1rem; cursor: pointer; }
  .sub-frame { display: block; width: 100%; height: 680px; border: 0; margin-top: 16px; border-radius: 16px; background: transparent; }
  .sub-card { max-height: 94vh; overflow-y: auto; overscroll-behavior: contain; }
  @media (max-width: 600px) { .sub-frame { height: 740px; } .sub-card { padding: 22px 18px; } }
  .sub-form-fallback { display: block; margin: 14px auto 0; width: fit-content; color: var(--orange); font-weight: 800; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
  .acc-btn { border: 1.5px solid var(--border); background: #fff; color: var(--fg); padding: 8px 14px; border-radius: 999px; font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer; }
  .acc-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 18px; z-index: 45; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .acc-modal.open { opacity: 1; pointer-events: none; }
  .acc-modal.open .acc-card { pointer-events: auto; }
  .acc-card { position: relative; background: var(--card); border-radius: 28px; padding: 28px; width: min(460px, 100%); box-shadow: 0 40px 80px -30px rgba(120,60,30,.55); }
  .acc-card .close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--orange); background: none; color: var(--orange); font-size: 1.1rem; cursor: pointer; }
  .acc-card input { width: 100%; font: inherit; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: #fff; margin-top: 10px; }
  .acc-card .go { margin-top: 12px; width: 100%; justify-content: center; }
  .acc-google { width: 100%; justify-content: center; gap: 10px; margin-top: 4px; background: #fff; color: var(--fg); border: 1.5px solid var(--border); box-shadow: 0 1px 2px rgba(58,36,24,.06); }
  .acc-google:hover { border-color: #B9A28E; }
  .acc-google svg { width: 20px; height: 20px; flex: 0 0 auto; }
  .acc-divider { display:flex; align-items:center; gap:12px; margin:16px 0 12px; color:var(--muted); font-size:.82rem; font-weight:800; }
  .acc-divider::before,.acc-divider::after { content:""; height:1px; flex:1; background:var(--border); }
  .acc-email-label { display:grid; gap:7px; font-size:.9rem; font-weight:800; color:var(--fg); }
  .acc-email { width:100%; padding:13px 14px; border:1.5px solid var(--border); border-radius:12px; background:#fff; color:var(--fg); font:inherit; }
  .acc-email:focus { outline:3px solid rgba(240,112,42,.18); border-color:var(--orange); }
  .acc-email-send { width:100%; justify-content:center; margin-top:10px; }
  .acc-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 2px; color: var(--muted); font-size: .82rem; font-weight: 800; }
  .acc-divider::before, .acc-divider::after { content: ""; height: 1px; flex: 1; background: var(--border); }
  .acc-msg { margin-top: 12px; font-weight: 800; color: var(--ember); min-height: 1.4em; }
  .acc-scrim { position: fixed; inset: 0; background: rgba(40,20,10,.35); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 44; }
  .acc-scrim.open { opacity: 1; pointer-events: auto; }
  .medals { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; margin-top: 18px; }
  .medal-wrap { text-align: center; }
  .medal { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: #fff; position: relative;
    background: radial-gradient(circle at 34% 28%, #FFF6D6 0%, #F7D15A 30%, #F0702A 72%, #B8441F 100%);
    box-shadow: inset -8px -12px 20px rgba(120,40,10,.45), inset 6px 8px 14px rgba(255,255,255,.55), 0 18px 26px -10px rgba(120,40,10,.6), 0 4px 0 rgba(120,40,10,.25);
    transform-style: preserve-3d; transition: transform .35s ease; }
  .medal::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); }
  .medal-wrap:hover .medal { transform: rotateX(12deg) rotateY(-14deg) translateY(-4px); }
  .medal.locked { background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #EDE3D6 60%, #CDBBA6 100%); color: #B9A590; box-shadow: inset -6px -10px 16px rgba(90,60,40,.25), 0 10px 18px -12px rgba(90,60,40,.4); }
  .medal-label { font-weight: 800; font-size: .9rem; margin-top: 10px; }
  .medal-wrap .sub { font-size: .78rem; color: var(--muted); }
  .dayline { margin-top: 16px; display: grid; gap: 8px; }
  .dayrow { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; font-size: .85rem; font-weight: 800; }
  .daybar { height: 22px; border-radius: 999px; background: #F3E6D4; overflow: hidden; box-shadow: inset 0 2px 4px rgba(120,60,30,.15); }
  .daybar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #F7D15A, #F0702A, #D8392B); box-shadow: 0 4px 10px -4px rgba(216,57,43,.6); }
  .music-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
  .music-row button { border: 2px solid var(--fg); background: transparent; color: var(--fg); padding: 9px 16px; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; }
  .music-row button.active { background: var(--fg); color: #FFF8EE; }
  #musicFrame { margin-top: 14px; max-width: 720px; margin-left: auto; margin-right: auto; }
  .card { transform-style: preserve-3d; }
  /* Warm, Workday-like look: sand background, soft rounded cards, terracotta accents */
  :root { --bg: #F6EEE4; --card: #FFFBF6; --border: #EADCCB; --muted: #8A6F5E; }
  body { background: var(--bg); }
  .card { background: var(--card); border: 1px solid var(--border); border-radius: 32px; padding: 32px;
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 18px 34px -22px rgba(120,70,40,.35); }
  .card:hover { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 26px 44px -22px rgba(120,70,40,.42); }
  .hero { background: radial-gradient(70% 70% at 50% 30%, rgba(255,220,170,.7) 0%, rgba(246,238,228,0) 70%); }
  header.top { background: rgba(246,238,228,.94); border-bottom-color: var(--border); }
  .eyebrow { color: #B9552A; letter-spacing: .12em; }
  .lang button.active, .lang button.active { background: #B9552A; }
  .lang { border-color: var(--border); }
  .drawer { background: var(--bg); }
  .btn-ghost { background: var(--card); border-color: var(--border); }
  .progress-card .badge2 { border-radius: 999px; }
  .daybar { background: #EFE2D2; }
  .daybar > i { background: linear-gradient(90deg, #E9B872, #D9703A, #B9452A); }

  /* restrained homepage overview */
  .home-discovery { padding: 66px 0 88px; }
  .home-intro { max-width: 680px; margin: 0 auto 30px; text-align: center; }
  .home-intro h2 { margin-bottom: 12px; }
  .home-intro p { color: var(--muted); font-size: 1.04rem; }
  .home-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .home-link { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 166px; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); color: var(--fg); text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
  .home-link:hover { border-color: var(--orange); transform: translateY(-2px); }
  .home-link-number { color: var(--ember); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
  .home-link strong { font-size: 1.12rem; }
  .home-link > span:nth-of-type(2) { color: var(--muted); font-size: .92rem; max-width: 26ch; }
  .home-link-arrow { position: absolute; right: 18px; bottom: 14px; color: var(--orange); font-size: 1.25rem; }
  /* Stage 1: Magic Bento-inspired spotlight, restrained for Nepsis */
  .home-link {
    --spot-x: 50%; --spot-y: 50%; --spot-alpha: 0;
    isolation: isolate; overflow: hidden;
    box-shadow: 0 1px 0 rgba(255,255,255,.82) inset, 0 14px 28px -24px rgba(120,70,40,.42);
    transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
  }
  .home-link::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: var(--spot-alpha);
    background: radial-gradient(300px circle at var(--spot-x) var(--spot-y), rgba(217,112,58,.19), transparent 68%);
    transition: opacity .22s ease;
  }
  .home-link:hover {
    border-color: rgba(185,85,42,.58);
    box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 36px -22px rgba(120,70,40,.48), 0 0 0 1px rgba(185,85,42,.12);
  }
  .home-link > * { position: relative; z-index: 1; }
  @media (prefers-reduced-motion: reduce) {
    .home-link, .home-link::after { transition: none !important; }
  }
  .home-footnote { margin: 24px auto 0; text-align: center; color: var(--muted); font-size: .9rem; }
  .daily-challenge, .knowledge-note { margin: 0 0 26px; padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); }
  .daily-challenge h3, .knowledge-note h3 { font-size: 1.35rem; margin-bottom: 8px; }
  .daily-challenge p, .knowledge-note p { color: var(--muted); max-width: 70ch; margin-bottom: 16px; }
  .knowledge-note { margin-top: 26px; }
  body.home-page #about, body.home-page #how, body.home-page #stages, body.home-page #faq { display: none !important; }
  .drawer { overflow-y: auto; }
  @media (max-width: 900px) { .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .home-discovery { padding: 48px 0 64px; } .home-links { grid-template-columns: 1fr; } .home-link { min-height: 138px; } }


  /* 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 minimal brand refresh — preserves the existing warm palette and all functionality. */
  body.home-page { letter-spacing: -.012em; }
  body.home-page header.top {
    background: rgba(255,248,238,.94);
    border-bottom: 1px solid rgba(238,220,200,.72);
    backdrop-filter: blur(14px);
  }
  body.home-page .top-in { height: 76px; }
  body.home-page .logo { font-size: 1.42rem; letter-spacing: -.045em; }
  body.home-page .dot { width: 19px; height: 19px; box-shadow: 0 0 0 4px rgba(240,112,42,.12); }
  body.home-page .menu-btn { border-radius: 50%; width: 44px; height: 44px; }
  body.home-page .hero {
    min-height: min(860px, calc(100svh - 76px));
    padding: clamp(48px, 7vh, 88px) 0 84px;
    background:
      radial-gradient(52% 76% at 77% 46%, rgba(87,153,193,.12), transparent 72%),
      radial-gradient(38% 58% at 6% 80%, rgba(247,209,90,.18), transparent 74%),
      var(--bg);
  }
  body.home-page .hero::after {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(255,248,238,.97) 24%, rgba(255,248,238,.78) 40%, rgba(255,248,238,0) 68%);
  }
  body.home-page .hero-copy { max-width: 570px; }
  body.home-page .hero .badge { letter-spacing: .18em; font-size: .72rem; }
  body.home-page .hero h1 {
    max-width: 10.5ch;
    margin-top: 28px;
    font-size: clamp(3.2rem, 6.1vw, 5.7rem);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 800;
  }
  body.home-page .hero h1 em { font-weight: 500; }
  body.home-page .hero p.lead { max-width: 34ch; margin-top: 24px; font-size: clamp(1.04rem, 1.3vw, 1.2rem); line-height: 1.7; }
  body.home-page .hero .btns { margin-top: 36px; gap: 16px; }
  body.home-page .hero .btn { min-height: 54px; padding: 14px 25px; }
  body.home-page .hero .btn-primary { box-shadow: 0 10px 28px -18px rgba(216,57,43,.45); }
  body.home-page .hero .btn-ghost { background: transparent; border-color: transparent; padding-left: 8px; }
  body.home-page .hero-earth {
    width: min(96vh, 82vw, 1080px);
    height: min(96vh, 82vw, 1080px);
    right: -1vw;
    filter: drop-shadow(0 24px 42px rgba(35,74,104,.16));
  }
  body.home-page .globe-drag-hint {
    left: 35%; bottom: 5%;
    background: rgba(255,253,248,.72);
    border-color: rgba(238,220,200,.58);
    font-size: .78rem; font-weight: 700;
  }
  body.home-page .hero-country {
    right: clamp(24px, 5vw, 76px); bottom: 28px;
    width: min(260px, calc(100vw - 40px));
    padding: 13px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(120,60,30,.08);
  }
  body.home-page .hero-country .eyebrow { font-size: .65rem; margin-bottom: 2px; }
  body.home-page .hero-country h2 { font-size: 1rem; }
  body.home-page .hero-country label { margin-top: 7px; font-size: .82rem; }
  body.home-page .hero-country select { padding: 8px 10px; border-radius: 9px; }
  body.home-page .home-discovery { padding: clamp(76px, 10vw, 132px) 0; }
  body.home-page .home-intro { max-width: 760px; margin: 0 0 52px; text-align: left; }
  body.home-page .home-intro h2 {
    max-width: 15ch; margin-bottom: 16px;
    font-size: clamp(2.4rem, 4.4vw, 4.1rem);
    line-height: 1.04; letter-spacing: -.045em;
  }
  body.home-page .home-intro p { max-width: 54ch; font-size: 1.06rem; line-height: 1.75; }
  body.home-page .home-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
    border-top: 1px solid var(--border);
  }
  body.home-page .home-link {
    min-height: 138px; padding: 25px 42px 24px 2px;
    border: 0; border-bottom: 1px solid var(--border);
    border-radius: 0; background: transparent; box-shadow: none;
    transition: padding-left .28s ease, color .28s ease;
  }
  body.home-page .home-link::after { display: none; }
  body.home-page .home-link:hover {
    transform: none; padding-left: 10px;
    border-color: var(--border); box-shadow: none;
  }
  body.home-page .home-link-number { font-size: .7rem; letter-spacing: .16em; }
  body.home-page .home-link strong { font-size: 1.18rem; letter-spacing: -.025em; }
  body.home-page .home-link > span:nth-of-type(2) { max-width: 34ch; line-height: 1.55; }
  body.home-page .home-link-arrow { right: 5px; bottom: 27px; transition: transform .25s ease; }
  body.home-page .home-link:hover .home-link-arrow { transform: translateX(5px); }
  body.home-page .home-footnote { max-width: 70ch; margin: 30px 0 0; text-align: left; line-height: 1.7; }
  body.home-page .block { padding: clamp(76px, 9vw, 120px) 0; }
  body.home-page .block .head { max-width: 760px; margin-bottom: 42px; }
  body.home-page .block .head h2 { letter-spacing: -.045em; }
  body.home-page .card {
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(120,60,30,.035), 0 12px 28px -24px rgba(120,60,30,.22);
  }
  body.home-page .card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -22px rgba(120,60,30,.22); }
  body.home-page footer { margin-top: 0; }
  @media (max-width: 820px) {
    body.home-page .hero { min-height: 780px; padding: 26px 0 170px; }
    body.home-page .hero-earth { width: min(112vw, 80vh); height: min(112vw, 80vh); right: -18vw; top: -2vw; }
    body.home-page .hero-copy { padding-top: min(46vh, 390px); }
    body.home-page .hero h1 { max-width: 12ch; font-size: clamp(2.8rem, 9vw, 4.2rem); }
    body.home-page .hero-country { right: auto; bottom: auto; width: min(100%, 320px); margin: 22px 0 0; }
    body.home-page .home-links { gap: 0 24px; }
  }
  @media (max-width: 600px) {
    body.home-page .top-in { height: 66px; }
    body.home-page .hero { min-height: 0; padding: 14px 0 42px; }
    body.home-page .hero-earth { width: min(94vw, 420px); height: min(94vw, 420px); margin-bottom: 12px; }
    body.home-page .hero-copy { padding-top: 0; }
    body.home-page .hero h1 { max-width: 13ch; font-size: clamp(2.55rem, 11vw, 3.5rem); }
    body.home-page .hero .btns { margin-top: 24px; }
    body.home-page .hero-country { width: calc(100% - 44px); max-width: 390px; margin: 24px auto 0; }
    body.home-page .home-discovery { padding: 70px 0; }
    body.home-page .home-intro { margin-bottom: 32px; }
    body.home-page .home-intro h2 { font-size: clamp(2.2rem, 9vw, 3rem); }
    body.home-page .home-links { grid-template-columns: 1fr; }
    body.home-page .home-link { min-height: 124px; padding: 22px 40px 20px 2px; }
    body.home-page .home-link-arrow { bottom: 22px; }
  }
  @media (prefers-reduced-motion: reduce) {
    body.home-page .home-link, body.home-page .home-link-arrow { transition: none !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 {
  position:relative; z-index:5; inset:auto; margin:28px 0 0;
  width:min(100%,320px); 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; }
  /* The centered ~90vw square above loses to this block: an unscoped
     translateY(-50%), a leftover left:50%, and width:112vw (then capped by
     max-width:100%) shift the globe halfway off the right edge. Reset those
     offsets here so a square fills most of the phone width and stays on screen. */
  body.home-page .hero-earth {
    position: relative;
    inset: auto;
    width: 92vw;
    height: 92vw;
    max-width: 100%;
    margin: 0 auto 12px;
    transform: none;
    opacity: 1;
    flex: 0 0 auto;
  }
  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 { position:relative; inset:auto; width:min(100%,320px); margin:24px 0 0; }
  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; }
}


  /* Why Nepsis: three clear differentiators under the hero. */
  body.home-page .why-nepsis {
    padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 104px);
    background:
      radial-gradient(42% 70% at 12% 0%, rgba(247, 209, 90, .18) 0%, transparent 70%),
      linear-gradient(180deg, var(--bg) 0%, #FFFDF8 100%);
    border-top: 1px solid rgba(238, 220, 200, .65);
  }
  body.home-page .why-nepsis-head {
    max-width: 720px;
    margin: 0 0 clamp(36px, 5vw, 56px);
  }
  body.home-page .why-nepsis-head h2 {
    max-width: 18ch;
    margin: 0 0 16px;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -.03em;
  }
  body.home-page .why-nepsis-head p {
    max-width: 52ch;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
  }
  body.home-page .why-nepsis-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
  }
  body.home-page .why-nepsis-item {
    padding: clamp(28px, 3.5vw, 40px) clamp(18px, 2.4vw, 32px) clamp(8px, 1vw, 16px);
    border-right: 1px solid var(--border);
    min-width: 0;
  }
  body.home-page .why-nepsis-item:first-child {
    padding-left: 0;
  }
  body.home-page .why-nepsis-item:last-child {
    border-right: 0;
    padding-right: 0;
  }
  body.home-page .why-nepsis-index {
    display: block;
    margin-bottom: 18px;
    color: var(--ember);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .14em;
  }
  body.home-page .why-nepsis-item h3 {
    margin: 0 0 10px;
    font-size: clamp(1.2rem, 1.7vw, 1.45rem);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.2;
  }
  body.home-page .why-nepsis-lead {
    margin: 0 0 12px;
    color: var(--fg);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
  }
  body.home-page .why-nepsis-item > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.65;
  }
  @media (max-width: 900px) {
    body.home-page .why-nepsis-grid {
      grid-template-columns: 1fr;
      border-top: 0;
    }
    body.home-page .why-nepsis-item {
      padding: 26px 0;
      border-right: 0;
      border-top: 1px solid var(--border);
    }
    body.home-page .why-nepsis-item:first-child,
    body.home-page .why-nepsis-item:last-child {
      padding-left: 0;
      padding-right: 0;
    }
  }
  @media (max-width: 600px) {
    body.home-page .why-nepsis { padding: 64px 0 68px; }
    body.home-page .why-nepsis-head { margin-bottom: 28px; }
    body.home-page .why-nepsis-head h2 { max-width: 16ch; }
    body.home-page .why-nepsis-item { padding: 22px 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    body.home-page .why-nepsis-item { transition: none !important; }
  }



@media (max-width: 380px) {
  header.top .top-in { padding-left: 14px; padding-right: 14px; }
  .logo { gap: 7px; font-size: 1.1rem; }
  .head-right { gap: 6px; }
  .acc-btn { padding: 6px 8px; font-size: .76rem; }
  .lang button { padding: 5px 7px; font-size: .72rem; }
  .menu-btn { width: 36px; height: 36px; flex: 0 0 36px; }
}


@media (max-width: 380px) {
  body.home-page .why-nepsis .wrap { padding-left: 18px; padding-right: 18px; }
  body.home-page .why-nepsis-head h2 { overflow-wrap: anywhere; }
}

a.acc-btn { text-decoration: none; display: inline-flex; align-items: center; }
.acc-modal { z-index: 80; }
.acc-scrim { z-index: 79; }


/* Bento homepage — clear, calm entry points */
body.home-page .bento-home { padding: clamp(70px, 9vw, 112px) 0; background: var(--card); border-top: 1px solid var(--border); }
body.home-page .bento-head { display:flex; align-items:end; justify-content:space-between; gap:32px; margin:0 0 clamp(28px,4vw,44px); }
body.home-page .bento-head h2 { max-width:14ch; font-size:clamp(2.05rem,4vw,3.2rem); line-height:1.05; letter-spacing:-.045em; }
body.home-page .bento-head > p { max-width:38ch; margin:0 0 4px; color:var(--muted); font-size:1rem; line-height:1.7; }
body.home-page .bento-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px; }
body.home-page .bento-card { position:relative; display:flex; min-width:0; flex-direction:column; overflow:hidden; padding:clamp(22px,3vw,34px); border:1px solid var(--border); border-radius:26px; background:var(--bg); color:var(--fg); text-decoration:none; box-shadow:0 12px 34px -30px rgba(58,36,24,.42); transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
body.home-page .bento-card:hover { transform:translateY(-4px); border-color:rgba(185,85,42,.5); box-shadow:0 22px 42px -32px rgba(58,36,24,.5); }
body.home-page .bento-card:focus-visible { outline:3px solid var(--orange); outline-offset:3px; }
body.home-page .bento-card-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
body.home-page .bento-kicker { font-size:.7rem; font-weight:900; letter-spacing:.15em; color:var(--muted); }
body.home-page .bento-card h3 { max-width:16ch; margin:0 0 10px; font-size:clamp(1.35rem,2.2vw,2rem); line-height:1.08; letter-spacing:-.04em; }
body.home-page .bento-card p { max-width:38ch; margin:0; color:var(--muted); line-height:1.65; }
body.home-page .bento-focus { grid-column:span 7; min-height:370px; justify-content:space-between; color:#fff9f1; border-color:#3A2418; background:radial-gradient(80% 100% at 100% 0%,rgba(247,209,90,.22),transparent 68%),linear-gradient(145deg,#3A2418,#533322 72%,#6b3b24); }
body.home-page .bento-focus .bento-kicker { color:#f7d15a; }
body.home-page .bento-focus h3 { font-size:clamp(2rem,4.2vw,3.4rem); max-width:9ch; }
body.home-page .bento-focus p { color:rgba(255,249,241,.76); max-width:34ch; }
body.home-page .bento-copy { position:relative; z-index:1; max-width:520px; }
body.home-page .bento-action { display:inline-flex; align-items:center; gap:8px; margin-top:22px; font-size:.9rem; font-weight:850; }
body.home-page .bento-action::after { content:"↗"; color:var(--orange); font-size:1.1rem; }
body.home-page .bento-focus .bento-action::after { color:#f7d15a; }
body.home-page .bento-orbit { position:absolute; width:210px; height:210px; right:-30px; top:58px; border:1px solid rgba(247,209,90,.36); border-radius:50%; box-shadow:0 0 0 20px rgba(247,209,90,.045),0 0 0 42px rgba(247,209,90,.035); }
body.home-page .bento-orbit::before,body.home-page .bento-orbit::after { content:""; position:absolute; border:1px solid rgba(247,209,90,.24); border-radius:50%; }
body.home-page .bento-orbit::before { inset:28px; }
body.home-page .bento-orbit::after { inset:62px; }
body.home-page .bento-orbit i { position:absolute; width:12px; height:12px; left:37px; top:31px; border-radius:50%; background:#f7d15a; box-shadow:0 0 25px #f7d15a; }
body.home-page .bento-duration { position:absolute; right:28px; bottom:26px; padding:8px 13px; border:1px solid rgba(255,255,255,.22); border-radius:99px; color:rgba(255,249,241,.8); font-size:.74rem; font-weight:800; letter-spacing:.08em; }
body.home-page .bento-week { grid-column:span 5; min-height:370px; justify-content:space-between; background:linear-gradient(150deg,#fffdf8,#f5e6d4); }
body.home-page .bento-arrow { color:var(--orange); font-size:1.35rem; }
body.home-page .bento-mini-chart { display:flex; align-items:end; gap:8px; height:74px; margin:20px 0 24px; }
body.home-page .bento-mini-chart i { display:block; flex:1; height:34%; border-radius:99px 99px 5px 5px; background:linear-gradient(180deg,#f7d15a,#f0702a); opacity:.72; }
body.home-page .bento-mini-chart i:nth-child(2),body.home-page .bento-mini-chart i:nth-child(6) { height:55%; }
body.home-page .bento-mini-chart i:nth-child(3),body.home-page .bento-mini-chart i:nth-child(5) { height:73%; }
body.home-page .bento-mini-chart i:nth-child(4) { height:100%; opacity:1; }
body.home-page .bento-week h3 { max-width:13ch; }
body.home-page .bento-privacy { grid-column:span 5; min-height:265px; background:linear-gradient(145deg,#f0e8de,#e6d7c7); }
body.home-page .bento-lock { display:grid; width:38px; height:38px; place-items:center; border:1px solid var(--border); border-radius:50%; background:var(--card); color:var(--ember); font-size:1.3rem; }
body.home-page .bento-privacy h3 { max-width:14ch; margin-top:auto; }
body.home-page .bento-next { grid-column:span 7; min-height:265px; justify-content:space-between; background:linear-gradient(135deg,#fffdf8,#f8efdc); }
body.home-page .bento-sun { color:var(--orange); font-size:1.7rem; }
body.home-page .bento-next h3 { max-width:14ch; }
@media(max-width:780px) {
  body.home-page .bento-head { align-items:flex-start; flex-direction:column; gap:14px; }
  body.home-page .bento-head h2 { max-width:18ch; }
  body.home-page .bento-focus,body.home-page .bento-week { grid-column:span 6; }
  body.home-page .bento-privacy,body.home-page .bento-next { grid-column:span 6; }
}
@media(max-width:560px) {
  body.home-page .bento-home { padding:62px 0; }
  body.home-page .bento-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  body.home-page .bento-focus,body.home-page .bento-week,body.home-page .bento-privacy,body.home-page .bento-next { grid-column:1; min-height:250px; }
  body.home-page .bento-focus { min-height:340px; }
  body.home-page .bento-orbit { right:-95px; opacity:.72; }
  body.home-page .bento-duration { right:20px; bottom:20px; }
}
@media(prefers-reduced-motion:reduce) { body.home-page .bento-card { transition:none; } }


/* Premium, accessible account modal and passwordless states */
body.auth-modal-open { overflow:hidden; }
body.home-page .acc-modal { z-index:100; }
body.home-page .acc-modal.open { pointer-events:auto; }
body.home-page .acc-card.auth-card { position:relative; width:min(488px,100%); max-height:min(92vh,780px); overflow:auto; padding:clamp(26px,5vw,40px); border:1px solid rgba(255,255,255,.82); border-radius:32px; background:radial-gradient(60% 55% at 100% 0%,rgba(247,209,90,.2),transparent 78%),linear-gradient(145deg,#fffdf8,#f6eadb); box-shadow:0 42px 110px -38px rgba(40,20,10,.7),0 1px 0 rgba(255,255,255,.9) inset; isolation:isolate; }
body.home-page .auth-modal-art { position:absolute; width:210px; height:190px; top:-57px; right:-62px; z-index:-1; opacity:.9; pointer-events:none; }
body.home-page .auth-orbit { position:absolute; inset:0; border:1px solid rgba(185,85,42,.2); border-radius:50%; }
body.home-page .auth-orbit-inner { inset:28px; border-color:rgba(185,85,42,.16); }
body.home-page .auth-orbit-dot { position:absolute; width:12px; height:12px; left:38px; top:48px; border-radius:50%; background:#f7d15a; box-shadow:0 0 0 8px rgba(247,209,90,.18),0 0 30px rgba(240,112,42,.35); }
body.home-page .acc-card .close { z-index:2; border-color:rgba(185,85,42,.2); background:rgba(255,255,255,.65); color:var(--fg); }
body.home-page .acc-card .close:hover { background:#fff; transform:rotate(5deg); }
body.home-page .acc-card .eyebrow { position:relative; z-index:1; display:block; margin:5px 48px 12px 0; font-size:.7rem; letter-spacing:.16em; }
body.home-page .acc-card h2 { position:relative; z-index:1; max-width:12ch; font-size:clamp(2rem,5vw,2.75rem); line-height:1.02; letter-spacing:-.05em; }
body.home-page .acc-card .auth-intro { position:relative; z-index:1; max-width:36ch; margin:12px 0 18px; line-height:1.65; }
body.home-page .auth-perks { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }
body.home-page .auth-perks span { padding:7px 11px; border:1px solid rgba(185,85,42,.14); border-radius:99px; background:rgba(255,255,255,.56); color:var(--muted); font-size:.75rem; font-weight:850; }
body.home-page .auth-form { position:relative; z-index:1; }
body.home-page .acc-card .acc-google { min-height:52px; border-radius:15px; background:#fff; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
body.home-page .acc-card .acc-google:hover { transform:translateY(-1px); border-color:rgba(185,85,42,.45); box-shadow:0 10px 24px -18px rgba(58,36,24,.5); }
body.home-page .acc-divider { margin:19px 0 14px; }
body.home-page .acc-email-form { display:grid; gap:8px; }
body.home-page .acc-email-label { color:var(--fg); font-size:.84rem; font-weight:850; }
body.home-page .acc-card .acc-email { margin:0; min-height:50px; border-color:rgba(185,85,42,.2); border-radius:15px; background:rgba(255,255,255,.84); }
body.home-page .acc-card .acc-email-send { min-height:50px; margin-top:2px; border:0; border-radius:15px; background:linear-gradient(120deg,#c84a1a,#b8341e); color:#fff; box-shadow:0 12px 26px -17px rgba(184,52,30,.66); }
body.home-page .acc-card .acc-email-send:disabled { opacity:.68; cursor:wait; }
body.home-page .acc-card .auth-footnote { margin:12px 0 0; color:var(--muted); font-size:.76rem; line-height:1.5; text-align:center; }
body.home-page .acc-card .acc-msg { min-height:0; margin:12px 0 0; padding:0; border:0; color:var(--muted); font-size:.86rem; line-height:1.5; }
body.home-page .acc-card .acc-msg:empty { display:none; }
body.home-page .acc-card .acc-msg.is-success,body.home-page .acc-card .acc-msg.is-error,body.home-page .acc-card .acc-msg.is-loading { padding:11px 13px; border:1px solid var(--border); border-radius:14px; background:rgba(255,255,255,.7); }
body.home-page .acc-card .acc-msg.is-success { color:#315d3b; border-color:rgba(72,128,80,.22); background:rgba(101,153,104,.1); }
body.home-page .acc-card .acc-msg.is-error { color:#9d352a; border-color:rgba(157,53,42,.2); background:rgba(216,57,43,.07); }
body.home-page .acc-card .acc-msg.is-loading { color:var(--orange); }
body.home-page .auth-signed-state { margin-top:20px; padding:18px; border:1px solid rgba(72,128,80,.2); border-radius:20px; background:rgba(101,153,104,.1); }
body.home-page .auth-signed-mark { display:grid; width:34px; height:34px; place-items:center; border-radius:50%; background:#5d8f60; color:white; font-weight:900; }
body.home-page .auth-signed-state p { margin:12px 0 0; font-weight:850; }
body.home-page .auth-signed-state .go { margin-top:14px; min-height:48px; border-radius:14px; }
body.home-page .acc-modal.open .acc-card { animation:nepsis-auth-enter .32s cubic-bezier(.2,.8,.2,1) both; }
@keyframes nepsis-auth-enter { from { opacity:0; transform:translateY(14px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
@media(max-width:520px) { body.home-page .acc-modal { padding:12px; } body.home-page .acc-card.auth-card { max-height:94vh; padding:24px 20px; border-radius:26px; } body.home-page .auth-modal-art { right:-104px; opacity:.65; } body.home-page .acc-card h2 { max-width:11ch; } }
@media(prefers-reduced-motion:reduce) { body.home-page .acc-modal.open .acc-card { animation:none; } body.home-page .acc-card .acc-google:hover { transform:none; } }
