/* Chore Bear — shared site styles */
:root {
  --honey-50:  #FDF8EE;
  --honey-100: #FAF1DD;
  --honey-200: #F4E4C1;
  --honey-300: #EBD19A;
  --amber-500: #D97941;
  --amber-600: #B85A2E;
  --amber-700: #8F3F1C;
  --ink-900:   #241109;
  --ink-800:   #3A1E12;
  --ink-700:   #55382A;
  --ink-500:   #7A5A49;
  --ink-400:   #9C8474;
  --cream:     #FAF5EB;
  --line:      #E8DCC5;
  --purple:    #7B6EF6;
  --purple-hi: #A299FF;
  --navy:      #0E1230;
  --navy-2:    #151A3D;
  --navy-3:    #1E2451;
  --green:     #2E8F60;
  --danger:    #D14343;

  /* App palette, mirrored from the shipping iOS and Android clients so the
     site's phone mockups and dark strip match what a family actually sees. */
  --app-dark:       #1A0F08;
  --app-dark-2:     #2A1D14;
  --app-dark-3:     #3D2D1F;
  --app-dark-ink:   #FDF8EE;
  --app-dark-ink-2: #C9A57F;
  --verified:       #2F8A5F;
  --pending:        #B26A1C;
  --success:        #3BB37A;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  line-height: 1.08;
  margin: 0;
  font-variation-settings: "SOFT" 50, "opsz" 100;
}
h1 { font-size: clamp(44px, 6.5vw, 84px); font-weight: 500; }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 500; }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; }
p  { margin: 0 0 1em; text-wrap: pretty; }
a  { color: var(--amber-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

/* ——— Top nav ——— */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 235, 0.82);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; max-width: 1240px; margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-900); font-family: 'Fraunces', serif; font-size: 20px; }
.nav-brand svg { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-700); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--amber-700); text-decoration: none; }
.nav-cta {
  background: var(--ink-900); color: var(--honey-100) !important;
  padding: 9px 16px; border-radius: 999px; font-size: 14px;
}
.nav-cta:hover { background: var(--amber-700); text-decoration: none; }

/* Mobile disclosure menu (<= 720px). The desktop .nav-links and the mobile
   .nav-mobile block are mutually exclusive, so only one set of links is ever
   in the accessibility tree. */
.nav-mobile { display: none; align-items: center; gap: 10px; }
.nav-menu { position: relative; }
.nav-menu > summary {
  list-style: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink-900);
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu[open] > summary { background: var(--honey-200); }
.nav-bars { position: relative; display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.nav-bars::before, .nav-bars::after {
  content: ''; position: absolute; left: 0;
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
}
.nav-bars::before { top: -6px; }
.nav-bars::after  { top: 6px; }
.nav-panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 190px; padding: 8px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 40px -24px rgba(44, 24, 16, 0.35);
  display: flex; flex-direction: column;
}
.nav-panel a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink-800); font-size: 15px; font-weight: 500; }
.nav-panel a:hover { background: var(--honey-200); text-decoration: none; }

@media (max-width: 720px) {
  .nav-inner { padding: 10px 18px; gap: 10px; }
  .nav-brand { font-size: 18px; white-space: nowrap; }
  .nav-brand svg { width: 28px; height: 28px; }
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
  .nav-mobile .nav-cta { padding: 8px 14px; font-size: 13.5px; }
}
@media (max-width: 360px) {
  .nav-mobile > .nav-cta { display: none; }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink-900); color: var(--honey-100); }
.btn-primary:hover { background: var(--amber-700); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn-secondary:hover { background: var(--ink-900); color: var(--honey-100); }
.btn-ghost { background: var(--honey-100); color: var(--ink-900); border-color: var(--line); }
.btn-ghost:hover { background: var(--honey-200); }

/* ——— App Store button ——— */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink-900); color: var(--honey-100);
  padding: 11px 22px 11px 18px; border-radius: 14px;
  text-decoration: none; transition: transform .15s ease, background .2s ease;
}
.store-btn:hover { background: var(--amber-700); text-decoration: none; color: #fff; }
.store-btn svg { width: 28px; height: 28px; }
.store-btn .label { font-size: 11px; opacity: .78; display: block; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; }
.store-btn .name  { font-size: 19px; font-weight: 600; display: block; line-height: 1.1; font-family: 'Fraunces', serif; }

/* ——— Eyebrow + tags ——— */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber-700);
  padding: 6px 14px; border-radius: 999px;
  background: rgba(217, 121, 65, 0.1);
}

