/* =========================================================
   Grozzly — styles
   Every color is a variable in :root. Change them there.
   ========================================================= */
:root {
  /* Surfaces */
  --bg: #070708;
  --bg-2: #0d0d0f;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f4f1ea;
  --text-muted: #a8a39a;
  --text-dim: #726e67;

  /* Accent: honey */
  --accent: #e8a33d;
  --accent-hover: #f1b458;
  --accent-2: #f6d28e;
  --accent-ink: #1b1206;
  --accent-soft: rgba(232, 163, 61, 0.12);
  --accent-line: rgba(232, 163, 61, 0.38);
  --accent-glow: rgba(232, 163, 61, 0.16);

  /* States */
  --success: #57c98f;
  --success-soft: rgba(87, 201, 143, 0.12);
  --alert: #ff5a4e;

  /* Brand mark (the bear logo) */
  --brand-mark: url("../images/grozzly-bear.png");

  /* Type */
  /* Headings: Geist, a free lookalike of ABC Favorit (the paid font on resend.com). */
  --font-display: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 8.5vw, 116px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { position: relative; z-index: 1; overflow-x: clip; }
svg { display: block; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* ---------- Type ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.12;
  text-wrap: balance;
  /* Soft white-to-grey fade, like the headings on resend.com */
  background: linear-gradient(to right bottom, var(--text) 30%, rgba(244, 241, 234, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(to right bottom, var(--accent-2) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.section__head .eyebrow { margin-bottom: 20px; }
.lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 36em;
  text-wrap: pretty;
}

/* Placeholder markers (replace before launch) */
.ph {
  color: var(--accent-2);
  background: rgba(232, 163, 61, 0.08);
  border: 1px dashed var(--accent-line);
  border-radius: 6px;
  padding: 0 0.3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-style: normal;
}
.ph-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px dashed var(--accent-line);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease), opacity 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 28px -12px rgba(232, 163, 61, 0.65);
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.24); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn[disabled] { opacity: 0.38; cursor: not-allowed; box-shadow: none; }
.btn[disabled]:hover .btn__arrow { transform: none; }

/* ---------- Brand mark ---------- */
.mark {
  --size: 30px;
  display: inline-block;
  flex: none;
  width: var(--size);
  height: var(--size);
  background: var(--brand-mark) center / contain no-repeat;
}
.mark--xs { --size: 18px; }
.mark--sm { --size: 24px; }
.mark--lg { --size: 44px; }
.mark--xl { --size: 64px; }

/* ---------- Ambient background ---------- */
.ambient {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1200px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.ambient::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -24%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
}
.ambient::after {
  content: "";
  position: absolute;
  left: -18%;
  top: 6%;
  width: 820px;
  height: 720px;
  background: radial-gradient(closest-side, rgba(130, 145, 200, 0.06), transparent 70%);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(7, 7, 8, 0.74);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 32px; font-size: 15px; color: var(--text-muted); }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform 0.25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { padding: 8px var(--gutter) 24px; border-top: 1px solid var(--border); }
.mobile-menu a:not(.btn) { display: block; padding: 15px 0; font-size: 20px; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { width: 100%; margin-top: 20px; }
@media (max-width: 860px) {
  .nav__links, .nav__text { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section + .section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(1180px, 92%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.section__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 9vw, 120px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 8px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.03);
}
.pill::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), rgba(246, 210, 142, 0.18) 55%, var(--accent-line));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@media (max-width: 420px) { .pill { font-size: 12.5px; padding: 7px 13px 7px 11px; gap: 8px; } }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero__title { margin-top: 24px; font-size: clamp(2.7rem, 5.6vw, 4.9rem); max-width: 10em; }
.hero__sub { margin-top: 24px; max-width: 31em; font-size: clamp(17px, 1.5vw, 20px); color: var(--text-muted); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 14px; color: var(--text-dim); }
.hero__meta strong { color: var(--text-muted); font-weight: 500; }
.hero__visual { position: relative; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 12% 6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(232, 163, 61, 0.13), transparent);
  filter: blur(30px);
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 11em; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__meta { align-items: flex-start; }
  .hero__meta .mark { margin-top: 3px; }
}

/* ---------- Mess → order scene ---------- */
.scene {
  position: relative;
  width: 100%;
  height: clamp(510px, 42vw, 560px);
  isolation: isolate;
}
.mess-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: min(214px, 46%);
  z-index: 2;
  transform: translate(-50%, -50%) rotate(var(--r));
  transition: left 0.9s var(--ease), top 0.9s var(--ease), transform 0.9s var(--ease), opacity 0.55s var(--ease);
  transition-delay: calc(var(--i) * 55ms);
}
/* The line that tangles through the cards, then straightens down the panel */
.scene__line {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.scene__line path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-opacity: 0.55;
  filter: drop-shadow(0 0 6px rgba(232, 163, 61, 0.45));
  transition: stroke-opacity 0.8s var(--ease);
}
.scene.is-order .scene__line path { stroke-opacity: 0.9; }
/* Each card flies into its own group in the panel (positions set in main.js) */
.scene.is-order .mess-card {
  left: var(--tx, 50%);
  top: var(--ty, 50%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55) rotate(0deg);
}
.mess-card__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(36, 36, 42, 0.94), rgba(20, 20, 24, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  animation: drift 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.1s);
}
@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 3px -7px; }
}
.mess-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}
.mess-card__icon svg { width: 18px; height: 18px; }
.mess-card__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mess-card__text strong, .mess-card__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mess-card__text strong { font-size: 13.5px; font-weight: 500; }
.mess-card__text small { font-size: 12px; color: var(--text-dim); }
.mess-card__badge {
  position: absolute;
  top: -8px; right: -8px;
  display: grid;
  place-items: center;
  min-width: 21px; height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--alert);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 0 0 3px var(--bg);
}

