/* Secondary pages share the quiet paper-and-green direction of the homepage. */
:root {
  color-scheme: light;
  --paper: #f4f6f5;
  --paper-alt: #eaf0ed;
  --surface: #fcfdfb;
  --glass: rgb(252 253 251 / 78%);
  --ink: #183b39;
  --soft: #3f5c58;
  --muted: #586d67;
  --line: #cedad4;
  --accent: #146d64;
  --accent-ink: #fbfdf9;
  --accent-soft: #daeee5;
  --blue: var(--accent);
  --blue-deep: var(--accent);
  --blue-soft: var(--accent-soft);
  --panel: var(--surface);
  --panel-solid: var(--surface);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --max: 1240px;
  font-family: var(--sans);
  font-synthesis: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111e21;
  --paper-alt: #19292c;
  --surface: #1d3033;
  --glass: rgb(29 48 51 / 84%);
  --ink: #e2ece4;
  --soft: #c0d2c9;
  --muted: #a0b9b0;
  --line: #38504f;
  --accent: #9ed9c2;
  --accent-ink: #163a32;
  --accent-soft: #254b43;
}
html { scroll-padding-top: 112px; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; }
::selection { color: var(--accent-ink); background: var(--accent); }
input, textarea { caret-color: var(--accent); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { top: 12px; left: 16px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.site-header { align-items: center; flex-wrap: nowrap; gap: 32px; padding: 22px max(48px, calc((100vw - var(--max)) / 2)); background: var(--glass); border-color: var(--line); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.brand { gap: 10px; font-size: 29px; font-weight: 750; letter-spacing: -.065em; line-height: 1; }
.brand-icon { width: 36px; height: 36px; border-radius: 9px; box-shadow: none; }
.brand-icon.small { width: 32px; height: 32px; }
.brand-dot { color: var(--accent); }
.nav-links { order: 0; width: auto; justify-content: center; overflow: visible; gap: 24px; margin-inline: auto; padding: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.nav-links a::after { content: none; }
.nav-links a[aria-current="page"], .site-footer a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.header-tools { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.theme-toggle { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 0; color: var(--soft); font-size: 12px; cursor: pointer; }
.theme-symbol { font-size: 22px; line-height: 1; }
.header-cta { width: auto; min-height: 42px; padding: 8px 18px; border-radius: 24px; color: var(--accent-ink); background: var(--accent); font-size: 12px; font-weight: 650; }
.mobile-nav { display: none; position: relative; font-size: 13px; }
.mobile-nav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 24px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; color: var(--accent); font-size: 18px; line-height: 1; }
.mobile-nav[open] summary::after { content: "−"; }
.mobile-nav nav { position: absolute; inset: calc(100% + 14px) 0 auto auto; width: min(280px, calc(100vw - 40px)); padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 45px rgb(10 30 25 / 14%); }
.mobile-nav a { display: block; padding: 12px; border-radius: 7px; }
.mobile-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.content-page { flex: 1; width: min(1140px, calc(100% - 96px)); padding-block: clamp(56px, 7vw, 100px) 96px; }
.content-hero, .policy-body, .support-grid article, .contact-panel, .timeline article, .checkout-panel { border: 0; border-radius: 0; background: transparent; box-shadow: none; transition: none; }
.content-hero { padding: 0 0 42px; border-bottom: 1px solid var(--line); }
.content-hero h1, .checkout-panel h1 { font-family: var(--serif); font-size: clamp(48px, 6.5vw, 78px); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; }
.content-hero p { max-width: 620px; margin-top: 24px; color: var(--soft); font-size: 17px; line-height: 1.75; }
.content-hero span { margin-top: 16px; color: var(--muted); font-size: 12px; }
.policy-body { max-width: 780px; margin: 48px 0 0; padding: 0; }
.policy-body h2, .support-grid h2, .contact-panel h2, .timeline h2 { color: var(--ink); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.policy-body h2:not(:first-child) { margin-top: 42px; }
.policy-body p { margin-top: 12px; }
.policy-body p, .support-grid p, .contact-panel p, .timeline li { color: var(--soft); font-size: 15px; line-height: 1.8; }
.policy-body a, .contact-panel a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 0; margin-top: 16px; }
.support-grid article { min-width: 0; padding: 32px 0; border-bottom: 1px solid var(--line); }
.support-grid p { margin: 14px 0 0; }
.contact-panel { margin-top: 48px; padding: 30px 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-alt); }
.contact-panel p { max-width: 780px; margin: 12px 0 0; }
.timeline { max-width: 900px; margin-top: 16px; }
.timeline article { margin: 0; padding: 36px 0; border-bottom: 1px solid var(--line); }
.timeline time { display: block; margin-bottom: 12px; color: var(--accent); font-size: 12px; font-weight: 600; }
.timeline h2 { max-width: 740px; font-size: 25px; font-weight: 500; }
.timeline ul { max-width: 780px; margin: 18px 0 0; padding-inline-start: 22px; }
.timeline li + li { margin-top: 8px; }
.checkout-panel { max-width: 760px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.checkout-panel .price-icon { width: 52px; height: 52px; margin-bottom: 32px; border-radius: 13px; box-shadow: none; }
.checkout-panel .checkout-kicker { color: var(--accent); font-size: 12px; font-weight: 650; margin: 0 0 20px; letter-spacing: .05em; }
.checkout-panel h1 { margin: 0 0 24px; font-size: clamp(40px, 5vw, 62px); }
.checkout-panel p { color: var(--soft); font-size: 15px; line-height: 1.8; }
.checkout-panel .button { margin-top: 8px; }
.button { min-height: 48px; padding: 12px 22px; border-radius: 26px; font-size: 13px; font-weight: 650; white-space: normal; line-height: 1.45; text-align: center; }
.button.primary { color: var(--accent-ink); background: var(--accent); }
.button.secondary { color: var(--ink); border-color: var(--line); background: transparent; }
.button:hover, .header-cta:hover { border-color: var(--accent); }
.button.secondary:hover { background: var(--paper-alt); }
.button:disabled { pointer-events: auto; cursor: not-allowed; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-actions .button { margin-top: 0; }
.checkout-panel > .button + .button { margin-inline-start: 8px; }
.checkout-panel .download-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.success-panel textarea, .owner-panel input, .owner-panel select, .owner-panel textarea { color: var(--ink); background: var(--paper); border-color: var(--line); border-radius: 10px; }
.success-panel textarea { min-height: 132px; padding: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.owner-panel label { margin-top: 22px; color: var(--soft); font-size: 13px; font-weight: 600; }
.owner-panel input, .owner-panel select { height: 48px; padding-inline: 14px; }
.owner-panel input::placeholder { color: var(--muted); opacity: 1; }
.owner-panel textarea { padding: 16px; }
.site-footer { display: grid; grid-template-columns: auto 1fr auto auto; align-items: start; gap: 32px; width: min(calc(100% - 96px), var(--max)); padding-block: 36px 44px; border-color: var(--line); color: var(--muted); font-size: 12px; }
.site-footer p { margin: 0; line-height: 1.8; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink); font-size: 12px; font-weight: 500; }
.site-footer .back-top { min-height: 44px; display: inline-flex; align-items: center; color: var(--soft); white-space: nowrap; }
.site-footer a:hover { color: var(--accent); }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .header-tools { margin-inline-start: auto; }
  .mobile-nav { display: block; }
  .site-footer { grid-template-columns: auto 1fr auto; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 720px) {
  .site-header { padding: 16px 24px; gap: 16px; }
  .header-tools { gap: 16px; }
  .content-page { width: calc(100% - 48px); padding-block: 48px 64px; }
  .content-hero { padding-bottom: 32px; }
  .content-hero p { font-size: 16px; }
  .policy-body { margin-top: 32px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid article { padding-block: 26px; }
  .contact-panel { margin-top: 32px; padding: 24px; }
  .timeline article { padding-block: 28px; }
  .timeline h2 { font-size: 22px; }
  .checkout-panel { padding: 28px; }
  .hero-actions .button { width: auto; }
  .site-footer { width: calc(100% - 48px); gap: 24px; padding-block: 28px 36px; }
}
@media (max-width: 620px) {
  .site-header { padding: 14px 20px; }
  .site-header .brand { font-size: 26px; gap: 8px; }
  .site-header .brand-icon { width: 32px; height: 32px; }
  .site-header .header-cta { display: none; }
  .header-tools { gap: 12px; }
  .mobile-nav summary { padding-inline: 12px; }
  .content-page, .site-footer { width: calc(100% - 40px); }
  .content-hero h1 { font-size: clamp(42px, 11vw, 60px); }
  .checkout-panel { padding: 24px 20px; border-radius: 16px; }
  .checkout-panel h1 { font-size: clamp(36px, 9vw, 50px); }
  .checkout-panel > .button { display: flex; width: 100%; }
  .checkout-panel > .button + .button { margin-inline-start: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer .back-top { grid-column: 1 / -1; grid-row: 3; }
  .site-footer nav { column-gap: 22px; row-gap: 4px; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: var(--soft); --line: var(--soft); }
  .site-header { background: var(--surface); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
