/* getsupport.care storefront. Palette and type match the app (web/src/index.css): warm paper, clay accent, sage. */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(atkinson-hyperlegible-next-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(atkinson-hyperlegible-next-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(atkinson-hyperlegible-next-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fraunces-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fraunces-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #faf6f0; --surface: #fff; --surface-2: #f3ede4; --ink: #23211f; --muted: #6b655e; --line: #e9e1d6;
  --accent: #8f4632; --accent-strong: #73361f; --accent-soft: #f6e6df; --clay: #b65f45; --sage: #4f6b5b;
  --sage-soft: #e5ede7; --bad: #b3261e;
  --sans: "Atkinson Hyperlegible Next", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --r: 16px;
  --shadow: 0 1px 2px rgb(40 30 20 / 0.05), 0 6px 18px rgb(40 30 20 / 0.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1b1916; --surface: #24211d; --surface-2: #2b2723; --ink: #f1ece5; --muted: #b4aca2; --line: #3a352f;
    --accent: #e39a80; --accent-strong: #f0b8a4; --accent-soft: #3a2a24; --clay: #e39a80; --sage: #9bbca9;
    --sage-soft: #26322c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--sans); }
a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; margin-top: .4em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { margin: 1em 0 .3em; font-size: 1rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section.wrap { margin-top: 56px; }
main > article.wrap { margin-top: 40px; margin-bottom: 40px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.mark { width: 28px; height: 28px; }
.nav { display: flex; gap: 18px; flex: 1; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 10px; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--muted); }
.langs summary::-webkit-details-marker { display: none; }
.langs .menu { position: absolute; right: 0; top: 110%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: grid; min-width: 140px; }
.langs .menu a { padding: 6px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.langs .menu a:hover, .langs .menu a[aria-current] { background: var(--surface-2); }
@media (max-width: 760px) { .nav { display: none; } .bar { justify-content: space-between; } }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; border: 2px solid var(--accent); }
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-strong); }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.btn-ghost) { color: #1b1916; } }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }

/* hero and blocks */
.hero { background: linear-gradient(180deg, var(--accent-soft), var(--bg)); padding: 56px 0 36px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.lead-sm { font-size: 1.08rem; color: var(--muted); max-width: 760px; }
.inside { font-weight: 700; max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--sage); font-weight: 700; margin-bottom: .4em; }
.eyebrow a { color: inherit; text-decoration: none; }
.small { font-size: .85rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 0; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card ul { margin: .4em 0 0; }
.guide-card { display: block; color: inherit; text-decoration: none; transition: transform .15s; }
.guide-card:hover { transform: translateY(-2px); border-color: var(--clay); }
.guide-card p { color: var(--muted); }
.more { color: var(--accent); font-weight: 700; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; background: var(--sage-soft); color: var(--sage); border-radius: 999px; padding: 1px 8px; vertical-align: middle; margin-left: 4px; }
.list li { margin: .25em 0; }
.qlist { columns: 2; column-gap: 40px; }
@media (max-width: 760px) { .qlist { columns: 1; } }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin: .45em 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage); transform: rotate(-45deg); }
.tier .price { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; margin: 0 0 .4em; }

/* question and text pages */
.answer { font-size: 1.2rem; border-left: 4px solid var(--clay); padding-left: 16px; }
.more-note { color: var(--muted); font-style: italic; }
.small-h { font-size: 1.05rem; font-family: var(--sans); margin-top: 2em; }
.sources { font-size: .85rem; color: var(--muted); }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: .6em 0 0; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.jump { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.5em; }
.jump a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }
pre.form { white-space: pre-wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; font: inherit; font-size: .95rem; }

/* footer */
.foot { margin-top: 80px; border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: .9rem; color: var(--muted); }
.notice { margin: 0 0 .6em; }
.crisis { color: var(--ink); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 16px; margin: 18px 0; }
.foot-nav a { color: var(--muted); }
.fine { font-size: .8rem; }

/* home page: pictures and the free cards */
:root { --sun: #e9b949; --tile: #f3ede4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sun: #d9a93f; --tile: #2b2723; } }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; gap: 8px; } .hero { padding-top: 32px; } .hero-art { order: -1; max-width: 340px; margin: 0 auto; } }
.band { background: var(--surface-2); margin-top: 56px; padding: 48px 0; }
.band .wrap { margin-top: 0; }
.split.media { align-items: center; }
@media (max-width: 760px) { .split.media { gap: 20px; } }
.photo { width: 100%; height: auto; display: block; border-radius: var(--r); box-shadow: var(--shadow); }
.video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; border-radius: var(--r); box-shadow: var(--shadow); background: var(--surface-2); }
.art-tile { width: 120px; height: auto; display: block; margin-bottom: 14px; }
.art-icon { width: 48px; height: 48px; display: block; margin-bottom: 10px; }
.moments { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; margin-top: 20px; }
.moment summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.moment summary::-webkit-details-marker { display: none; }
.moment summary h3 { margin: 0; }
.moment summary::after { content: "+"; font: 700 1.5rem var(--sans); color: var(--clay); line-height: 1; }
.moment[open] summary::after { content: "–"; }
.moment .context { color: var(--muted); margin: .8em 0; }
.moment h4 { margin: 0 0 .2em; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.moment .say { background: var(--sage-soft); border-radius: 12px; padding: 12px 14px; }
.moment .say h4 { color: var(--sage); }
.moment .say li { font-weight: 700; }
.moment .avoid { padding: 12px 14px 0; }
.moment .avoid h4 { color: var(--clay); }
.moment .avoid s { color: var(--muted); }
.moment ul { margin: 0; padding-left: 1.1em; }
.after { margin-top: 18px; }
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 20px; }
.door h3 { margin-bottom: .3em; }
.door p { color: var(--muted); margin: 0; }
.closing { position: relative; }
.closing .photo.wide { aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 60%; }
.closing-text { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; max-width: 620px; margin: -72px auto 0; position: relative; text-align: center; }
.closing-text .lead-sm { margin-left: auto; margin-right: auto; }
.closing-text .ctas { justify-content: center; margin-bottom: 0; }
@media (max-width: 760px) { .closing-text { margin: -32px 12px 0; padding: 20px; } }
.btn-sm { white-space: nowrap; }
@media (max-width: 760px) {
  .guide-card { display: grid; grid-template-columns: 84px 1fr; column-gap: 14px; padding: 16px; }
  .guide-card .art-tile { width: 84px; grid-row: 1 / span 3; margin: 0; }
  .guide-card h3 { font-size: 1.05rem; margin-bottom: .2em; }
  .guide-card p { font-size: .95rem; margin-bottom: .3em; }
}
@media (max-width: 760px) { .bar { gap: 8px; } .brand { font-size: 1rem; gap: 6px; } .btn-sm { padding: 7px 11px; font-size: .85rem; } .actions { gap: 6px; } }
