@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: Trispace;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/trispace-500.woff2") format("woff2");
}
@font-face {
  font-family: Trispace;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/trispace-600.woff2") format("woff2");
}

:root {
  --paper: #f4f5f7;
  --paper-deep: #e6e8ed;
  --card: #ffffff;
  --navy: #1a3654;
  --button: #24588a;
  --ink: #171a1f;
  --muted: #5c6570;
  --on-dark: #f5f7f8;
  --line: #d5dae1;
  --shadow: 0 16px 40px rgba(23, 28, 41, 0.08);
  --pad: 80px;
  --content: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 26px;
}
h1, h2, .figure, .amount, .steps span {
  font-family: Trispace, sans-serif;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.15;
}
h1 { font-size: 64px; line-height: 72px; margin: 0; }
h2 { font-size: 40px; line-height: 48px; margin: 0; }
h3 { font-size: 18px; line-height: 28px; margin: 0; font-family: Inter, sans-serif; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 16px;
  text-transform: uppercase;
}
.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--navy);
  display: inline-block;
}
.eyebrow.rust, .figure { color: var(--navy); }
.lead {
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0;
}
.body, .steps p, .columns p, .note p, .restore p, .price-card p {
  color: var(--muted);
}
.caption { color: var(--muted); font-size: 13px; line-height: 20px; }
.caption.accent { color: var(--navy); }
.muted-label { color: var(--muted); }

.nav, .hero, .band, .service, .restore-wrap, .price, .bottom-apply, .footer, .faq-page {
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.mark { width: 28px; height: 28px; }
.nav-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-menu a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-menu a:focus-visible,
.faq-answer a:focus-visible { outline: 2px solid var(--button); outline-offset: 2px; }
.nav-note { color: var(--muted); font-size: 13px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--button);
  color: var(--on-dark);
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  font: 500 15px/20px Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button:focus-visible, input:focus-visible { outline: 2px solid var(--button); outline-offset: 2px; }

.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 96px;
}
.hero-copy { width: min(640px, 100%); display: flex; flex-direction: column; gap: 24px; }
.apply { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: min(640px, 100%); }
.apply label { display: flex; flex-direction: column; gap: 8px; width: 100%; font-size: 13px; line-height: 20px; }
input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 0 16px;
  color: var(--muted);
  font: 400 16px/26px Inter, sans-serif;
}
input:focus { color: var(--ink); }
.form-note, .form-status { color: var(--muted); font-size: 13px; line-height: 20px; }
.form-status { color: var(--navy); }

.snapshot {
  width: min(440px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.snapshot-head, .snapshot dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.snapshot dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.snapshot dt { font-weight: 400; }
.snapshot dd { margin: 0; font-weight: 500; font-size: 15px; }
.filename {
  background: var(--paper);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 500;
}
hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 0; }

.band {
  background: var(--paper-deep);
  padding-top: 96px;
  padding-bottom: 96px;
}
.narrow { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.columns, .steps, .service, .price, .bottom-apply, .restore-wrap, .band {
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-left: auto;
  margin-right: auto;
}
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.columns article { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.figure { font-size: 40px; line-height: 48px; margin: 0; }

.service { padding-top: 96px; padding-bottom: 96px; }
.steps { list-style: none; margin: 48px 0 0; padding: 0 0 1px; border-bottom: 1px solid var(--line); }
.steps li {
  display: grid;
  grid-template-columns: 64px 180px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.steps span { color: var(--navy); font-size: 28px; line-height: 32px; }
.note {
  margin-top: 48px;
  background: var(--paper-deep);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.note p:last-child { color: var(--ink); }

.restore-wrap { padding-bottom: 80px; }
.restore {
  background: var(--button);
  color: var(--on-dark);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.restore .eyebrow, .restore h2, .restore p { color: var(--on-dark); }
.restore p { font-size: 22px; line-height: 32px; opacity: 0.9; }

.price { padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.amount { font-size: 64px; line-height: 68px; margin: 0; }
.price-card {
  width: min(560px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card h3 { margin-top: 4px; }
.bottom-apply { padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.faq-page {
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
  padding-bottom: 96px;
}
.faq-intro { max-width: min(760px, 100%); }
.faq-page h1 { font-size: 40px; line-height: 48px; }
.faq-list {
  max-width: min(760px, 100%);
  margin-top: 48px;
  border-bottom: 1px solid var(--line);
}
.faq-list article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.faq-list h2 {
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 28px;
}
.faq-answer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.faq-answer ul {
  margin: 0;
  padding-left: 1.25em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-answer a {
  color: var(--button);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-answer pre {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  padding: 16px 18px;
  overflow-x: auto;
  background: var(--paper-deep);
  border-radius: 8px;
  color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 22px;
}
.faq-answer code { font-family: inherit; }

@media (max-width: 900px) {
  :root { --pad: 24px; }
  h1 { font-size: 40px; line-height: 48px; }
  h2 { font-size: 32px; line-height: 40px; }
  .nav-note { display: none; }
  .faq-page { padding-top: 48px; padding-bottom: 64px; }
  .faq-page h1 { font-size: 32px; line-height: 40px; }
  .faq-list { margin-top: 32px; }
  .faq-list article { padding: 24px 0; }
  .hero, .columns, .steps li { display: flex; flex-direction: column; }
  .hero { padding-top: 48px; padding-bottom: 48px; }
  .band, .service { padding-top: 48px; padding-bottom: 48px; }
  .columns { gap: 8px; }
  .restore { padding: 24px 20px; }
  .restore p { font-size: 16px; line-height: 26px; }
  .restore h2 { font-size: 28px; line-height: 34px; }
  .apply .button, .nav .button { width: 100%; }
  .nav .button { width: auto; }
}

@media (max-width: 640px) {
  .nav-actions {
    flex: 1 0 100%;
    justify-content: flex-end;
    gap: 16px;
  }
}
