:root {
  --ink: #202227;
  --muted: #535256;
  --paper: #f9f7f4;
  --white: #fff;
  --line: #ded9d5;
  --coral: #e85d4a;
  --peach: #f8e6df;
  --wash: #fff9f6;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.section-shell, .header-inner, .site-footer { width: min(100% - 80px, 1080px); margin-inline: auto; }
.section-shell { padding-block: 72px; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 16px; }
.view-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.view-switch a { padding: 7px 13px; border-radius: 5px; text-align: center; text-decoration: none; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.view-switch a:hover { text-decoration: underline; }
.view-switch a[aria-current="true"] { background: var(--ink); color: var(--white); }
.comparison-links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-block: 21px 0; font-size: .9rem; font-weight: 600; }
.comparison-links + .hero { padding-block-start: 52px; }
main [id] { scroll-margin-top: 6rem; }
.brand { font: 700 1.6rem/1.05 var(--serif); text-decoration: none; }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px 36px; }
.site-footer span { color: var(--muted); font-size: .875rem; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.02; letter-spacing: -.017em; text-wrap: balance; }
h1 { max-width: 930px; font-size: clamp(3.25rem, 7.1vw, 6.3rem); }
h1 em { display: block; font-weight: 600; }
h2 { font-size: clamp(2.55rem, 4.8vw, 4rem); }
h3 { font-size: 1.8rem; }
.hero { padding-block: 76px 72px; border-bottom: 1px solid var(--line); }
.section-kicker { margin-bottom: 18px; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.section-kicker span { display: inline-block; width: 24px; height: 3px; margin-inline-end: 7px; vertical-align: middle; background: var(--coral); }
.hero-letter { max-width: 690px; margin-top: 26px; }
.hero-letter > p + p { margin-top: 14px; }
.domain-note { display: inline-block; padding: 7px 14px; border-left: 3px solid var(--coral); background: var(--wash); font-size: .9rem; overflow-wrap: anywhere; }
.domain-note span, .monthly { color: var(--muted); }
.section-intro { margin-bottom: 27px; }
.section-intro > p { max-width: 710px; margin-top: 9px; color: var(--muted); }

.choice-grid, .price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice-card, .price-card, .result-card { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); min-width: 0; }
.platform-choice > .section-shell { padding-block: clamp(40px, 5vw, 56px); }
.choice-card ul { display: grid; gap: 6px; margin: 14px 0 0; padding-inline-start: 1.2em; }
.choice-card li::marker { color: var(--coral); }
.price-card { border-top: 3px solid var(--coral); }
.platform-line { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.plan-pill { padding: 3px 10px; border-radius: 20px; background: var(--peach); font-size: .875rem; font-weight: 600; }
.price, .result-total { font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: 1.12; font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.price { margin-top: 20px; }
.price small, .result-total small { font: 400 .875rem var(--sans); letter-spacing: normal; white-space: nowrap; }
.monthly { margin-top: 4px; font-size: .875rem; }
.included { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.baseline-note { max-width: 780px; margin-top: 19px; color: var(--muted); }

.proposal-hero { padding-block: clamp(44px, 6vw, 76px) 38px; }
.proposal-hero h1 { max-width: 990px; font-size: clamp(3.4rem, 8.3vw, 7.1rem); }
.proposal-hero h1 em { display: inline; }
.proposal-hero .proposal-date { display: inline; margin-inline: 10px 0; background: none; width: auto; height: auto; color: var(--muted); font-weight: 500; vertical-align: baseline; }
.proposal-lead { margin-top: 19px; max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.proposal-overview { margin-top: 27px; }
.proposal-option-link { display: grid; justify-items: start; align-content: start; gap: 7px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); text-decoration: none; }
.proposal-option-link:hover { border-color: var(--ink); }
.proposal-option-link > span:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; font-weight: 700; }
.proposal-option-link:hover > span:first-child { text-decoration: underline; }
.proposal-option-link > span:last-child { font-size: .875rem; color: var(--muted); }
.proposal-option-link > strong { font-size: 1.95rem; font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.proposal-links { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 22px; font-size: .875rem; font-weight: 600; }
.proposal-hero + .proposal-section { border-top: 1px solid var(--line); }
.proposal-section { padding-block: clamp(40px, 6vw, 65px); }
.proposed-domain { overflow-wrap: anywhere; }
.proposal-card { min-width: 0; padding: clamp(17px, 3vw, 25px); background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.recommended-option { border-color: #d69688; background: var(--wash); }
.proposal-card h4 { margin: 21px 0 0; font-size: 1rem; line-height: 1.35; }
.proposal-card p, .proposal-card ul { margin-block-start: 9px; }
.proposal-card ul { display: grid; gap: 6px; margin-block-end: 0; padding-inline-start: 1.2em; }
.proposal-card li::marker { color: var(--coral); }
.build-card .plan-pill { display: inline-block; margin-bottom: 10px; }
.build-card .price { margin-top: 13px; }
.build-card .payment-schedule, .support-price { color: var(--muted); font-weight: 600; }
.proposal-table-frame { border: 1px solid var(--line); overflow: hidden; border-radius: 9px; }
.proposal-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.proposal-table th, .proposal-table td { padding: 12px 16px; vertical-align: top; overflow-wrap: anywhere; }
.proposal-table thead, .proposal-table tbody tr:last-child { background: var(--paper); }
.proposal-table tbody tr { border-top: 1px solid var(--line); }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.proposal-byline { margin-top: 23px; color: var(--muted); font-size: .9rem; }

.band { background: var(--paper); border-block: 1px solid var(--line); }
.calculator-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 22px; }
.service-panel { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.service-option, .fit-options label { display: flex; gap: 12px; align-items: start; padding: 13px 15px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.service-option:hover, .fit-options label:hover { border-color: var(--ink); }
.service-option:has(input:checked), .fit-options label:has(input:checked) { background: var(--wash); border-color: var(--coral); }
.service-option input, .fit-options input { flex-shrink: 0; margin: .23em 0 0; width: 1.15rem; height: 1.15rem; accent-color: var(--ink); cursor: pointer; }
.service-option strong, .service-option small { display: block; }
.service-option small { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.results-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-card { padding: 17px; }
.result-plan { margin: 4px 0 15px; font-size: .875rem; font-weight: 600; min-height: 2.9em; }
.cost-lines { display: grid; gap: 5px; border-top: 1px solid var(--line); margin-top: 13px; padding-top: 12px; }
.cost-line { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; color: var(--muted); font-size: .875rem; }
.cost-line strong { white-space: nowrap; color: var(--ink); }
.result-caveat { margin-top: 13px; padding: 9px; background: var(--peach); border-radius: 6px; font-size: .875rem; line-height: 1.45; }
.difference-card { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 18px; padding: 12px 17px; background: var(--peach); border-radius: 8px; }
.difference-card strong { font-size: 1.15rem; }
.calculator-disclaimer { margin-top: 16px; color: var(--muted); font-size: .875rem; }

.comparison { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.comparison-head, .comparison-row { display: grid; grid-template-columns: minmax(0, .68fr) 1fr 1fr; }
.comparison-head { background: var(--paper); font-weight: 700; }
.comparison-head > *, .comparison-row > * { padding: 13px 16px; }
.comparison-row { border-top: 1px solid var(--line); }
.comparison-row h3 { font: 700 .95rem/1.55 var(--sans); letter-spacing: normal; }
.comparison-row div { font-size: .95rem; }
.mobile-platform { display: none; }

.fit-form { max-width: 850px; }
.fit-question { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.fit-question legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.fit-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fit-options label { line-height: 1.45; }
.primary-button, .text-button { cursor: pointer; font-weight: 700; }
.primary-button { padding: 10px 16px; background: var(--ink); color: var(--white); border: 1px solid var(--ink); border-radius: 5px; }
.primary-button:hover { background: #404147; }
.text-button { padding: 0; border: 0; text-decoration: underline; text-underline-offset: .25em; background: transparent; color: var(--ink); }
.fit-result { margin-top: 26px; padding: 22px; max-width: 850px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 6px; }
.fit-result .section-kicker { margin-bottom: 4px; }
.fit-result h3 { font-size: 2.4rem; }
.fit-result > p + p, .fit-result h3 + p, .fit-result button { margin-top: 8px; }
.fit-price { font-weight: 600; }
.fit-fee-note { color: var(--muted); font-size: .875rem; }
.fine-print { border-top: 1px solid var(--line); padding-block: 33px 45px; }
.fine-print h2 { font-size: 2.35rem; }
.fine-print p { max-width: 820px; color: var(--muted); margin-top: 9px; }
.sources { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; margin: 14px 0 0; list-style: none; font-size: .875rem; }

@media (max-width: 880px) {
  .calculator-layout { grid-template-columns: 1fr; }
  .result-plan { min-height: 0; }
}

@media (max-width: 620px) {
  main [id] { scroll-margin-top: 8rem; }
  .section-shell, .header-inner, .site-footer { width: calc(100% - 36px); }
  .section-shell { padding-block: 44px; }
  .header-inner, .site-footer { align-items: flex-start; flex-direction: column; gap: 9px; }
  .header-inner { padding-block: 11px; }
  .view-switch { width: 100%; }
  .comparison-links { padding-block: 16px 0; }
  .comparison-links + .hero { padding-block-start: 28px; }
  .proposal-hero .proposal-date { display: block; margin: 5px 0 0; }
  .support-grid { grid-template-columns: 1fr; }
  .proposal-table { font-size: .875rem; line-height: 1.5; }
  .proposal-table th, .proposal-table td { padding: 9px 7px; }
  .choice-grid, .price-grid, .fit-options { grid-template-columns: 1fr; }
  .choice-card, .price-card { padding: 17px; }
  .price-grid { gap: 10px; }
  .result-card { padding: 11px; }
  .result-card h3 { font-size: 1.48rem; }
  .result-total { font-size: 2rem; }
  .result-plan { min-height: 3.1em; }
  .comparison-head { display: none; }
  .comparison-row { grid-template-columns: 1fr 1fr; }
  .comparison-row:first-of-type { border-top: 0; }
  .comparison-row h3 { grid-column: 1 / -1; background: var(--paper); padding-block: 7px; }
  .comparison-row div { padding: 9px 12px 12px; overflow-wrap: anywhere; }
  .mobile-platform { display: block; font-size: .875rem; font-weight: 700; }
}

@media (max-width: 360px) {
  .results-panel { grid-template-columns: 1fr; }
  .result-plan { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
