/* Mindhall landing page. Plain CSS, no build step. Fonts are self-hosted (OFL, see assets/fonts). */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: #0b0b0d;
  --panel-2: #111114;
  --panel-3: #17171b;
  --chip: #1b1b20;
  --line: #1f1f24;
  --line-2: #26262c;
  --line-3: #2c2c33;
  --line-4: #34343c;
  --text: #f6f4ef;
  --text-2: #b4b1aa;
  --text-3: #8f8c86;
  /* No brand colour: black, white and grey. Colour only where it means something (green, coral, AI dots). */
  --accent: #f6f4ef;
  --accent-glow: rgba(255, 255, 255, 0.1);
  --accent-soft: rgba(255, 255, 255, 0.06);
  --accent-line: rgba(255, 255, 255, 0.2);
  --accent-wire: rgba(255, 255, 255, 0.4);
  --highlight: #8f8c86;
  --hive: #8ec5ff;
  --hive-glow: rgba(142, 197, 255, 0.22);
  --hive-line: rgba(142, 197, 255, 0.35);
  --hive-wire: rgba(142, 197, 255, 0.55);
  --action: #f6f4ef;
  --action-hover: #ffffff;
  --action-ink: #0a0a0a;
  --ok: #8fe3c0;
  --warn: #ff9b8a;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
canvas { display: block; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--text); color: #0a0a0a; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- type ---------- */
.display, h1, h2 { font-family: var(--display); font-weight: 600; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--highlight); }
.section-title { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -0.035em; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.eyebrow::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; }
.sec-head > div { flex: 1 1 560px; min-width: 0; }
.sec-head h2 { margin-top: 18px; }
.sec-head .aside { flex: 0 1 340px; margin-bottom: 10px; font-size: 17px; color: var(--text-2); }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center > div { flex: none; display: flex; flex-direction: column; align-items: center; }
.sec-head.center h2 { max-width: 820px; }
.sec-head.center .sub { margin-top: 20px; font-size: 17px; color: var(--text-2); max-width: 520px; }

/* ---------- buttons and badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--action); color: var(--action-ink);
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--action-hover); }
.btn:disabled { opacity: 0.7; cursor: default; }
.btn-sm { height: 44px; padding: 0 20px; }
.btn-ghost { background: transparent; border: 1px solid var(--line-3); color: var(--text); font-weight: 500; }
.btn-ghost:hover { background: var(--chip); }
/* names: plain text with a small dot; the dot turns green when that AI is up to date */
.who { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: -0.005em; }
.who::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #5d5c63; }
.who.on::before { background: var(--ok); box-shadow: 0 0 8px rgba(143, 227, 192, 0.45); }
.tag-warn { padding: 4px 10px; border-radius: 999px; background: rgba(255, 155, 138, 0.14); color: var(--warn); font-size: 12px; font-weight: 500; white-space: nowrap; }
.tag-ok { padding: 4px 10px; border-radius: 999px; background: rgba(143, 227, 192, 0.14); color: var(--ok); font-size: 12px; font-weight: 500; white-space: nowrap; }
.ok { color: var(--ok); }

