/* Dodona public site. Build constants: 12-col grid, 1120px container, 8px scale,
   type scale 1.25, recipe: banded web page. Light by default, one charcoal band (privacy),
   one clay band (closing), charcoal footer. */
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-var.woff2) format('woff2'); }
/* Atkinson's zero is slashed. This face supplies a plain zero in body text and nothing else. */
@font-face { font-family: 'Plain Zero'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-var.woff2) format('woff2'); unicode-range: U+0030; }

:root {
  --clay: #B5562F;
  --clay-deep: #9A4524;
  --clay-bright: #C2603A;
  --cream: #F4EEE4;
  --offwhite: #FBF8F2;
  --white: #FFFFFF;
  --charcoal: #232323;
  --teal: #2A6972;
  --soft: #555049;
  --soft-on-dark: #D9D4CB;
  --rule: rgba(35, 35, 35, 0.14);

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px;
  --s8: 64px; --s10: 80px; --s12: 96px; --s14: 112px;

  --font-display: 'Bricolage Grotesque', 'Avenir Next', 'Trebuchet MS', sans-serif;
  --font-body: 'Plain Zero', 'Atkinson Hyperlegible', 'Segoe UI', Verdana, sans-serif;

  --leaf: 56px 0 56px 0;
  --hero-pos: 50% 50%;
  --hero-pos-mobile: 50% 50%;
  --scatter-pos: 50% 50%;
  --section: var(--s14);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--clay-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: #6F3016; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .band-clay :focus-visible, .site-footer :focus-visible { outline-color: #FFFFFF; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s3); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--charcoal); color: #fff; padding: 12px 16px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--charcoal); font-optical-sizing: auto; }
h1, h2 { text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(2.5rem, 6.2vw, 4.5rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-weight: 700; font-size: clamp(2rem, 4vw, 2.875rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-weight: 600; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: 1.3125rem; line-height: 1.6; color: var(--soft); max-width: 30em; }
.muted { color: var(--soft); }
p + p { margin-top: var(--s2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; border-radius: 999px; padding: 16px 28px; border: 2px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-deep); color: #fff; }
.btn-cream { background: var(--cream); color: var(--charcoal); }
.btn-cream:hover { background: #fff; color: var(--charcoal); }
.btn-sm { padding: 10px 20px; font-size: 1rem; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(244, 238, 228, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--s2); }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); }
.lockup:hover { color: var(--charcoal); }
.lockup img { width: 40px; height: 40px; border-radius: 10px; }
.lockup span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: var(--s4); margin-right: var(--s2); }
.nav-links a:not(.btn) { color: var(--charcoal); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 8px 0; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--clay-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--charcoal); border-radius: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-right { display: flex; align-items: center; gap: var(--s1); }

/* ---------- bands ---------- */
.band { padding: var(--section) 0; }
.band-cream { background: var(--cream); }
.band-white { background: var(--offwhite); }
.band.dark { background: var(--charcoal); color: #fff; }
.band.dark h2, .band.dark h3 { color: #fff; }
.band-clay { background: var(--clay); color: #fff; }
.band-clay h2 { color: #fff; }

.leaf { border-radius: var(--leaf); display: block; width: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { padding: var(--s10) 0 var(--s12); }
.hero-grid { display: grid; grid-template-columns: 4.5fr 7.5fr; grid-template-areas: "copy media" "after media"; grid-template-rows: auto 1fr; column-gap: var(--s5); align-items: start; }
.hero-copy { grid-area: copy; }
.hero-after { grid-area: after; }
.hero-media { grid-area: media; position: relative; padding-bottom: 112px; margin-top: 8px; }
.hero-phone { position: absolute; right: calc(-1 * clamp(0px, (100vw - 1120px) / 2, 56px)); bottom: 72px; width: 190px; }
.hero-phone .phone { max-width: none; }
.hero-cap { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 230px; margin-top: var(--s1); text-align: center; font-size: 1rem; line-height: 1.5; color: var(--soft); text-wrap: balance; }
.hero-android { margin-top: var(--s1); font-size: 1rem; }
.hero-android .textlink { padding: 8px 0; }
.hero h1 { margin-bottom: var(--s3); }
.hero .lede { margin-bottom: var(--s4); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.hero-status { font-size: 1rem; color: var(--soft); margin-top: var(--s3); text-wrap: pretty; }
.hero-photo { margin-top: 8px; }
.textlink { display: inline-block; padding: 12px 0; }
.hero-photo { aspect-ratio: 3 / 2; object-position: var(--hero-pos); }
.hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.25rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.phone-img { background: #1b1b1b; border-radius: 34px; padding: 7px; box-shadow: 0 28px 44px -18px rgba(35,35,35,.5); }
.phone-img img { width: 100%; border-radius: 27px; }

/* ---------- screenshots ---------- */
.shots { padding-bottom: var(--s12); }
.shots h2 { margin-bottom: var(--s6); }
.shots-row { max-width: 1120px; margin: 0 auto; padding: 0 var(--s3) var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--s3); overscroll-behavior-x: contain; }
.shots-row:focus-visible { outline-offset: -2px; border-radius: 8px; }
.shots-list { list-style: none; display: flex; gap: var(--s2); width: max-content; }
.shots-list li { flex: 0 0 clamp(224px, 62vw, 280px); scroll-snap-align: start; }
.shots-list img { display: block; width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--rule); box-shadow: 0 14px 28px -18px rgba(35,35,35,.35); background: var(--cream); }
@media (min-width: 1100px) {
  .shots-row { overflow: visible; padding-bottom: 0; }
  .shots-list { width: auto; gap: var(--s3); }
  .shots-list li { flex: 1 1 0; min-width: 0; }
}

/* ---------- old way ---------- */
.old-solo { max-width: 680px; text-align: center; }
.old-solo h2 { margin-bottom: var(--s3); text-wrap: balance; }
.old-solo p { margin-left: auto; margin-right: auto; max-width: 30em; text-wrap: pretty; }
.old-solo p + p { margin-top: var(--s2); }
.old-photo { width: 100%; }
.old-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 38% 50%; }
.old-grid { display: grid; grid-template-columns: 6fr 6fr; gap: var(--s10); align-items: center; }
.old-phone { max-width: 270px; margin: 0 auto; width: 100%; }
.old-grid p { max-width: 30em; }
.old-grid h2 { margin-bottom: var(--s3); }

/* ---------- how ---------- */
.how { background: var(--offwhite); }
.how-head { max-width: 640px; margin-bottom: var(--s8); }
.how-head h2 { margin-bottom: var(--s2); }
.how-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s10); align-items: start; }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: var(--s3); padding: var(--s4) 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; background: var(--clay); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: grid; place-items: center; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--soft); max-width: 30em; }
.steps .said { color: var(--charcoal); font-style: italic; }
.how-aside { position: sticky; top: 104px; }
.phone-mobile { display: none; }
.steps-rest { counter-reset: step 1; }
.steps:not(.steps-rest) li:last-child { border-bottom: 0; }
.how-steps > .steps-rest li:last-child { border-bottom: 1px solid var(--rule); }
.why { margin-top: var(--s8); color: var(--soft); font-style: italic; text-align: center; text-wrap: balance; }

/* phone illustration */
.phone { width: 100%; max-width: 340px; margin: 0 auto; background: #1b1b1b; border-radius: 46px; padding: 11px; box-shadow: 0 30px 50px -20px rgba(35,35,35,.45); }
.screen { background: #FBF8F2; border-radius: 36px; padding: 18px 16px 20px; color: var(--charcoal); font-family: var(--font-body); font-size: 14px; line-height: 1.45; }
.sbar { display: flex; justify-content: center; padding: 0 0 16px; }
.sbar i { display: block; width: 72px; height: 14px; border-radius: 8px; background: #1b1b1b; }
.eyebrow-app { font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--clay-deep); margin-bottom: 8px; }
.you-said { font-size: 14px; color: #3b3732; margin-bottom: 14px; }
.rcard { background: #fff; border: 1px solid #E6DED0; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; }
.rline { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 3px 0; }
.rline b { font-size: 11px; letter-spacing: .08em; color: #6b645a; padding-top: 2px; font-weight: 700; }
.rline span { font-weight: 700; font-size: 14px; }
.rnote { font-size: 12.5px; color: #5d574e; margin: 12px 4px 14px; }
.rbtn { background: var(--clay); color: #fff; text-align: center; font-weight: 700; border-radius: 999px; padding: 13px; font-size: 15px; }
.phone-cap { text-align: center; font-size: 1rem; color: var(--soft); margin-top: var(--s3); }

/* ---------- different ---------- */
.diff-h { margin-bottom: var(--s8); max-width: 16em; }
.diff-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6) var(--s4); }
.diff-list > div { border-top: 3px solid var(--clay); padding-top: var(--s2); }
.diff-list h3 { margin-bottom: 8px; }
.diff-list p { color: var(--soft); }

/* ---------- privacy ---------- */
.priv-wrap { max-width: 728px; }
.priv-wrap h2 { margin-bottom: var(--s4); }
.priv-list li strong { display: block; }
.priv-list { list-style: none; }
.priv-list li { padding: var(--s2) 0 var(--s2) 36px; position: relative; border-top: 1px solid rgba(255,255,255,.18); color: var(--soft-on-dark); }
.priv-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 18px; height: 18px; background: var(--clay-bright); border-radius: 12px 0 12px 0; }
.priv-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.priv-list strong { color: #fff; }
.band.dark a { color: #F4C2AE; }
.band.dark a:hover { color: #fff; }
.priv-link { margin-top: var(--s3); }

/* ---------- android ---------- */
.android { padding: var(--s10) 0; scroll-margin-top: 72px; }
.android-wrap { max-width: 728px; }
.android h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: var(--s1); }
.android-form { display: flex; gap: var(--s2); margin-top: var(--s3); max-width: 520px; }
.android-form input { flex: 1; min-width: 0; font: inherit; font-size: 1.0625rem; padding: 14px 20px; border: 2px solid #8A847A; border-radius: 999px; background: #fff; color: var(--charcoal); }
.android-form input::placeholder { color: #6b645a; }
.android-form .btn { flex: none; }
.android-form { flex-wrap: wrap; }
.android-form[hidden] { display: none; }
.android-news { flex-basis: 100%; display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.45; color: var(--charcoal); cursor: pointer; }
.android-news input { flex: none; width: 20px; height: 20px; min-width: 20px; margin: 2px 0 0; padding: 0; border-radius: 4px; accent-color: var(--teal); }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.android-msg { margin-top: var(--s2); min-height: 1.5em; font-size: 1.0625rem; }
.android-msg.is-error { color: #9A2F1F; }
.android-form input:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-wrap h2 { margin-bottom: var(--s5); }
details { border-top: 1px solid var(--rule); }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { list-style: none; cursor: pointer; padding: var(--s3) 0; font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; line-height: 1.3; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.75rem; color: var(--clay); line-height: 1; transition: transform .2s ease; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: var(--s3); color: var(--soft); max-width: 36em; }

/* ---------- closing ---------- */
.closing { text-align: left; }
.closing-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: center; }
.closing h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: var(--s3); color: #fff; }
.closing p { color: #fff; max-width: 32em; margin-bottom: var(--s4); }
.closing .btn { margin-top: 0; }
.closing-icon { width: min(240px, 60%); margin-left: auto; border-radius: 22%; box-shadow: 0 24px 40px -18px rgba(0,0,0,.4); }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: var(--soft-on-dark); padding: var(--s10) 0 var(--s5); font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #F4C2AE; }
.foot-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: var(--s6); padding-bottom: var(--s6); }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s2); text-decoration: none; }
.foot-brand img { width: 40px; height: 40px; border-radius: 10px; }
.foot-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; }
.site-footer h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: var(--s2); }
.foot-links { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.foot-links a { text-decoration: none; padding: 2px 0; display: inline-block; }
.foot-bottom .copy { font-family: var(--font-display); }
.foot-links a:hover { text-decoration: underline; }
.foot-disclaimer { border-top: 1px solid rgba(255,255,255,.18); padding-top: var(--s3); color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px var(--s3); margin-top: var(--s2); font-size: .9375rem; }

/* ---------- inner pages ---------- */
.page-head { padding: var(--s10) 0 var(--s6); }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: var(--s2); }
.draft-tag { font-size: .875rem; color: var(--soft); margin-bottom: var(--s2); }
.doc { padding: var(--s6) 0 var(--s12); background: var(--cream); }
.doc .container { max-width: 760px; }
.doc h2 { font-size: 1.75rem; margin: var(--s8) 0 var(--s2); line-height: 1.2; }
.doc h2:first-child { margin-top: 0; }
.doc ul { margin: var(--s2) 0 0 1.25rem; }
.doc li { margin-bottom: 8px; padding-left: 4px; }
.doc li::marker { color: var(--clay); }
.doc .meta { color: var(--soft); }
.doc kbd { font-family: var(--font-body); font-weight: 700; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 1px 8px; white-space: nowrap; }
.support-cta { margin-top: var(--s3); }

/* ---------- responsive ---------- */
/* ---------- app store badge (Apple: unaltered, min height 40px, clear space >= 1/4 height) ---------- */
.store-badge { display: inline-block; padding: 14px; margin: -14px; line-height: 0; border-radius: 12px; }
.store-badge img { width: 150px; height: 50px; }
.hero-cta .store-badge { margin: 0 0 0 -14px; }
.closing .store-badge { margin: 0 0 0 -14px; }
.support-cta .store-badge { margin: 0 0 0 -14px; }

/* ---------- price ---------- */
.price-wrap { max-width: 760px; margin: 0 auto; }
.price-wrap h2 { margin-bottom: var(--s2); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: var(--s5) 0; }
.plan { border-top: 3px solid var(--clay); padding-top: var(--s2); }
.plan h3 { margin-bottom: 8px; }
.plan-price { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1.1; letter-spacing: -0.02em; }
.plan-price span { font-family: var(--font-body); font-weight: 400; font-size: 1.125rem; letter-spacing: 0; color: var(--soft); }
.price-notes { list-style: none; display: grid; gap: var(--s3); color: var(--soft); }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; gap: var(--s3); } }

@media (max-width: 1040px) {
  .diff-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --section: var(--s10); --leaf: 40px 0 40px 0; }
  .hero { padding: var(--s6) 0 var(--s10); }
  .hero-grid, .old-grid, .how-grid, .closing-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .hero-grid { grid-template-areas: "copy" "media" "after"; grid-template-rows: auto; row-gap: var(--s4); }
  .hero-copy .lede { margin-bottom: 0; }
  .hero-media { margin-top: 0; padding-bottom: 0; }
  .hero-photo { aspect-ratio: 3 / 2; object-position: var(--hero-pos-mobile); }
  .hero-phone { position: relative; right: auto; bottom: auto; width: 176px; margin: -10px auto 0; }
  .hero-cap { position: static; transform: none; width: 100%; margin-top: var(--s2); }
  .hero-media { display: block; }
  .phone-desktop { display: none; }
  .phone-mobile { display: block; margin: var(--s4) 0 var(--s2); position: static; }
  .diff-list { grid-template-columns: 1fr 1fr; }
  .foot-links { gap: 0; }
  .foot-links a { display: flex; align-items: center; min-height: 44px; }
  .foot-brand { min-height: 44px; }
  .nav-links a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .nav.open .nav-links { box-shadow: 0 18px 28px -14px rgba(35, 35, 35, .28); }
  .closing-icon { margin: 0; width: 140px; }
  .foot-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream);
    border-bottom: 1px solid var(--rule); flex-direction: column; align-items: flex-start;
    padding: var(--s2) var(--s3) var(--s3); gap: var(--s1);
  }
  .nav.open .nav-links { display: flex; }
}
@media (max-width: 600px) {
  :root { --section: var(--s8); --leaf: 32px 0 32px 0; }
  .diff-list { grid-template-columns: 1fr; gap: var(--s5); }
  .steps li { grid-template-columns: 1fr; gap: var(--s2); }
  .lockup span { font-size: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
