/* ═══════════════════════════════════════════
   LOOM — AWWWARDS-LEVEL LANDING PAGE CSS
   ═══════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bg:        #0e0c0a;
  --bg-2:      #141210;
  --surface:   #1c1916;
  --surface-2: #232019;
  --line:      rgba(255,255,255,0.08);
  --white:     #ffffff;
  --off-white: #f5ede0;
  --muted:     rgba(245,237,224,0.48);
  --orange:    #ff6502;
  --orange-2:  #ffad59;
  --orange-3:  #fff0e0;
  --cream:     #ffca84;
  --teal:      #75c8ad;
  --blue:      #8eace7;
  --rose:      #fb6674;

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none; /* custom cursor on desktop */
}
@media (pointer: coarse) { body { cursor: auto; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; border: none; background: none; }
@media (pointer: coarse) { button { cursor: pointer; } }
ul { list-style: none; }
::selection { background: rgba(255,101,2,0.25); }

/* ── Custom cursor ── */
/* Dot and ring are BOTH position:fixed and moved independently in JS.
   The old approach nested them inside a moving parent which caused double-offset. */

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  will-change: left, top;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), opacity 0.3s ease;
  will-change: left, top;
}

/* States toggled by JS on body */
body.cursor-hover .cursor-ring  { width: 58px; height: 58px; opacity: 0.45; }
body.cursor-hover .cursor-dot   { width: 5px; height: 5px; }
body.cursor-click .cursor-dot   { width: 14px; height: 14px; }

.cursor-text {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--white);
  padding: 5px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translate(14px, -50%) scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
  white-space: nowrap;
}
.cursor-text.show { opacity: 1; transform: translate(14px, -50%) scale(1); }

@media (pointer: coarse) { .cursor-dot, .cursor-ring, .cursor-text { display: none; } }

/* ── Noise grain ── */
.noise {
  position: fixed;
  inset: -200%;
  width: 400%; height: 400%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.032;
  pointer-events: none;
  z-index: 1000;
  animation: noiseAnim 0.4s steps(1) infinite;
}
@keyframes noiseAnim {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-5%,-2%); }
  50%  { transform: translate(3%,4%); }
  75%  { transform: translate(-2%,1%); }
  100% { transform: translate(0,0); }
}

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.05; letter-spacing: -0.01em; }
.italic { font-style: italic; }
em { font-style: italic; }

/* ── Reveal animations ── */
[data-reveal] { opacity: 0; }
[data-reveal="fade-up"]   { transform: translateY(32px); }
[data-reveal="clip-up"]   { clip-path: inset(0 0 100% 0); }
[data-reveal].revealed    {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0% 0);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), clip-path 0.9s var(--ease-out);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  transition: background 0.4s ease, border-bottom 0.4s ease;
}
.nav.scrolled {
  background: rgba(14,12,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--off-white);
}
.nav-logo-img {
  width: 32px; height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--off-white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
  cursor: none;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,101,2,0.4);
}
@media (pointer: coarse) { .nav-cta { cursor: pointer; } }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--off-white);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mm-link {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 4rem);
  color: var(--off-white);
  transition: color 0.2s ease;
}
.mm-link:hover { color: var(--orange); }
.mm-cta {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 12px 28px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.mm-cta:hover { background: var(--orange); color: var(--white); }

/* ── Buttons (shared) ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 28px;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: none;
  transition: box-shadow 0.3s ease, filter 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-primary:hover {
  box-shadow: 0 16px 48px rgba(255,101,2,0.45);
  filter: brightness(1.08);
}
.btn-arrow { font-size: 1.1rem; transition: transform 0.3s ease; }
.btn-primary:hover .btn-arrow { transform: translate(2px, -2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  cursor: none;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
  text-decoration: none;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); color: var(--off-white); background: rgba(255,255,255,0.04); }
@media (pointer: coarse) { .btn-primary, .btn-ghost { cursor: pointer; } }

/* ── Magnetic wrapper: no movement, just display fix ── */
.magnetic { display: inline-flex; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) clamp(20px,5vw,60px) 80px;
  overflow: hidden;
}

