/* Contact Sheets: the public website (home, features, comparison, pricing, AI, getting started). */
:root {
  --bg: #fbfbf9; --panel: #ffffff; --fg: #141413; --muted: #66665f; --line: #e5e4de;
  --accent: #c8402c; --accent-fg: #ffffff; --film: #161615; --film-edge: #c98a3d;
  --radius: 14px; --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0e0d; --panel: #181817; --fg: #f1f0eb; --muted: #a2a19a; --line: #2a2a27;
    --accent: #ff6a55; --accent-fg: #160806; --film: #050505; --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--panel); padding: 8px 12px; border-radius: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; font-size: 1.05rem; min-height: 44px; white-space: nowrap; }
.logo-mark { width: 26px; height: 20px; border-radius: 3px; background: var(--film); position: relative; flex: none;
  background-image: radial-gradient(circle, var(--bg) 1.2px, transparent 1.6px), radial-gradient(circle, var(--bg) 1.2px, transparent 1.6px);
  background-size: 5px 4px, 5px 4px; background-position: 0 0, 0 16px; background-repeat: repeat-x; }
.logo-mark::after { content: ""; position: absolute; inset: 5px 3px; border-radius: 1px; background: linear-gradient(#d9d9d4, #7d7d78); }
.logo-mark::before { content: ""; position: absolute; inset: 1px -2px; border: 1.5px solid var(--accent); border-radius: 50%; transform: rotate(-6deg); z-index: 1; }
.menu { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.menu a { text-decoration: none; color: var(--muted); padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 0.95rem; }
.menu a:hover, .menu a[aria-current=page] { color: var(--fg); }
.menu .signin { margin-left: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.98rem;
  border: 1px solid var(--line); background: var(--panel); color: var(--fg); transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.button.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.button.accent { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.menu .button { margin-left: 8px; color: var(--bg); }
@media (max-width: 860px) {
  .top .wrap { flex-wrap: wrap; gap: 0 12px; padding-bottom: 4px; }
  .menu { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { white-space: nowrap; padding: 0 9px; }
  .menu .button { display: none; }
  .top .cta-small { display: inline-flex; margin-left: auto; min-height: 36px; padding: 0 14px; font-size: 0.9rem; }
}
.cta-small { display: none; }

/* Type */
h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.12; margin: 0 0 12px; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 650; color: var(--accent); margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
section { padding: clamp(56px, 9vw, 104px) 0; }
section + section { border-top: 1px solid var(--line); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.center .actions { justify-content: center; }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .note { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }

/* The contact sheet illustration */
.sheet { background: #f4f3ee; border-radius: 6px; padding: 14px 12px; box-shadow: 0 2px 4px rgb(0 0 0 / .08), 0 22px 50px rgb(0 0 0 / .14); transform: rotate(-1.2deg); position: relative; }
@media (prefers-color-scheme: dark) { .sheet { background: #e9e8e2; } }
.strip { background: var(--film); padding: 13px 6px; margin-bottom: 9px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; position: relative; }
.strip:last-child { margin-bottom: 0; }
.strip::before, .strip::after { content: ""; position: absolute; left: 4px; right: 4px; height: 4px; background: radial-gradient(circle at center, #f4f3ee 1.5px, transparent 1.9px) 0 0 / 9px 4px repeat-x; }
.strip::before { top: 4px; } .strip::after { bottom: 4px; }
.frame { aspect-ratio: 3 / 2; position: relative; border-radius: 1px; overflow: visible; }
.frame b { position: absolute; left: 0; bottom: -12px; font: 600 7px/1 ui-monospace, Menlo, monospace; color: var(--film-edge); letter-spacing: .05em; }
.f1 { background: radial-gradient(circle at 70% 35%, #fff 0 6%, transparent 7%), linear-gradient(#bbb 0 52%, #444 52% 64%, #222 64%); }
.f2 { background: linear-gradient(160deg, #ddd 0 40%, #888 40% 46%, #333 46%); }
.f3 { background: radial-gradient(ellipse 30% 45% at 50% 60%, #222 60%, transparent 62%), linear-gradient(#ccc, #999); }
.f4 { background: repeating-linear-gradient(90deg, #333 0 7%, #aaa 7% 9%), linear-gradient(#eee, #666); background-blend-mode: multiply; }
.f5 { background: linear-gradient(#999 0 30%, transparent 30%), radial-gradient(circle at 30% 70%, #eee 0 18%, #555 19% 30%, #222 31%); }
.f6 { background: conic-gradient(from 200deg at 60% 110%, #111, #777, #ddd, #555, #111); }
.f7 { background: radial-gradient(circle at 40% 40%, #fff 0 12%, #bbb 13% 30%, #555 31%); }
.f8 { background: linear-gradient(#e5e5e5 0 58%, #6a6a6a 58% 60%, #3a3a3a 60%); }
.f9 { background: linear-gradient(115deg, #222 0 30%, #ccc 30% 32%, #777 32% 70%, #ddd 70%); }
.f10 { background: radial-gradient(ellipse 40% 30% at 50% 100%, #111 70%, transparent 72%), linear-gradient(#f2f2f2, #9a9a9a); }
.f11 { background: linear-gradient(90deg, #444 0 33%, #888 33% 66%, #ccc 66%); }
.f12 { background: radial-gradient(circle at 65% 30%, #fff 0 5%, transparent 6%), linear-gradient(#777 0 45%, #222 45%); }
.pick { position: absolute; inset: -9px -10px; pointer-events: none; overflow: visible; z-index: 2; }
.pick path { fill: none; stroke: #d0321d; stroke-width: 3; stroke-linecap: round; }
.reject::after { content: ""; position: absolute; inset: 18%; background:
  linear-gradient(45deg, transparent 46%, #d0321d 46% 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, #d0321d 46% 54%, transparent 54%); opacity: .9; }
.sheet-caption { position: absolute; right: 14px; bottom: -34px; font: italic 600 1rem/1 "Marker Felt", "Bradley Hand", "Segoe Print", cursive; color: #d0321d; transform: rotate(-4deg); }

/* Cards and grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.center.section-head, .section-head.center { margin-inline: auto; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; padding-top: 52px; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.steps.long { grid-template-columns: 1fr; gap: 28px; }
.steps.long li { padding: 0 0 0 58px; }

/* Chat mock-up */
.chat { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; max-width: 460px; }
.bubble { padding: 11px 15px; border-radius: 18px; max-width: 88%; font-size: 0.95rem; line-height: 1.4; }
.bubble.me { justify-self: end; background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; }
.bubble.ai { background: color-mix(in srgb, var(--fg) 7%, transparent); border-bottom-left-radius: 6px; }
.bubble.done { font-size: 0.85rem; color: var(--muted); background: none; padding: 0 4px; display: flex; gap: 8px; align-items: center; }
.bubble.done::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #30d158; flex: none;
  -webkit-mask: radial-gradient(circle, #000 98%, transparent) ; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(0.32em + 4px); width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 820px; margin-inline: auto; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--fg); }
.plan .price { font-size: 2.8rem; font-weight: 750; letter-spacing: -0.03em; margin: 6px 0 2px; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .ticks { margin: 18px 0 24px; flex: 1; }
.plan .button { width: 100%; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--fg); color: var(--bg); vertical-align: 3px; margin-left: 6px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.95rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child > * { border-bottom: 0; }
thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
tbody th { font-weight: 650; white-space: nowrap; }
tr.us { background: color-mix(in srgb, var(--accent) 7%, transparent); }

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; position: relative; min-height: 44px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq > div { padding: 0 0 18px; color: var(--muted); }

/* Page header for inner pages */
.page-head { padding-bottom: 24px; }
.page-head + section { border-top: 0; padding-top: 24px; }

/* Final call to action */
.cta-band { background: var(--film); color: #f4f3ee; border-radius: 24px; padding: clamp(36px, 6vw, 64px); text-align: center; }
.cta-band .lede { color: #b9b8b1; margin-inline: auto; }
.cta-band .button.primary { background: #f4f3ee; color: #111; border-color: #f4f3ee; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 0.9rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot a:hover { color: var(--fg); }
.foot .copy { margin-left: auto; }
@media (max-width: 720px) { .foot .copy { margin-left: 0; width: 100%; } }

/* Early-access form */
.join { display: grid; gap: 16px; }
.join label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.join label .muted { font-weight: 400; }
.join input { font: inherit; font-size: 17px; color: inherit; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); width: 100%; }
.join input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.join .button { width: 100%; min-height: 50px; font-size: 1.02rem; margin-top: 4px; }
.join .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.problem { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--fg); border-radius: 10px; padding: 10px 14px; margin: 0; }

/* Privacy and other text pages */
.prose-page h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose-page h2:first-child { margin-top: 0; }
.prose-page h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.prose-page p, .prose-page li { color: color-mix(in srgb, var(--fg) 82%, var(--muted)); }
.prose-page .ticks { margin: 12px 0 16px; }

/* The hero's real contact sheet (a scan), with the pick circled in red pencil */
.sheet-photo { margin: 0; position: relative; transform: rotate(-1.2deg); border-radius: 4px; background: #0b0b0b;
  box-shadow: 0 2px 4px rgb(0 0 0 / .1), 0 24px 56px rgb(0 0 0 / .18); max-width: 560px; justify-self: center; width: 100%; }
.sheet-photo img { width: 100%; height: auto; border-radius: 4px; }
.sheet-photo .pick { position: absolute; inset: auto; pointer-events: none; overflow: visible; }
.sheet-photo .pick path { fill: none; stroke: #e0391f; stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 1px rgb(0 0 0 / .4)); }
@media (prefers-color-scheme: dark) { .sheet-photo { box-shadow: 0 0 0 1px #2a2a27, 0 24px 56px rgb(0 0 0 / .5); } }
@media (max-width: 860px) { .sheet-photo { max-width: 420px; } }