.panel {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(420px, 96%);
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 28, 32, 0.92), rgba(14, 14, 17, 0.96));
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 1px rgba(232, 163, 61, 0.07), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 90px -24px rgba(232, 163, 61, 0.22);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}
.scene.is-order .panel { opacity: 1; transform: translate(-50%, -50%) scale(1); transition-delay: 0.35s; }
.panel__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.panel__head strong { font-weight: 600; }
.panel__live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 12px; color: var(--success); }
.panel__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(87, 201, 143, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(87, 201, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 201, 143, 0); }
}
.panel__groups { padding: 4px 8px 8px 30px; }
.panel__group + .panel__group { margin-top: 4px; }
.panel__group-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.scene.is-order .panel__group-head { opacity: 1; transition-delay: calc(0.5s + var(--g) * 0.2s); }
.panel__node {
  position: absolute;
  left: -19px;
  top: 50%;
  margin-top: -1.5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(232, 163, 61, 0.55);
}
.panel__group-meta { margin-left: auto; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-muted); }
.panel__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.scene.is-order .panel__row { opacity: 1; transform: none; transition-delay: calc(0.6s + var(--i) * 0.14s); }
.panel__row-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--text-muted);
}
.panel__row-icon svg { width: 16px; height: 16px; }
.panel__row--accent .panel__row-icon { background: var(--accent-soft); color: var(--accent); }
.panel__row--success .panel__row-icon { background: var(--success-soft); color: var(--success); }
.panel__row--success .panel__row-meta { color: var(--success); }
.panel__row-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.panel__row-text strong, .panel__row-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel__row-text strong { font-size: 13.5px; font-weight: 500; }
.panel__row-text small { font-size: 12px; color: var(--text-dim); }
.panel__row-meta { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.panel__foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-dim); }

