:root {
  --paper: #faf8f4;
  --surface: #ffffff;
  --ink: #1c1b19;
  --muted: #6b675f;
  --line: #e6e1d8;
  --accent: #2f5d50;
  --accent-soft: #e7efeb;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141412;
    --surface: #1c1c19;
    --ink: #ece9e2;
    --muted: #a19c92;
    --line: #2e2d29;
    --accent: #8fc2b0;
    --accent-soft: #1f2a26;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
:target { scroll-margin-top: 24px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 500; font-size: 23px; letter-spacing: -0.005em; }
.brand svg { width: 30px; height: 30px; color: var(--accent); }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 104px 0 88px; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 24px; max-width: 24ch; text-wrap: balance; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 36em; margin: 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; margin-top: 30px; padding: 12px 22px; border-radius: 6px; background: var(--accent); color: var(--paper); text-decoration: none; font-size: 16px; font-weight: 600; }
.button:hover { box-shadow: 0 0 0 3px var(--accent-soft); }
.product-note { color: var(--muted); font-size: 15px; margin: 20px 0 0; }
.product-note a, .support-mail { display: inline-block; padding-block: 10px; min-height: 44px; }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.section-head h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 4px 0 0; }
.section-body > p:first-child { margin-top: 0; }
.big { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 28px); line-height: 1.4; margin: 0 0 16px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.cards-2 { grid-template-columns: repeat(2, 1fr); }

.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 40px; }
.steps li { border-top: 2px solid var(--accent); padding-top: 18px; }
.step-num { display: block; font-family: var(--serif); color: var(--accent); font-size: 15px; letter-spacing: 0.08em; margin-bottom: 6px; }
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.status {display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.contact-mail { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 34px); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer address { font-style: normal; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; color: var(--muted); }

/* Legal pages */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 48px); line-height: 1.15; margin: 0 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 20px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 8px; }
  .nav .hide-sm { display: none; }
  .hero { padding: 64px 0 56px; }
  section { padding: 52px 0; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .cards, .cards-2, .steps { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
  .contact-mail { overflow-wrap: anywhere; }
  .hero .button { margin-top: 26px; }
  .site-footer nav { flex-wrap: wrap; gap: 8px 16px; }
}

/* About facts */
.facts { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts strong { font-weight: 600; }
.facts span { color: var(--muted); }
@media (max-width: 760px) {
  .facts li { grid-template-columns: 1fr; gap: 4px; }
}
