/* ==========================================================================
   Stacky — stacky-app.com
   One stylesheet. Anchored in the app's dark theme (lib/theme.ts): near-black
   surfaces, hairline borders, coral for action, gold for identity, the aurora
   diamond for premium. Platform system type, exactly like the app.
   ========================================================================== */

:root {
  --bg: #0d1016;
  --bg-2: #0b0e13;
  --card: #161a22;
  --card-2: #12161e;
  --accent: #1f2533;
  --border: #242b38;
  --input: #2c3444;
  --fg: #f2f4f8;
  --fg-2: #aab0bd;
  --fg-3: #878e9d;
  --coral: #fa792e;
  --coral-top: #fb8f4d;
  --coral-ink: #0b0e14;
  --coral-soft: rgba(248, 118, 60, 0.12);
  --coral-line: rgba(248, 118, 60, 0.3);
  --gold: #d9b26a;
  --gold-light: #efd9a4;
  --gold-deep: #a9823f;
  --gold-text: #f2deac;
  --gold-soft: rgba(217, 178, 106, 0.1);
  --gold-line: rgba(217, 178, 106, 0.3);
  --green: #39c697;
  --optimal: #4fb58c;
  --review: #e0a646;
  --over: #dd6b57;
  --under: #7c90a8;
  --lib: #6ba6e8;
  --stacks: #a99cf0;
  --method: #9aa1af;
  --diamond: #8fe3d4;
  --diamond-ink: #0d3a33;
  --hair: rgba(255, 255, 255, 0.06);
  --hair-2: rgba(255, 255, 255, 0.1);
  --hair-3: rgba(255, 255, 255, 0.16);
  --sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Roboto, Inter, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-card: 24px;
  --r-tile: 18px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  background: var(--bg);
  scrollbar-color: var(--accent) var(--bg);
  scrollbar-width: thin;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
ol,
ul {
  list-style: none;
}
img,
svg,
video {
  display: block;
  vertical-align: middle;
}
img {
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}
button {
  cursor: pointer;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  font-family: var(--sans);
  color: var(--fg);
  background:
    radial-gradient(900px 420px at 50% -6%, rgba(250, 121, 46, 0.055), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
main {
  display: flex;
  flex-direction: column;
  flex: 1;
}
::selection {
  background: rgba(250, 121, 46, 0.35);
}

/* ---------- utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.num {
  font-variant-numeric: tabular-nums;
}
.ic {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: none;
}
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 120;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--coral-ink);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: none;
}
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.25s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: linear-gradient(180deg, var(--coral-top), var(--coral));
  color: var(--coral-ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 20px rgba(250, 121, 46, 0.25);
}
.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 28px rgba(250, 121, 46, 0.35);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hair-2);
  color: var(--fg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--hair-3);
}
.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.btn .arr {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arr {
  transform: translateX(3px);
}
.text-link {
  color: var(--coral);
  font-weight: 500;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px var(--gutter);
  pointer-events: none;
}
.nav-capsule {
  pointer-events: auto;
  max-width: var(--wrap);
  margin: 0 auto;
  height: 58px;
  padding: 0 8px 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(13, 16, 22, 0.66);
  border: 1px solid var(--hair);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 10px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 8px;
  color: var(--fg);
}
.nav-logo svg {
  height: 22px;
  width: auto;
}
.nav-logo b {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-link:hover {
  color: var(--fg);
}
.nav-link.on {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-capsule {
    height: 54px;
    padding-left: 16px;
  }
}

/* ---------- section scaffolding ---------- */
.sec {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
}
.sec + .sec {
  padding-top: 0;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 20px;
}
.kicker i {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.kicker.coral {
  color: var(--coral);
}
.kicker.gold {
  color: var(--gold);
}
.kicker.diamond {
  color: var(--diamond);
}
.kicker.lib {
  color: var(--lib);
}
.kicker.green {
  color: var(--green);
}
.kicker.stacks {
  color: var(--stacks);
}
.h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.h2 .dim {
  color: var(--fg-3);
}
.h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.lede {
  margin-top: 22px;
  max-width: 52ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--fg-2);
  letter-spacing: -0.005em;
}
.lede b {
  color: var(--fg);
  font-weight: 600;
}
.facts {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--fg-2);
  font-size: 15.5px;
  line-height: 1.5;
}
.fact .fi {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hair);
  color: var(--fg);
  font-size: 15px;
}
.fact b {
  color: var(--fg);
  font-weight: 600;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split.flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.split.flip .copy {
  order: 2;
}
.split.flip .stage {
  order: 1;
}
@media (max-width: 900px) {
  .split,
  .split.flip {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split.flip .copy {
    order: 1;
  }
  .split.flip .stage {
    order: 2;
  }
}

/* stage: where phones live */
.stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.stage .bloom {
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--bloom, rgba(250, 121, 46, 0.09)), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
@media (max-width: 900px) {
  .stage {
    min-height: 0;
  }
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  margin-bottom: 26px;
}
.hero-eyebrow i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--coral-ink);
  font-size: 12px;
}
.hero-eyebrow i svg {
  width: 12px;
  height: 12px;
}
.h1 {
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}
.h1 .dot {
  color: var(--coral);
}
.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--fg-2);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
}
.hero-proof {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--fg-3);
  font-size: 13.5px;
  font-weight: 500;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-proof i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(57, 198, 151, 0.18);
}
.hero-stage {
  position: relative;
  min-height: 720px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-stage .bloom {
  inset: 0 -10%;
  background: radial-gradient(closest-side, rgba(250, 121, 46, 0.12), transparent 70%);
}
.hero-phone {
  position: relative;
  z-index: 1;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-stage {
    min-height: 0;
    padding-top: 10px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-sub,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-proof {
    justify-content: center;
  }
}

/* signup form */
.join {
  width: 100%;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.cap-form {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.cap-form:focus-within {
  border-color: rgba(250, 121, 46, 0.55);
  box-shadow: 0 0 0 4px rgba(250, 121, 46, 0.14);
}
.cap-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px 0 16px;
  border: 0;
  outline: 0;
  color: var(--fg);
  font-size: 15.5px;
}
.cap-form input::placeholder {
  color: var(--fg-3);
}
.cap-form .btn {
  height: 44px;
  padding: 0 18px;
}
@media (max-width: 480px) {
  .cap-form {
    flex-direction: column;
    border-radius: 24px;
    padding: 8px;
  }
  .cap-form input {
    width: 100%;
    text-align: center;
  }
  .cap-form .btn {
    width: 100%;
  }
}

/* floating fragments around the hero phone */
.frag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(22, 26, 34, 0.9);
  border: 1px solid var(--hair-2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  animation: frag-in 1s var(--ease) forwards;
  animation-delay: var(--fd, 0.8s);
}
@keyframes frag-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.frag .ftx b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.frag .ftx span {
  display: block;
  font-size: 12.5px;
  color: var(--fg-3);
}
.frag-a {
  left: -4%;
  top: 19%;
}
.frag-b {
  right: -6%;
  top: 44%;
}
.frag-c {
  left: -2%;
  bottom: 18%;
}
.frag .chk {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--coral-ink);
  display: grid;
  place-items: center;
}
.frag .chk .ic {
  stroke-width: 2.6;
  width: 15px;
  height: 15px;
}
.frag .ring {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}
.frag .ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.frag .ring .arc {
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p));
  transition: stroke-dashoffset 1.4s var(--ease) 1.2s;
}
@media (max-width: 980px) {
  .frag {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frag {
    animation: none;
    opacity: 1;
  }
}

/* ==========================================================================
   DEVICE — a 390×844 iPhone, scaled with --s
   ========================================================================== */
.device-wrap {
  --s: 0.78;
  width: calc(390px * var(--s));
  height: calc(844px * var(--s));
  flex: none;
}
.device {
  position: relative;
  width: 390px;
  height: 844px;
  transform: scale(var(--s));
  transform-origin: top left;
  border-radius: 58px;
  background: #06080c;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 8px #0a0c11,
    0 0 0 9px rgba(255, 255, 255, 0.05),
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 90px 160px rgba(0, 0, 0, 0.35);
}
.device::before {
  /* the glass */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.03));
}
.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 46px;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  letter-spacing: -0.01em;
}
.island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 34px;
  border-radius: 20px;
  background: #000;
  z-index: 6;
}
.statusbar {
  position: relative;
  z-index: 4;
  height: 58px;
  padding: 18px 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}