/* Background: large warm gradient sphere */
.hero::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse at center, rgba(255,101,2,0.14) 0%, rgba(255,173,89,0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255,101,2,0.3);
  border-radius: 999px;
  background: rgba(255,101,2,0.07);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-2);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.6; }
}

.hero-headline {
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.98;
  margin-bottom: 28px;
  color: var(--off-white);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.h1-line {
  display: block;
  overflow: hidden;
}
.h1-line.italic { color: var(--orange-2); }

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Orb scene */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.orb-scene {
  position: relative;
  width: clamp(320px, 40vw, 520px);
  height: clamp(320px, 40vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ringPulse 6s ease-in-out infinite;
}
.r1 {
  width: 100%; height: 100%;
  border-color: rgba(255,101,2,0.15);
  animation-delay: 0s;
}
.r2 {
  width: 72%; height: 72%;
  border-color: rgba(255,173,89,0.22);
  animation-delay: -2s;
}
.r3 {
  width: 44%; height: 44%;
  border-color: rgba(255,202,132,0.35);
  animation-delay: -4s;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.04); opacity: 1; }
}
.orb-core {
  position: relative;
  z-index: 2;
  width: clamp(80px,14vw,140px);
  height: clamp(80px,14vw,140px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(255,101,2,0.3), 0 0 0 1px rgba(255,255,255,0.08);
  animation: float 8s ease-in-out infinite;
}
.orb-icon { width: 100%; height: 100%; object-fit: cover; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* Floating chips */
.chip {
  position: absolute;
  background: rgba(28,25,22,0.88);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 10px 14px;
  backdrop-filter: blur(12px);
  z-index: 3;
  animation: chipFloat 0s ease-in-out infinite;
}
.chip-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 3px;
}
.chip-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-serif);
  color: var(--off-white);
  line-height: 1;
}
.chip-value em { font-size: 0.8rem; font-style: normal; color: var(--muted); }
.chip-value-sm {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.3;
}
.chip-1 { top: 10%;  left: -4%;  animation: chipFloat 7s ease-in-out infinite; }
.chip-2 { top: 18%;  right: -2%; animation: chipFloat 9s ease-in-out infinite 1s; }
.chip-3 { bottom: 16%; left: -6%; animation: chipFloat 8s ease-in-out infinite 2s; }
.chip-4 { bottom: 26%; right: -4%;animation: chipFloat 10s ease-in-out infinite 0.5s; }
@keyframes chipFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-0.5deg); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,173,89,0.7), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
.scroll-cue span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  background: var(--surface);
}
.marquee-track {
  display: flex;
  gap: 32px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mq-dot { color: var(--orange) !important; font-size: 0.5rem !important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Intro Statement ── */
.intro-section {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
  max-width: 1300px;
  margin: 0 auto;
}
.intro-inner { max-width: 900px; }
.intro-overline {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 24px;
}
.intro-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.35;
  margin-bottom: 64px;
}
/* Word-by-word reveal */
.intro-statement .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.intro-statement .word.visible { opacity: 1; transform: translateY(0); }

.intro-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 clamp(24px, 4vw, 56px) 0 0;
}
.stat:not(:first-child) { padding-left: clamp(24px, 4vw, 56px); }
.stat-div {
  width: 1px;
  height: 48px;
  background: var(--line);
  flex-shrink: 0;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--off-white);
  line-height: 1;
}
.stat-unit { font-size: 0.6em; color: var(--orange); }
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── How It Works ── */
.how-section {
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,60px);
  border-top: 1px solid var(--line);
}
.how-section > .how-sticky-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.how-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 56px;
  text-align: center;
}
.how-steps { display: flex; flex-direction: column; gap: 0; }

