/* Můj Caddie — mujcaddie.cz
   Tokens mirror the app's palettes.ts (light / dark). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url('../fonts/oswald-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url('../fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --surface-3: #E2E8F0;
  --text: #0F172A;
  --text-2: #475569;
  --muted: #94A3B8;
  --brand: #059669;
  --brand-soft: rgba(5, 150, 105, 0.08);
  --on-brand: #FFFFFF;
  --accent: #B91C1C;
  --border: #EAEEF3;
  --ink: #0F172A;        /* primary button fill (mono chrome, like the app) */
  --on-ink: #FFFFFF;
  --chip: rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.22);
  --glass: rgba(248, 250, 252, 0.78);
  --bezel: #0F172A;
  --radius: 24px;
  --radius-sm: 14px;
  --pill: 9999px;
  --max: 1120px;
  --gutter: 20px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.125rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); letter-spacing: -0.025em; }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: var(--pill); z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section__head { max-width: 640px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.section__head p { color: var(--text-2); font-size: 1.125rem; margin: 0; }

.ico { width: 22px; height: 22px; flex: none; }
.ico--sm { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--pill); font-weight: 600; font-size: 0.9375rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, opacity .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { opacity: 0.9; }
.btn--tonal { background: var(--surface-2); color: var(--text); }
.btn--tonal:hover { background: var(--surface-3); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--glass); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand__mark { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: var(--pill); color: var(--text-2); font-weight: 500; font-size: 0.9375rem; }
.nav a:hover { color: var(--text); background: var(--chip); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle:hover { background: var(--chip); }

/* language switcher */
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--pill); cursor: pointer; font-weight: 600; font-size: 0.875rem; color: var(--text-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--chip); color: var(--text); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); z-index: 60; }
.lang__menu li a, .lang__current { display: block; padding: 10px 12px; border-radius: 10px; font-size: 0.9375rem; }
.lang__menu li a:hover { background: var(--surface-2); }
.lang__current { color: var(--muted); }

@media (max-width: 900px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 16px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.0625rem; }
  .nav-toggle { display: inline-flex; }
  .header__actions { margin-left: auto; }
  .header__cta { display: none; }
}