.statusbar .sig {
  display: flex;
  gap: 6px;
  align-items: center;
}
.scr {
  position: relative;
  padding: 10px 16px 0;
  height: calc(100% - 58px);
}
.tabbar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  z-index: 8;
}
.tab-capsule {
  flex: 1;
  height: 62px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 7px;
  background: rgba(28, 28, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.tab {
  flex: 1;
  height: 48px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--fg-2);
}
.tab .ic {
  width: 20px;
  height: 20px;
}
.tab.on {
  color: var(--coral);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.orb {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--coral);
  background: rgba(28, 28, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.orb .ic {
  width: 22px;
  height: 22px;
}
.home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  z-index: 9;
}
.scr-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, var(--bg) 78%);
  z-index: 7;
  pointer-events: none;
}

/* ---- ScreenHeader (shared by Today / Stack / Overview / Explore / Advisor) ---- */
.s-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 6px;
}
.s-ava {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 30% 30%, #7fb7a4, #2c4a3f 60%, #17261f);
  border: 2px solid var(--diamond);
  box-shadow: 0 0 0 1px rgba(143, 227, 212, 0.35), 0 0 16px rgba(143, 227, 212, 0.25);
}
.s-ava::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--bg);
}
.s-mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.s-eye {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.2;
}
.s-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.icbtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair-2);
  color: var(--fg);
  flex: none;
}
.icbtn .ic {
  width: 20px;
  height: 20px;
}
.icbtn.mint {
  background: #d3f7ef;
  border-color: transparent;
  color: var(--diamond-ink);
}
.icbtn.badge::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.icbtn.badge {
  position: relative;
}
.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--coral-top), var(--coral));
  color: #fff;
  box-shadow: 0 6px 18px rgba(250, 121, 46, 0.35);
  flex: none;
}
.fab .ic {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

/* ---- Today ---- */
.wk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 4px 8px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.wk-nav .ic {
  width: 16px;
  height: 16px;
  color: var(--fg-3);
}
.wk {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.day {
  height: 80px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.day .dn {
  font-size: 12px;
  font-weight: 600;
}
.day .ringwrap {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.day .ringwrap svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.day.today {
  border-color: rgba(255, 255, 255, 0.14);
  background: #1a1f29;
}
.day.today .ringwrap {
  width: 44px;
  height: 44px;
  font-size: 20px;
}
.day.future {
  background: transparent;
  border-color: transparent;
  color: var(--fg-3);
}
.arc {
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p, 0));
  transition: stroke-dashoffset 1.2s var(--ease);
  transition-delay: var(--d, 0.3s);
}
.blk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.blk .ic {
  width: 20px;
  height: 20px;
  color: var(--fg-2);
  stroke-width: 1.6;
}
.blk .ct {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
  margin-left: 2px;
}
.blk .rule {
  flex: 1;
  height: 1px;
  background: var(--hair-2);
  margin: 0 12px;
}
.blk .mark {
  font-size: 16px;
  font-weight: 600;
  color: var(--coral);
}
.blk .chev {
  width: 18px;
  height: 18px;
  color: var(--fg-2);
}
.blk .minis {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  margin-left: auto;
  margin-right: 8px;
}
.blk .minis + .mark {
  margin-left: 0;
}
.blk .minis .vessel {
  height: 24px;
  width: auto;
}
.times {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-left: 4px;
}
.tpill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--hair-2);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  width: 118px;
  flex: none;
}
.tpill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.tpill small {
  font-size: 12px;
  color: var(--fg-2);
  font-weight: 500;
}
.tpill.done i {
  background: var(--green);
}
.tpill .stem {
  position: absolute;
}
.shelf {
  position: relative;
  margin-top: 30px;
  height: 200px;
}
.shelf .items {
  position: absolute;
  left: 0;
  right: -20px;
  bottom: 0;
  display: flex;
  gap: 8px;
  padding-left: 4px;
  align-items: flex-end;
}
.shelf .item {
  width: 118px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shelf .item .stem {
  width: 1px;
  height: 22px;
  background: var(--hair-3);
  margin-bottom: 8px;
}
.shelf .item .vessel {
  height: 148px;
  width: auto;
  position: relative;
  z-index: 1;
}
.plank {
  position: absolute;
  left: 0;
  right: -20px;
  bottom: -6px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(242, 244, 248, 0.16), rgba(242, 244, 248, 0.07) 50%, rgba(242, 244, 248, 0.02));
}
.plank::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 1px;
  height: 1px;
  background: rgba(242, 244, 248, 0.15);
  border-radius: 1px;
}
.shelf-names {
  display: flex;
  gap: 8px;
  padding-left: 4px;
  margin-top: 26px;
  margin-right: -20px;
}
.shelf-names div {
  width: 118px;
  flex: none;
  text-align: center;
}
.shelf-names b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shelf-names span {
  display: block;
  font-size: 12.5px;
  color: var(--fg-2);
  margin-top: 2px;
}
.shelf-names .done b {
  color: var(--fg-3);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.item.done .vessel {
  filter: saturate(0.6) brightness(0.85);
}
.item .tick {
  position: absolute;
  right: 12px;
  top: 30px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #06120d;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 0 0 3px var(--bg);
}
.item .tick .ic {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.item {
  position: relative;
}
@keyframes vessel-drop {
  from {
    transform: translateY(-6px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.shelf .item .vessel {
  animation: vessel-drop 0.7s var(--ease) both;
  animation-delay: var(--vd, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .shelf .item .vessel {
    animation: none;
  }
}

/* ---- Stack ---- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-right: 90px;
  position: relative;
}
.chip {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.chip small {
  font-weight: 500;
  color: var(--fg-2);
  font-size: 15px;
}
.chip.on {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.viewtoggle {
  position: absolute;
  right: 0;
  top: 8px;
  height: 52px;
  padding: 5px;
  border-radius: 999px;
  display: flex;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--hair);
}
.viewtoggle span {
  width: 44px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--fg-2);
}
.viewtoggle span.on {
  background: var(--accent);
  color: var(--fg);
}
.viewtoggle .ic {
  width: 18px;
  height: 18px;
}
.banner {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(224, 166, 70, 0.1);
  border: 1px solid rgba(224, 166, 70, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--fg-2);
}
.banner b {
  color: var(--review);
  font-weight: 600;
}
.banner .go {
  margin-left: auto;
  color: var(--review);
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.banner .go .ic {
  width: 14px;
  height: 14px;
}
.grid3 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  padding-bottom: 6px;
}
.grid3 .cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 8px;
}
.grid3 .cell .vessel {
  height: 152px;
  width: auto;
  position: relative;
  z-index: 1;
}
.grid3 .cell b {
  margin-top: 26px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
}
.grid3 .cell span {
  font-size: 13px;
  color: var(--fg-2);
  margin-top: 2px;
}
.grid3 .cell span.low {
  color: var(--review);
  font-weight: 600;
}
.grid3 .plank {
  left: 0;
  right: 0;
  bottom: auto;
  top: 150px;
}

/* ---- Overview ---- */
.ov-focus {
  margin-top: 16px;
  padding: 16px 16px 16px 18px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.35;
}
.ov-focus i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--review);
  flex: none;
}
.ov-focus .txt {
  flex: 1;
}
.ov-focus .pill {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(224, 166, 70, 0.14);
  color: var(--review);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.ov-focus .chev {
  width: 16px;
  height: 16px;
  color: var(--fg-2);
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.tile {
  position: relative;
  border-radius: 24px;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, #171b24, #12161d);
  border: 1px solid var(--hair);
  min-height: 178px;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}
.tile .th {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
}
.tile .th .ic {
  width: 14px;
  height: 14px;
}
.tile .big {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.tile .big small {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
  letter-spacing: -0.01em;
}
.tile .sub {
  margin-top: 6px;
  font-size: 15px;
  color: var(--fg-2);
}
.tile .lbl {
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-2);
}
.tile .foot {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.spark {
  margin-top: 4px;
  width: 100%;
  height: 34px;
}
.spark path {
  fill: none;
  stroke: var(--optimal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.6s var(--ease) 0.4s;
}
.in .spark path,
.is-played .spark path {
  stroke-dashoffset: 0;
}
.bars {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bar {
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}
.bar .tr {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar .tr i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--c, var(--review));
  width: 0;
  transition: width 1.2s var(--ease);
  transition-delay: var(--d, 0.5s);
}
.in .bar .tr i,
.is-played .bar .tr i {
  width: var(--w);
}
.bar em {
  font-style: normal;
  text-align: right;
}
.coverage {
  margin-top: 16px;
  padding: 16px 16px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  gap: 14px;
}
.coverage .n {
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.coverage .cm {
  flex: 1;
}
.coverage .cm span {
  display: block;
  font-size: 13.5px;
  color: var(--fg-2);
  margin-bottom: 8px;
}
.coverage .segs {
  display: flex;
  gap: 4px;
  height: 5px;
}
.coverage .segs i {
  flex: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}
.coverage .segs i.ok {
  background: var(--optimal);
}
.coverage .segs i.mid {
  background: rgba(255, 255, 255, 0.24);
}
.browse-h {
  margin-top: 26px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.browse-sub {
  font-size: 15px;
  color: var(--fg-2);
  margin-top: 2px;
}
.brow {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  gap: 14px;
}
.brow .bi {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--fg);
}
.brow .bi .ic {
  width: 18px;
  height: 18px;
}
.brow b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
}
.brow span {
  display: block;
  font-size: 13px;
  color: var(--fg-2);
}

/* ---- Explore ---- */
.search {
  margin-top: 16px;
  height: 56px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  color: var(--fg-2);
  font-size: 16.5px;
}
.search .ic {
  width: 20px;
  height: 20px;
}
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.door {
  border-radius: 24px;
  padding: 18px 16px 16px;
  min-height: 130px;
  border: 1px solid;
  border-color: color-mix(in srgb, var(--dc) 35%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--dc) 9%, var(--card)), var(--card-2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.door .di {
  color: var(--dc);
  margin-bottom: auto;
}
.door .di .ic {
  width: 26px;
  height: 26px;
  stroke-width: 1.7;
}
.door b {
  display: block;
  margin-top: 26px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.door span {
  display: block;
  font-size: 13.5px;
  color: var(--fg-2);
  margin-top: 2px;
  line-height: 1.3;
}
.row-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 26px;
}
.row-h b {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.row-h span {
  color: var(--coral);
  font-weight: 600;
  font-size: 15px;
}
.goals {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-right: -20px;
}
.goal {
  flex: none;
  width: 124px;
  border-radius: 20px;
  padding: 16px 14px 14px;
  background: var(--card);
  border: 1px solid var(--hair);
}
.goal .gi {
  color: var(--gc, var(--stacks));
}
.goal .gi .ic {
  width: 22px;
  height: 22px;
}
.goal b {
  display: block;
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.goal span {
  font-size: 13px;
  color: var(--fg-2);
}
.stack-card {
  margin-top: 14px;
  width: 210px;
  border-radius: 20px;
  padding: 14px 14px 12px;
  background: var(--card);
  border: 1px solid var(--hair);
}
.stack-card .vrow {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 56px;
  border-bottom: 1px solid var(--hair-2);
  padding-bottom: 6px;
}
.stack-card .vrow .vessel {
  height: 46px;
  width: auto;
}
.stack-card .vrow em {
  font-style: normal;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-2);
}
.stack-card b {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}
.stack-card span {
  font-size: 12.5px;
  color: var(--fg-2);
}

/* ---- Advisor ---- */
.adv-sum {
  margin-top: 18px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.disc {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--hair);
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--fg-2);
}
.disc .ic {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--fg-2);
  margin-top: 2px;
}
.insight {
  margin-top: 14px;
  padding: 16px 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hair);
}
.insight .k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--kc);
}
.insight .k .ic {
  width: 18px;
  height: 18px;
}
.insight b {
  display: block;
  margin-top: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.insight p {
  margin-top: 6px;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--fg-2);
}
.insight .f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.insight .sc {
  display: flex;
  gap: 6px;
}
.insight .sc span {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  color: var(--fg-2);
}
.insight .go {
  color: var(--coral);
  font-weight: 600;
  font-size: 15.5px;
}
.composer {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 106px;
  z-index: 8;
}
.prompts {
  display: flex;
  gap: 8px;
  margin-right: -20px;
  overflow: hidden;
}
.prompt {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: rgba(13, 16, 22, 0.8);
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  white-space: nowrap;
  flex: none;
}
.comp-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.comp-inp {
  flex: 1;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: rgba(22, 26, 34, 0.9);
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 16.5px;
  color: var(--fg-2);
}
.comp-send {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(250, 121, 46, 0.35);
  color: #ffd7c2;
  display: grid;
  place-items: center;
}
.comp-send .ic {
  width: 22px;
  height: 22px;
}
.chat-q {
  margin: 14px 0 0 auto;
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 20px 20px 6px 20px;
  background: var(--accent);
  font-size: 15.5px;
  line-height: 1.4;
}
.chat-a {
  margin-top: 10px;
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 20px 20px 20px 6px;
  background: var(--card);
  border: 1px solid var(--hair);
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--fg-2);
}
.chat-a b {
  color: var(--fg);
  font-weight: 600;
}

/* ==========================================================================
   PASSPORT — the StackCard (aurora diamond) and the material rail
   ========================================================================== */
.pass-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) {
  .pass-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}
.card-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}
.card-stage .bloom {
  position: absolute;
  inset: 0 10%;
  background: radial-gradient(closest-side, rgba(110, 225, 205, 0.22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.scard {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 0.5625;
  border-radius: 28px;
  padding: 24px 22px 20px;
  color: var(--diamond-ink);
  background:
    linear-gradient(135deg, #ddf9f1 0%, #99e2cf 26%, #ecfffa 52%, #67c3e2 78%, #c6f1e6 100%);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 12px 34px rgba(110, 225, 205, 0.35),
    0 40px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: perspective(1400px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg));
  transition: transform 0.7s var(--ease);
}
.scard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 62%);
  transform: translateX(-70%);
  animation: sheen 6s var(--ease-io) infinite;
  pointer-events: none;
}
@keyframes sheen {
  0%,
  55% {
    transform: translateX(-80%);
  }
  85%,
  100% {
    transform: translateX(80%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scard::before {
    animation: none;
  }
}
.scard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.scard .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  opacity: 0.85;
}
.scard .top span:last-child {
  letter-spacing: 0;
  font-weight: 500;
  font-size: 12px;
  opacity: 0.85;
}
.scard .ttl {
  margin-top: 30px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.scard .cnt {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.scard .vrow {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(13, 58, 51, 0.28);
}
.scard .vrow .vessel {
  height: 46px;
  width: auto;
}
.scard .vrow em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(13, 58, 51, 0.35);
  background: rgba(255, 255, 255, 0.35);
}
.scard .list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.scard .list div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(13, 58, 51, 0.22);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.scard .list .vessel {
  height: 28px;
  width: auto;
  flex: none;
}
.scard .foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 58, 51, 0.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  opacity: 0.85;
}
.scard .foot .s {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(13, 58, 51, 0.4);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  opacity: 1;
}

/* material rail */
.rail {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.rung {
  position: relative;
  border-radius: 14px;
  aspect-ratio: 0.62;
  padding: 10px 9px;
  color: var(--ink);
  background: var(--mat);
  border: 1px solid var(--edge, rgba(255, 255, 255, 0.14));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  font-size: 5.5px;
  display: flex;
  flex-direction: column;
}
.rung .rt {
  font-size: 4px;
  letter-spacing: 0.2em;
  font-weight: 700;
  opacity: 0.8;
}
.rung .rn {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rung .rv {
  margin-top: 6px;
  display: flex;
  gap: 1.5px;
  align-items: flex-end;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  opacity: 0.9;
}
.rung .rv .vessel {
  height: 12px;
  width: auto;
}
.rung .rl {
  margin-top: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 4px;
}
.rung .rl i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.35;
}
.rung .lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(13, 16, 22, 0.35);
  color: #fff;
}
.rung .lock .ic {
  width: 20px;
  height: 20px;
}
.rung-lb {
  margin-top: 10px;
}
.rung-lb b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.rung-lb span {
  font-size: 13px;
  color: var(--fg-3);
}
.rung-lb.gold b {
  color: var(--gold);
}
.mat-slate {
  --mat: linear-gradient(160deg, #3a4150, #1e232d 60%, #151922);
  --ink: #e9edf3;
}
.mat-bronze {
  --mat: linear-gradient(160deg, #a76a3f, #6d3f22 55%, #4a2914);
  --ink: #fbe6d2;
}
.mat-silver {
  --mat: linear-gradient(160deg, #f4f5f7, #c8ccd3 45%, #e9ebee 70%, #aab0b9);
  --ink: #2a2f38;
}
.mat-gold {
  --mat: linear-gradient(160deg, #c9a24f, #e8ce86 26%, #be9540 55%, #e3c16e 78%, #b98b36);
  --ink: #3a2c12;
  --edge: rgba(120, 90, 30, 0.45);
}
.mat-obsidian {
  --mat: linear-gradient(160deg, #282013, #16100a 55%, #0b0906);
  --ink: #f4e3a1;
  --edge: rgba(244, 227, 161, 0.2);
}
.mat-diamond {
  --mat: linear-gradient(135deg, #ddf9f1, #99e2cf 26%, #ecfffa 52%, #67c3e2 78%, #c6f1e6);
  --ink: #0d3a33;
  --edge: rgba(255, 255, 255, 0.5);
}
@media (max-width: 560px) {
  .rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* atelier tenure card */
.tenure {
  margin-top: 26px;
  border-radius: 24px;
  padding: 22px 24px;
  color: var(--diamond-ink);
  background: linear-gradient(135deg, #ddf9f1, #99e2cf 26%, #ecfffa 52%, #67c3e2 78%, #c6f1e6);
  box-shadow: 0 12px 34px rgba(110, 225, 205, 0.25);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px;
}
.tenure .b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tenure .tier {
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}
.tenure .mid {
  grid-column: 1 / -1;
  text-align: center;
  padding: 10px 0 14px;
}
.tenure .mid span {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.tenure .mid b {
  display: block;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tenure .mid small {
  display: block;
  font-size: 15px;
}
.tenure .who,
.tenure .since {
  font-size: 13.5px;
}
.tenure .since {
  text-align: right;
  opacity: 0.8;
}

/* ==========================================================================
   EXPLORE / EVIDENCE — grade card
   ========================================================================== */
.ev-card {
  border-radius: 28px;
  padding: 26px;
  background: linear-gradient(180deg, #171b24, #12161d);
  border: 1px solid var(--hair);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.ev-head {
  display: flex;
  gap: 16px;
  align-items: center;
}
.ev-abbr {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  background: rgba(45, 212, 191, 0.14);
  color: #2dd4bf;
  flex: none;
}
.ev-head .nm {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ev-head .cat {
  font-size: 14px;
  color: var(--fg-2);
}
.grade {
  margin-top: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
}
.grade .letter {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 700;
  color: var(--optimal);
  background: rgba(79, 181, 140, 0.12);
  border: 1px solid rgba(79, 181, 140, 0.3);
}
.grade b {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.grade span {
  display: block;
  font-size: 14px;
  color: var(--fg-2);
  margin-top: 2px;
}
.gmeter {
  margin-top: 12px;
  display: flex;
  gap: 6px;
}
.gmeter i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}
.gmeter i.on {
  background: var(--optimal);
}
.refs {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ref {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
}
.ref .r1 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-3);
}
.ref .typ {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--fg-2);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 10.5px;
}
.ref .r1 .ic {
  margin-left: auto;
  width: 14px;
  height: 14px;
}
.ref .ttl {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--fg);
}
.ev-foot {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.ev-foot a {
  color: var(--coral);
  font-weight: 500;
}
.doses-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dose-tile {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
}
.dose-tile span {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.dose-tile b {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.dose-tile small {
  display: block;
  font-size: 12.5px;
  color: var(--fg-2);
  margin-top: 2px;
}

/* ==========================================================================
   PREMIUM
   ========================================================================== */
.premium {
  position: relative;
  border-radius: 36px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(217, 178, 106, 0.1), transparent 60%),
    linear-gradient(180deg, #12161e, #0e1218);
  border: 1px solid var(--hair);
  overflow: hidden;
}
.premium::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 178, 106, 0.4), transparent);
}
.prem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .prem-grid {
    grid-template-columns: 1fr;
  }
}
.prem-list {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}
.prem-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
}
.prem-list .pi {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
}
.prem-list .pi .ic {
  width: 18px;
  height: 18px;
}
.prem-list b {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.prem-list span {
  display: block;
  font-size: 14.5px;
  color: var(--fg-2);
  margin-top: 2px;
  line-height: 1.4;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.plan {
  position: relative;
  border-radius: 22px;
  padding: 22px 20px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair-2);
}
.plan.sel {
  background: rgba(250, 121, 46, 0.09);
  border-color: var(--coral);
}
.plan .tag {
  position: absolute;
  top: -13px;
  left: 16px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--coral-ink);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.plan .pt {
  font-size: 15px;
  font-weight: 600;
}
.plan .pa {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan .ps {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.plan-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--fg-3);
  line-height: 1.5;
}
.prem-cta {
  margin-top: 16px;
  width: 100%;
  height: 56px;
  font-size: 17px;
}
.free-line {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.free-line span {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.free-line .ic {
  width: 14px;
  height: 14px;
  color: var(--green);
  stroke-width: 2.4;
}

/* ==========================================================================
   BENTO
   ========================================================================== */
.bento {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.bcard {
  grid-column: span 2;
  position: relative;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(180deg, #161a22, #12161d);
  border: 1px solid var(--hair);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bcard.b3 {
  grid-column: span 3;
}
.bcard h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bcard p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg-2);
  max-width: 40ch;
}
.bcard .vig {
  margin-top: auto;
  padding-top: 24px;
}
@media (max-width: 900px) {
  .bcard,
  .bcard.b3 {
    grid-column: span 3;
  }
}
@media (max-width: 600px) {
  .bcard,
  .bcard.b3 {
    grid-column: span 6;
  }
}
/* scan */
.scanbox {
  position: relative;
  height: 90px;
  border-radius: 16px;
  background: #0a0d12;
  border: 1px solid var(--hair);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.scanbox .corners i {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--coral);
}
.scanbox .corners i:nth-child(1) {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 6px 0 0 0;
}
.scanbox .corners i:nth-child(2) {
  top: 10px;
  right: 10px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 6px 0 0;
}
.scanbox .corners i:nth-child(3) {
  bottom: 10px;
  left: 10px;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 6px;
}
.scanbox .corners i:nth-child(4) {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 6px 0;
}
.scanbox .bars {
  display: flex;
  gap: 3px;
  margin: 0;
  flex-direction: row;
  height: 34px;
  align-items: stretch;
}
.scanbox .bars i {
  width: 3px;
  background: rgba(255, 255, 255, 0.7);
}
.scanbox .bars i:nth-child(3n) {
  width: 5px;
}
.scanbox .bars i:nth-child(4n) {
  width: 2px;
  opacity: 0.6;
}
.scanline {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--coral);
  box-shadow: 0 0 14px var(--coral);
  animation: scan 2.2s var(--ease-io) infinite alternate;
}
@keyframes scan {
  from {
    top: 18px;
  }
  to {
    top: calc(100% - 18px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scanline {
    animation: none;
    top: 50%;
  }
}
/* mood */
.moodrow {
  display: flex;
  gap: 8px;
}
.moodrow .m {
  flex: 1;
  aspect-ratio: 1;
  max-width: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hair);
  color: var(--fg-2);
}
.moodrow .m .ic {
  width: 24px;
  height: 24px;
}
.moodrow .m.sel {
  background: hsl(134 42% 55%);
  color: hsl(222 28% 9%);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}
/* notif */
.notif {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hair-2);
}
.notif .ni {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--coral);
  color: var(--coral-ink);
  display: grid;
  place-items: center;
}
.notif b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.notif span {
  font-size: 12.5px;
  color: var(--fg-2);
}
/* dose */
.dosebar {
  position: relative;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
}
.dosebar .zone {
  position: absolute;
  left: 30%;
  width: 45%;
  top: 0;
  bottom: 0;
  border-radius: 5px;
  background: rgba(79, 181, 140, 0.35);
}
.dosebar .ul {
  position: absolute;
  left: 82%;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--over);
}
.dosebar .pin {
  position: absolute;
  left: 52%;
  top: -5px;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: var(--optimal);
  box-shadow: 0 0 0 4px var(--bg);
}
.doselbl {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.doselbl b {
  color: var(--optimal);
  font-weight: 600;
}
/* modes */
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mode {
  border-radius: 14px;
  height: 84px;
  padding: 12px;
  border: 1px solid var(--hair);
}
.mode.dark {
  background: #0d1016;
}
.mode.light {
  background: #f7f6f2;
  color: #1b1a18;
}
.mode i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.18;
  margin-top: 8px;
}
.mode i:first-child {
  margin-top: 0;
  width: 60%;
  opacity: 0.6;
}
.mode i:nth-child(3) {
  width: 40%;
}
/* privacy */
.lockrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
}
.lockrow .ld {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hair);
  display: grid;
  place-items: center;
  color: var(--fg);
}

/* ==========================================================================
   FAQ / CLOSING / FOOTER
   ========================================================================== */
.faq {
  margin-top: 40px;
  border-top: 1px solid var(--hair-2);
}
.faq details {
  border-bottom: 1px solid var(--hair-2);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-x {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--hair-3);
  transition: transform 0.35s var(--ease);
}
.faq-x::before,
.faq-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--fg);
  transform: translate(-50%, -50%);
}
.faq-x::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
details[open] .faq-x {
  transform: rotate(45deg);
}
.faq .a {
  padding: 0 0 22px;
  max-width: 68ch;
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.55;
}
.faq-cols {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) {
  .faq-cols {
    grid-template-columns: 1fr;
  }
}

.closing {
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 0 clamp(70px, 10vw, 130px);
  position: relative;
}
.closing::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background: radial-gradient(60% 80% at 50% 100%, rgba(250, 121, 46, 0.12), transparent 70%);
  pointer-events: none;
}
.closing .h2 {
  font-size: clamp(38px, 6vw, 80px);
}
.closing .note {
  margin: 20px auto 0;
  max-width: 44ch;
  color: var(--fg-2);
  font-size: 18px;
}
.closing .actions {
  margin: 34px auto 0;
  max-width: 460px;
}
.closing .ghost {
  display: inline-block;
  margin-top: 22px;
  color: var(--fg-3);
  font-size: 14.5px;
}
.closing .ghost:hover {
  color: var(--fg);
}
.closing .shelf-line {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}
.closing .shelf-line .vessel {
  height: 64px;
  width: auto;
}

.site-footer {
  border-top: 1px solid var(--hair);
  padding: 56px 0 34px;
  background: rgba(0, 0, 0, 0.2);
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 800px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .ft-grid {
    grid-template-columns: 1fr;
  }
}
.ft-brand p {
  margin-top: 16px;
  max-width: 34ch;
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.ft-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.ft-brand .logo svg {
  height: 22px;
  width: auto;
}
.ft-social {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}
.ft-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--hair-2);
  color: var(--fg-2);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.ft-social a:hover {
  color: var(--fg);
  border-color: var(--hair-3);
}
.ft-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.ft-col h4 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.ft-col a {
  display: block;
  padding: 6px 0;
  color: var(--fg-2);
  font-size: 15px;
  transition: color 0.2s;
}
.ft-col a:hover {
  color: var(--fg);
}
.ft-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--fg-3);
  font-size: 13.5px;
}
.ft-bottom a {
  color: var(--fg-2);
}
.ft-bottom a:hover {
  color: var(--fg);
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal {
  padding: clamp(24px, 4vw, 56px) 0 clamp(80px, 10vw, 140px);
}
.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.legal-head {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hair-2);
  margin-bottom: 40px;
}
.legal-head .h1 {
  font-size: clamp(38px, 5.6vw, 64px);
}
.legal-head .meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--fg-3);
  font-size: 14.5px;
}
.legal-head .meta b {
  color: var(--fg-2);
  font-weight: 500;
}
.toc {
  position: sticky;
  top: 96px;
}
.toc h2 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 12px;
}
.toc a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 1px solid var(--hair-2);
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.35;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.toc a:hover,
.toc a.on {
  color: var(--fg);
  border-color: var(--coral);
}
@media (max-width: 900px) {
  .toc {
    position: static;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--hair);
  }
  .toc a {
    border-left: 0;
    padding-left: 0;
    display: inline-block;
    margin-right: 18px;
  }
}
.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 2.2em;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  scroll-margin-top: 100px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.8em;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
  scroll-margin-top: 100px;
}
.prose p b,
.prose li b {
  color: var(--fg);
  font-weight: 600;
}
.prose a {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-color: rgba(250, 121, 46, 0.4);
  text-underline-offset: 3px;
}
.prose a:hover {
  text-decoration-color: var(--coral);
}
.prose ul {
  padding-left: 0;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
}
.prose ul li + li {
  margin-top: 0.5em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.prose .lead {
  font-size: 19px;
  color: var(--fg);
}
.prose .callout {
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(221, 107, 87, 0.07);
  border: 1px solid rgba(221, 107, 87, 0.45);
  color: var(--fg);
}
.prose .callout > * + * {
  margin-top: 0.9em;
}
.prose .callout .ch + p {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.prose .callout b {
  color: var(--fg);
}
.prose .callout .ch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--over);
  margin-bottom: 4px;
}
.prose .callout .ch .ic {
  width: 16px;
  height: 16px;
}
.tbl-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--hair-2);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
  min-width: 480px;
}
.prose th,
.prose td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hair);
}
.prose th {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.025);
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose td b {
  color: var(--fg);
}
.prose .contact {
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--hair);
}
.prose .contact p + p {
  margin-top: 0.4em;
}
.prose address {
  font-style: normal;
  line-height: 1.6;
  color: var(--fg);
}
.prose .ph {
  color: var(--fg);
}
.legal-foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--hair-2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 14.5px;
  color: var(--fg-3);
}
.legal-foot a {
  color: var(--fg-2);
}
.legal-foot a:hover {
  color: var(--fg);
}