/* Each step: number | copy+body | UI demo panel */
.how-step {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 0 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  opacity: 0.28;
  transition: opacity 0.5s ease;
  cursor: pointer;
  align-items: start;
}
.how-step.active { opacity: 1; }
.how-step:last-child { border-bottom: 1px solid var(--line); }

.step-number {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--orange);
  padding-top: 6px;
  letter-spacing: 0.02em;
}
/* Text content stays in column 2 */
.step-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 14px;
  line-height: 1.15;
}
.step-body {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 44ch;
}
/* UI demo sits in column 3 */
.step-ui {
  padding-top: 4px;
  min-width: 0; /* prevent grid overflow */
}

/* Step UIs */
.step-ui-dump { display: flex; align-items: flex-start; gap: 20px; flex-direction: column; width: 100%; }
.dump-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringPulse 3s ease-in-out infinite;
  flex-shrink: 0;
}
.dump-ring-inner {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.4;
  animation: ringPulse 3s ease-in-out infinite 0.5s;
}
.dump-bubble {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
  width: 100%;
}
.step-ui-widgets { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-widget {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid;
  min-width: 105px;
  flex: 1;
}
.mini-widget span { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 6px; opacity: 0.7; }
.mini-widget strong { font-family: var(--font-serif); font-size: 1.5rem; display: block; line-height: 1; }
.mini-widget strong.small-txt { font-size: 0.85rem; line-height: 1.4; }
.mini-bar { height: 4px; border-radius: 99px; margin-top: 10px; background: rgba(255,255,255,0.1); overflow: hidden; }
.mini-bar-fill { height: 100%; border-radius: 99px; }
.w-orange { border-color: rgba(255,101,2,0.3); color: var(--off-white); }
.w-orange .mini-bar-fill { background: var(--orange); }
.w-teal   { border-color: rgba(117,200,173,0.3); color: var(--off-white); }
.w-teal   .mini-bar-fill { background: var(--teal); }
.w-blue   { border-color: rgba(142,172,231,0.3); color: var(--off-white); }

.step-ui-plan { display: flex; flex-direction: column; gap: 8px; }
.plan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
  transition: border-color 0.3s ease;
}
.plan-row.active-row { border-color: rgba(255,101,2,0.3); color: var(--off-white); }
.plan-tag {
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.plan-tag.now   { background: rgba(255,101,2,0.15); color: var(--orange); }
.plan-tag.week  { background: rgba(117,200,173,0.15); color: var(--teal); }
.plan-tag.habit { background: rgba(142,172,231,0.15); color: var(--blue); }

.step-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}
.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}
.step-dot.active { background: var(--orange); transform: scale(1.25); width: 24px; border-radius: 4px; }

/* Responsive: collapse to single column on tablet */
@media (max-width: 920px) {
  .how-step {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }
  .step-ui {
    grid-column: 2 / 3;
    margin-top: 24px;
  }
}

/* ── Features Bento Grid ── */
.features-section {
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,60px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.features-inner { max-width: 1300px; margin: 0 auto; }
.features-header { margin-bottom: 56px; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 16px;
}
.features-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.1;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-card {
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}
.bento-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); }
.bento-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
  display: inline-flex;
  margin-bottom: 20px;
}
.bento-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.bento-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Bento variants */
.b-large  { grid-column: span 2; }
.b-wide   { grid-column: span 2; }
.b-orange {
  background: linear-gradient(135deg, rgba(255,101,2,0.2) 0%, rgba(255,101,2,0.05) 100%);
  border-color: rgba(255,101,2,0.25);
}
.b-orange .bento-tag { border-color: rgba(255,101,2,0.4); color: var(--orange); }
.b-dark   {
  background: var(--surface);
}
.b-dark .bento-tag   { border-color: var(--line); color: var(--muted); }
.b-cream  {
  background: rgba(255,202,132,0.05);
  border-color: rgba(255,202,132,0.15);
}
.b-cream .bento-tag  { border-color: rgba(255,202,132,0.3); color: var(--cream); }
.b-ink    {
  background: var(--surface-2);
}
.b-ink .bento-tag    { border-color: var(--line); color: var(--muted); }
.b-teal   {
  background: rgba(117,200,173,0.06);
  border-color: rgba(117,200,173,0.2);
}
.b-teal .bento-tag   { border-color: rgba(117,200,173,0.35); color: var(--teal); }
.b-rose   {
  background: rgba(251,102,116,0.06);
  border-color: rgba(251,102,116,0.18);
}
.b-rose .bento-tag   { border-color: rgba(251,102,116,0.3); color: var(--rose); }