/* ---------- shared bits ---------- */
.display { font-family: 'Oswald', 'Inter', system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kicker { margin: 0 0 12px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.section__head--left { text-align: left; margin-left: 0; max-width: 620px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--pill); font-size: 0.875rem; font-weight: 600; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.chip--ink { background: var(--ink); color: var(--on-ink); border-color: transparent; }
.chip--red { color: var(--accent); background: var(--surface); }

/* phone frame */
.phone { position: relative; padding: 10px; border-radius: 48px; background: var(--bezel); box-shadow: var(--shadow-lg); }
.phone::after { content: ''; position: absolute; top: 10px; left: 50%; width: 34%; height: 22px; transform: translateX(-50%); background: var(--bezel); border-radius: 0 0 16px 16px; }
.phone img { width: 100%; border-radius: 38px; background: #0F172A; }
.phone--sm { padding: 7px; border-radius: 36px; }
.phone--sm::after { top: 7px; height: 16px; border-radius: 0 0 12px 12px; }
.phone--sm img { border-radius: 30px; }
.phone--lg { width: min(320px, 90%); }

/* store badges */
.badges__note { margin: 0 0 10px; font-size: 0.875rem; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.badges__note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.badges__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 10px; }
.badge { display: inline-flex; border-radius: 8px; transition: transform .15s ease, opacity .15s ease; }
a.badge:hover { transform: translateY(-1px); opacity: 0.92; }
.badge--apple img { height: 48px; width: auto; }
.badge--google img { height: 72px; width: auto; margin: -12px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--border); }
.hero::before { content: ''; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, var(--brand-soft), transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__copy h1 { margin: 0 0 20px; max-width: 14ch; }
.hero__lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 520px; margin-bottom: 28px; }
.hero .badges { margin-top: 6px; }
.hero__note { margin: 18px 0 0; font-size: 0.875rem; color: var(--muted); }

/* Hero: dark hole screen behind and higher, the light course list in front and
   lower; the watch sits on the right, over the front phone's lower-right corner
   (tab bar and row chevrons), so the map, the logos and both distances stay clear. */
.scene { position: relative; height: 640px; width: 100%; }
.scene__phone { position: absolute; width: min(262px, 47%); }
.scene__phone--back { top: 0; left: 0; }
.scene__phone--front { top: 72px; left: 38%; z-index: 2; }
.scene__watch { position: absolute; right: 0; bottom: 36px; width: 164px; z-index: 3; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy h1 { max-width: none; }
  .scene { height: 600px; width: min(100%, 520px); margin: 0 auto; }
  .scene__watch { width: 160px; bottom: 0; }
}
@media (max-width: 480px) {
  .scene { height: 440px; }
  .scene__phone { width: 50%; }
  .scene__phone--front { top: 48px; left: 48%; }
  .scene__watch { display: none; } /* the watch gets its own section (hole 05) */
}

/* ---------- watch mock ---------- */
.watch { width: 100%; padding: 0 6%; }
.watch__body { position: relative; aspect-ratio: 0.84; display: flex; flex-direction: column; justify-content: center; background: #0F172A; border-radius: 24%/20%; padding: 10% 11%; color: #F1F5F9; box-shadow: var(--shadow-lg), inset 0 0 0 5px #1E293B; }
.watch__body::before, .watch__body::after { content: ''; position: absolute; left: 50%; width: 40%; height: 40px; transform: translateX(-50%); background: var(--surface-3); z-index: -1; }
.watch__body::before { top: -32px; border-radius: 12px 12px 0 0; }
.watch__body::after { bottom: -32px; border-radius: 0 0 12px 12px; }
.watch__crown { position: absolute; right: -7px; top: 28%; width: 7px; height: 17%; background: #334155; border-radius: 0 4px 4px 0; }
.watch__hole { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; color: #94A3B8; text-transform: uppercase; }
.watch__dist { margin: 2px 0 0; font-size: clamp(3rem, 22cqw, 4.25rem); line-height: 1; color: #fff; }
.watch__dist small { font-size: 0.35em; font-weight: 600; color: #94A3B8; margin-left: 4px; }
.watch__row { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.watch__chip { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.10); font-size: 0.6875rem; font-weight: 600; }
.watch__chip--brand { background: rgba(16, 185, 129, 0.22); color: #34D399; }
.watch__score { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #94A3B8; }
.watch__score b { color: #F1F5F9; font-size: 1.0625rem; }
.hole__watch { width: min(280px, 80%); container-type: inline-size; }
.scene__watch { container-type: inline-size; }

/* ---------- holes ---------- */
.holes .section__head { margin-bottom: clamp(24px, 3vw, 40px); }
.hole { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--border); }
.hole--rev .hole__copy { order: 2; }
.hole__copy { position: relative; }
.hole__num { display: block; font-size: clamp(4.5rem, 9vw, 7.5rem); line-height: 0.9; color: var(--surface-3); margin: 0 0 -0.2em -0.04em; user-select: none; }
.hole__copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.hole__copy > p { color: var(--text-2); font-size: 1.0625rem; }
.hole__visual { display: flex; justify-content: center; }
.hole__visual--scorecard { justify-content: stretch; }
.hole__visual--duo { position: relative; align-items: flex-start; gap: 0; min-height: 560px; }
.phone--duo { width: min(250px, 46%); }
.phone--duo-a { position: relative; z-index: 2; margin-right: -6%; }
.phone--duo-b { margin-top: 64px; }
@media (max-width: 480px) { .phone--duo { width: 48%; } .hole__visual--duo { min-height: 0; } .phone--duo-b { margin-top: 40px; } }
.checks { display: grid; gap: 12px; margin: 22px 0 8px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.checks .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); margin-top: 1px; }
.note { font-size: 0.875rem; color: var(--muted); border-left: 3px solid var(--border); padding-left: 12px; margin-top: 16px; }
@media (max-width: 860px) {
  .hole { grid-template-columns: 1fr; }
  .hole--rev .hole__copy { order: 0; }
  .hole__num { font-size: 4rem; }
}

/* scorecard mock */
.sc { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.sc__grid { display: grid; grid-template-columns: 4.25rem repeat(9, minmax(0, 1fr)) 2.75rem; gap: 6px 4px; align-items: center; }
.sc__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sc__cell { display: grid; place-items: center; aspect-ratio: 1; border-radius: 9px; font-size: clamp(0.9375rem, 1.6vw, 1.25rem); color: var(--text); background: var(--surface-2); }
.sc__cell--head { background: transparent; color: var(--muted); font-size: 0.875rem; }
.sc__cell--out { background: transparent; font-weight: 600; }
.sc__cell--total { color: var(--text); font-size: 1.375rem; }
.sc__cell--score { color: #0F172A; font-weight: 700; }
.sc--eagle { background: #FB7185; } .sc--birdie { background: #F9A8D4; } .sc--par { background: #FDE047; } .sc--bogey { background: #7DD3FC; } .sc--double { background: #3B82F6; color: #fff; }
.sc__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 0.8125rem; color: var(--text-2); }
.sc__legend-item { display: inline-flex; align-items: center; gap: 6px; }
.sc__legend-item i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sc__hcp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.tile { background: var(--surface-2); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; }
.tile--brand { background: var(--brand-soft); }
.tile__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); }
.tile__value { font-size: 2rem; line-height: 1.1; }
.tile--brand .tile__value { color: var(--brand); }
.tile__value small { font-size: 0.8125rem; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; margin-left: 8px; color: var(--brand); }
@media (max-width: 480px) { .sc { padding: 14px; } .sc__grid { grid-template-columns: 3rem repeat(9, minmax(0, 1fr)) 2rem; gap: 4px 2px; } .sc__cell { border-radius: 6px; } .sc__hcp { grid-template-columns: 1fr; } }

/* ---------- more ---------- */
.more { border-top: 1px solid var(--border); background: var(--surface); }
.more__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); }
.more__head p:last-child { color: var(--text-2); }
.more__head h2 { margin-bottom: 8px; }
.more__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.more__item { display: grid; grid-template-columns: 2.75rem 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--border); }
.more__item:nth-child(-n + 2) { border-top: 0; }
.more__num { font-size: 1.75rem; line-height: 1.1; color: var(--muted); }
.more__item h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.more__item p { margin: 0; color: var(--text-2); font-size: 0.9375rem; }
@media (max-width: 860px) {
  .more__grid { grid-template-columns: 1fr; }
  .more__list { grid-template-columns: 1fr; }
  .more__item:nth-child(2) { border-top: 1px solid var(--border); }
}

/* ---------- mosaic ---------- */
.mosaic__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; align-items: start; }
.mosaic__item { margin: 0; }
.mosaic__item:nth-child(even) { padding-top: 56px; }
.mosaic__item figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--text-2); }
@media (max-width: 900px) { .mosaic__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .mosaic__item:nth-child(even) { padding-top: 40px; } }
@media (max-width: 560px) { .mosaic__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mosaic__item:nth-child(5) { display: none; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: 92px; }
.faq__head h2 { margin-bottom: 8px; }
.faq__head p:last-child { color: var(--text-2); }
.faq__list { display: block; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { color: var(--text-2); transition: transform .2s ease; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer { padding: 0 40px 20px 0; color: var(--text-2); }
.faq__answer p { margin: 0; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ---------- download card ---------- */
.download { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 32px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 32px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.download__mark { width: 96px; height: 96px; }
.download__copy h2 { margin-bottom: 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.download__copy p { margin: 0; color: var(--text-2); }
@media (max-width: 860px) { .download { grid-template-columns: 1fr; text-align: left; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 32px 0; font-size: 0.9375rem; color: var(--text-2); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
.footer__links a:hover { color: var(--text); text-decoration: underline; }
.footer__bottom { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 720px) { .footer__links { margin-left: 0; } }

/* ---------- content pages ---------- */
.page-head { padding: clamp(40px, 6vw, 72px) 0 12px; }
.page-head h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.9375rem; }
.page-head__meta a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 76ch; padding-bottom: clamp(56px, 8vw, 104px); }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; margin-bottom: 0.6em; }
.prose h3 { font-size: 1.125rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--muted); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-weight: 600; color: var(--text-2); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; }
.prose .callout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0 0 1.5em; }
.prose .callout p:last-child { margin: 0; }
.prose .steps li { margin-bottom: 0.8em; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose .btn { text-decoration: none; }
.prose .contact { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- 404 ---------- */
.notfound { padding: clamp(64px, 10vw, 140px) 0; text-align: center; }
.notfound p { color: var(--text-2); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

@media print {
  .header, .footer, .cta, .badges, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .prose a { color: #000; }
}