/* ---------- header ---------- */
/* jumping to a section from the menu lands below the floating header */
section[id] { scroll-margin-top: 84px; }
/* the phone menu (hidden on wider screens) */
.nav-toggle, .mnav { display: none; }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-6px); } }
/* a floating glass pill, always */
.site-header { position: sticky; top: 0; z-index: 20; padding-top: 12px; pointer-events: none; }
.site-header .header-row {
  pointer-events: auto; height: 60px; max-width: min(1080px, calc(100% - 24px)); margin: 0 auto; padding: 0 8px 0 22px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.09);
  background-color: rgba(14, 14, 18, 0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.brand { display: inline-flex; align-items: center; color: var(--accent); }
.brand-logo { width: 116px; height: 26px; fill: currentColor; }
.brand-line { fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-word { fill: var(--text); }
.nav { display: flex; align-items: center; gap: 4px; font-size: 14.5px; }
.nav a { padding: 8px 14px; white-space: nowrap; border-radius: 999px; color: var(--text-2); transition: color 0.15s ease, background-color 0.15s ease; }
.nav a:hover { color: var(--text); background-color: rgba(255, 255, 255, 0.06); }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 8px 12px 8px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; cursor: pointer; transition: color 0.15s ease, background-color 0.15s ease; }
.nav-drop-btn:hover, .nav-drop.is-open .nav-drop-btn { color: var(--text); background-color: rgba(255, 255, 255, 0.06); }
.nav-drop-btn svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, -4px);
  min-width: 260px; margin: 0; padding: 6px; list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px; background: rgba(14, 14, 18, 0.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-drop.is-open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-menu a { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 14.5px; }
.nav-menu a:hover { background-color: rgba(255, 255, 255, 0.06); }
.nav-menu svg { grid-row: span 2; width: 18px; height: 18px; color: var(--text-2); }
.nav-menu small { grid-column: 2; font-size: 12.5px; color: var(--text-3); }
.nav-end { display: flex; align-items: center; gap: 6px; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; color: var(--text-2); transition: color 0.15s ease, background-color 0.15s ease; }
.nav-icon:hover { color: var(--text); background-color: rgba(255, 255, 255, 0.06); }
.nav-icon svg { width: 20px; height: 20px; }
.nav-cta { height: 40px; padding: 0 16px 0 18px; gap: 6px; font-size: 14px; }
.nav-cta svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-cta:hover svg { transform: translateX(2px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 80px 0 0; overflow-x: clip; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 40px; }
.hero-copy { flex: 1 1 520px; min-width: 0; position: relative; z-index: 2; }
.hero-art { flex: 1 1 440px; min-width: 0; }
.hero h1 { font-size: clamp(48px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.04em; }
.lede { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 540px; }
.lede strong { color: var(--text); font-weight: 500; }

/* waitlist form (hero and the final box) */
.join { margin-top: 36px; max-width: 500px; }
.join-field { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-3); background: var(--panel); transition: border-color 0.15s ease; }
.join-field:focus-within { border-color: var(--line-4); }
.join input[type="email"] { flex: 1 1 200px; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; outline: none; }
.join input::placeholder { color: var(--text-3); }
.join input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--warn); }
.join-msg { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.join-msg:empty { display: none; }
.join-msg.is-error { color: var(--warn); }
.join-msg.is-ok { color: var(--ok); }
.join-fallback { margin-top: 36px; font-size: 16px; color: var(--text-2); }
.join-fallback a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* the hive: a living memory with the AI apps around it */
.hive { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin: 0 auto; }
.hive-glow { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(closest-side, var(--hive-glow) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(0, 0, 0, 0) 74%); filter: blur(30px); }
.hive canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.chip {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 10px;
  border-radius: 999px; background: rgba(12, 12, 16, 0.86); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--text); font-size: 12.5px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, background 0.15s ease;
}
.chip:hover { background: rgba(28, 28, 34, 0.92); }
.chip::after { content: ""; position: absolute; inset: -8px -6px; }
.chip-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #5d5c63; transition: background 0.3s ease, box-shadow 0.3s ease; }
.chip.is-telling { border-color: var(--hive-line); }
.chip.is-telling .chip-dot { background: var(--hive); box-shadow: 0 0 0 3px rgba(142, 197, 255, 0.18), 0 0 10px rgba(142, 197, 255, 0.7); }
.chip.is-knows { border-color: rgba(143, 227, 192, 0.4); }
.chip.is-knows .chip-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(143, 227, 192, 0.16), 0 0 10px rgba(143, 227, 192, 0.6); }
.chip-0 { left: 10%; top: 74%; }
.chip-1 { left: 91%; top: 56%; }
.chip-2 { left: 8%; top: 40%; }
.chip-3 { left: 85%; top: 21%; }