/* Bento feature UIs */
.bento-viz {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.gauge-svg { width: min(220px, 90%); }
.gauge-num { font-family: var(--font-serif); font-size: 2.2rem; }
.gauge-label { font-size: 0.8rem; }
.gauge-fill { animation: gaugeDraw 2s 0.5s var(--ease-out) both; }
@keyframes gaugeDraw {
  from { stroke-dashoffset: 251; }
  to   { stroke-dashoffset: 130; }
}

.bento-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.bento-chips span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease;
}
.bento-chips span:hover { background: rgba(255,101,2,0.12); border-color: rgba(255,101,2,0.3); color: var(--orange-2); }

.bento-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.chat-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 90%;
}
.chat-bubble.user {
  background: rgba(255,202,132,0.12);
  border: 1px solid rgba(255,202,132,0.2);
  color: var(--cream);
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}
.chat-bubble.ai {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  align-self: flex-start;
  border-radius: 4px 14px 14px 14px;
}

.bento-plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.bp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}
.bp-tag {
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.bp-tag.now   { background: rgba(255,101,2,0.15); color: var(--orange); }
.bp-tag.week  { background: rgba(117,200,173,0.15); color: var(--teal); }
.bp-tag.habit { background: rgba(142,172,231,0.15); color: var(--blue); }

.bento-recover {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.recover-item {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(117,200,173,0.08);
  border: 1px solid rgba(117,200,173,0.2);
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
}
.bento-lock {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  color: var(--rose);
  opacity: 0.6;
}

/* ── Quote Break ── */
.quote-section {
  padding: clamp(80px,12vw,160px) clamp(20px,5vw,60px);
  border-top: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '"';
  position: absolute;
  top: -60px; left: 40px;
  font-family: var(--font-serif);
  font-size: 32rem;
  color: rgba(255,101,2,0.04);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.big-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.35;
  margin-bottom: 28px;
}
.big-quote .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.big-quote .word.visible { opacity: 1; transform: translateY(0); }
.quote-attr {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: normal;
}

/* ── Pricing ── */
.pricing-section {
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,60px);
  border-top: 1px solid var(--line);
}
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-header { margin-bottom: 64px; }
.pricing-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.pricing-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.6;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto 80px;
}

.price-card {
  border-radius: 20px;
  padding: clamp(28px,4vw,44px);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out);
}
.price-card:hover { transform: translateY(-4px); }
.p-free { background: var(--surface); }
.p-plus {
  background: var(--surface-2);
  border-color: rgba(255,101,2,0.3);
  box-shadow: 0 0 60px rgba(255,101,2,0.08);
}

.price-badge {
  display: inline-flex;
  height: 28px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,101,2,0.15);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.price-tier {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.price-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--off-white);
  margin-bottom: 14px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.price-orig {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--muted);
}
.price-freq {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}
.price-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.price-list li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.price-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.8rem;
}

.price-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: none;
  transition: box-shadow 0.3s ease, filter 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  /* Prevent any magnetic transform from applying */
  transform: none !important;
  width: 100%;
}
@media (pointer: coarse) { .price-btn { cursor: pointer; } }
.ghost-btn {
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--muted);
  background: transparent;
}
.ghost-btn:hover { border-color: rgba(255,255,255,0.35); color: var(--off-white); background: rgba(255,255,255,0.04); }
.orange-btn {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 36px rgba(255,101,2,0.28);
}
.orange-btn:hover { box-shadow: 0 16px 48px rgba(255,101,2,0.45); filter: brightness(1.08); }
.price-fine {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  opacity: 0.6;
}

