/* Owed — "fun style": flat pastels, one butter-yellow accent, extended caps labels,
   ink outlines and flat yellow offset shadows. No gradients, no soft shadows. */
:root {
  --yellow: #fae873;
  --sage: #94a69b;
  --periwinkle: #93a8cf;
  --powder: #c8d5e8;
  --peach: #f0cdb2;
  --kraft: #c4a288;
  --pistachio: #c8d5aa;
  --tomato: #d4464a;
  --oat: #eeebe4;
  --ink: #111111;
  --moss: #4a564f;
  --white: #ffffff;
  --display: "Syncopate", "Michroma", "Arial Black", sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

/* Type */
.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 { font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2vw, 22px); max-width: 34em; }
.hl { background: var(--yellow); padding: 0 0.15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.on-yellow .hl { background: var(--white); }

/* Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.bg-yellow { background: var(--yellow); }
.bg-powder { background: var(--powder); }
.bg-tomato { background: var(--tomato); color: var(--yellow); }
.bg-pistachio { background: var(--pistachio); }
.bg-peach { background: var(--peach); }
.bg-oat { background: var(--oat); }
.bg-periwinkle { background: var(--periwinkle); }
.section-top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--yellow);
  border-bottom: 1.5px solid var(--ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-family: var(--display); font-weight: 700; letter-spacing: 0.2em; font-size: 20px; text-decoration: none; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons and cards: ink outline + flat yellow offset */
.btn {
  display: inline-block;
  background: var(--ink); color: var(--yellow);
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 18px 26px; text-decoration: none;
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--white);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--white); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--white); }
.btn.small { padding: 12px 16px; font-size: 11px; box-shadow: 4px 4px 0 var(--white); }
.card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--yellow);
  padding: 28px;
}
.bg-yellow .card { box-shadow: 8px 8px 0 var(--ink); }
.bg-tomato .card { color: var(--ink); }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 .brand { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; font-size: 0.82em; }
.hero .lede { margin: 28px 0 36px; }
.hero-note { margin-top: 18px; font-size: 14px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Phone with speech-bubble texts */
.phone {
  width: min(360px, 100%); margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 40px;
  box-shadow: 12px 12px 0 var(--ink);
  padding: 22px 18px 28px;
  position: relative;
}
.phone-top { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1.5px solid var(--oat); margin-bottom: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0; }
.bubble { position: relative; width: fit-content; max-width: 86%; padding: 12px 15px; border: 1.5px solid var(--ink); border-radius: 22px; font-size: 15px; line-height: 1.35; margin: 0 0 10px; }
.bubble.them { background: var(--oat); border-bottom-left-radius: 6px; }
.bubble.me { background: var(--yellow); margin-left: auto; border-bottom-right-radius: 6px; }
.bubble-time { text-align: center; font-size: 11px; color: var(--moss); margin: 6px 0 12px; }

/* Doodles */
.sparkle { position: absolute; pointer-events: none; }
.sparkle path { fill: var(--yellow); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.bg-yellow .sparkle path { fill: var(--white); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { text-align: center; padding: 8px; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  background: var(--white);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 16px;
}
.step-art { height: 120px; margin: 0 auto 20px; }
.step p { font-size: 16px; margin-top: 10px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Grids of cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 16px; }
.card .label { display: block; margin-bottom: 14px; }

/* Starburst badge */
.burst-row { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.burst { width: 280px; height: 280px; position: relative; transform: rotate(-10deg); margin: 0 auto; }
.burst svg { width: 100%; height: 100%; }
.burst-text { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; transform: rotate(10deg); padding: 60px; }
.burst-text .display { font-size: 18px; line-height: 1.3; }
@media (max-width: 860px) { .burst-row { grid-template-columns: 1fr; } }

/* Tomato section */
.bg-tomato h2 .brand { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; font-size: 0.8em; }
.promise-grid { margin-top: 48px; }

/* FAQ */
.faq { display: grid; gap: 18px; max-width: 880px; }
details.card { padding: 0; box-shadow: 6px 6px 0 var(--yellow); }
details summary {
  list-style: none; cursor: pointer;
  padding: 22px 64px 22px 24px; font-size: 20px; font-weight: 500; position: relative;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 1.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; line-height: 1; background: var(--yellow);
}
details[open] summary::after { content: "–"; }
details .answer { padding: 0 24px 24px; font-size: 16px; max-width: 46em; }
details .answer p + p { margin-top: 10px; }

/* CTA */
.cta { text-align: center; }
.cta h2 { max-width: 14em; margin: 0 auto 20px; }
.cta .lede { margin: 0 auto 36px; }

/* Footer: ink rule + wordmark + page-number style */
.site-footer { background: var(--oat); padding: 28px 0 40px; }
.footer-rule { border-top: 1.5px solid var(--ink); padding-top: 22px; display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--moss); margin-top: 18px; max-width: 60em; }

/* Privacy page */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 18px; }
.doc h2 { font-size: clamp(24px, 3vw, 30px); margin: 56px 0 16px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.doc p, .doc li { font-size: 17px; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li { margin: 6px 0; }
.doc .summary { margin: 36px 0 0; }
.doc .summary ul { list-style: none; padding: 0; }
.doc .summary li { padding-left: 34px; position: relative; margin: 10px 0; }
.doc .summary li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; background: var(--yellow);
}
.doc code { font-family: ui-monospace, Menlo, monospace; font-size: 0.92em; background: var(--white); border: 1px solid var(--ink); padding: 0 5px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.toc a { font-size: 14px; text-decoration: none; border: 1.5px solid var(--ink); background: var(--white); padding: 6px 12px; }
.toc a:hover { background: var(--yellow); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
