/* Fishing Calendar website — shared styles.
   Colors come from the app's CalendarTheme (DesignTheme.swift). */

:root {
  --bg: #F6F8F4;
  --bg-alt: #EDF2EA;
  --surface: #FFFFFF;
  --text: #16241C;
  --text-secondary: #55665A;
  --text-faint: #6F8275;
  --accent: #2F7A55;
  --accent-strong: #22563C;
  --accent-soft: #E4F0E7;
  --on-accent: #FFFFFF;
  --red: #C1443A;
  --red-soft: #F0C4BC;
  --blue: #2E6FA8;
  --pressure-bg: #E8EFF5;
  --pressure-ink: #3D6382;
  --weight-bg: #F5EFE2;
  --weight-ink: #8A6E3C;
  --day-empty: #F6F9F5;
  --border: #E3EAE0;
  --shadow: rgba(20, 40, 28, 0.08);
  --phone-frame: #16241C;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 16px;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1210;
    --bg-alt: #111814;
    --surface: #171D19;
    --text: #F2F5F0;
    --text-secondary: #9FB3A4;
    --text-faint: #7F9185;
    --accent: #6FCB94;
    --accent-strong: #8FE3B0;
    --accent-soft: #1B3327;
    --on-accent: #0D1210;
    --red: #D9695E;
    --red-soft: #4A2E28;
    --blue: #3E86C4;
    --pressure-bg: #1C2A38;
    --pressure-ink: #7FB2DE;
    --weight-bg: #332A18;
    --weight-ink: #D9B36C;
    --day-empty: #141A16;
    --border: #222922;
    --shadow: rgba(0, 0, 0, 0.4);
    --phone-frame: #2A332D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1210;
  --bg-alt: #111814;
  --surface: #171D19;
  --text: #F2F5F0;
  --text-secondary: #9FB3A4;
  --text-faint: #7F9185;
  --accent: #6FCB94;
  --accent-strong: #8FE3B0;
  --accent-soft: #1B3327;
  --on-accent: #0D1210;
  --red: #D9695E;
  --red-soft: #4A2E28;
  --blue: #3E86C4;
  --pressure-bg: #1C2A38;
  --pressure-ink: #7FB2DE;
  --weight-bg: #332A18;
  --weight-ink: #D9B36C;
  --day-empty: #141A16;
  --border: #222922;
  --shadow: rgba(0, 0, 0, 0.4);
  --phone-frame: #2A332D;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover { color: var(--text); background: var(--accent-soft); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .nav-cta {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  margin-left: 6px;
}
.site-nav .nav-cta:hover { background: var(--accent-strong); color: var(--on-accent); }

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 16px; }
  .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- Store buttons ---------- */

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  border: 1px solid var(--text);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px var(--shadow); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn small {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  opacity: .8;
  font-weight: 500;
}
.store-btn strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.store-btn.soon {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  cursor: default;
}
.store-btn.soon:hover { transform: none; box-shadow: none; }

/* ---------- Landing: hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 80%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  z-index: -1;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero .lede {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 34em;
  margin: 0 0 32px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--text-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--accent); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 560px;
}

@media (max-width: 900px) {
  .hero { padding: 36px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; }
}

/* ---------- Phone mockups (built in HTML so they stay sharp and themed) ---------- */

.phone {
  width: 280px;
  flex-shrink: 0;
  border-radius: 44px;
  background: var(--phone-frame);
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(20, 40, 28, .35), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.phone-screen {
  position: relative;
  border-radius: 35px;
  background: var(--bg);
  overflow: hidden;
  height: 560px;
  padding: 40px 14px 14px;
  font-size: 11px;
  line-height: 1.35;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: #000;
}
.phone.back {
  position: absolute;
  transform: translate(120px, 40px) rotate(6deg) scale(.9);
  opacity: .96;
}
.phone.front {
  position: relative;
  z-index: 2;
  transform: translateX(-70px) rotate(-3deg);
}
@media (max-width: 900px) {
  .phone.back { display: none; }
  .phone.front { transform: none; }
}

.ps-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ps-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.ps-sub { color: var(--text-faint); font-size: 10.5px; }
.ps-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
}
.ps-icon svg { width: 13px; height: 13px; }

.ps-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 8px;
}
.ps-weekdays, .ps-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
}
.ps-weekdays { color: var(--text-faint); font-size: 9px; font-weight: 600; margin-bottom: 4px; }
.ps-grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--day-empty);
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  position: relative;
}
.ps-grid span.o { background: transparent; color: transparent; }
.ps-grid span.c { background: var(--accent); color: var(--on-accent); }
.ps-grid span.n { background: var(--red); color: #fff; }
.ps-grid span.s { background: var(--blue); color: #fff; }
.ps-grid span.t { box-shadow: inset 0 0 0 1.5px var(--accent); }
.ps-grid span i {
  position: absolute;
  bottom: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .7;
}

.ps-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.ps-stat {
  border-radius: 12px;
  padding: 8px;
}
.ps-stat b { display: block; font-size: 14px; font-weight: 700; }
.ps-stat small { font-size: 9px; opacity: .85; }
.ps-stat.catch { background: var(--accent-soft); color: var(--accent); }
.ps-stat.press { background: var(--pressure-bg); color: var(--pressure-ink); }
.ps-stat.weight { background: var(--weight-bg); color: var(--weight-ink); }

.ps-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--border);
}
.ps-row:first-of-type { border-top: none; }
.ps-row img {
  width: 46px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}
