/* The static site (landing, about, legal). Colours mirror src/theme/tokens.ts;
   Geist is self-hosted so no page calls a third-party font CDN. */
@font-face { font-family: Geist; src: url("/site/fonts/Geist_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url("/site/fonts/Geist_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Geist; src: url("/site/fonts/Geist_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #5b2f42;
  --ink-deep: #2e1621;
  --accent: #0f7f5d;
  --accent-pressed: #0b6649;
  --accent-bright: #2db386;
  --accent-tint: #dcebe3;
  --surface: #f8f5f6;
  --raised: #ffffff;
  --tint: rgba(91, 47, 66, 0.06);
  --text: #5b2f42;
  --text-2: #75485b;
  --text-3: #84606f;
  --border: rgba(91, 47, 66, 0.12);
  --on-dark: rgba(248, 245, 246, 0.86);
  --on-dark-muted: rgba(248, 245, 246, 0.64);
  --radius: 16px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 400 17px/1.6 Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-pressed); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--raised); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(248, 245, 246, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 17px/1 Geist, system-ui, sans-serif; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-pressed); color: #fff; }
.btn-secondary { background: var(--raised); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.nav-links .btn-primary { color: #fff; }

/* Hero */
.hero { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .lede { font-size: 20px; color: var(--on-dark); max-width: 32ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.hero .btn-secondary { background: transparent; color: #fff; border-color: rgba(248, 245, 246, 0.32); }
.hero .btn-secondary:hover { border-color: #fff; }
.hero .fine { font-size: 14px; color: var(--on-dark-muted); }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 260px; border-radius: 34px; border: 8px solid var(--ink-deep); background: var(--ink-deep); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); overflow: hidden; }
.phone img { border-radius: 26px; width: 100%; height: auto; }
.phone.front { right: 20px; top: 0; z-index: 2; }
.phone.back { right: 200px; top: 60px; transform: rotate(-6deg); opacity: 0.95; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 0; gap: 32px; }
  .phones { height: 380px; }
  .phone { width: 200px; }
  .phone.front { right: auto; left: 50%; margin-left: -20px; }
  .phone.back { right: auto; left: 50%; margin-left: -190px; top: 40px; }
}

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--text-2); font-size: 18px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding: 56px 0; } }
.card { background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--surface); }
.card p { color: var(--text-2); margin: 0; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; }
.city { display: flex; flex-direction: column; gap: 4px; }
.city strong { font-size: 18px; letter-spacing: -0.01em; }
.city span { color: var(--text-3); font-size: 14px; }
.city em { font-style: normal; color: var(--text-2); font-size: 15px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .phone { position: static; margin: 0 auto; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 32px; position: relative; margin-bottom: 14px; color: var(--text-2); }
.ticks li strong { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split .shot { order: 2; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin: 12px 0 0; }

/* CTA band */
.cta { background: var(--accent); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.86); font-size: 18px; }
.cta .btn { background: #fff; color: var(--accent); margin-top: 12px; }
.cta .btn:hover { background: var(--surface); color: var(--accent-pressed); }

/* Prose pages (about, legal) */
.prose { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); }
.prose h2 { font-size: 24px; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.meta { color: var(--text-3); font-size: 15px; }
.highlight { background: var(--accent-tint); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.highlight p { color: var(--text); margin: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--border); color: var(--text-2); }
th { color: var(--text); background: var(--tint); font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--tint); padding: 1px 6px; border-radius: 6px; }

/* Footer */
.footer { background: var(--ink-deep); color: var(--on-dark-muted); padding: 56px 0 32px; font-size: 15px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h5 { color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(248, 245, 246, 0.12); font-size: 14px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