.scene-toggle {
  display: flex;
  gap: 2px;
  width: max-content;
  margin: 18px auto 0;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.scene-toggle button {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.scene-toggle button:hover { color: var(--text); }
.scene-toggle button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }

/* ---------- Problems ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, background-color 0.3s;
}
.problem:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.045); }
.problem__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}
.problem__icon svg { width: 22px; height: 22px; }
.problem__icon .badge {
  position: absolute;
  top: -7px; right: -7px;
  display: grid;
  place-items: center;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--alert);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 0 0 3px var(--bg);
}
.problem h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.problem p { margin-top: 8px; font-size: 16px; color: var(--text-muted); }
.problems__close { margin-top: 44px; text-align: center; font-size: 18px; color: var(--text-muted); text-wrap: balance; }
.problems__close a { color: var(--accent); white-space: nowrap; border-bottom: 1px solid var(--accent-line); }
.problems--four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .problems { grid-template-columns: 1fr; gap: 12px; }
  .problem { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; }
  .problem__icon { margin-bottom: 0; }
  .problem h3 { font-size: 17.5px; }
  .problem p { font-size: 15.5px; margin-top: 4px; }
}

/* ---------- Try it yourself ---------- */
.try {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(232, 163, 61, 0.07), rgba(255, 255, 255, 0.015) 55%);
  border: 1px solid var(--accent-line);
}
.try .eyebrow { margin-bottom: 18px; }
.try h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.try .lede a { color: var(--accent); border-bottom: 1px solid var(--accent-line); white-space: nowrap; }
.try__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sms { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 20px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border); }
.sms__who { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--text-dim); }
.sms .sms__bubble { margin: 0; max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.4; }
.sms .sms__bubble--in { align-self: flex-start; background: #26262b; color: var(--text); border-bottom-left-radius: 6px; }
.sms .sms__bubble--out { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.sms__meta { align-self: flex-end; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-dim); }
.sms__meta svg { width: 12px; height: 12px; color: var(--accent); }
.sms-consent { margin-top: 18px; max-width: 34em; font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }
.sms-consent a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) { .try { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .try__ctas .btn { flex: 1 1 100%; } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 500; color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Founder photo / initials */
.avatar {
  --size: 40px;
  display: grid;
  place-items: center;
  flex: none;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--surface-2) center / cover no-repeat;
  border: 1px solid var(--border-strong);
  font-size: calc(var(--size) * 0.34);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.avatar--sm { --size: 30px; }
.avatar--lg { --size: 64px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.step__num { display: block; margin-bottom: 30px; font-family: var(--font-display); font-size: 42px; letter-spacing: -0.05em; line-height: 1; color: var(--accent); }
.step__who { position: absolute; top: 26px; right: 22px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 12px; color: var(--text-dim); }
.step h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.step p { margin-top: 8px; font-size: 15.5px; color: var(--text-muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 22px; }
  .step__num { margin-bottom: 16px; font-size: 38px; }
}

/* ---------- What I do: outcomes + tools ---------- */
.outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--border); }
.outcome { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.outcome__icon, .demo-callout__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.outcome__icon svg, .demo-callout__icon svg { width: 20px; height: 20px; }
.outcome h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.outcome p { margin-top: 4px; font-size: 15.5px; color: var(--text-muted); }
@media (max-width: 760px) { .outcomes { grid-template-columns: 1fr; } }

.works {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px 48px;
  align-items: center;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
}
.works h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.04em; line-height: 1.15; }
.works p { margin-top: 10px; font-size: 15.5px; color: var(--text-muted); }
.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chips li { padding: 9px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-strong); font-size: 14.5px; }
.center-link { margin-top: 36px; text-align: center; }
@media (max-width: 860px) { .works { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px), var(--bg-2);
  background-size: cover;
  background-position: center;
}
.photo.has-photo { background-repeat: no-repeat; }
/* The small round avatar zooms in on the face of the same tall photo */
.avatar.has-photo { background-size: 220%; background-position: 50% 25%; }
.photo.has-photo > * { display: none; }
.about__text h2 { font-size: clamp(2.6rem, 5vw, 4rem); }
.about__text .eyebrow { margin-bottom: 20px; }
.about__text p { max-width: 34em; margin-top: 18px; font-size: 18px; color: var(--text-muted); }
.about__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .photo { max-width: 340px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__head .lede a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-2); }
.faq__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.faq__icon svg { width: 14px; height: 14px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.faq__answer { padding: 0 48px 24px 0; font-size: 16.5px; color: var(--text-muted); }
.faq__item[open] .faq__answer { animation: stepIn 0.35s var(--ease); }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq__answer { padding-right: 0; }
  .faq__item summary { font-size: 17px; }
}

