:root {
  color-scheme: light;
  --ink: #171a1c;
  --muted: #60686d;
  --line: #d8dddf;
  --paper: #ffffff;
  --soft: #f4f6f6;
  --cyan: #087f8c;
  --cyan-soft: #e5f4f5;
  --coral: #b94d3e;
  --green: #397550;
  --yellow: #8c6509;
  --code: #101416;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.6; letter-spacing: 0; margin: 0; }
[hidden] { display: none !important; }
a { color: var(--cyan); text-underline-offset: 3px; }
button, input, select { font: inherit; letter-spacing: 0; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(8, 127, 140, 0.28); outline-offset: 2px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.topbar { align-items: center; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); display: flex; height: 64px; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px) / 2)); position: sticky; top: 0; z-index: 10; }
.brand { align-items: center; color: var(--ink); display: inline-flex; font-weight: 760; gap: 10px; text-decoration: none; }
.brand-mark { align-items: center; background: var(--ink); border-radius: 4px; display: flex; gap: 3px; height: 30px; justify-content: center; width: 30px; }
.brand-mark span { background: white; border-radius: 1px; height: 4px; width: 4px; }
.brand-mark span:nth-child(2) { background: #62d6dd; height: 14px; }
.topbar nav, footer nav { align-items: center; display: flex; gap: 20px; }
.topbar nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.topbar nav a:hover { color: var(--ink); }

main { overflow: hidden; }
.finder-band, .catalog-section, .comparison-section, .guide-section, .trust-section { margin: 0 auto; max-width: 1180px; padding-left: 24px; padding-right: 24px; }
.finder-band { display: grid; gap: 48px; grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr); min-height: min(720px, calc(100vh - 150px)); padding-bottom: 64px; padding-top: 64px; }
.finder-copy { align-self: center; }
.eyebrow { color: var(--cyan); font-size: 12px; font-weight: 780; margin: 0 0 10px; text-transform: uppercase; }
h1, h2, h3, p, strong { overflow-wrap: anywhere; }
h1 { font-size: 44px; line-height: 1.08; margin: 0 0 20px; max-width: 650px; }
h2 { font-size: 29px; line-height: 1.22; margin: 0; }
h3 { font-size: 21px; line-height: 1.25; margin: 0; }
.finder-copy > p:last-child { color: var(--muted); font-size: 18px; margin: 0; max-width: 600px; }
.finder { align-self: center; border: 1px solid #cbd2d5; border-radius: 6px; box-shadow: 0 18px 44px rgba(24, 35, 40, 0.1); overflow: hidden; }
.finder > label { display: block; font-size: 13px; font-weight: 760; padding: 22px 24px 8px; }
.finder-controls { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) 130px; padding: 0 24px 24px; }
.finder select, .catalog-search input { background: white; border: 1px solid #b9c2c6; border-radius: 4px; color: var(--ink); height: 46px; min-width: 0; padding: 0 12px; width: 100%; }
.finder-controls button { background: var(--ink); border: 1px solid var(--ink); border-radius: 4px; color: white; font-weight: 730; padding: 0 15px; }
.finder-controls button:hover { background: #30383c; }
.recommendation { align-items: center; background: var(--soft); border-top: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) auto; min-height: 174px; padding: 22px 24px; }
.recommendation span { color: var(--green); display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.recommendation strong { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; margin: 3px 0 7px; }
.recommendation p { color: var(--muted); font-size: 14px; margin: 0; }
.recommendation-actions { align-items: stretch; display: flex; flex-direction: column; gap: 8px; min-width: 116px; }
.recommendation-actions a, .copy-button { align-items: center; border-radius: 4px; display: inline-flex; font-size: 13px; font-weight: 730; justify-content: center; min-height: 38px; padding: 7px 12px; text-decoration: none; }
.copy-button { background: var(--ink); border: 1px solid var(--ink); color: white; }
.recommendation-actions a { border: 1px solid #b8c1c5; color: var(--ink); }

.catalog-section { padding-bottom: 88px; padding-top: 72px; }
.section-heading { align-items: end; display: flex; gap: 32px; justify-content: space-between; margin-bottom: 28px; }
.catalog-search { display: flex; flex-direction: column; gap: 5px; max-width: 320px; width: 100%; }
.catalog-search span { color: var(--muted); font-size: 12px; font-weight: 700; }
.catalog-search input { height: 42px; }
.package-list { border-bottom: 1px solid var(--line); }
.package-row { border-top: 1px solid var(--line); display: grid; gap: 32px; grid-template-columns: 238px minmax(0, 1fr); padding: 32px 0; position: relative; }
.package-row.recommended::before { background: var(--cyan); content: ""; height: calc(100% - 64px); left: -14px; position: absolute; top: 32px; width: 3px; }
.package-row > img { aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 4px; height: auto; object-fit: cover; width: 100%; }
.package-body { min-width: 0; }
.package-title { align-items: start; display: flex; gap: 20px; justify-content: space-between; }
.package-kind { color: var(--coral); font-size: 11px; font-weight: 800; margin: 0 0 2px; text-transform: uppercase; }
.status { background: #e8f3ec; border: 1px solid #c7dfd0; border-radius: 4px; color: var(--green); font-size: 11px; font-weight: 760; padding: 3px 7px; white-space: nowrap; }
.package-body > p { color: var(--muted); margin: 11px 0; }
.feature-list { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0 0 13px; padding: 0; }
.feature-list li { font-size: 13px; }
.feature-list li::before { color: var(--green); content: "✓"; font-weight: 800; margin-right: 6px; }
.package-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 16px; }
.package-meta span { color: var(--muted); font-size: 12px; }
.package-meta strong { color: var(--ink); }
.package-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; }
.package-actions .copy-button { min-height: 34px; }
.package-actions a { font-size: 13px; font-weight: 700; }
.empty-state { background: var(--soft); border: 1px solid var(--line); padding: 28px; }

.comparison-section { background: var(--soft); max-width: none; padding-bottom: 76px; padding-top: 76px; }
.comparison-section > * { margin-left: auto; margin-right: auto; max-width: 1132px; }
.table-wrap { border: 1px solid #cdd3d6; border-radius: 5px; overflow-x: auto; }
table { border-collapse: collapse; min-width: 780px; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: 15px 17px; text-align: left; vertical-align: top; }
thead th { background: #e8ecee; color: #4f595e; font-size: 11px; text-transform: uppercase; }
tbody th { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
tbody td { background: white; font-size: 14px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.guide-section { padding-bottom: 88px; padding-top: 88px; }
.heading-note { color: var(--muted); margin: 0; max-width: 390px; }
.guide-grid { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.guide-grid a { color: var(--ink); min-height: 202px; padding: 28px 30px; text-decoration: none; }
.guide-grid a:nth-child(odd) { border-right: 1px solid var(--line); }
.guide-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.guide-grid a:hover { background: var(--soft); }
.guide-grid span { color: var(--cyan); display: block; font-size: 11px; font-weight: 800; margin-bottom: 9px; text-transform: uppercase; }
.guide-grid strong { display: block; font-size: 20px; line-height: 1.3; }
.guide-grid p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.trust-section { align-items: start; border-top: 1px solid var(--line); display: grid; gap: 72px; grid-template-columns: 0.8fr 1.2fr; padding-bottom: 88px; padding-top: 72px; }
.trust-points { display: grid; gap: 2px; }
.trust-points p { border-bottom: 1px solid var(--line); color: var(--muted); margin: 0; padding: 0 0 18px; }
.trust-points p + p { padding-top: 18px; }
.trust-points strong { color: var(--ink); }

footer { align-items: center; background: var(--ink); color: white; display: flex; justify-content: space-between; min-height: 90px; padding: 24px max(24px, calc((100vw - 1132px) / 2)); }
footer > span { font-weight: 750; }
footer a { color: #b9e8eb; font-size: 13px; }

@media (max-width: 900px) {
  .finder-band { gap: 30px; grid-template-columns: 1fr; min-height: auto; padding-top: 48px; }
  .finder-copy { max-width: 720px; }
  .finder { max-width: 720px; }
  .trust-section { gap: 40px; grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .topbar { height: 58px; padding: 0 16px; }
  .brand { font-size: 14px; }
  .topbar nav a:not(:last-child) { display: none; }
  .topbar nav { gap: 0; }
  .finder-band, .catalog-section, .guide-section, .trust-section { padding-left: 16px; padding-right: 16px; }
  .finder-band { padding-bottom: 48px; padding-top: 34px; }
  h1 { font-size: 35px; }
  h2 { font-size: 25px; }
  .finder-controls, .recommendation { grid-template-columns: 1fr; }
  .finder-controls button { height: 44px; }
  .recommendation-actions { flex-direction: row; }
  .recommendation-actions > * { flex: 1; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 18px; }
  .catalog-search { max-width: none; }
  .package-row { gap: 18px; grid-template-columns: 1fr; padding: 28px 0; }
  .package-row > img { max-height: 220px; }
  .package-row.recommended::before { height: 3px; left: 0; top: -1px; width: 84px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid a, .guide-grid a:nth-child(odd), .guide-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); border-right: 0; min-height: 0; padding: 24px 6px; }
  .guide-grid a:last-child { border-bottom: 0; }
  footer { align-items: flex-start; flex-direction: column; gap: 16px; }
}

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