:root {
  color-scheme: light;
  --paper: #faf8f5;
  --ink: #20201f;
  --muted: #57554f;
  --line: #d3cec6;
  --red: #9b1e30;
  font-family: Inter, "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.7; }
.wrap { width: min(1152px, calc(100% - clamp(40px, 9vw, 136px))); margin-inline: auto; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.skip { position: absolute; top: -5rem; z-index: 3; background: white; padding: .55rem 1rem; }
.skip:focus { top: .5rem; }
header { border-bottom: 1px solid var(--line); }
.top, .top nav, .actions, footer { display: flex; align-items: center; }
.top { justify-content: space-between; min-height: 67px; gap: 20px; }
.brand { text-decoration: none; font-weight: 760; font-size: clamp(17px, 1.7vw, 23px); letter-spacing: -.06em; white-space: nowrap; }
.brand span { color: var(--red); }
.brand i { color: #777369; font-style: normal; font-weight: 450; padding-inline: .08em; }
.top nav { gap: clamp(14px, 2.6vw, 38px); }
.top nav a, footer a, .print { font-size: 14px; }
.top nav a { text-decoration: none; white-space: nowrap; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); grid-template-areas: "heading cover" "detail cover"; column-gap: clamp(24px,4vw,66px); padding: clamp(33px,5vw,74px) 0; border-bottom: 1px solid var(--line); }
.hero-heading { grid-area: heading; align-self: end; }
.hero-detail { grid-area: detail; }
.service { color: var(--red); font-size: 15px; font-weight: 650; margin: 0 0 12px; }
.service span { color: var(--muted); font-weight: normal; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.3; text-wrap: pretty; }
h1 { font-size: clamp(37px, 4.4vw, 64px); letter-spacing: -.055em; font-weight: 760; line-height: 1.18; }
h1 span { display: block; }
.summary { margin-top: 17px; font-size: clamp(16px, 1.34vw, 19px); color: var(--muted); max-width: 33em; }
.pricing { display: flex; align-items: center; gap: 20px; margin: 22px 0 21px; }
.pricing b { font-size: clamp(37px, 4vw, 58px); color: var(--red); line-height: 1; letter-spacing: -.046em; font-weight: 550; font-variant-numeric: tabular-nums; }
.pricing span { color: var(--muted); font-size: 15px; padding-inline-start: 17px; border-inline-start: 1px solid var(--line); }
.actions { gap: 13px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--ink); color: white; background: var(--ink); font-weight: 650; font-size: 15px; padding: 11px 23px; min-height: 46px; }
.button:hover { color: white; background: var(--red); border-color: var(--red); }
.secondary { background: transparent; color: var(--ink); }
.cover { grid-area: cover; align-self: center; }
.cover img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; display: block; }
.cover figcaption { margin-top: 9px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.cover figcaption strong { display: block; color: var(--ink); font-weight: 650; font-size: 17px; }
.cover figcaption small { display: inline-block; margin-inline-start: .5em; font-size: .85em; }
.band { padding: clamp(35px, 5.3vw, 73px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1.5rem; }
h2 { font-size: clamp(26px, 3vw, 41px); letter-spacing: -.045em; }
h3 { font-size: 19px; letter-spacing: -.018em; }
.section-intro, .decision, .costs p, .gateway p { color: var(--muted); margin-top: 16px; max-width: 55em; }
.scope { margin-top: 29px; }
.scope-row { display: grid; grid-template-columns: minmax(120px,.65fr) minmax(150px,.9fr) 2.5fr; gap: 22px; align-items: baseline; border-top: 1px solid var(--line); padding: 19px 0; }
.scope-row:last-child { padding-bottom: 0; }
.scope-row strong { color: var(--red); font-size: clamp(21px, 2.2vw, 30px); line-height: 1.25; font-weight: 620; letter-spacing: -.03em; }
.scope-row p, .steps p, dd { color: var(--muted); }
.gateway, .costs { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(34px, 8vw, 110px); align-items: center; }
.route { border-top: 1px solid var(--line); }
.route > div { border-bottom: 1px solid var(--line); padding: 14px 0; display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.route b { color: var(--red); }
.route span { font-size: 14px; color: var(--muted); text-align: right; }
.steps { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 27px 0; }
.steps li { border-top: 1px solid var(--line); padding-top: 14px; }
.steps p, .example p { margin-top: 9px; }
.example { background: #f0ede7; border-left: 3px solid var(--red); padding: 20px 24px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.example-links { display: grid; gap: 7px; flex-shrink: 0; }
.example a, th a { font-size: 14px; color: var(--red); }
table { width: 100%; border-collapse: collapse; margin-top: 28px; text-align: left; }
th, td { padding: 17px 16px 17px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { border-top: 1px solid var(--ink); color: var(--muted); font-size: 14px; font-weight: 600; }
tbody th { width: 26%; }
tbody td:nth-child(2) { width: 29%; }
th span, td small, .calc small { display: block; font-size: 14px; color: var(--muted); font-weight: normal; }
tbody th span, td small { margin-top: 5px; }
.ours th, .ours strong { color: var(--red); }
.decision { font-weight: 550; color: var(--ink); }
.calc { padding: 25px 27px; background: #eeebe5; }
.calc summary { cursor: pointer; font-weight: 650; }
.calc summary::marker { color: var(--red); }
.calc label { display: block; color: var(--muted); font-size: 14px; margin: 15px 0 4px; }
.calc input { width: 100%; max-width: 15em; padding: 7px 10px; font: inherit; font-variant-numeric: tabular-nums; color: var(--ink); border: 1px solid #948e85; background: var(--paper); }
.result { display: flex; gap: 10px; align-items: baseline; margin: 12px 0 5px; color: var(--red); }
.result output { font-size: 32px; font-weight: 650; }
.terms { margin-top: 24px; }
.terms div { display: grid; grid-template-columns: minmax(200px,.9fr) 2fr; gap: 24px; border-top: 1px solid var(--line); padding: 16px 0; }
dt { font-weight: 650; }
.contact { background: #242321; color: white; padding: clamp(42px,5vw,70px) 0; }
.end { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.end p { margin-top: 14px; color: #e9e4dc; max-width: 41em; }
.end > div:last-child { flex-shrink: 0; }
.inverse { background: var(--paper); color: var(--ink); }
.email { display: block; margin-top: 8px; font-size: 14px; color: #efe9df; }
.email:hover { color: white; }
footer { flex-wrap: wrap; gap: 14px 24px; min-height: 78px; padding: 17px 0; }
footer span { font-weight: 650; margin-inline-end: auto; }
.print { background: transparent; color: var(--ink); border: 0; padding: 0; font-family: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .23em; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .top { min-height: 58px; gap: 10px; }
  .top nav { gap: 12px; }
  .top nav a { font-size: 13px; }
  .brand { font-size: 18px; }
  h1 { font-size: clamp(36px,8vw,50px); }
  .hero { grid-template-columns: 1fr; grid-template-areas: "heading" "cover" "detail"; row-gap: 17px; }
  .hero .summary { margin: 0; max-width: none; }
  .cover img { aspect-ratio: 1.8; }
  .scope-row { grid-template-columns: minmax(90px,.7fr) 1.4fr; gap: 8px 12px; }
  .scope-row p { grid-column: 1 / -1; }
  .gateway, .costs, .steps, .terms div { grid-template-columns: 1fr; }
  .gateway, .costs { gap: 22px; }
  .steps { gap: 15px; }
  .terms div { gap: 5px; }
  .example, .end { display: block; }
  .example-links { margin-top: 12px; justify-items: start; }
  .end > div:last-child { margin-top: 18px; }
  table, tbody, tbody tr, tbody th, tbody td { display: block; width: 100%; }
  thead { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { border-top: 1px solid var(--line); padding: 14px 0; }
  tbody td:nth-child(2) { width: 100%; }
  tbody td, tbody th { border: 0; padding: 3px 0; }
  tbody th span { display: inline-block; margin-left: 12px; }
  footer span { width: 100%; }
}
@media (max-width: 480px) {
  .top { flex-wrap: wrap; padding-block: 9px; gap: 3px 15px; }
  .top .brand { font-size: 17px; }
  .actions { gap: 8px; }
  .actions .button { padding-inline: 14px; }
  .pricing { gap: 13px; }
  .pricing span { font-size: 14px; padding-inline-start: 12px; }
  .route > div { display: block; }
  .route span { display: block; text-align: left; }
}
@media (max-width: 365px) {
  .top { flex-wrap: wrap; padding: 9px 0; }
}
@media print {
  @page { size: A4; margin: 10mm 12mm; }
  :root { background: white; color: black; }
  body { font-size: 9.5pt; line-height: 1.45; }
  .wrap { width: 100%; }
  .top { min-height: 25px; }
  .top nav, .actions, footer, .skip, .contact .button { display: none; }
  .hero, .band, .contact { padding: 13px 0; }
  .hero { grid-template-columns: 1fr 1fr; grid-template-areas: "heading cover" "detail cover"; gap: 4mm; }
  .service { font-size: 9pt; margin-bottom: 2mm; }
  .pricing { margin: 8px 0; }
  .cover img { height: auto; width: 100%; aspect-ratio: 1.55; }
  .cover figcaption, .cover figcaption strong { font-size: 9pt; }
  h1 { font-size: 28pt; }
  h2 { font-size: 17pt; }
  h3, .summary { font-size: 11pt; }
  .scope-row, .terms div { padding: 6px 0; }
  .scope, .steps, .terms, table { margin: 10px 0; }
  .scope-row p, .steps p, dd, .summary { color: #282828; }
  tr, .scope-row, .steps li, .example, .calc, .terms div, .contact { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .calc { display: none; }
  .costs { display: block; }
  .contact, .end p, .email { color: black; background: white; }
  .hero, .band, .contact { padding: 7px 0; }
  h1 { font-size: 25pt; }
  h2 { font-size: 15pt; }
  .cover img { max-height: 43mm; }
  .cover figcaption { margin-top: 4px; }
  .summary, .section-intro, .decision, .gateway p, .costs p, .end p { margin-top: 6px; }
  .example { padding: 8px 12px; }
  .steps li, .steps p, .example p { padding-top: 4px; margin-top: 0; }
  .scope-row strong { font-size: 14pt; }
  .route > div { padding: 5px 0; }
  .gateway { grid-template-columns: 1.25fr 1fr; gap: 7mm; }
  .route span { font-size: 9pt; }
  .scope-row { padding: 3px 0; gap: 12px; }
  .scope, .steps { margin: 6px 0; }
  th, td { padding: 8px 10px 8px 0; }
  #market { break-before: page; }
}
