/* Goodmake site: warm grey page, blue-to-sunset hero (grain + blurred colour), Geist. */
:root {
  color-scheme: light;
  --bg: #f4f2ef;
  --bg-2: #eeebe7;
  --panel: #fdfcfa;
  --surface: #ffffff;
  --canvas: #f1efec;
  --frame: #fbfaf8;
  --dialog: #fefdfc;
  --row: #f2f0ed;
  --row-on: #e9e6e1;
  --input: #f3f1ee;
  --border: #e6e3de;
  --border-2: #d6d1ca;
  --text: #1e1c1a;
  --text-2: #383532;
  --text-3: #57534e;
  --muted: #78736c;
  --faint: #9a958e;
  --accent: #e2582c;
  --accent-soft: #e2582c1a;
  /* selection colour inside the app mockups (the app's own blue) */
  --app: #3d7bf2;
  --ok: #2f9e66;
  --sans: 'Geist', system-ui, -apple-system, 'SF Pro Text', 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.6 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: #e2582c33; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: -0.01em; }
.brand { gap: 8px; }
.brand img { width: 30px; height: 30px; margin: -2px -2px -2px -4px; }
.brand img.lockup { width: auto; height: 22px; margin: 0; }
.nav-link { font-size: 14px; color: var(--text-3); text-decoration: none; padding: 7px 12px; border-radius: 8px; }
.nav-link:hover { background: var(--row-on); color: var(--text); }

/* Plain hero (thanks page) */
.hero { padding: 56px 0 40px; text-align: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--text-2); }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(38px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -0.035em; margin: 18px auto 18px; max-width: 13ch; font-weight: 450; }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--text-3); max-width: 58ch; margin: 0 auto 28px; }