/* ---------- svg fill utilities (logo + icons) ---------- */
.fill-foreground {
  fill: var(--fg);
}
.fill-primary {
  fill: var(--coral);
}
.fill-white {
  fill: #fff;
}
.fill-current {
  fill: currentColor;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
}

/* ---------- facts strip under the hero ---------- */
.strip {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.015);
}
.strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  padding: 18px var(--gutter);
  color: var(--fg-3);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.strip-row b {
  color: var(--fg);
  font-weight: 600;
}
.strip-row i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hair-3);
}
@media (max-width: 640px) {
  .strip-row i {
    display: none;
  }
  .strip-row {
    gap: 8px 16px;
    font-size: 13px;
  }
}

/* ---------- Today close-up (section 01) ---------- */
.closeup {
  position: relative;
  width: min(100%, 620px);
  padding: 28px 28px 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, #11151d, #0d1016);
  border: 1px solid var(--hair-2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 40px 100px rgba(0, 0, 0, 0.5);
  color: var(--fg);
  letter-spacing: -0.01em;
  overflow: hidden;
}
.cu-blk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cu-blk .ic {
  width: 24px;
  height: 24px;
  color: var(--fg-2);
  stroke-width: 1.6;
}
.cu-blk .ct {
  font-size: 17px;
  font-weight: 500;
  color: var(--fg-2);
}
.cu-blk .rule {
  flex: 1;
  height: 1px;
  background: var(--hair-2);
  margin: 0 14px;
}
.cu-blk .mark {
  font-size: 18px;
  font-weight: 600;
  color: var(--coral);
}
.cu-blk .chev {
  width: 20px;
  height: 20px;
}
.cu-times {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.cu-times .tpill {
  width: calc((100% - 30px) / 4);
  height: 40px;
  font-size: 15px;
}
.cu-shelf {
  position: relative;
  margin-top: 30px;
  height: 262px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.cu-item {
  position: relative;
  width: calc((100% - 30px) / 4);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cu-item .stem {
  width: 1px;
  height: 26px;
  background: var(--hair-3);
  margin-bottom: 10px;
}
.cu-item .vessel {
  height: 210px;
  width: auto;
  position: relative;
  z-index: 1;
  animation: vessel-drop 0.7s var(--ease) both;
  animation-delay: var(--vd, 0s);
}
.cu-item.done .vessel {
  filter: saturate(0.7) brightness(0.9);
}
.cu-item .tick {
  position: absolute;
  right: 18%;
  top: 40px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #06120d;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 0 0 4px #0f131b;
}
.cu-item .tick .ic {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}
.cu-shelf .plank {
  left: -8px;
  right: -8px;
  bottom: -8px;
  height: 20px;
  border-radius: 7px;
}
.cu-names {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.cu-names div {
  width: calc((100% - 30px) / 4);
  text-align: center;
}
.cu-names b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cu-names span {
  display: block;
  font-size: 13.5px;
  color: var(--fg-2);
  margin-top: 2px;
}
.cu-names .done b,
.shelf-names .done b {
  color: var(--fg-3);
}
@media (max-width: 520px) {
  .closeup {
    padding: 20px 18px 18px;
    border-radius: 24px;
  }
  .cu-blk {
    font-size: 20px;
  }
  .cu-blk .mark {
    font-size: 15px;
  }
  .cu-times .tpill {
    font-size: 12px;
    padding: 0 8px;
    height: 34px;
  }
  .cu-times .tpill small {
    display: none;
  }
  .cu-shelf {
    height: 190px;
  }
  .cu-item .vessel {
    height: 150px;
  }
  .cu-names b {
    font-size: 13.5px;
  }
  .cu-names span {
    font-size: 12px;
  }
}

/* ---------- fixes after first render ---------- */
.s-title {
  font-size: 27px;
}
.shelf-names .done b {
  text-decoration: none;
}
.grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile .big {
  font-size: 30px;
}
.tile .big small {
  font-size: 14px;
}
.search span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15.5px;
}
.composer {
  padding-top: 26px;
  background: linear-gradient(180deg, transparent, var(--bg) 26px);
}
.composer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 40px;
  background: var(--bg);
}
.frag-a {
  left: -5%;
  top: 46%;
}
.frag-b {
  right: -8%;
  top: 22%;
}
.frag-c {
  left: -3%;
  bottom: 12%;
}
/* material rail — real proportions */
.rail {
  grid-template-columns: repeat(5, minmax(0, 150px));
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
}
.rung {
  aspect-ratio: 0.5625;
  padding: 10px 9px 9px;
  border-radius: 12px;
}
.rung .rt {
  font-size: 4.5px;
}
.rung .rn {
  margin-top: 8px;
  font-size: 10.5px;
}
.rung .rc {
  display: block;
  margin-top: 2px;
  font-size: 4.5px;
  letter-spacing: 0.06em;
  font-weight: 600;
  opacity: 0.8;
}
.rung .rv {
  margin-top: 8px;
  gap: 2px;
  height: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  opacity: 1;
}
.rung .rv i {
  display: block;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.5) inset;
  opacity: 0.95;
}
.rung .rl {
  margin-top: 4px;
  gap: 0 6px;
}
.rung .rl span {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 0;
  border-bottom: 1px solid currentColor;
  opacity: 0.8;
}
.rung .rl span i {
  display: block;
  width: 4px;
  height: 7px;
  border-radius: 1.5px;
  background: var(--c);
  opacity: 1;
}
.rung .rl span em {
  display: block;
  flex: 1;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}
.rung .rf {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 5px;
  border-top: 1px solid currentColor;
}
.rung .rf em {
  display: block;
  width: 40%;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}
.rung .rf b {
  font-size: 5px;
  width: 9px;
  height: 9px;
  border-radius: 2.5px;
  border: 0.75px solid currentColor;
  display: grid;
  place-items: center;
}
.rung .lock {
  background: rgba(13, 16, 22, 0.42);
}
@media (max-width: 560px) {
  .rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* closing shelf */
.closing .shelf-line {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 48px;
}
.closing .shelf-line .vessel {
  height: 110px;
  position: relative;
  z-index: 1;
}
.closing .shelf-line .plank {
  left: 50%;
  right: auto;
  width: min(92vw, 720px);
  transform: translateX(-50%);
  bottom: 4px;
}
@media (max-width: 560px) {
  .closing .shelf-line .vessel {
    height: 70px;
  }
  .closing .shelf-line {
    gap: 4px;
  }
}
.tile .big {
  flex-wrap: wrap;
  row-gap: 2px;
}
.adv-sum {
  font-size: 24px;
  margin-top: 14px;
}
.disc {
  margin-top: 14px;
  padding: 13px 14px;
  font-size: 14px;
}
.insight {
  margin-top: 12px;
  padding: 14px 16px 12px;
}
.insight p {
  font-size: 15px;
}
.chat-q {
  margin-top: 12px;
  font-size: 15px;
  padding: 10px 14px;
}
.chat-a {
  font-size: 15px;
  padding: 12px 14px;
}
@media (max-width: 900px) {
  .split,
  .split.flip,
  .pass-grid,
  .prem-grid,
  .faq-cols,
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.cu-item .vessel {
  width: min(100%, 126px);
  height: auto;
}
.cu-shelf {
  height: auto;
  min-height: 200px;
}
.cu-shelf {
  min-height: 0;
}
.adv-sum {
  font-size: 22px;
}
.disc {
  font-size: 13.5px;
  padding: 12px 14px;
}
.insight b {
  font-size: 18px;
  margin-top: 8px;
}
.insight .f {
  margin-top: 8px;
}
@media (max-width: 560px) {
  .rail {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .rail::-webkit-scrollbar {
    display: none;
  }
  .rail > div {
    flex: 0 0 136px;
    scroll-snap-align: start;
  }
}
@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .prose {
    max-width: 100%;
  }
}

/* ==========================================================================
   Account pages — /password-reset/, /password-reset/confirm/…, /email/confirm/…
   One centred card. Read on a phone, in an inbox, by someone who is locked
   out and already annoyed: big targets, 16px inputs (anything smaller makes
   iOS Safari zoom on focus), no cleverness.
   ========================================================================== */
.auth {
  display: flex;
  flex: 1;
  align-items: center;
  padding: clamp(32px, 8vw, 100px) 0 clamp(64px, 11vw, 140px);
}
.auth .wrap {
  display: flex;
  justify-content: center;
}
.auth-card {
  width: 100%;
  max-width: 540px;
  padding: clamp(24px, 5vw, 40px);
  border-radius: var(--r-card);
  background: var(--card);
  border: 1px solid var(--hair);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 80px rgba(0, 0, 0, 0.35);
}
.auth-card .kicker {
  margin-bottom: 12px;
}
.auth-title {
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.auth-lead {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--fg-2);
}
.auth-lead b {
  color: var(--fg);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}
.auth-form .fld {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-form .fld > label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg-2);
}
.auth-form input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair-2);
  color: var(--fg);
  font-size: 16px;
  outline: 0;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.auth-form input:focus {
  border-color: rgba(250, 121, 46, 0.55);
  box-shadow: 0 0 0 4px rgba(250, 121, 46, 0.14);
}
.auth-form .fld.bad input {
  border-color: rgba(221, 107, 87, 0.65);
}
.fld-err {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--over);
}
.auth-alert {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(221, 107, 87, 0.08);
  border: 1px solid rgba(221, 107, 87, 0.45);
  color: var(--fg);
  font-size: 14.5px;
  line-height: 1.5;
}
.auth-alert p + p {
  margin-top: 6px;
}
.auth-rules {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-3);
}
.auth-rules li {
  position: relative;
  padding-left: 18px;
}
.auth-rules li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fg-3);
}
.auth-submit {
  width: 100%;
  height: 54px;
  margin-top: 4px;
  font-size: 16px;
}
a.auth-submit {
  margin-top: 26px;
}
.auth-steps {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.auth-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--fg-2);
}
.auth-step i {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid var(--hair-2);
  color: var(--fg);
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
}
.auth-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-3);
}
.auth-note b {
  color: var(--fg-2);
  font-weight: 600;
}
.auth-note a {
  color: var(--coral);
  overflow-wrap: anywhere;
}
.auth-note a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
