:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #111110;
  --ink-2: #6b6a66;
  --ink-3: #9c9b96;
  --line: #e5e4df;
  --line-2: #d6d5cf;
  --accent: #1f6f50;
  --accent-hover: #185a41;

  --maxw: 1160px;
  --gutter: 32px;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
@media (max-width: 760px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.foot .label, .sheet-caption { font-weight: 400; color: var(--ink-3); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .wrap { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.nav-right .email { margin-right: 12px; }
.wordmark, .nav-right .btn { white-space: nowrap; }
.nav-right .email { color: var(--ink-2); text-decoration: none; }
.nav-right .email:hover { color: var(--ink); }
@media (max-width: 900px) { .nav-right .email { display: none; } }
@media (max-width: 480px) { .nav .wordmark { font-size: 15px; } .nav-right .btn-sm { padding: 8px 11px; font-size: 13px; } .nav-right .long { display: none; } .nav-right .cap { display: inline-block; } .nav-right .cap::first-letter { text-transform: uppercase; } }
#lead, #pilot, #contact, #restaurants { scroll-margin-top: 60px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font: 500 15px/1 var(--sans); text-decoration: none; padding: 12px 18px; border-radius: 8px; background: var(--ink); color: #fff; }
.btn:hover { background: #33322f; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); }
.link { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.link:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 20px;
  max-width: 14em;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.hero-sub { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 30em; margin: 0 auto 32px; letter-spacing: -0.01em; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
@media (max-width: 760px) { .hero { padding: 56px 0 36px; } }

/* ---------- Google-Sheets-style mock ---------- */
.sheet-wrap { padding-bottom: 100px; }
.gs { background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0,0,0,.3); font-family: Arial, Helvetica, sans-serif; color: #202124; }
.gs-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px 4px; }
.gs-doc { width: 20px; height: 26px; border-radius: 2px; background: #188038; flex: none; position: relative; }
.gs-doc::after { content: ""; position: absolute; left: 4px; right: 4px; top: 9px; bottom: 6px; border: 1.5px solid #fff; background: linear-gradient(#fff,#fff) 50% 50%/100% 1.5px no-repeat, linear-gradient(#fff,#fff) 50% 50%/1.5px 100% no-repeat; }
.gs-name { font-size: 15px; }
.gs-menu { display: flex; gap: 14px; font-size: 12.5px; color: #444746; padding: 0 14px 8px 44px; }
.gs-bar { background: #f0f4f9; height: 30px; margin: 0 8px; border-radius: 15px; }
.gs-formula { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #444746; padding: 6px 12px; border-top: 1px solid #e1e3e1; margin-top: 6px; }
.gs-formula .ref { width: 64px; padding-right: 10px; border-right: 1px solid #e1e3e1; }
.gs-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gs table { border-collapse: collapse; min-width: 980px; width: 100%; font-size: 13px; table-layout: fixed; }
.gs th, .gs td { border: 1px solid #e1e3e1; padding: 0 8px; height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.gs thead th { background: #f8f9fa; color: #5f6368; font-weight: 400; text-align: center; font-size: 11px; height: 22px; }
.gs td.rn { background: #f8f9fa; color: #5f6368; text-align: center; font-size: 11px; width: 46px; }
.gs thead th.rn { width: 46px; }
.gs tr.hdr td { font-weight: 700; background: #fff; }
.gs td.r { text-align: right; }
.gs td.ok { color: #137333; }
.gs td.renew { color: #b06000; }
.gs td:not(.rn) { cursor: cell; }
.gs td.cur { outline: 2px solid #1a73e8; outline-offset: -2px; background: #e8f0fe; }
.gs-tabs { display: flex; align-items: center; gap: 2px; font-size: 12.5px; background: #f8f9fa; border-top: 1px solid #e1e3e1; padding: 0 10px; height: 34px; color: #444746; }
.gs-tabs span { padding: 7px 14px; }
.gs-tabs button { font: inherit; color: inherit; background: none; border: 0; padding: 7px 14px; cursor: pointer; border-radius: 6px 6px 0 0; }
.gs-tabs button:hover { background: #eceff3; }
.gs-tabs button.on { background: #e1e9f7; color: #0b57d0; font-weight: 600; }
.sheet-caption { margin-top: 14px; }

/* ---------- Rows section (spec list) ---------- */
.block { padding: 88px 0; }
.block-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.block h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; margin: 12px 0 0; text-wrap: balance; }
.spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.spec li { display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec em { font-style: normal; font-size: 14px; color: var(--ink); background: #f3f4f1; border-radius: 6px; padding: 3px 9px; white-space: nowrap; justify-self: end; }
.spec b { font-weight: 500; }
.spec-head { font-size: 14px; font-weight: 500; color: var(--ink-2); margin: 0 0 10px; }
.spec + .spec-head { margin-top: 40px; }
.spec span { color: var(--ink-2); }
@media (max-width: 860px) {
  .block { padding: 64px 0; }
  .block-grid { grid-template-columns: 1fr; gap: 32px; }
  .spec li { grid-template-columns: 1fr; gap: 4px; }
  .spec em { justify-self: start; margin-top: 4px; }
}

/* ---------- Founder letter ---------- */
.letter { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.letter h2 { margin-bottom: 20px; }
p.letter-body { margin: 0; color: var(--ink-2); }
.photo { aspect-ratio: 4 / 5; background: #ecebe6; border-radius: 6px; overflow: hidden; position: relative; max-width: 300px; }
.photo .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 14px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.letter-body { font-size: 19px; line-height: 1.6; letter-spacing: -0.01em; max-width: 32em; }
.letter-body p { margin: 0 0 20px; }
.sig { margin: 32px 0 28px; font-size: 16px; }
.sig b { font-weight: 500; display: block; }
.sig span { color: var(--ink-2); }
.letter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
@media (max-width: 860px) { .letter { grid-template-columns: 1fr; gap: 32px; } .photo { max-width: 240px; } .letter-body { font-size: 17px; } }

/* ---------- Restaurants ---------- */
.rest p { color: var(--ink-2); margin: 0 0 14px; max-width: 38em; }
.rest a { color: var(--ink); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 44px; }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Pilot ---------- */
.pilot-wrap { text-align: center; }
.pilot-wrap h2 { margin: 0 auto 18px; }
.terms { list-style: none; margin: 0 0 36px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; font-size: 17px; color: var(--ink-2); }
.terms li::before { content: "✓"; color: var(--accent); font-weight: 600; margin-right: 8px; }
.pilot-form { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.1fr auto; gap: 10px; max-width: 1060px; margin: 0 auto; }
.pilot-form input { font: 400 16px var(--sans); color: var(--ink); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; min-width: 0; }
.pilot-form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.pilot-form input::placeholder { color: var(--ink-3); }
.pilot-form .btn { border: 0; cursor: pointer; white-space: nowrap; }
.pilot-form .btn:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-error { color: #b42318; font-size: 14px; margin: 12px 0 0; min-height: 1px; }
.pilot-done h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 8px; }
.pilot-done p { color: var(--ink-2); margin: 0 0 20px; }
@media (max-width: 760px) {
  .pilot-form { grid-template-columns: 1fr; max-width: 420px; }
  .terms { flex-direction: column; align-items: center; gap: 6px; }
}
.sheet-title { text-align: center; margin: 0 0 28px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }
.block.pilot { padding: 100px 0; }

/* ---------- Full-screen hero ---------- */
.hero { min-height: calc(100vh - 61px); min-height: calc(100svh - 61px); display: flex; flex-direction: column; justify-content: center; position: relative; padding: 48px 0 96px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); max-width: 12em; }
.hero-sub { font-size: clamp(18px, 2.2vw, 24px); }
.btn-lg { padding: 16px 28px; font-size: 17px; border-radius: 10px; }
#example { scroll-margin-top: 72px; padding-top: 72px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero h1, .hero-sub, .hero-actions { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-sub { animation-delay: .15s; }
.hero-actions { animation-delay: .3s; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }


@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-sub, .hero-actions { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
#contact { padding: 80px 0 100px; }

/* ---------- Founder card ---------- */
.founder { text-align: center; max-width: 760px; }
.founder-photo { width: 144px; height: 144px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.founder-name { margin: 0 0 28px; font-weight: 500; font-size: 16px; }
.founder-name span { display: block; font-weight: 400; color: var(--ink-2); font-size: 15px; }
.founder h2 { margin: 0 auto 14px; }
.founder-text { color: var(--ink-2); font-size: 18px; margin: 0 auto 28px; max-width: 40em; }
.founder-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.rest-card { text-align: center; max-width: 620px; }
.rest-card h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 12px; }
.rest-card p { margin: 0 auto 10px; font-size: 15px; }
#restaurants { padding: 100px 0 90px; }

/* ---------- FAQ page ---------- */
.pilot-more { margin: 18px 0 0; font-size: 15px; }
.pilot-more a, .foot a { color: var(--ink-2); text-decoration: none; }
.pilot-more a:hover, .foot a:hover { color: var(--ink); }
.faq { max-width: 760px; padding-top: 80px; padding-bottom: 96px; }
.faq-head { margin-bottom: 64px; }
.faq-head h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; margin: 0 0 16px; }
.faq-head p { font-size: 19px; color: var(--ink-2); margin: 0; max-width: 34em; }
.faq-group { margin-bottom: 64px; }
.faq-group h2 { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0; margin: 0 0 8px; }
.faq-group h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.faq-group h2 + h3 { border-top: 0; padding-top: 6px; }
.faq-group p { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; margin: 8px 0 22px; }
.faq-cta { text-align: center; padding: 48px 0 0; }
.faq-cta h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 500; letter-spacing: -0.03em; margin: 0 0 10px; }
.faq-cta p { color: var(--ink-2); margin: 0 0 24px; }
@media (max-width: 760px) { .faq { padding-top: 48px; } .faq-head { margin-bottom: 44px; } }
.faq-cta p a { color: var(--ink); }
.founder-actions .link { color: var(--ink); text-decoration: underline; }
.more { padding: 100px 0 120px; }
.more-card { text-align: center; max-width: 640px; }
.more-card h2 { margin: 0 auto 24px; }
.more-card p { color: var(--ink-2); font-size: 18px; margin: 0 auto 28px; }
.foot .wrap { justify-content: space-between; }
.foot { font-size: 14px; color: var(--ink-3); }
.foot .wrap { align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot a, .foot a:visited { color: var(--ink-3); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.back { display: inline-block; font-size: 15px; color: var(--ink-2); text-decoration: none; margin-bottom: 28px; }
.back:hover { color: var(--ink); }

/* ---------- Phone spacing: roughly half of desktop ---------- */
@media (max-width: 760px) {
  #example { padding-top: 24px; }
  .sheet-wrap { padding-bottom: 56px; }
  .block.pilot { padding: 56px 0; }
  #contact { padding: 48px 0 56px; }
  .more { padding: 56px 0 72px; }
}
.back-arrow { display: inline-block; margin-right: 8px; transition: transform .15s; }
.wordmark:hover .back-arrow { transform: translateX(-3px); }
.foot-copy span + span::before { content: "\00b7"; margin: 0 6px; }
.foot-copy span, .foot-links a, .foot-links span { white-space: nowrap; }
@media (max-width: 760px) {
  .foot .wrap { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .foot-copy { display: flex; flex-direction: column; gap: 2px; }
  .foot-copy span + span::before { content: none; }
  .foot-links { justify-content: center; gap: 4px 18px; }
}
[hidden] { display: none !important; }
.pilot-done { margin-top: 8px; }
.pilot-done p a { color: var(--ink); text-decoration: underline; margin-left: 4px; }
.swipe-hint { display: none; }
@media (max-width: 760px) { .swipe-hint { display: inline; } }
.pilot-wrap { display: flex; flex-direction: column; justify-content: center; }
.pilot-done p { margin: 0 0 10px; }
.done-call a { color: var(--ink); text-decoration: underline; }
.pilot-done h2 { margin: 0 0 14px; }
.pilot-done p { font-size: 18px; color: var(--ink-2); }

/* ---------- Small phones (iPhone SE / mini, older Androids) ---------- */
@media (max-width: 400px) {
  .nav .wrap { gap: 8px; }
  .nav .wordmark { font-size: 14px; }
  .nav-right { gap: 6px; }
  .nav-right .btn-sm { padding: 7px 9px; font-size: 12.5px; }
  .back-arrow { margin-right: 5px; }
  .gs-menu { gap: 10px; font-size: 12px; overflow: hidden; }
}
@media (max-width: 340px) {
  .back-arrow { display: none; }
}

/* ---------- Print: show everything ---------- */
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .nav { position: static; }
}
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.notfound h1 { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 10px; }
.notfound p { color: var(--ink-2); margin: 0 0 24px; }
.hero-actions { flex-direction: column; gap: 16px; }
.hero-who { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.hero-who:hover { color: var(--ink); }
#who { scroll-margin-top: 130px; }
.faq-group h2 + .faq-item h3 { border-top: 0; padding-top: 6px; }
@keyframes spotlight { 0%, 60% { background: var(--accent-soft); } 100% { background: transparent; } }
.faq-item { border-radius: 12px; margin: 0 -20px; padding: 4px 20px 1px; }
.faq-item:target { animation: spotlight 2.8s ease-out both; }