/* The colour: a grainy sunset card */
.glow { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; color: #fff; text-align: center; background: linear-gradient(172deg, #3d8bfd 0%, #7aa5f2 36%, #efb07a 64%, #f19a4c 100%); }
.glow-bg { position: absolute; inset: -12%; z-index: -4; filter: blur(70px); }
.glow-bg i { position: absolute; border-radius: 50%; }
.glow-bg .b1 { left: 2%; top: 0; width: 46%; height: 60%; background: #3d8bfd; animation: drift 22s ease-in-out infinite alternate; }
.glow-bg .b2 { right: 4%; top: 18%; width: 42%; height: 54%; background: #5f9dff; animation: drift 26s ease-in-out infinite alternate-reverse; }
.glow-bg .b3 { left: 14%; bottom: -4%; width: 50%; height: 52%; background: #f7a43e; animation: drift 19s ease-in-out infinite alternate; }
.glow-bg .b4 { right: -6%; bottom: -10%; width: 44%; height: 50%; background: #1f4fae; opacity: 0.85; }
@keyframes drift { to { transform: translate(6%, -5%) scale(1.08); } }
.glow::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: 0.8; mix-blend-mode: overlay; pointer-events: none; }
.glow-in { position: relative; padding: 92px 24px 210px; }
.glow .eyebrow { color: #fff; background: #ffffff26; padding: 5px 13px; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px #ffffff40; }
.glow .eyebrow::before { background: #fff; }
.glow h1 { color: #fff; text-shadow: 0 2px 30px #1a2f5a33; }
.glow .lede { color: #fff; opacity: 0.9; }
/* The closing line of the hero subtitle gets its own line where there's room */
@media (min-width: 640px) { .lede-2 { display: block; } }
.glow .join input[type=email] { background: #fffffff0; border-color: transparent; color: var(--text); box-shadow: 0 6px 24px #5a1f3a26; }
.glow .join-note { color: #fff; opacity: 0.85; }
.glow .join-done { background: #ffffff2e; color: #fff; box-shadow: inset 0 0 0 1px #ffffff55; }
.glow .btn { box-shadow: 0 6px 24px #3a10202e; }
@media (prefers-reduced-motion: reduce) { .glow-bg i { animation: none; } }

/* Email form */
.join { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.join input[type=email] {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-2); border-radius: 12px; padding: 12px 15px; outline: none;
}
.join input[type=email]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #e2582c33; }
.join input::placeholder { color: #9a958e; }
.btn {
  font: inherit; font-size: 15px; font-weight: 500; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--text); color: #fff; padding: 12px 19px; border-radius: 12px; text-decoration: none; display: inline-block;
}
.btn:hover { background: #000; }
.btn:disabled { opacity: 0.6; cursor: default; }
.join-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.join-done { display: none; max-width: 460px; margin: 0 auto; padding: 13px 16px; border-radius: 12px; background: #2f9e661a; color: #1f6b45; font-size: 15px; }
.joined .join, .joined .join-note { display: none; }
.joined .join-done { display: block; }
.hidden { position: absolute; left: -9999px; }

/* App mockup (light), overlapping the bottom of the hero card */
.landing .hero { padding: 0; }
/* Full-bleed hero: the colour runs edge to edge, nav on top of it */
.hero > .glow { border-radius: 0; }
.hero .glow-in { padding: 56px 24px 220px; }
.glow .nav { padding: 18px 0; text-align: left; color: var(--text); }
/* The page colour fades into the hero from the top, so the nav reads clearly; the grain stays on top of it */
.hero > .glow::before { content: ''; position: absolute; inset: 0 0 auto; height: 210px; z-index: -2; pointer-events: none;
  background: linear-gradient(var(--bg) 0, var(--bg) 34px, color-mix(in srgb, var(--bg) 72%, transparent) 84px, color-mix(in srgb, var(--bg) 25%, transparent) 145px, transparent 210px); }
.shot-wrap { margin: -150px auto 0; max-width: 1060px; position: relative; padding: 0 24px; }
.window {
  border-radius: 14px; overflow: hidden; border: 1px solid #e2ded8; background: var(--panel);
  box-shadow: 0 50px 110px #2e2a262e, 0 12px 30px #2e2a261a;
}
.titlebar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 13px; border-bottom: 1px solid var(--border); background: #f6f4f1; }
.titlebar i { width: 11px; height: 11px; border-radius: 50%; background: #dedad4; }
.titlebar i:nth-child(1) { background: #f26d5b; } .titlebar i:nth-child(2) { background: #f5bd4f; } .titlebar i:nth-child(3) { background: #5ec26a; }
.titlebar span { margin-left: 10px; font-size: 12px; color: var(--faint); }
.app { display: grid; grid-template-columns: 200px minmax(0, 1fr) 230px; height: 540px; font-size: 12px; text-align: left; color: var(--text); }
.side { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; background: #fbfaf8; }
.side-h { padding: 12px 12px 6px; font-weight: 600; display: flex; justify-content: space-between; color: var(--text); }
.side-h small { color: var(--faint); font-weight: 400; }
.row { display: flex; align-items: center; gap: 8px; padding: 5px 8px; margin: 0 4px; border-radius: 6px; color: var(--text-2); }
.row.on { background: var(--row-on); color: var(--text); }
.row .n { margin-left: auto; color: var(--faint); font-size: 11px; }
.key { min-width: 16px; height: 16px; border-radius: 4px; background: var(--row-on); color: var(--text-3); font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.inbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 12px; }
.inbox-grid .ref { border-radius: 6px; box-shadow: 0 0 0 1px var(--border); }
.inbox-grid .ref.sel { box-shadow: 0 0 0 1.5px var(--app); }
.foot { margin-top: auto; border-top: 1px solid var(--border); padding: 9px 12px; color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.canvas { background: var(--canvas) radial-gradient(#d8d3cc 1px, transparent 1.2px) 0 0 / 18px 18px; position: relative; overflow: hidden; padding: 30px 28px; display: flex; gap: 26px; align-items: flex-start; }
.frame-col { display: flex; flex-direction: column; gap: 34px; flex: 1; min-width: 0; }
.label { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-bottom: 6px; }
.label .key { background: #e1ddd7; }
.label.sel { color: var(--app); }
.label.sel .key { background: var(--app); color: #fff; }
.frame { background: var(--frame); border-radius: 10px; outline: 1px solid var(--border); padding: 10px; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; box-shadow: 0 4px 14px #2e2a260d; }
.frame.sel { outline: 1.5px solid var(--app); }
.frame .notes { grid-column: 1 / -1; color: var(--muted); font-size: 11px; line-height: 1.4; }
.insp { border-left: 1px solid var(--border); padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #fbfaf8; }
.insp-h { display: flex; justify-content: space-between; align-items: center; }
.insp-h b { font-weight: 600; }
.primary { background: var(--text); color: #fff; font-weight: 500; padding: 4px 9px; border-radius: 6px; font-size: 11.5px; }
.field { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 7px 8px; color: var(--text-2); line-height: 1.45; }
.field.ph { color: var(--faint); }
.lbl { color: var(--muted); font-size: 11px; }
.toast { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: var(--text); color: #fff; font-weight: 500; padding: 6px 11px; border-radius: 8px; box-shadow: 0 8px 24px #2e2a2633; white-space: nowrap; }

/* Sample reference screenshots: made up, rendered from brand/refs/*.html (node brand/refs/build.mjs) */
.ref { position: relative; aspect-ratio: 4 / 3; border-radius: 5px; overflow: hidden; background: #ddd center / cover no-repeat; }
.ref.tall { aspect-ratio: 3 / 4; }
.r1 { background-color: #1a1230; background-image: image-set(url(refs/r1-xs.webp) 1x, url(refs/r1-sm.webp) 2x); } /* dark purple landing, centred headline */
.r2 { background-color: #f1efe9; background-image: image-set(url(refs/r2-xs.webp) 1x, url(refs/r2-sm.webp) 2x); } /* light pricing, three tiers */
.r3 { background-color: #dfe8dc; background-image: image-set(url(refs/r3-xs.webp) 1x, url(refs/r3-sm.webp) 2x); } /* soft green plant shop */
.r4 { background-color: #0f141b; background-image: image-set(url(refs/r4-xs.webp) 1x, url(refs/r4-sm.webp) 2x); } /* dark stats dashboard */
.r5 { background-color: #f3e5d6; background-image: image-set(url(refs/r5-xs.webp) 1x, url(refs/r5-sm.webp) 2x); } /* warm editorial */
.r6 { background-color: #121212; background-image: image-set(url(refs/r6-xs.webp) 1x, url(refs/r6-sm.webp) 2x); } /* mobile app */
.r7 { background-color: #134e5e; background-image: image-set(url(refs/r7-xs.webp) 1x, url(refs/r7-sm.webp) 2x); } /* teal hero with product card; the marks point into it */
/* Where a picture is shown large, the full-size render */
.desk .r1 { background-image: image-set(url(refs/r1-md.webp) 1x, url(refs/r1.webp) 2x); }
.big-ref.r7 { background-image: image-set(url(refs/r7-sm.webp) 1x, url(refs/r7-md.webp) 2x); }
.cu .r7 { background-image: url(refs/r7.webp); }

/* Features */
.features { padding: 120px 0 40px; display: flex; flex-direction: column; gap: 120px; }
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.03em; margin: 12px 0 16px; font-weight: 450; }
.feature p { color: var(--text-3); margin: 0 0 18px; font-size: 17px; }
.num { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); font-weight: 500; letter-spacing: 0.06em; }
.num::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); font-size: 15px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2582c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.kbd { font-family: var(--sans); font-size: 0.85em; padding: 1px 6px; border-radius: 5px; background: var(--surface); border: 1px solid var(--border-2); border-bottom-width: 2px; color: var(--text); white-space: nowrap; }

/* Feature mockups */
.stage { background: var(--bg-2); border: 1px solid var(--border); border-radius: 20px; padding: 28px; position: relative; overflow: hidden; min-height: 360px; font-size: 12px; display: flex; flex-direction: column; justify-content: center; color: var(--text); }
/* 1: capture */
.desk { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 14px 40px #2e2a2626; }
.desk .ref { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.marquee { position: absolute; left: 16%; top: 24%; width: 68%; height: 50%; outline: 1.5px dashed #fff; box-shadow: 0 0 0 999px #0007; }
.marquee::after { content: '1240 × 720'; position: absolute; right: -2px; bottom: -24px; background: #000a; color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.cross { position: absolute; left: calc(84% - 9px); top: calc(74% - 9px); width: 18px; height: 18px; }
.cross::before, .cross::after { content: ''; position: absolute; background: #fff; }
.cross::before { left: 8px; top: 0; width: 2px; height: 18px; }
.cross::after { top: 8px; left: 0; height: 2px; width: 18px; }
.keys { position: absolute; left: 18px; top: 18px; display: flex; gap: 6px; }
.keys span { min-width: 34px; height: 34px; padding: 0 9px; border-radius: 8px; background: #fdfcfa; border: 1px solid #d6d1ca; border-bottom-width: 3px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text); }
.arrive { margin-top: 14px; display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; box-shadow: 0 6px 20px #2e2a2612; }
.arrive-h { font-weight: 600; white-space: nowrap; }
.arrive-h small { color: var(--faint); font-weight: 400; margin-left: 4px; }
.arrive-tiles { display: grid; grid-template-columns: repeat(3, 56px); gap: 6px; }
.arrive-tiles .ref { box-shadow: 0 0 0 1px var(--border); border-radius: 4px; }
.arrive-tiles .ref.sel { box-shadow: 0 0 0 1.5px var(--app); }
.new { animation: arrive 3.2s ease-out infinite; }
@keyframes arrive { 0%, 30% { opacity: 0; transform: translateY(6px); } 45%, 100% { opacity: 1; transform: none; } }
.arrive-msg { margin-left: auto; color: var(--text-3); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
/* 2: file */
.file-ui { display: grid; grid-template-columns: 0.8fr 1fr; gap: 18px; align-items: start; }
.big-ref { box-shadow: 0 0 0 1.5px var(--app), 0 10px 30px #2e2a261f; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 10px 30px #2e2a2614; }
.panel .row { margin: 0; }
.press { animation: press 3.2s ease-in-out infinite; }
@keyframes press { 0%, 40%, 100% { background: transparent; } 50%, 85% { background: #3d7bf222; color: var(--text); } }
.notes-box { margin-top: 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; color: var(--text-2); line-height: 1.5; font-size: 12px; }
.notes-box b { color: var(--muted); font-weight: 500; display: block; font-size: 11px; margin-bottom: 2px; }
/* 3: hand off */
.dlg { background: var(--dialog); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px #2e2a2624; }
.dlg-h { padding: 12px 14px; border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: baseline; }
.dlg-h b { font-size: 14px; font-weight: 500; }
.dlg-h span { color: var(--faint); }
.dlg-b { display: grid; grid-template-columns: 118px minmax(0, 1fr); }
.targets { border-right: 1px solid var(--border); padding: 6px; display: flex; flex-direction: column; gap: 2px; background: #fbfaf8; }
.target { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 6px; color: var(--text-2); font-size: 11.5px; }
.target.on { background: var(--row-on); color: var(--text); }
.glyph { width: 16px; height: 16px; border-radius: 4px; background: var(--surface); border: 1px solid var(--border-2); font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.dlg-steps { padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.brief { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--row); color: var(--text-2); font: 11px/1.55 var(--mono); white-space: pre-wrap; }
.sheet { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.sheet .ref { border-radius: 2px; }
.sheet .ref b { position: absolute; left: 0; top: 0; background: #111; color: #fff; font-size: 9px; padding: 0 5px; z-index: 1; }
.dlg-row { display: flex; align-items: center; gap: 10px; background: var(--row); border-radius: 8px; padding: 8px 10px; color: var(--text-2); font-size: 11.5px; }
.dlg-row .grow { flex: 1; min-width: 0; }
.mini { background: var(--surface); border: 1px solid var(--border-2); padding: 3px 8px; border-radius: 5px; color: var(--text); white-space: nowrap; }

/* Local strip + final CTA */
.local { margin: 110px 0 0; padding: 40px; border-radius: 22px; background: var(--panel); border: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.local h3 { margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.local p { margin: 0; color: var(--muted); font-size: 15px; }
.cta { padding: 90px 0 70px; }
.cta .glow-in { padding: 84px 24px 80px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 12px; font-weight: 450; }
.cta p { color: #fff; opacity: 0.9; margin: 0 0 26px; font-size: 17px; }
.cta .join-note { margin-bottom: 0; font-size: 13px; opacity: 0.85; }
footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Start page */
.start { max-width: 720px; margin: 0 auto; padding: 40px 0 80px; }
.start h1 { text-align: left; margin: 14px 0 12px; max-width: none; font-size: clamp(34px, 5vw, 52px); }
.start .lede { margin: 0 0 40px; text-align: left; }
.steps { display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--border); }
.step::before { counter-increment: step; content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #d9666a, #f19a4c); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
/* lets long commands scroll inside their box instead of widening the card */
.step > div { min-width: 0; }
.step h2 { margin: 2px 0 6px; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.step p { margin: 0 0 10px; color: var(--text-3); font-size: 15px; }
.step p:last-child { margin-bottom: 0; }
.cmd { display: flex; align-items: center; gap: 10px; background: var(--row); border: 1px solid var(--border); border-radius: 12px; padding: 10px 10px 10px 14px; margin: 4px 0 10px; }
.cmd code { flex: 1; min-width: 0; font: 13.5px/1.5 var(--mono); color: var(--text); overflow-x: auto; white-space: nowrap; }
.cmd code::before { content: '$ '; color: var(--faint); }
.cmd .btn { font-size: 13px; padding: 7px 12px; border-radius: 8px; }
.note { font-size: 14px; color: var(--muted); }
.open-link { display: inline-flex; align-items: center; gap: 8px; }
details { border-top: 1px solid var(--border); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 500; }
details p { color: var(--text-3); margin: 10px 0 0; font-size: 15px; }
.trouble { margin-top: 48px; }
.trouble h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin: 0 0 6px; }

/* Responsive */
@media (max-width: 900px) {
  .app { grid-template-columns: 170px minmax(0, 1fr); height: 470px; }
  .insp { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip > :first-child { order: 0; }
  .local { grid-template-columns: 1fr; padding: 28px; }
  .shot-wrap { padding: 0 12px; }
}
@media (max-width: 600px) {
  .glow { border-radius: 22px; }
  .glow-in, .hero .glow-in { padding: 40px 18px 150px; }
  .hero > .glow { border-radius: 0; }
  .shot-wrap { margin-top: -110px; padding: 0 8px; }
  .cta .glow-in { padding: 56px 18px; }
  .join { flex-direction: column; }
  .app { grid-template-columns: 1fr; height: auto; }
  .side { display: none; }
  .canvas { padding: 20px 16px; }
  .frame-col:nth-of-type(2), .canvas .toast { display: none; }
  .features { padding-top: 80px; gap: 90px; }
  .stage { padding: 16px; min-height: 0; }
  .arrive-msg { display: none; }
  .keys span { min-width: 28px; height: 28px; font-size: 13px; }
  .file-ui { grid-template-columns: 1fr; }
  .dlg-b { grid-template-columns: 1fr; }
  .targets { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .target { white-space: nowrap; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
}

/* Image notes in the mockups: sheet-style number badges, numbered note lines */
.ref .nb { position: absolute; right: 5px; bottom: 5px; z-index: 1; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 4px; background: #fff; color: #111; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px #0005; }
.frame .notes { display: flex; gap: 6px; align-items: baseline; }
.frame .notes span { color: var(--faint); }
.frame .notes em { font-style: normal; margin-left: auto; white-space: nowrap; color: var(--faint); }
.img-notes { display: flex; flex-direction: column; gap: 3px; color: var(--text-2); font-size: 11.5px; }
.img-notes b, .n0 { color: var(--faint); font-weight: 500; }
.n0 { width: 10px; }

/* Claude Code over MCP, under the Hand off dialog (light terminal) */
.term { margin-top: 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); overflow: hidden; font: 11.5px/1.6 var(--mono); box-shadow: 0 10px 30px #2e2a2614; }
.term-h { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--border); font-family: var(--sans); font-size: 11px; color: var(--faint); background: #f6f4f1; }
.term-h i { width: 8px; height: 8px; border-radius: 50%; background: #dedad4; }
.term-h span { margin-left: 6px; }
.term-b { padding: 10px 12px; color: var(--text-3); }
.term-b p { margin: 0 0 4px; font-size: 11.5px; line-height: 1.6; color: inherit; }
.term-b .u { color: var(--text); }
.term-b .t { display: flex; align-items: center; gap: 7px; color: var(--accent); }
.term-b .o { color: var(--faint); padding-left: 14px; }
.opt { font-size: 12px; font-weight: 500; color: var(--muted); background: var(--row-on); padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.note code, details p code { font: 0.9em var(--mono); background: var(--row-on); padding: 1px 5px; border-radius: 4px; }
.cmd.json code::before { content: ''; }
details .cmd { margin-top: 10px; }

/* Writing: one readable column */
.article { max-width: 640px; margin: 0 auto; padding: 48px 0 88px; font-size: 18px; line-height: 1.7; color: var(--text-2); }
.article h1 { text-align: left; margin: 14px 0 36px; max-width: none; font-size: clamp(36px, 5.4vw, 56px); color: var(--text); }
.article h2 { font-size: 23px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); margin: 44px 0 10px; }
.article p { margin: 0 0 18px; }
.article ul { margin: 0 0 18px; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.article li::marker { color: var(--accent); }
.article b { color: var(--text); font-weight: 600; }
.article .pull { font-size: 22px; line-height: 1.45; color: var(--text); letter-spacing: -0.015em; border-left: 3px solid var(--accent); padding-left: 18px; margin: 26px 0; }
.article-cta { margin-top: 52px; padding: 26px 28px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); font-size: 16px; line-height: 1.6; }
.article-cta p { margin: 0 0 16px; }
.foot-link { color: var(--muted); text-decoration: none; }
.foot-link:hover { color: var(--text); }

/* Main action: one big button, the Mac app as a quiet line under it */
.btn-big { font-size: 16px; padding: 14px 26px; border-radius: 14px; }
.go { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.go-note { margin: 0; font-size: 14px; color: var(--muted); }
.go-note a { color: inherit; text-underline-offset: 3px; }
.glow .go-note { color: #fff; opacity: 0.88; }
.glow .btn-big:hover { background: #000; }

/* Closing section: the email form as a small second row under the button */
.updates { margin-top: 34px; padding-top: 26px; border-top: 1px solid #ffffff38; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta .updates-h { margin: 0 0 12px; font-size: 14px; opacity: 0.9; }
.join.small input[type=email] { font-size: 14px; padding: 10px 13px; border-radius: 10px; }
.join.small .btn { font-size: 14px; padding: 10px 15px; border-radius: 10px; background: #ffffff2e; box-shadow: inset 0 0 0 1px #ffffff55; }
.join.small .btn:hover { background: #ffffff45; }

/* 3: mark — a box and a pin on an image, their notes, and the close-ups they become */
.mark-ui { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; align-items: start; }
.mark-shot .ref { overflow: visible; }
.m-box, .m-pin { position: absolute; z-index: 2; }
.m-box { border: 2px solid var(--app); border-radius: 4px; box-shadow: 0 0 0 1px #fff, inset 0 0 0 1px #ffffff88; }
.m-pin { width: 13px; height: 13px; border-radius: 50%; background: var(--app); box-shadow: 0 0 0 2px #fff, 0 2px 6px #0006; transform: translate(-50%, -50%); }
.m-box b, .m-pin b { position: absolute; background: var(--app); color: #fff; font-size: 10px; font-weight: 600; line-height: 1; padding: 3px 5px; border-radius: 4px; box-shadow: 0 0 0 1.5px #fff; white-space: nowrap; }
.m-box b { left: -2px; top: -21px; }
.m-pin b { left: 17px; top: -2px; }
.notes-box .m-line { display: flex; gap: 7px; }
.notes-box .m-line em { font-style: normal; color: var(--app); font-weight: 600; }
.closeups { display: flex; flex-direction: column; gap: 10px; }
.cu-h { color: var(--muted); font-size: 11px; }
.cu { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #1e1e1e; box-shadow: 0 10px 30px #2e2a261f; }
.cu .ref { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
/* the same picture, zoomed 3× with each mark's centre moved to the middle (translate = 50% − centre) */
.cu-a { transform: scale(3) translate(34%, -6.5%); }
.cu-b { transform: scale(3) translate(-7%, 32%); }
/* the mark redrawn on its close-up, at the zoomed size */
.cu .m-box { left: 17%; top: 21.5%; width: 66%; height: 57%; }
.cu .m-pin { left: 50%; top: 50%; }
.cu b { position: absolute; left: 7px; top: 7px; background: var(--app); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 6px; border-radius: 5px; box-shadow: 0 0 0 1.5px #fff; }

/* Footer: who made it, and the ways in */
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.maker { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; }
@media (max-width: 600px) {
  .mark-ui { grid-template-columns: 1fr; }
  .closeups { flex-direction: row; }
  .cu { flex: 1; }
  .cu-h { display: none; }
}

/* 2: file — an Inbox image dragged into a group, on a loop (5.6s). site.js measures where the
   image starts and lands and animates the dragged copy along that path; the rest is CSS, kept in
   step with it. */
.drag-ui { position: relative; display: grid; grid-template-columns: 0.62fr 1fr; gap: 22px; align-items: start; }
.dg-inbox { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 30px #2e2a2614; }
.dg-count::before { content: '2'; animation: dg-count 5.6s infinite; }
.dg-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dg-tiles .ref { box-shadow: 0 0 0 1px var(--border); border-radius: 4px; }
.dg-frame { position: relative; }
.dg-frame::after { content: ''; position: absolute; inset: -5px; border-radius: 13px; border: 1.5px dashed var(--app); opacity: 0; animation: dg-target 5.6s infinite; pointer-events: none; }
.dg-slot { position: relative; aspect-ratio: 4 / 3; border-radius: 5px; }
.dg-landed { position: absolute; inset: 0; animation: dg-land 5.6s infinite; }
.dg-src { animation: dg-origin 5.6s infinite; }
.dg-ghost { position: absolute; left: 0; top: 0; width: 60px; z-index: 3; transform-origin: 0 0; opacity: 0; pointer-events: none; }
.dg-ghost .ref { box-shadow: 0 16px 34px #2e2a2640, 0 0 0 1.5px var(--app); }
/* the pointer holding it, kept the same size while the image grows to fit the slot */
.dg-cursor { position: absolute; left: 62%; top: 58%; width: 18px; height: 18px; fill: #1e1c1a; stroke: #fff; stroke-width: 1.6; overflow: visible; }
/* 0–18% rest · 18–21% pick up · 21–55% carry · 55–60% settle · 58–64% hand over to the placed tile · 64–90% placed · 90–100% reset */
@keyframes dg-origin { 0%, 19% { opacity: 1; } 21%, 58% { opacity: 0.3; } 61%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes dg-land { 0%, 58% { opacity: 0; } 63%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes dg-target { 0%, 38% { opacity: 0; } 44%, 58% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes dg-count { 0%, 60% { content: '2'; } 61%, 95% { content: '1'; } }
@media (prefers-reduced-motion: reduce) {
  .dg-ghost { display: none; }
  .dg-src, .dg-landed, .dg-frame::after, .dg-count::before { animation: none; }
  .dg-landed { opacity: 1; }
  .dg-src { opacity: 0; }
}
@media (max-width: 600px) {
  .drag-ui { gap: 14px; }
}

/* /start: two ways in (browser, Mac app), then the Mac app's setup */
.start.wide { max-width: 960px; }
.start.wide > .lede { margin-bottom: 32px; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.path { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--border); }
.path h2 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.path-sub { margin: -8px 0 0; color: var(--muted); font-size: 15px; }
.path .ticks { flex: 1; }
.path .btn { align-self: flex-start; }
.path .note { margin: 0; }
.btn-quiet { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-2); }
.btn-quiet:hover { background: var(--row); }
.mac { margin-top: 88px; scroll-margin-top: 24px; }
.mac-h { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 450; letter-spacing: -0.03em; }
.mac > .lede { margin: 0 0 28px; max-width: 62ch; }
.mac > .lede a { text-underline-offset: 3px; }
.mac .steps, .mac .trouble { max-width: 720px; }
@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; }
  .path { padding: 22px; }
}
/* /start's cards: green ticks (what you get), where the landing keeps the accent */
.path .ticks li::before { background: #2f9e661f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9e66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