/* ---------- the problem ---------- */
.problem { position: relative; padding: 150px 0 120px; }
/* the problem: where each AI thinks your trip is, on a small calendar */
/* it pins while you scroll through the spacer below it; the scroll position switches it */
.drift-scroll { position: relative; }
.drift-sticky { position: sticky; top: max(88px, calc(50vh - 330px)); z-index: 1; }
.drift-spacer { height: 60vh; }
.drift-scroll .drift { margin-top: 36px; }
.drift { margin-top: 64px; border: 1px solid var(--line-2); border-radius: 28px; background: var(--panel); padding: 28px 32px 30px; }
.drift-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ask-line { display: flex; width: fit-content; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; background: var(--text); color: #0a0a0a; font-size: 15px; font-weight: 500; }
.you-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #0a0a0a; color: var(--text); font-size: 11px; font-weight: 600; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-3); }
.seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--text-3); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--chip); color: var(--text); }
.cal { margin-top: 32px; }
.pins { position: relative; height: 132px; }
.pin {
  --col: 7; --row: 0;
  position: absolute; left: calc((var(--col) + 0.5) / 11 * 100%); top: calc(var(--row) * 44px);
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; box-sizing: border-box;
  border-radius: 999px; background: #121216; border: 1px solid var(--line-3);
  font-size: 12.5px; font-weight: 500; white-space: nowrap;
  transition: left 0.8s cubic-bezier(0.65, 0, 0.35, 1), transform 0.8s cubic-bezier(0.65, 0, 0.35, 1), border-color 0.4s ease;
}
.pin i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); transition: background 0.4s ease, box-shadow 0.4s ease; }
.pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: calc(132px - 30px - var(--row) * 44px + 6px); background: var(--line-4); }
.p-chatgpt { --row: 0; }
.p-claude { --row: 1; }
.p-grok { --row: 2; }
.drift[data-mode="without"] .p-chatgpt { --col: 2; }
.drift[data-mode="without"] .p-claude { --col: 5; }
.drift[data-mode="without"] .p-grok { --col: 10; transform: translateX(-78%); }
.drift[data-mode="without"] .p-grok::after { left: 78%; }
.drift[data-mode="with"] .pin { border-color: rgba(143, 227, 192, 0.35); }
.drift[data-mode="with"] .pin i { background: var(--ok); box-shadow: 0 0 8px rgba(143, 227, 192, 0.6); }
.days { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.days span { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 16px; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.2; color: var(--text-3); }
.days .trip { color: var(--text); }
.days .trip::before { content: ""; position: absolute; left: 50%; top: 8px; width: 46px; height: 42px; transform: translateX(-50%); border-radius: 12px; border: 1px solid var(--line-4); transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.drift[data-mode="with"] .days .trip::before { border-color: var(--hive-line); box-shadow: 0 0 24px rgba(142, 197, 255, 0.25); }
.days .unknown { color: var(--line-4); }
.days small { margin-top: 12px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.days .unknown small { color: var(--text-3); }
.month { margin-top: 18px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.drift-caption { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; font-size: 17px; color: var(--text-2); }
.drift-caption span { grid-area: 1 / 1; transition: opacity 0.4s ease; }
.drift[data-mode="without"] [data-cap="with"], .drift[data-mode="with"] [data-cap="without"] { opacity: 0; }
.drift[data-mode="with"] [data-cap="with"] { color: var(--text); }

/* ---------- how it works ---------- */

/* ---------- what you get ---------- */
.features { position: relative; padding: 120px 0; }
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.s2 { grid-column: span 2; }
.s4 { grid-column: span 4; }
.card { position: relative; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.card h3 + p { margin-top: 8px; color: var(--text-2); }
.card-big { padding: 32px; justify-content: flex-start; gap: 0; }
.card-big > * { position: relative; }
.card-big h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; }
.card-big > p { max-width: 440px; }
.card-glow { position: absolute; right: -10%; top: -40%; width: 60%; height: 90%; background: radial-gradient(closest-side, var(--accent-soft), rgba(0, 0, 0, 0)); filter: blur(20px); }
.rooms { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.room { border: 1px solid var(--line-2); border-radius: 20px; background: var(--panel-2); padding: 18px; }
.room-label { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 12px; border-radius: 999px; background: var(--chip); font-size: 14px; }
.room-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.room-list > div { display: flex; justify-content: space-between; gap: 10px; }
.room-list .soon { color: var(--accent); }
.room-list .later { color: var(--text-2); }
.room-list.stack { gap: 12px; }
.room-list.stack > div { display: block; }
.room-list .sub { color: var(--text-3); font-size: 13px; }
.log { display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.log > div { position: relative; padding-left: 22px; }
.log > div::before { content: ""; position: absolute; left: 3px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #5d5c63; }
.log > div:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 20px; bottom: -14px; width: 1px; background: var(--line-3); }
.log > div.you::before { background: var(--text); }
.log b { font-weight: 600; }
.log .when { color: var(--text-3); font-size: 13px; }
.undo-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 18px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 14px; }
.undo-row .by { color: var(--text-3); font-size: 13px; }
.btn-small { height: 44px; padding: 0 16px; font-size: 14px; }
.move { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px; border-radius: 18px; background: var(--panel-2); border: 1px solid var(--line-2); }
.move b { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.move .old { color: var(--text-3); text-decoration: line-through; }
.move .new { color: var(--accent); }
.pause { display: flex; align-items: center; justify-content: space-between; gap: 14px; box-sizing: border-box; width: 100%; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); }
.pause-text b { display: block; font-size: 15px; font-weight: 500; }
.pause-text small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); }
.pause-switch { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--ok); transition: background 0.3s ease; }
.pause-switch i { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #0a0a0a; transform: translateX(18px); transition: transform 0.3s ease; }
.pause.is-paused .pause-switch { background: var(--line-3); }
.pause.is-paused .pause-switch i { transform: none; background: var(--text-3); }

/* ---------- short pages (contact): the footer sits at the bottom of the window ---------- */
.subpage { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.subpage main { flex: 1 0 auto; }

/* ---------- contact page ---------- */
.contact { padding: 96px 0 120px; }
/* heading and other ways to reach us on the left, the form on the right, like the FAQ row */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "reach"; gap: 48px; max-width: 640px; }
.contact-layout.has-form { max-width: none; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "intro form" "reach form"; gap: 48px 64px; }
.contact-intro { grid-area: intro; }
.contact-intro h1 { font-size: clamp(40px, 5vw, 64px); }
.contact-intro .sub { margin-top: 20px; font-size: 17px; color: var(--text-2); }
.reach { grid-area: reach; align-self: start; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.reach li { border-bottom: 1px solid var(--line-2); }
.reach a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; }
.reach-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.reach-label { font-size: 13px; color: var(--text-3); }
.reach-value { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.reach-go { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-3); color: var(--text-2); transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.reach-go svg { width: 14px; height: 14px; }
.reach a:hover .reach-go { background: var(--chip); border-color: var(--line-4); color: var(--text); }
/* the form: the site's card, with pill fields like the waitlist */
.contact-form { grid-area: form; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); }
.contact-form[hidden] { display: none; }
.contact-form > :not(.card-glow):not(.sr) { position: relative; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field > span { padding-left: 4px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea { box-sizing: border-box; width: 100%; height: 52px; padding: 0 20px; border: 1px solid var(--line-3); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color 0.15s ease, background 0.15s ease; }
.field textarea { height: auto; min-height: 168px; padding: 16px 20px; border-radius: 24px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%238f8c86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; background-size: 12px; padding-right: 44px; }
.field select option { background: var(--panel-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-4); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--line-4); background-color: var(--panel-2); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.form-foot .btn svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.form-foot .btn:hover svg { transform: translateX(2px); }
/* sent: the card turns into a short confirmation */
.contact-sent { grid-area: form; position: relative; overflow: hidden; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 36px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); animation: sent-in 0.45s ease both; }
.contact-sent[hidden] { display: none; }
.contact-sent > :not(.card-glow) { position: relative; }
.sent-check { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(143, 227, 192, 0.35); background: rgba(143, 227, 192, 0.1); color: var(--ok); box-shadow: 0 0 32px rgba(143, 227, 192, 0.15); }
.sent-check svg { width: 24px; height: 24px; }
.contact-sent h2 { margin-top: 24px; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.03em; outline: none; }
.contact-sent p { margin-top: 12px; font-size: 17px; color: var(--text-2); max-width: 380px; }
.contact-sent .btn { margin-top: 32px; }
@keyframes sent-in { from { opacity: 0; transform: translateY(8px); } }
.form-msg { font-size: 14px; color: var(--text-2); }
.form-msg:empty { display: none; }
.form-msg.is-error { color: var(--warn); }
.form-msg.is-ok { color: var(--ok); }

/* ---------- policy pages (privacy, terms, refunds, security) ---------- */
.doc { padding: 96px 0 120px; }
.doc-wrap { max-width: 800px; }
.doc-head h1 { font-size: clamp(40px, 5vw, 64px); }
.doc-meta { margin-top: 16px; font-size: 14px; color: var(--text-3); }
.doc-lede { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.doc-intro { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.doc-intro-list { margin: 12px 0 0; padding-left: 20px; }
.doc-intro-list li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.doc-intro-list li + li { margin-top: 4px; }
.doc-intro strong { color: var(--text); font-weight: 500; }
.doc-head a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-4); text-underline-offset: 3px; }
.doc-toc b { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.doc-toc { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.doc-toc ol { columns: 2; column-gap: 40px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.doc-toc li { display: flex; break-inside: avoid; padding: 6px 0; font-size: 15px; line-height: 1.45; counter-increment: toc; }
.doc-toc li::before { content: counter(toc, decimal-leading-zero); flex: none; width: 30px; padding-top: 2px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.doc-toc a { color: var(--text-2); transition: color 0.15s ease; }
.doc-toc a:hover { color: var(--text); }
.doc-body { margin-top: 24px; }
.doc-body section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line-2); scroll-margin-top: 96px; }
.doc-body h2 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
.doc-num { display: block; margin-bottom: 10px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--text-3); font-variant-numeric: tabular-nums; }
.doc-body em { font-style: normal; color: var(--text-3); }
.doc-history { list-style: none; padding-left: 0; }
.doc-body h3 { margin-top: 28px; font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.doc-body p, .doc-body li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.doc-body p { margin-top: 14px; }
.doc-body h3 + p { margin-top: 8px; }
.doc-body ul { margin: 14px 0 0; padding-left: 20px; }
.doc-body li + li { margin-top: 6px; }
.doc-body li::marker { color: var(--text-3); }
.doc-body strong { color: var(--text); font-weight: 500; }
.doc-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-4); text-underline-offset: 3px; transition: text-decoration-color 0.15s ease; }
.doc-body a:hover { text-decoration-color: var(--text); }
.doc-table { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line-2); border-radius: 16px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc-table th { padding: 12px 18px; background: var(--panel); border-bottom: 1px solid var(--line-2); text-align: left; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.doc-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; color: var(--text-2); }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table td:first-child { color: var(--text); font-weight: 500; min-width: 150px; }

/* ---------- 404 ---------- */
.notfound { display: flex; align-items: center; min-height: 100%; padding: 56px 0 104px; text-align: center; }
.notfound .wrap { width: 100%; }
.nf-mind { position: relative; width: 320px; max-width: 72vw; aspect-ratio: 1 / 1; margin: 0 auto; }
.nf-mind canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.nf-code { margin-top: 4px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.notfound h1 { margin-top: 14px; font-size: clamp(36px, 5vw, 56px); text-wrap: balance; }
.notfound .sub { max-width: 420px; margin: 16px auto 0; font-size: 17px; color: var(--text-2); }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.nf-actions .btn svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.nf-actions .btn:hover svg { transform: translateX(2px); }

/* ---------- pricing ---------- */
.pricing { position: relative; padding: 120px 0; }
/* The two cards share rows (subgrid), so price, billing line, list and button line up whatever the text length. */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); gap: 0 16px; max-width: 880px; margin: 28px auto 0; }
.plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; padding: 32px; border: 1px solid var(--line-2); border-radius: 28px; background: var(--panel); }
.plan.pro { border-color: var(--hive-line); background: radial-gradient(100% 60% at 50% 0%, rgba(142, 197, 255, 0.08), rgba(0, 0, 0, 0) 70%), var(--panel); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h3 { font-size: 17px; font-weight: 500; }
.plan-tag { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--hive-line); font-size: 12px; color: var(--hive); }
.plan-price { margin-top: 20px; font-family: var(--display); font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -0.035em; }
.plan-price small { margin-left: 4px; font-family: var(--sans); font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-3); }
.plan-bill { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.plan-desc { margin-top: 18px; font-size: 15px; }
.plan-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 32px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 15px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; }
.plan-list .plan-lead { color: var(--text-2); }
.plan-list svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--text-2); }
.plan.pro .plan-list svg { color: var(--hive); }
.plan-btn { align-self: end; width: 100%; box-sizing: border-box; }
.plan-list strong { font-weight: 600; }
.plan.pro { box-shadow: 0 0 0 1px var(--hive-line), 0 24px 80px -40px rgba(142, 197, 255, 0.35); }
/* Monthly / yearly: the section's data-billing decides which price shows. Without the script it stays on yearly. */
[data-billing="year"] .when-month, [data-billing="month"] .when-year { display: none; }
.pricing .sec-head .sub { max-width: 560px; }
.billing { display: flex; justify-content: center; margin-top: 40px; }
.billing[hidden] { display: none; }
.billing .seg button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; font-size: 14px; }
.billing .save { padding: 3px 9px; border-radius: 999px; background: rgba(142, 197, 255, 0.14); color: var(--hive); font-size: 12px; font-weight: 500; }
.plans-all { max-width: 880px; margin: 16px auto 0; padding: 28px 32px; border: 1px solid var(--line-2); border-radius: 28px; box-sizing: border-box; }
.plans-all-title { font-size: 15px; font-weight: 500; }
.plans-all ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.plans-all li, .plans-trust li { display: flex; align-items: flex-start; gap: 10px; }
.plans-all svg, .plans-trust svg { flex: none; width: 16px; height: 16px; margin-top: 3px; }
.plans-all svg { color: var(--text-3); }
.plans-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; max-width: 880px; margin: 32px auto 0; padding: 0; list-style: none; font-size: 15px; }
.plans-trust svg { color: var(--hive); }