/* ——— Sections ——— */
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.section-dark { background: var(--navy); color: #EDEEF6; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-cream { background: var(--cream); }
.section-honey { background: var(--honey-100); }

/* ——— Cards ——— */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { box-shadow: 0 20px 40px -24px rgba(44, 24, 16, 0.18); }

/* ——— Footer ——— */
.footer {
  background: var(--ink-900); color: var(--honey-200);
  padding: 72px 0 40px;
}
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { color: var(--honey-300); font-size: 14.5px; display: block; padding: 5px 0; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--honey-300); font-size: 14.5px; line-height: 1.6; }
.footer-bottom {
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid rgba(244, 228, 193, 0.12);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: var(--honey-300);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1/-1; }
}

/* ——— Legal doc typography ——— */
.legal-doc { padding: 80px 0 120px; }
.legal-doc h1 { font-size: clamp(36px, 4.5vw, 56px); margin-bottom: 8px; }
.legal-doc .updated { color: var(--ink-500); font-size: 14.5px; margin-bottom: 48px; display: block; }
.legal-doc h2 { font-size: 26px; margin-top: 48px; margin-bottom: 14px; font-family: 'Fraunces', serif; font-weight: 600; }
.legal-doc h3 { font-size: 18px; margin-top: 28px; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--ink-900); }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.72; color: var(--ink-800); }
.legal-doc li { margin-bottom: 8px; }
.legal-doc ul { padding-left: 24px; }
.legal-doc hr { border: none; border-top: 1px solid var(--line); margin: 48px 0; }
.legal-doc .callout {
  background: var(--honey-100);
  border: 1px solid var(--honey-200);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15.5px;
}
.legal-doc .callout strong { color: var(--ink-900); }
.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 40px;
}
.toc h4 { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 12px; font-weight: 600; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { font-size: 14.5px; margin-bottom: 6px; }
.toc a { color: var(--ink-700); }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ——— Page hero (smaller than landing hero) ——— */
.page-hero {
  padding: 110px 0 72px; text-align: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 900px 360px at 50% -10%, var(--honey-200), transparent 70%),
    var(--cream);
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 {
  margin-bottom: 28px;
  line-height: 1.12;
  font-size: clamp(40px, 5.2vw, 68px);
}
.page-hero h1 em {
  font-style: italic; color: var(--amber-700); font-weight: 500;
  display: inline-block; padding-bottom: 0.08em;
}
.page-hero .sub {
  font-size: 19px; color: var(--ink-700); max-width: 620px;
  margin: 0 auto; line-height: 1.55;
}

/* Real app screenshots preserve their full captured aspect ratio. */
.phone-screen > img.shot { width: 100%; height: auto; object-fit: contain; display: block; }
.release-notice { margin: 0; padding: 10px 24px; background: #edf5f2; color: #234d40; font-size: 13px; line-height: 1.5; text-align: center; letter-spacing: 0; }
.release-notice a { color: inherit; text-decoration: underline; white-space: nowrap; }

/* ——— Den plan marker ——— */
.den-pill {
  display: inline-block; vertical-align: middle;
  margin-left: 8px; padding: 2px 9px;
  border-radius: 999px; background: var(--amber-700); color: var(--honey-100);
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}

/* ——— Accessibility ——— */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink-900); color: var(--honey-100);
  padding: 12px 20px; border-radius: 0 0 12px 0; font-weight: 600; font-size: 15px;
}
.skip-link:focus {
  left: 0; text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--amber-700);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark :focus-visible, .download :focus-visible, .strip :focus-visible, .footer :focus-visible {
  outline-color: var(--honey-300);
}

/* ——— Motion ——— */
@media (prefers-reduced-motion: no-preference) {
  .btn:hover, .store-btn:hover, .nf .btn:hover { transform: translateY(-1px); }
  .card:hover { transform: translateY(-2px); }
  .feature:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