/* ---------- Final CTA ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) clamp(20px, 4vw, 48px);
  text-align: center;
  border-radius: 32px;
  background: radial-gradient(80% 120% at 50% 100%, rgba(232, 163, 61, 0.14), transparent 60%), var(--bg-2);
  border: 1px solid var(--border-strong);
}
.final h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.final p { margin-top: 16px; font-size: 18px; color: var(--text-muted); }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
@media (max-width: 480px) { .final__ctas .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer__brand p { max-width: 26em; margin-top: 12px; font-size: 14.5px; color: var(--text-dim); }
.footer h4 { margin-bottom: 14px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.footer li + li { margin-top: 8px; }
.footer li a { font-size: 15px; color: var(--text-muted); transition: color 0.2s; }
.footer li a:hover { color: var(--text); }
.footer__legal { display: flex; gap: 20px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-dim); }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(18, 18, 21, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
  transform: translateY(150%);
  transition: transform 0.4s var(--ease);
}
.mobile-bar .btn { flex: 1; }
.mobile-bar.is-visible { transform: none; }
@media (max-width: 760px) { .mobile-bar { display: flex; } }

/* ---------- Page heroes (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 8vw, 104px)) 0 clamp(32px, 5vw, 56px); }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero__title { max-width: 13em; font-size: clamp(2.8rem, 6vw, 4.8rem); }
.page-hero + .section { padding-top: clamp(24px, 4vw, 48px); }
.nav__links a[aria-current="page"] { color: var(--text); }
.mobile-menu a[aria-current="page"] { color: var(--accent); }

/* ---------- See it work: demo callout, video, journey ---------- */
.video {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 24px;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.022) 0 12px, transparent 12px 24px), var(--bg-2);
}
.video > div { display: grid; justify-items: center; gap: 12px; }
.video__play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }
.video__play svg { width: 22px; height: 22px; margin-left: 3px; }
.video p { max-width: 30em; font-size: 15px; color: var(--text-muted); }
.video.has-video { padding: 0; background: #000; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) {
  .video:not(.has-video) { aspect-ratio: auto; min-height: 240px; }
}
.demo-callout {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  margin-bottom: 24px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(232, 163, 61, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--accent-line);
}
.demo-callout h3 { font-size: 19px; font-weight: 600; line-height: 1.35; }
.demo-callout p { margin-top: 6px; max-width: 46em; font-size: 16px; color: var(--text-muted); }
.demo-callout .link-arrow { margin-top: 14px; }
.journey__title { margin-top: clamp(40px, 6vw, 64px); margin-bottom: 20px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.journey li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.journey__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }
.journey h4 { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.journey p { margin-top: 4px; font-size: 15px; color: var(--text-muted); }
@media (max-width: 960px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .journey { grid-template-columns: 1fr; }
  .demo-callout { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Privacy policy + Terms ---------- */
.prose > * { max-width: 720px; }
.prose h2 { margin-top: 40px; font-family: var(--font-sans); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.prose p, .prose li { font-size: 16.5px; color: var(--text-muted); }
.prose p { margin-top: 12px; }
.prose ul { margin-top: 12px; padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.prose strong { font-weight: 500; color: var(--text); }

/* ---------- Scroll reveals ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