/* ---------- works with ---------- */
.apps { position: relative; padding: 120px 0; }
.app-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.app-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 22px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel); }
.app-tile b { font-size: 16px; font-weight: 500; }
.app-tile.more { border-style: dashed; background: transparent; }

/* ---------- the dashboard ---------- */

/* ---------- trust ---------- */
.trust { position: relative; padding: 24px 0; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 32px 36px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--panel); }
.band-text { min-width: 0; }
.band h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.band p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.band-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.band-actions .btn svg { width: 18px; height: 18px; }
.cmd { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 16px; border-radius: 999px; border: 1px solid var(--line-3); background: var(--bg); font-family: var(--mono); font-size: 13.5px; color: var(--text); white-space: nowrap; overflow-x: auto; max-width: 100%; }
.cmd .prompt { color: var(--text-3); }
.cmd button { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--chip); color: var(--text); font: 500 13px var(--sans); cursor: pointer; }
.cmd button:hover { background: var(--line-3); }
.cmd button.is-done { color: var(--ok); }

/* ---------- faq ---------- */
.faq { padding: 120px 0; }
.faq-row { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.faq-head { flex: 1 1 320px; min-width: 0; }
.faq-head h2 { margin-top: 18px; }
.faq-list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); padding: 22px 0; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 20px; font-weight: 500; min-height: 44px; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-3); color: var(--text-2); font-size: 18px; line-height: 1; transition: transform 0.2s ease; }
details[open] .plus { transform: rotate(45deg); }
.faq-list details p { margin-top: 10px; color: var(--text-2); max-width: 640px; }
.faq-list details p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-4); }
.faq-list details p a:hover { text-decoration-color: currentColor; }

