:root {
  color-scheme: light dark;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --text: #1c1e21;
  --muted: #4f545b;
  --line: #d8d5cc;
  --accent: #1d5b84;
  --accent-hover: #164a6c;
  --accent-text: #ffffff;
  --accent-soft: #e2ecf3;
  --skeleton: #e7e4dd;
  --shadow: rgba(28, 30, 33, 0.22);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141619;
    --surface: #1d2024;
    --text: #ecebe7;
    --muted: #b0b4ba;
    --line: #3b3f46;
    --accent: #8cc3ea;
    --accent-hover: #a9d3f1;
    --accent-text: #0c1923;
    --accent-soft: #1d2d3a;
    --skeleton: #2d3137;
    --shadow: rgba(0, 0, 0, 0.5);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main { flex: 1; }
.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { margin: 0; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2.125rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.1875rem; font-weight: 650; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.nw { white-space: nowrap; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; min-height: 4.25rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.mark { flex: none; width: 2rem; height: 2rem; }
.mark .tile { fill: var(--accent); }
.mark .sheet { fill: var(--surface); }
.mark .fold { fill: var(--accent-soft); }
.mark .rule { fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; }

.hero { padding: 3rem 0 3.5rem; }
.hero .wrap { display: grid; gap: 3rem; align-items: center; }
.lead { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.1875rem; }
.actions { margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--accent-hover); color: var(--accent-text); }

.mock { display: none; }
.mock-url {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.8125rem;
  white-space: nowrap;
}
.mock-url svg { flex: none; width: 0.8rem; height: 0.8rem; }
.mock-url .shackle { fill: none; stroke: currentColor; stroke-width: 1.6; }
.mock-url .body { fill: currentColor; }
.mock-screen { display: grid; gap: 0.6rem; padding: 0.9rem 0.35rem 1.1rem; }
.mock-hero { height: 8.5rem; border-radius: 1rem; background: var(--accent-soft); }
.mock-line { height: 0.7rem; border-radius: 999px; background: var(--skeleton); }
.mock-line.title { width: 72%; height: 1.1rem; margin-top: 0.3rem; background: var(--muted); }
.mock-line.short { width: 55%; }
.mock-row { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.mock-pill { flex: 1; height: 2rem; border-radius: 999px; background: var(--accent); }
.mock-pill.ghost { background: transparent; border: 2px solid var(--accent); }
.mock-block { height: 4.25rem; margin-top: 0.3rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--bg); }

.section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.section h2 { margin-bottom: 1.75rem; }

.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: 1rem;
  align-content: start;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.steps h3 { margin: 0.35rem 0 0.4rem; }
.steps p { color: var(--muted); }

.plans { display: grid; gap: 1rem; max-width: 56rem; }
.plan { padding: 1.5rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--surface); }
.plan.main { border: 2px solid var(--accent); }
.plan h3 { color: var(--muted); font-size: 1.0625rem; font-weight: 600; }
.amount { margin: 0.4rem 0 1.1rem; font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.amount span { color: var(--muted); font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; }
.ticks { display: grid; gap: 0.6rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.3em;
  width: 0.45rem;
  height: 0.8rem;
  border: solid var(--accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.note { padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }

.facts { display: grid; gap: 1.75rem; }
.facts > div { padding-top: 1rem; border-top: 3px solid var(--accent); }
.facts h3 { margin-bottom: 0.5rem; }
.facts p { color: var(--muted); }

.contact-box { max-width: 46rem; padding: 2rem 1.5rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--surface); }
.contact-box h2 { margin-bottom: 0.75rem; }
.contact-box p { color: var(--muted); }
.contact-box .actions { margin-top: 1.5rem; }

.doc { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.doc > * { max-width: 44rem; }
.doc h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.625rem); }
.dated { margin: 0.6rem 0 2rem; color: var(--muted); }
.doc h2 { margin: 2.25rem 0 0.75rem; font-size: 1.3125rem; }
.doc ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.doc li { margin-bottom: 0.45rem; }
.doc li::marker { color: var(--accent); }

.foot { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 1rem; }
.foot-links a { color: var(--text); }
.foot-links a[aria-current="page"] { font-weight: 600; text-decoration: none; }
.foot p { max-width: 46rem; }

@media (min-width: 40rem) {
  .wrap { padding: 0 2rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 46rem) {
  .plans { grid-template-columns: 1.15fr 1fr; align-items: start; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .contact-box { padding: 2.5rem; }
}
@media (min-width: 56rem) {
  .hero { padding: 5rem 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; }
  .mock {
    display: block;
    width: 17.5rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 2rem;
    background: var(--surface);
    box-shadow: 0 1.5rem 3rem -1.5rem var(--shadow);
  }
  .section { padding: 4.5rem 0; }
  .doc { padding-top: 4rem; padding-bottom: 5rem; }
}
@media (min-width: 64rem) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { display: block; }
  .steps li::before { margin-bottom: 0.9rem; }
  .steps h3 { margin-top: 0; }
}