.ps-row div { flex: 1; min-width: 0; }
.ps-row strong { display: block; font-size: 11px; color: var(--text); }
.ps-row small { color: var(--text-faint); font-size: 9.5px; }
.ps-row .w { font-weight: 700; color: var(--text); font-size: 11px; }
.ps-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 2px 0 6px;
}

.ps-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 110px;
  padding-top: 6px;
}
.ps-bars span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: var(--accent-soft);
}
.ps-bars span.max { background: var(--accent); }
.ps-bar-labels {
  display: flex;
  gap: 5px;
  margin-top: 4px;
  color: var(--text-faint);
  font-size: 8.5px;
  text-align: center;
}
.ps-bar-labels span { flex: 1; }

.ps-record {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ps-record img { width: 92px; height: 46px; object-fit: contain; }
.ps-record b { font-size: 18px; display: block; color: var(--text); }
.ps-trophy {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  color: var(--weight-ink);
  background: var(--weight-bg);
  border-radius: 999px;
  padding: 1px 7px;
  margin-bottom: 2px;
}

.ps-hours {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 1.5px;
  height: 22px;
  align-items: end;
}
.ps-hours span { background: var(--accent); border-radius: 2px; opacity: .25; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.section-head p {
  color: var(--text-secondary);
  font-size: 17px;
  margin: 0;
}
@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--accent);
}
.feature-icon.blue { background: var(--pressure-bg); color: var(--pressure-ink); }
.feature-icon.gold { background: var(--weight-bg); color: var(--weight-ink); }
.feature-icon.red { background: var(--red-soft); color: var(--red); }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}
.feature .platform-note {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-faint);
}
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step { min-width: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--text-secondary); font-size: 15.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Species strip */
.species-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 20px 20px;
  margin-inline: -20px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.species {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  text-align: center;
}
.species img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  margin-bottom: 14px;
}
.species strong { display: block; font-size: 15px; }
.species small { color: var(--text-faint); font-size: 12.5px; font-style: italic; }

/* Privacy band */
.privacy-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.privacy-band .section-head { margin-bottom: 24px; }
.promise-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.promise-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}
.promise-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.promise-list strong { display: block; font-size: 15.5px; }
.promise-list span { color: var(--text-secondary); font-size: 14.5px; }
@media (max-width: 860px) { .privacy-band { grid-template-columns: 1fr; gap: 24px; } }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 16px; height: 16px; }

/* Platform comparison */
.platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.platform {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.platform .store-buttons { margin-top: auto; }
.platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.platform h3 { font-size: 22px; margin: 0; letter-spacing: -0.01em; }
.badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}
.badge.muted { background: var(--weight-bg); color: var(--weight-ink); }
.platform ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.platform li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}
.platform li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } }

/* FAQ teaser */
.faq-list { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 20px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  font-size: 16px;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { margin: 0 0 18px; color: var(--text-secondary); font-size: 15px; }

/* Final CTA */
.cta {
  text-align: center;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 28px;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.cta img.cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.cta h2 { color: inherit; margin-bottom: 12px; }
.cta p { margin: 0 auto 32px; max-width: 32em; opacity: .9; font-size: 17px; }
.cta .store-buttons { justify-content: center; }
.cta .store-btn { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.cta .store-btn.soon { background: transparent; color: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 45%, transparent); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  color: var(--text-faint);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Legal / support pages ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}
.doc h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  text-wrap: balance;
}
.doc .updated { color: var(--text-faint); font-size: 14px; margin: 0 0 28px; }
.doc .intro { color: var(--text-secondary); font-size: 17px; margin: 0 0 12px; }
.doc section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.doc .section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.doc h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
  text-wrap: balance;
}
.doc h3 { font-size: 16px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text-secondary); }
.doc p { margin: 0 0 14px; }
.doc p strong, .doc li strong { color: var(--text); }
.doc ul { margin: 0 0 14px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.toc a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}
.toc a:hover { color: var(--accent); border-color: var(--accent); }

.data-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.data-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.data-card h3::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.data-card p { margin: 0; font-size: 15px; }
.data-card p + p { margin-top: 8px; }

.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  vertical-align: 1px;
  margin-right: 4px;
}
.tag.android { background: var(--weight-bg); color: var(--weight-ink); }

.not-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.not-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
}
.not-item svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; margin-top: 4px; }
@media (max-width: 560px) { .not-list { grid-template-columns: 1fr; } }

.contact-box {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 8px 0 0;
}
.contact-box p { margin: 0 0 10px; font-size: 15px; }
.contact-box .reply { margin: 12px 0 0; font-size: 13.5px; color: var(--text-faint); }
.email-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.email-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.email-value:hover { color: var(--accent); }
.copy-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.copy-btn:active { transform: scale(.97); }

.path {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}

.support-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0 0;
}
.support-topics a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.support-topics a small { display: block; color: var(--text-faint); font-weight: 500; font-size: 13px; }
.support-topics a:hover { border-color: var(--accent); }
@media (max-width: 620px) { .support-topics { grid-template-columns: 1fr; } }

.qa { padding: 20px 0; border-top: 1px solid var(--border); }
.qa:first-of-type { border-top: none; padding-top: 4px; }
.qa h3 { font-size: 17px; margin: 0 0 8px; color: var(--text); }
.qa p { margin: 0 0 8px; font-size: 15.5px; }
.qa p:last-child { margin-bottom: 0; }