/* FAQ */
.faq-block {
  max-width: 680px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--off-white);
  cursor: pointer;
  transition: color 0.2s ease;
  gap: 16px;
}
.faq-item summary:hover { color: var(--orange-2); }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--orange); }
.faq-item::-webkit-details-marker { display: none; }
.faq-a {
  padding-bottom: 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Early Access ── */
.access-section {
  position: relative;
  padding: clamp(80px,12vw,160px) clamp(20px,5vw,60px);
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}
.access-bg { position: absolute; inset: 0; pointer-events: none; }
.access-orb {
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,101,2,0.12) 0%, rgba(255,173,89,0.04) 45%, transparent 70%);
  animation: orbPulse 8s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%      { transform: translate(-50%,-50%) scale(1.1); }
}

.access-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,8vw,120px);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.access-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 20px 50px rgba(255,101,2,0.3);
}
.access-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.1;
  margin-bottom: 18px;
}
.access-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 44ch;
}
.access-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.access-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--off-white);
}
.perk-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.access-form-wrap {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: clamp(28px,4vw,48px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}
.spots-bar-wrap { margin-bottom: 28px; }
.spots-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.spots-bar-label strong { color: var(--orange-2); }
.spots-bar {
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.spots-bar-fill {
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange-2), var(--orange));
  animation: barFill 1.5s 0.5s var(--ease-out) forwards;
}
@keyframes barFill { to { width: 68%; } }

.access-form { display: flex; flex-direction: column; gap: 12px; }
.access-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--off-white);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.access-form input {
  height: 54px;
  padding: 0 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: var(--off-white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: var(--font-sans);
  min-width: 0;
}
.access-form input:focus {
  border-color: rgba(255,101,2,0.5);
  box-shadow: 0 0 0 4px rgba(255,101,2,0.1);
}
.access-form input::placeholder { color: rgba(255,255,255,0.25); }

.form-submit {
  height: 54px;
  padding: 0 22px;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease;
  font-family: var(--font-sans);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255,101,2,0.4);
}
.form-submit.done { background: var(--teal); box-shadow: 0 14px 36px rgba(117,200,173,0.3); }
@media (pointer: coarse) { .form-submit { cursor: pointer; } }

.form-status {
  min-height: 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}
.form-status.error { color: var(--rose); }
.form-note {
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(48px,7vw,80px) clamp(20px,5vw,60px) clamp(40px,6vw,64px);
}
.footer-brand .nav-logo {
  margin-bottom: 14px;
  display: inline-flex;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}
.footer-nav { display: flex; gap: 56px; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col strong {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--off-white);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--off-white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px clamp(20px,5vw,60px) 28px;
  font-size: 0.78rem;
  color: rgba(245,237,224,0.25);
  border-top: 1px solid var(--line);
}

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .b-large, .b-wide { grid-column: span 2; }
  .access-inner { grid-template-columns: 1fr; }
  .access-sub { max-width: 100%; }
}

@media (max-width: 840px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left { order: 1; }
  .hero-right { order: 0; }
  .hero-tag, .hero-actions { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }

  .orb-scene { width: min(280px, 70vw); height: min(280px, 70vw); }
  .chip { display: none; }
  .chip-1, .chip-2 { display: block; }
  .chip-1 { top: -5%; left: 0; }
  .chip-2 { top: -5%; right: 0; }

  .how-step { grid-template-columns: 1fr; gap: 12px; }
  .step-number { margin-bottom: 0; }

  .bento-grid { grid-template-columns: 1fr; }
  .b-large, .b-wide { grid-column: span 1; }

  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 60px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 560px) {
  .hero-headline { font-size: clamp(2.8rem, 11vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .intro-stats { flex-direction: column; gap: 28px; }
  .stat-div { width: 40px; height: 1px; }
  .stat:not(:first-child) { padding-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; gap: 32px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
