/*
 * The marketing site's styles, shared by every page in landing/.
 * Colors are the Blue Merle skin from packages/theme (light and dark); packages/theme/src/landing.test.ts
 * fails if they drift. Type is Cabin only, served from /fonts. Copper stays scarce: the eyebrow and links.
 */
@font-face { font-family: Cabin; font-weight: 400; font-display: swap; src: url(/fonts/cabin-400.woff2) format("woff2"); }
@font-face { font-family: Cabin; font-weight: 600; font-display: swap; src: url(/fonts/cabin-600.woff2) format("woff2"); }
@font-face { font-family: Cabin; font-weight: 700; font-display: swap; src: url(/fonts/cabin-700.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  /* Blue Merle, light */
  --base: #F6F7F8; --surface: #E4E9ED; --elevated: #FFFFFF;
  --border: #BAC4CD; --border-strong: #7D8B99; --focus: #A45F2F;
  --accent: #A45F2F; --accent-muted: #FCF5EE; --accent-2: #4F8FAD;
  --text: #1C2127; --text-2: #5A6672; --text-3: #647080; --on-accent: #FFFFFF; --link: #A45F2F;
  /* The hero band is dark in both schemes: Blue Merle dark on slate. */
  --hero: #1C2127; --hero-text: #E8ECEF; --hero-text-2: #9AA6B2; --hero-accent: #C98552; --hero-border: #4A5560;
  --radius: 20px; --radius-sm: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* Blue Merle, dark */
    --base: #14181D; --surface: #242B33; --elevated: #2C333C;
    --border: #323B44; --border-strong: #4A5560; --focus: #C98552;
    --accent: #C98552; --accent-muted: #3A2A1E; --accent-2: #8FC4DA;
    --text: #E8ECEF; --text-2: #9AA6B2; --text-3: #7E8B97; --on-accent: #14181D; --link: #C98552;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--text); font: 400 18px/1.55 Cabin, system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.01em; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 19px; color: var(--text-2); max-width: 38em; }
.light-only { display: block; }
.dark-only { display: none; }
@media (prefers-color-scheme: dark) { .light-only { display: none; } .dark-only { display: block; } }

/* Header and hero: one dark band */
.hero { background: var(--hero); color: var(--hero-text); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.site-header .logo { width: 150px; }
.site-header nav { display: flex; gap: 20px; font-weight: 600; font-size: 16px; }
.site-header nav a { color: var(--hero-text); text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.site-header nav a:focus-visible { outline-color: var(--hero-accent); }
@media (max-width: 520px) { .site-header nav .wide { display: none; } }
.hero-body { display: grid; gap: 48px; padding: 40px 0 80px; align-items: center; }
@media (min-width: 900px) { .hero-body { grid-template-columns: 1.15fr 0.85fr; padding: 56px 0 96px; } }
.hero .eyebrow { color: var(--hero-accent); }
.hero h1 { font-size: clamp(38px, 6.4vw, 62px); line-height: 1.04; letter-spacing: -0.015em; margin: 14px 0 20px; }
.hero .lead { color: var(--hero-text-2); font-size: clamp(18px, 2.2vw, 21px); }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.soon { display: inline-block; padding: 10px 18px; border: 1px solid var(--hero-border); border-radius: 999px; font-weight: 600; font-size: 16px; }
.get a { color: var(--hero-accent); font-weight: 600; font-size: 16px; }
.get a:focus-visible { outline-color: var(--hero-accent); }

/* The hero's moments: the app's own words, set like its cards */
.moments { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.moment { background: var(--elevated); color: var(--text); border-radius: var(--radius); padding: 18px 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.moment:nth-child(2) { margin-left: 28px; }
.moment:nth-child(3) { margin-left: 8px; }
@media (prefers-color-scheme: dark) { .moment { border: 1px solid var(--border-strong); } }
.moment small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.moment p { font-size: 18px; font-weight: 600; line-height: 1.35; }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; }
.band { background: var(--surface); }
.cards { display: grid; gap: 16px; }
@media (min-width: 860px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--elevated); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.band .card { background: var(--base); }
.card p { color: var(--text-2); }
.step { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-muted); color: var(--accent); font-weight: 700; }
.quote { font-weight: 600; color: var(--text); }

/* What the vet sees: text beside an example of the shared record */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split .section-head { margin-bottom: 0; }
.record { background: var(--elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.record header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.record header strong { font-size: 22px; }
.record header span { color: var(--text-2); font-size: 15px; }
.record dl { margin: 0; }
.record dl div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.record dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.record dt { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.record dd { margin: 0; font-weight: 600; }
.record dd em { font-style: normal; font-weight: 400; color: var(--text-2); font-size: 15px; }
.caption { margin-top: 12px; font-size: 15px; color: var(--text-3); }

/* Lists with marks */
.checks, .promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .checks, .promises { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.checks li, .promises li { position: relative; padding-left: 34px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 8px; height: 15px; border: solid var(--accent-2); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.promises li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 16px; height: 3px; border-radius: 2px; background: var(--accent-2); }
.note { margin-top: 32px; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--base); color: var(--text-2); }

/* Questions: every answer visible */
.faq { display: grid; gap: 32px; }
@media (min-width: 860px) { .faq { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.faq h3 { margin-bottom: 8px; }
.faq p { color: var(--text-2); }

/* Founder */
.founder { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) { .founder { grid-template-columns: 160px 1fr; gap: 48px; } }
.founder img { width: 160px; border-radius: 36px; }
.founder .lead { margin-top: 14px; }

.more { display: inline-block; margin-top: 24px; font-weight: 700; }

/* Footer */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--border); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .logo { width: 120px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.site-footer nav a { color: var(--text-2); }
.site-footer small { color: var(--text-3); font-size: 14px; width: 100%; }
