/* Nunito, self-hosted (SIL Open Font License) — no requests to Google. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/nunito-latin.woff2") format("woff2");
}

:root {
  --orange: #F28C28;
  --orange-soft: #FBD9B4;
  --orange-text: #A64F00;   /* orange dark enough to read as text on cream (5.6:1) */
  --cream: #FEF5E9;
  --cream-deep: #FBE9D2;
  --card: #FFFDF9;
  --ink: #2B2118;
  --ink-soft: #5C4B3D;      /* secondary text, 7.4:1 on cream */
  --line: #EAD7BF;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(43, 33, 24, .06), 0 8px 24px rgba(43, 33, 24, .08);
  --rounded: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 500;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--rounded);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 7vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--orange-text); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 700; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -100px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 245, 233, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--rounded); font-weight: 900; font-size: 1.35rem; letter-spacing: -0.01em;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }

.menu-toggle {
  display: none;
  font: inherit; font-weight: 800; font-size: 1rem;
  background: var(--card); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 8px 16px; min-height: 44px; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.site-nav a {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1rem;
}
.site-nav a:hover { background: var(--cream-deep); }
.site-nav a[aria-current="page"] { background: var(--orange-soft); }
.site-nav a.nav-cta { background: var(--orange); }
.site-nav a.nav-cta:hover { background: #E67E17; }

@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 2px; }
  .site-nav a { display: block; padding: 14px 16px; font-size: 1.1rem; }
  /* Without JavaScript the menu just shows inline. */
  .no-js .menu-toggle { display: none; }
  .no-js .site-nav { display: block; position: static; box-shadow: none; border: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--rounded); font-weight: 800; font-size: 1.1rem;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 4px 0 #C96E14; }
.btn-primary:hover { background: #F59A3F; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
@media (max-width: 760px) { section { padding: 48px 0; } }
.eyebrow {
  display: inline-block; font-family: var(--rounded); font-weight: 800; font-size: .95rem;
  color: var(--orange-text); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.lead { font-size: 1.25rem; color: var(--ink-soft); }
.band { background: var(--cream-deep); }
.ink-band { background: var(--ink); color: var(--cream); }
.ink-band a { color: var(--orange); }
.ink-band .eyebrow { color: var(--orange); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.slogan { color: var(--ink); }
.slogan span { display: block; }
.slogan span:nth-child(2) { color: var(--orange-text); }
@media (max-width: 860px) {
  .hero { padding: 32px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone mock-up: drawn in CSS so it stays sharp and needs no screenshots yet */
.phone {
  width: min(300px, 80vw); aspect-ratio: 9 / 18.5; margin: 0 auto;
  background: var(--ink); border-radius: 46px; padding: 12px;
  box-shadow: 0 30px 60px rgba(43, 33, 24, .25);
  position: relative;
}
.phone-screen {
  height: 100%; border-radius: 36px; overflow: hidden; position: relative;
  background:
    radial-gradient(120% 70% at 50% 40%, #6B5848 0%, #3B2F25 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 26px 16px 22px; color: #fff;
}
.phone-status {
  background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 14px;
  font-weight: 800; font-size: .9rem; display: flex; gap: 8px; align-items: center;
}
.phone-status .dot { width: 9px; height: 9px; border-radius: 50%; background: #5BD16A; }
.phone-item {
  width: 62%; aspect-ratio: 1; border-radius: 24px;
  border: 3px solid var(--orange); position: relative;
  display: grid; place-items: center;
}
.phone-item svg { width: 70%; height: 70%; }
.phone-bubble {
  background: var(--card); color: var(--ink); border-radius: 18px 18px 18px 6px;
  padding: 10px 14px; font-weight: 800; font-size: .95rem; line-height: 1.3;
  max-width: 90%; align-self: flex-start; box-shadow: var(--shadow);
}
.phone-bubble small { display: block; color: var(--ink-soft); font-weight: 700; font-size: .75rem; }
.shutter {
  width: 72px; height: 72px; border-radius: 50%; border: 5px solid #fff;
  display: grid; place-items: center;
}
.shutter::after { content: ""; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); }

/* ---------- Cards / steps ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--orange-soft);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .icon svg { width: 30px; height: 30px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.step-num {
  width: 64px; height: 64px; border-radius: 20px; background: var(--orange);
  display: grid; place-items: center;
  font-family: var(--rounded); font-weight: 900; font-size: 1.8rem; color: var(--ink);
}
.step h2, .step h3 { font-size: 1.45rem; margin-bottom: .35em; }
.step p:last-child { margin-bottom: 0; }
@media (max-width: 520px) {
  .step { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .step-num { width: 52px; height: 52px; font-size: 1.5rem; border-radius: 16px; }
}

.say {
  display: inline-block; background: var(--orange-soft); color: var(--ink);
  border-radius: 999px; padding: 1px 12px; font-weight: 800; white-space: nowrap;
}
.tip {
  margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: var(--cream);
  border-left: 5px solid var(--orange); color: var(--ink-soft); font-size: 1rem;
}

/* ---------- Founder quote ---------- */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.founder img { width: 120px; height: 120px; border-radius: 28px; }
blockquote { margin: 0; }
blockquote p { font-family: var(--rounded); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.35; }
blockquote footer { color: var(--orange); font-weight: 800; }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; gap: 20px; } .founder img { width: 88px; height: 88px; border-radius: 22px; } }

/* ---------- Test signup ---------- */
.test-box {
  background: var(--orange); border-radius: 32px; padding: 44px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.test-box h2 { margin-bottom: .3em; }
.test-box p { margin-bottom: 0; }
.test-box .btn-primary { background: var(--ink); color: var(--cream); box-shadow: none; }
.test-box .btn-primary:hover { background: #45362A; }
.test-note {
  grid-column: 1 / -1; background: var(--card); border-radius: 16px; padding: 14px 18px; font-weight: 700;
}
@media (max-width: 760px) { .test-box { grid-template-columns: 1fr; padding: 30px 24px; border-radius: 26px; } }

/* ---------- Long-form pages (privacy, support) ---------- */
.page-head { padding: 48px 0 8px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--orange-text); }
.summary-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.summary-list li {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px 14px 52px;
  position: relative; margin: 0;
}
.summary-list li::before {
  content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232B2118' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

details {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; margin-bottom: 12px;
}
summary {
  cursor: pointer; font-family: var(--rounded); font-weight: 800; font-size: 1.15rem;
  padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange-text); }
details[open] summary::after { content: "–"; }
details > div { padding-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #E9DCCB; padding: 44px 0 36px; font-size: 1rem; }
.site-footer a { color: #fff; font-weight: 700; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .brand { color: #fff; }
.fine { color: #CDBBA6; font-size: .9rem; margin: 0; width: 100%; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Story ---------- */
.story-link { margin: 16px 0 0; font-size: 1.05rem; }
.story p { font-size: 1.2rem; }
.story blockquote.pull {
  margin: 1.6em 0; padding: 24px 28px; border-radius: var(--radius);
  background: var(--orange-soft); border-left: 6px solid var(--orange);
}
.story blockquote.pull p { margin: 0; color: var(--ink); }
.signoff { font-family: var(--rounded); font-weight: 800; color: var(--orange-text); }

/* ---------- Photos (shown uncropped, at their own shape) ---------- */
figure { margin: 0; }
figure img { border-radius: 16px; width: 100%; height: auto; background: var(--cream-deep); }
figcaption { margin-top: 10px; font-size: 1rem; color: var(--ink-soft); }
.photo-trio figcaption { font-family: var(--rounded); font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.photo-row { margin: 2em 0; }
.photo-row-imgs { display: grid; grid-template-columns: var(--cols); gap: 12px; align-items: start; }
.story .photo-row figcaption { font-size: 1rem; }
@media (max-width: 680px) { .photo-row-imgs { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .story .photo-row { margin-left: -80px; margin-right: -80px; } }

/* ---------- App screenshots in a phone frame ---------- */
.app-feature { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; margin: 2.4em 0; }
.app-shot {
  background: var(--ink); padding: 10px; border-radius: 40px;
  box-shadow: 0 24px 48px rgba(43, 33, 24, .22);
}
.app-shot img { border-radius: 30px; width: 100%; height: auto; background: #1C1C1E; }
.app-feature figcaption { margin: 0; color: var(--ink); }
.app-feature figcaption p { font-size: 1.2rem; }
@media (max-width: 680px) {
  .app-feature { grid-template-columns: 1fr; gap: 24px; }
  .app-shot { width: min(280px, 80vw); margin: 0 auto; }
}
