/* ORB website. One family (Inter Tight), black stage, mint from the app. */
:root {
  --black: #000;
  --raised: #0c0f0e;
  --card: #111614;
  --line: rgba(255, 255, 255, 0.09);
  --white: #fff;
  --mist: #9aa7a2;
  --dim: #5b6662;
  --mint: #9effd1;
  --measure: 68ch;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(158, 255, 209, 0.15);
  touch-action: manipulation;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 12px; background: var(--mint); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 16px; }

/* Floating pill navigation */
.bar {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 10;
  width: min(calc(100% - 32px), 980px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px;
  background: rgba(18, 20, 19, 0.72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.02em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.bar nav { display: flex; gap: 28px; font-size: 0.95rem; }
.bar nav a { color: var(--mist); text-decoration: none; transition: color 0.2s ease; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--white); }
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--white); color: #000; text-decoration: none; font-weight: 600;
  padding: 11px 20px; border-radius: 999px; font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.cta:hover { background: var(--mint); color: #000; }
.cta:active { transform: scale(0.97); }

/* Phone menu: three bars that fold into a cross, and a sheet whose links rise in turn */
.bar-end { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); color: var(--white); cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.45s cubic-bezier(0.68, -0.4, 0.27, 1.4), opacity 0.25s ease, width 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; width: 12px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle:hover span:nth-child(2) { width: 18px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 9; display: none; flex-direction: column; justify-content: space-between;
  padding: 120px 28px calc(36px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity 0.35s ease, visibility 0s; }
.sheet nav { display: flex; flex-direction: column; gap: 6px; }
.sheet nav a, .sheet-foot {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.menu-open .sheet nav a, .menu-open .sheet-foot { opacity: 1; transform: none; transition-delay: calc(0.08s + var(--i) * 0.06s); }
.sheet nav a { color: var(--white); text-decoration: none; font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sheet nav a:active { color: var(--mint); }
.sheet-foot .cta { width: 100%; padding: 16px; font-size: 1.05rem; }
.sheet-foot p { display: flex; justify-content: center; gap: 28px; margin: 22px 0 0; }
.sheet-foot p a { color: var(--mist); text-decoration: none; }
body.menu-open { overflow: hidden; }

main { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Hero: night sky behind, the Orb rising out of it */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 130px 24px 0; overflow: hidden; isolation: isolate; }
.hero .nebula { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; display: block; background: radial-gradient(ellipse at 60% 30%, #0c3a30 0%, #04130f 45%, #000 80%); }
.hero .stars { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 45%, #000 100%); }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7.2rem); }
.hero .lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: rgba(255,255,255,0.78); max-width: 36ch; margin: 22px auto 34px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #000;
  background: var(--white); border-radius: 12px; padding: 9px 18px 9px 14px; text-align: left; line-height: 1.1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.badge:hover { background: var(--mint); color: #000; transform: translateY(-1px); }
.badge svg { width: 24px; height: 24px; flex: none; }
.badge small { display: block; font-size: 0.68rem; opacity: 0.7; }
.badge strong { font-size: 1.1rem; font-weight: 600; }
.trust { margin-top: 20px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.hero-orb { position: relative; width: min(64vw, 420px); margin: 48px auto -40px; }
.hero-orb { aspect-ratio: 1; }
.hero-orb img { width: 100%; }
.hero-orb .orb-base { filter: drop-shadow(0 30px 80px rgba(80, 240, 180, 0.25)); }
/* The interior flows like liquid; the rim and its highlights stay still. */
.hero-orb .orb-flow, .hero-orb .orb-depth { position: absolute; inset: 0; border-radius: 50%; -webkit-mask: radial-gradient(circle, #000 52%, transparent 78%); mask: radial-gradient(circle, #000 52%, transparent 78%); }
.hero-orb .orb-flow { filter: url(#liquid); }
.hero-orb .orb-depth { mix-blend-mode: screen; opacity: 0.32; filter: blur(6px); animation: turn 48s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.hero-orb .orb-glint { position: absolute; left: 22%; top: 14%; width: 30%; height: 18%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,0.55), rgba(255,255,255,0) 70%); mix-blend-mode: screen; filter: blur(4px); animation: glint 11s ease-in-out infinite alternate; }
@keyframes glint { from { transform: translate(0, 0) rotate(-24deg); opacity: 0.55; } to { transform: translate(18%, 10%) rotate(-24deg); opacity: 0.9; } }
.hero-orb .fog {
  position: absolute; inset: 7%; border-radius: 50%;
  background: radial-gradient(circle at 35% 40%, rgba(170,176,170,0.92), transparent 55%), radial-gradient(circle at 65% 62%, rgba(110,112,104,0.88), transparent 60%), rgba(20,24,23,0.6);
  filter: blur(18px);
  animation: clear 3.4s 0.6s cubic-bezier(0.3, 0, 0.2, 1) forwards;
}
@keyframes clear { to { opacity: 0; transform: scale(1.08); } }

/* Statement that lights up word by word as you scroll */
.statement { padding: 180px 24px; }
.statement p { max-width: 22ch; margin: 0 auto; text-align: center; font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.18; letter-spacing: -0.025em; }
.statement .w { color: var(--dim); transition: color 0.35s ease; }
.statement .w.on { color: var(--white); }

/* Feature rows */
.features { display: grid; gap: 140px; padding-top: 40px; padding-bottom: 160px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.feature:nth-child(even) .shot { order: 2; }
.shot { justify-self: center; width: min(100%, 330px); border-radius: 46px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(80, 240, 180, 0.08); background: #000; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); color: var(--mist); font-size: 0.85rem; margin-bottom: 20px; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.feature h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.feature p { color: var(--mist); font-size: 1.2rem; max-width: 34ch; margin-top: 20px; }

/* Collection */
.collection { padding: 120px 0; text-align: center; }
.collection h2, .plans-head h2, .closing h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.collection > .wrap > p { color: var(--mist); font-size: 1.2rem; max-width: 40ch; margin: 18px auto 56px; }
.gems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gem { margin: 0; padding: 36px 20px 24px; border-radius: 28px; background: radial-gradient(circle at 50% 35%, #17201d 0%, var(--raised) 70%); border: 1px solid var(--line); }
.gem img { width: 62%; margin: 0 auto 18px; }
.gem figcaption { font-weight: 600; }
.gem small { display: block; color: var(--dim); font-weight: 400; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Privacy band */
.privacy-band { padding: 140px 24px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(158,255,209,0.08), transparent 60%); }
.privacy-band h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; margin: 0 auto; }
.privacy-band p { color: var(--mist); max-width: 52ch; margin: 22px auto 0; font-size: 1.15rem; }

/* Plans */
.plans-section { padding-top: 140px; padding-bottom: 140px; }
.plans-head { text-align: center; margin-bottom: 56px; }
.plans-head p { color: var(--mist); font-size: 1.2rem; margin-top: 16px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; margin: 0 auto; }
.plan { padding: 36px; border-radius: 28px; background: var(--raised); border: 1px solid var(--line); }
.plan.plus { background: linear-gradient(160deg, #0f1f1a, #0a0d0c 70%); border-color: rgba(158, 255, 209, 0.3); }
.plan h3 { font-size: 1.8rem; }
.plan .price { color: var(--mist); margin: 6px 0 26px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; }
.plan li { padding: 10px 0 10px 30px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.plan .cta { width: 100%; padding: 14px; }
.plan .ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
.plan .ghost:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.fine { color: var(--dim); font-size: 0.95rem; text-align: center; max-width: 60ch; margin: 28px auto 0; }

/* Closing */
.closing { text-align: center; padding: 120px 24px 160px; }
.closing img { width: min(46vw, 260px); margin: 0 auto 36px; filter: drop-shadow(0 30px 60px rgba(80, 240, 180, 0.2)); }
.closing h2 { margin-bottom: 30px; }

/* Legal and support pages */
.doc { max-width: var(--measure); margin: 0 auto; padding: 150px 24px 110px; }
.doc h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 14px; }
.doc .updated { color: var(--mist); margin-bottom: 52px; }
.doc h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 52px 0 14px; scroll-margin-top: 110px; }
.doc p, .doc li, .doc td { color: #c9d2ce; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 1rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.doc dl { margin: 0; }
.doc dt { font-weight: 600; font-size: 1.2rem; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.doc dt:first-child { border-top: 0; margin-top: 0; }
.doc dd { margin: 10px 0 0; color: var(--mist); }

footer { border-top: 1px solid var(--line); padding: 44px 24px calc(44px + env(safe-area-inset-bottom)); color: var(--dim); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { color: var(--mist); text-decoration: none; }
footer a:hover { color: var(--white); }

@media (max-width: 880px) {
  .bar nav { display: none; }
  .menu-toggle { display: block; }
  .sheet { display: flex; }
  .bar-end .cta { padding: 11px 16px; }
  .feature { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .feature:nth-child(even) .shot { order: 0; }
  .feature p { margin-left: auto; margin-right: auto; }
  .shot { width: min(78%, 300px); }
  .features { gap: 110px; }
  .gems { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .statement { padding: 120px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb .fog { animation: none; opacity: 0; }
  .hero-orb .orb-depth, .hero-orb .orb-glint { animation: none; }
  .hero-orb .orb-flow { filter: none; }
  .statement .w { color: var(--white); transition: none; }
  .cta, .badge, .bar nav a, .menu-toggle span, .sheet, .sheet nav a, .sheet-foot { transition: none !important; }
}