/* ---------- early access ---------- */
.cta { padding: 40px 0 120px; }
.cta-box { position: relative; border: 1px solid var(--line-2); border-radius: 36px; background: #070709; overflow: hidden; padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); }
.cta-glow { position: absolute; right: -12%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, var(--hive-glow) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(0, 0, 0, 0) 74%); filter: blur(40px); }
.cta-orb { position: absolute; right: -230px; top: 50%; width: 720px; height: 720px; margin-top: -360px; }
.cta-copy { position: relative; max-width: 620px; }
.cta-copy .eyebrow { color: var(--text-2); }
.cta-copy h2 { margin-top: 18px; font-size: clamp(40px, 5vw, 72px); line-height: 1.03; letter-spacing: -0.04em; }
.cta-copy .sub { margin-top: 22px; font-size: 18px; color: var(--text-2); max-width: 460px; }
.cta .join { margin-top: 32px; }
.cta .join-field { border-color: var(--line-4); background: rgba(11, 11, 13, 0.9); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--panel-3); padding: 48px 0 56px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.footer-brand { flex: 1 1 280px; min-width: 0; }
.footer-brand p { margin-top: 12px; color: var(--text-3); font-size: 15px; max-width: 300px; }
.footer-brand .fine { margin-top: 18px; font-size: 13px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col b { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.footer-col a { color: var(--text-2); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }
/* links that open in a new tab get a small ↗ after the name (screen readers hear "opens in a new tab") */
.footer-col a[target="_blank"] { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.footer-col a[target="_blank"]::after { content: ""; content: "" / "(opens in a new tab)"; flex: none; width: 11px; height: 11px; background: currentColor; opacity: 0.65; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 11l6-6M6 5h5v5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 11l6-6M6 5h5v5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- motion ---------- */
.float { animation: float 7s ease-in-out infinite; }
.float.b { animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.breathe { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -18; } }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .site-header .header-row { max-width: calc(100% - 24px); padding: 0 6px 0 14px; gap: 8px; }
  .brand { min-height: 44px; }
  .brand-logo { width: 104px; height: 24px; }
  .nav-end { gap: 4px; }
  .nav-cta { height: 38px; padding: 0 14px 0 16px; }
  .nav-icon { display: none; }
  /* the phone menu: a button in the pill and a glass panel under it, with big rows */
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
  .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background-color: rgba(255, 255, 255, 0.08); }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
  .mnav { pointer-events: auto; display: flex; flex-direction: column; max-width: calc(100% - 24px); margin: 8px auto 0; padding: 8px; box-sizing: border-box; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.09); background-color: rgba(14, 14, 18, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); animation: mnav-in 0.18s ease; }
  .mnav[hidden] { display: none; }
  .mnav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border-radius: 14px; color: var(--text); font-size: 16px; }
  .mnav a:hover, .mnav a:active { background-color: rgba(255, 255, 255, 0.06); }
  .mnav a svg { width: 13px; height: 13px; color: var(--text-3); }
  .mnav-label { margin: 12px 16px 4px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
  /* tap targets: footer links and the policy contents get room for a finger */
  .footer-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { gap: 0; }
  .footer-col b { margin-bottom: 4px; }
  .footer-col a { padding: 10px 0; }
  .doc-toc li { padding: 0; }
  .doc-toc li::before { padding-top: 13px; }
  .doc-toc a { flex: 1; padding: 11px 0; }
  .hero { padding-top: 56px; }
  .hero-row { gap: 40px; }
  .join-field { border-radius: 28px; }
  .join-field .btn { flex: 1 1 auto; }
  .chip { height: 28px; padding: 0 10px 0 9px; gap: 6px; font-size: 11.5px; }
  .problem { padding: 72px 0 64px; }
  .features, .apps, .pricing, .faq { padding: 64px 0; }
  .cta { padding: 16px 0 72px; }
  .plans { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .plan.pro { order: -1; }   /* phones: Pro first, right under the switch it follows */
  .plan:not(.pro) { margin-top: 16px; }
  .billing { margin-top: 32px; }
  .billing .seg { width: auto; }
  .billing .seg button { flex: none; padding: 0 16px; font-size: 13.5px; }
  .plans-all { padding: 24px; border-radius: 24px; }
  .plans-all ul { grid-template-columns: minmax(0, 1fr); }
  .plans-trust { flex-direction: column; align-items: center; gap: 10px; }
  .contact { padding: 64px 0 88px; }
  .doc { padding: 64px 0 88px; }
  .doc-toc ol { columns: 1; }
  /* tables stack on phones: one block per row, each value under its row name */
  .doc-table { border: 0; border-radius: 0; border-top: 1px solid var(--line-2); overflow: visible; }
  .doc-table thead { display: none; }
  .doc-table table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; }
  .doc-table tr { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .doc-table td, .doc-table tr:last-child td { padding: 0; border: 0; min-width: 0; font-size: 15px; }
  .doc-table td:first-child { margin-bottom: 4px; }
  .doc-table td + td { margin-top: 4px; }
  .doc-table td[data-label]::before { content: attr(data-label) ": "; color: var(--text-3); }
  .contact-layout.has-form { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "intro" "form" "reach"; gap: 40px; }
  .contact-form { padding: 24px 20px; border-radius: 24px; }
  .contact-sent { padding: 40px 20px; border-radius: 24px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 24px; }
  .band { padding: 24px 20px; }
  .band-actions { width: 100%; }
  .band-actions .btn { flex: 1; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .app-tile { padding: 16px; }
  .drift { margin-top: 48px; padding: 20px 16px 22px; }
  .drift-sticky { position: static; }
  .drift-spacer { display: none; }
  .drift-scroll .drift { margin-top: 40px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 8px; font-size: 12.5px; }
  .pin { height: 26px; padding: 0 9px 0 8px; gap: 5px; font-size: 11px; }
  .pin::after { height: calc(132px - 26px - var(--row) * 44px + 6px); }
  .days span { font-size: 15px; }
  .days .trip::before { width: 30px; height: 32px; top: 10px; border-radius: 9px; }
  .days small { font-size: 8.5px; letter-spacing: 0.04em; }
  .drift-caption { font-size: 15px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .s2, .s4 { grid-column: auto; }
  .cta-orb { opacity: 0.28; }
}

/* desktop: the mind spills a little past its column, so it can be big */
@media (max-width: 380px) {
  .nav-cta svg { display: none; }
  .nav-cta { padding: 0 14px; }
}
@media (min-width: 901px) {
  .hive { width: 118%; max-width: 700px; margin: 0 0 0 -9%; }
}

/* short screens: the headline and calendar would not fit while pinned, so they scroll normally */
@media (max-height: 710px) {
  .drift-sticky { position: static; }
  .drift-spacer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .drift-sticky { position: static; }
  .drift-spacer { display: none; }
  .pin, .pin i, .drift-caption span, .days .trip::before { transition: none; }
  html { scroll-behavior: auto; }
  .float, .breathe { animation: none; }
  .mnav { animation: none; }
  .chip, .plus { transition: none; }
  .contact-sent { animation: none; }
}

/* Docs: steps and code */
.doc-steps { margin: 14px 0 0; padding-left: 22px; }
.doc-steps li { padding-left: 4px; }
.doc-body code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; color: var(--text); background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.doc-body pre { margin: 14px 0 0; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; overflow-x: auto; line-height: 1.55; }
.doc-body pre code { padding: 0; border: 0; background: none; font-size: 14px; overflow-wrap: normal; white-space: pre; }
.doc-steps pre { margin-bottom: 4px; }

/* Integrations: breadcrumb and app cards */
.doc-crumb { margin-bottom: 14px; font-size: 14px; }
.doc-crumb a { color: var(--text-3); transition: color 0.15s ease; }
.doc-crumb a:hover { color: var(--text); }
.int-cards { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc-body .int-cards li + li { margin-top: 0; }
.doc-body a.int-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); text-decoration: none; transition: border-color 0.15s ease; }
.doc-body a.int-card:hover { border-color: var(--line-4); }
.int-card b { color: var(--text); font-size: 17px; font-weight: 600; }
.int-card span { color: var(--text-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 640px) { .int-cards { grid-template-columns: 1fr; } }

/* Five menu items: tighter between tablet width and 1100px, so labels never wrap */
@media (min-width: 901px) and (max-width: 1100px) {
  .site-header .header-row { gap: 12px; padding-left: 16px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 10px; }
  .nav-drop-btn { padding: 8px 8px 8px 10px; }
  .nav-icon { display: none; }
}
.doc-body .int-cards { margin: 20px 0 0; padding: 0; }
.doc-body a.int-card { box-sizing: border-box; }

/* Pricing: the small print under the plans */
.plans-fine { max-width: 640px; margin: 16px auto 0; text-align: center; color: var(--text-3); font-size: 14px; line-height: 1.6; }
/* Six menu items: between tablet width and 1040px, "Why Mindhall" steps out (it stays in the phone menu) */
@media (min-width: 901px) and (max-width: 1040px) {
  .nav > a[href$="#problem"] { display: none; }
}
