:root {
  --navy: #102a36;
  --navy-2: #183f4c;
  --coral: #e05845;
  --sun: #f4c84a;
  --leaf: #2f7b63;
  --sky: #dceef1;
  --ink: #17272d;
  --muted: #5d6b70;
  --paper: #f7f8f5;
  --white: #fff;
  --line: #d6dedc;
  --shadow: 0 16px 38px rgba(15, 42, 53, .12);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; letter-spacing: 0; }
img { display: block; max-width: 100%; }
a { color: var(--leaf); text-underline-offset: 3px; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0 0 .7rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; letter-spacing: 0; }
h1 { font-size: clamp(2.45rem, 6vw, 5.4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1rem; }
code { overflow-wrap: anywhere; padding: .12rem .35rem; border: 1px solid #ced7d4; background: #edf1ef; color: #28434b; border-radius: 3px; }
.section { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; padding-block: 84px; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-150%); background: var(--sun); color: var(--navy); padding: 10px 16px; font-weight: 800; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); }
.eyebrow, .card-kicker { display: block; margin-bottom: 14px; color: var(--coral); font-size: .73rem; font-weight: 850; letter-spacing: .11em; line-height: 1.4; }
.eyebrow.light { color: var(--sun); }
.lede { max-width: 770px; color: var(--muted); font-size: 1.2rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 4px; padding: 11px 20px; color: var(--white); font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 42, 53, .17); }
.button.primary { background: var(--coral); }
.button.sun { background: var(--sun); color: var(--navy); }
.button.ghost { border-color: rgba(255,255,255,.7); background: rgba(10,34,42,.25); }
.button.outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button.wide { width: 100%; }
.button.disabled { pointer-events: none; opacity: .52; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(214,222,220,.7); background: rgba(247,248,245,.94); backdrop-filter: blur(12px); }
.header-inner { display: flex; width: min(var(--max), calc(100% - 40px)); min-height: 74px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; line-height: 1.05; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand b { color: var(--coral); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font: 650 .62rem/1.1 Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink); font-size: .9rem; font-weight: 720; text-decoration: none; }
.site-nav a:hover { color: var(--coral); }
.language-picker select { min-height: 36px; max-width: 125px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); padding: 5px 8px; font-size: .82rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--navy); }
.home-hero { position: relative; display: grid; min-height: min(740px, calc(100vh - 74px)); overflow: hidden; align-items: end; background: var(--navy); }
.home-hero > img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(9,27,34,.9) 0%, rgba(9,27,34,.57) 50%, rgba(9,27,34,.18) 80%), linear-gradient(0deg, rgba(9,27,34,.58), transparent 45%); }
.hero-content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 40px)); margin-inline: auto; padding: 86px 0 72px; color: white; }
.hero-content h1 { max-width: 850px; color: white; text-shadow: 0 3px 20px rgba(0,0,0,.35); }
.hero-content > p { max-width: 680px; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 700; }
.trust-row li::before { content: "✓"; margin-right: 7px; color: var(--sun); }
.section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pack-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: 0 6px 22px rgba(15,42,53,.06); }
.pack-image { position: relative; display: block; aspect-ratio: 12/7; overflow: hidden; background: var(--navy); }
.pack-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pack-image:hover img { transform: scale(1.035); }
.pack-image span { position: absolute; right: 12px; bottom: 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 3px; background: rgba(13,38,47,.83); color: white; padding: 4px 9px; font-weight: 800; }
.pack-card-body { padding: 24px; }
.pack-card h3 a { color: inherit; text-decoration: none; }
.pack-card label, .hash-panel label { display: block; margin-bottom: 6px; color: var(--navy); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.preset-select, .hash-select { width: 100%; min-height: 46px; margin-bottom: 12px; border: 1px solid #b9c7c4; border-radius: 4px; background: white; color: var(--ink); padding: 8px 12px; }
.detail-link { display: block; margin-top: 16px; font-size: .9rem; font-weight: 750; text-decoration: none; }
.source-note { margin: 25px auto 0; color: var(--muted); font-size: .87rem; text-align: center; }
.compare-band { background: var(--navy); color: #dce8e8; }
.compare-band h2 { color: white; }
.comparison-table { max-width: 100%; overflow-x: auto; border: 1px solid rgba(214,222,220,.45); border-radius: 5px; background: white; color: var(--ink); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { border-bottom: 1px solid var(--line); padding: 17px 19px; text-align: left; }
thead th { background: #e9efed; color: var(--navy); font-size: .76rem; text-transform: uppercase; }
tbody th { color: var(--navy); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.split-section { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 70px; align-items: start; }
.prose-section { max-width: var(--max); }
.prose-section > p { max-width: 920px; }
.prose-columns { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 60px; align-items: start; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.decision-grid article { min-width: 0; }
.decision-grid h3 { font-size: 1.45rem; }
.compact-grid { gap: 20px; }
.compact-grid article { border-left: 3px solid var(--sun); background: var(--white); padding: 20px; }
.quick-answer { border: 1px solid #bfd0cd; border-top: 4px solid var(--leaf); border-radius: 5px; background: var(--white); padding: 24px; box-shadow: var(--shadow); }
.quick-answer strong { display: block; margin-bottom: 10px; color: var(--navy); font-family: Georgia, serif; font-size: 1.3rem; }
.quick-answer ol { margin: 0; padding-left: 20px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 25px; font-weight: 750; }
.rule-top { border-top: 1px solid var(--line); }
.compact-steps { padding-left: 20px; }
.compat-panel, .choice-panel, .hash-panel { border: 1px solid #bfd0cd; border-top: 4px solid var(--leaf); border-radius: 5px; background: var(--white); padding: 26px; box-shadow: var(--shadow); }
.status-dot { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; background: #32a66c; box-shadow: 0 0 0 4px #d9f0e4; }
.compat-panel dl, .choice-panel dl { margin: 20px 0; }
.compat-panel dl div, .choice-panel dl div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.compat-panel dt, .choice-panel dt { color: var(--muted); }
.compat-panel dd, .choice-panel dd { margin: 0; font-weight: 750; text-align: right; }
.faq-section { padding-top: 50px; }
.faq-list { max-width: 850px; margin: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq-list summary { position: relative; padding-right: 36px; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 7px; top: -5px; color: var(--coral); font-size: 1.7rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 14px 36px 0 0; color: var(--muted); }
.faq-list.compact { margin: 0; }
.site-footer { background: #0b222b; color: #c6d4d5; padding: 52px 20px 24px; }
.footer-inner { display: flex; width: min(var(--max), 100%); margin: auto; justify-content: space-between; gap: 45px; }
.footer-inner strong { color: white; font-family: Georgia, serif; font-size: 1.3rem; }
.footer-inner p { max-width: 580px; margin-top: 8px; }
.footer-inner nav { display: flex; flex-wrap: wrap; align-content: start; gap: 12px 22px; }
.footer-inner a { color: white; }
.copyright { width: min(var(--max), 100%); margin: 30px auto 0; border-top: 1px solid #29434b; padding-top: 20px; font-size: .78rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 42px; color: var(--muted); font-size: .85rem; }
.page-header { padding-bottom: 48px; }
.page-header h1 { max-width: 930px; font-size: clamp(2.35rem, 5vw, 4.5rem); }
.pack-hero { padding-top: 42px; }
.pack-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 60px; align-items: center; }
.pack-hero-grid h1 { font-size: clamp(2.35rem, 5vw, 4.6rem); }
.pack-hero-grid > img { width: 100%; aspect-ratio: 8/4.7; object-fit: cover; border-radius: 5px; box-shadow: var(--shadow); }
.meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.meta-chips span { border: 1px solid #bed0cd; border-radius: 3px; background: #e8f0ed; padding: 4px 9px; color: var(--navy); font-size: .78rem; font-weight: 750; }
.download-panel { padding-top: 40px; }
.download-list { border-top: 1px solid var(--line); }
.download-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 130px; gap: 28px; align-items: center; border-bottom: 1px solid var(--line); padding: 19px 8px; }
.download-row h3, .download-row p { margin: 0; }
.download-row p { color: var(--muted); font-size: .9rem; }
.file-meta { display: flex; min-width: 155px; gap: 10px; color: var(--muted); font-size: .85rem; }
.file-meta span { border-right: 1px solid var(--line); padding-right: 10px; }
.file-meta span:last-child { border: 0; padding: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); gap: 70px; align-items: start; }
.content-grid > * { min-width: 0; }
.content-grid article h2:not(:first-child) { margin-top: 45px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; list-style: none; }
.feature-list li { border-left: 3px solid var(--sun); background: white; padding: 13px 15px; }
.hash-panel code { display: block; margin: 16px 0; padding: 12px; }
.hash-output { display: block; overflow-wrap: anywhere; border: 1px solid var(--line); background: #edf1ef; padding: 12px; color: #395057; font: .72rem/1.5 ui-monospace, monospace; }
.soft-band { background: var(--sky); }
.change-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; padding-left: 20px; }
.next-links > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.next-links a { display: flex; border: 1px solid var(--line); border-radius: 5px; background: white; padding: 22px; flex-direction: column; text-decoration: none; }
.next-links strong { color: var(--navy); font-family: Georgia, serif; font-size: 1.25rem; }
.install-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 75px; padding-top: 30px; }
.install-layout > * { min-width: 0; }
.install-layout article h2 { margin-top: 50px; }
.install-layout article h2:first-child { margin-top: 0; }
.notice { border-left: 4px solid var(--coral); background: #fff1ed; padding: 18px 20px; }
.notice p { margin: 4px 0 0; }
.numbered-steps { margin: 25px 0 0; padding: 0; list-style: none; counter-reset: step; }
.numbered-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; margin-bottom: 24px; counter-increment: step; }
.numbered-steps li::before { content: counter(step); display: grid; width: 42px; height: 42px; border-radius: 50%; place-items: center; background: var(--navy); color: white; font-weight: 850; }
.numbered-steps h3 { margin: 5px 0 6px; }
.toc { position: sticky; top: 100px; display: flex; border-left: 2px solid var(--line); padding-left: 22px; flex-direction: column; gap: 10px; }
.toc a { font-size: .9rem; text-decoration: none; }
.compat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 70px; }
.compat-cards article { border: 1px solid var(--line); border-radius: 5px; background: white; padding: 25px; }
.compat-cards h2 { display: inline; font-family: Inter, sans-serif; font-size: 1rem; }
.compat-cards strong { display: block; margin: 16px 0 6px; color: var(--navy); font: 700 1.55rem Georgia, serif; }
.compat-cards p { margin: 0; color: var(--muted); font-size: .9rem; }
.timeline { max-width: 920px; padding-top: 25px; }
.timeline article { display: grid; grid-template-columns: 160px 1fr; gap: 38px; border-left: 2px solid var(--line); padding: 0 0 65px 35px; }
.timeline-date { position: relative; }
.timeline-date::before { content: ""; position: absolute; width: 14px; height: 14px; top: 5px; left: -43px; border: 4px solid var(--paper); border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.timeline-date span { color: var(--muted); font-size: .88rem; }
.timeline-content { border: 1px solid var(--line); border-radius: 5px; background: white; padding: 27px; }
.legal-content { max-width: 820px; padding-top: 15px; }
.legal-content h2 { margin-top: 42px; font-size: 1.8rem; }
.not-found { min-height: 65vh; text-align: center; }
.not-found p { margin: 0 auto 25px; }
.download-dialog { width: min(500px, calc(100% - 28px)); border: 0; border-top: 5px solid var(--sun); border-radius: 6px; padding: 35px; color: var(--ink); box-shadow: 0 30px 80px rgba(5,24,31,.45); text-align: center; }
.download-dialog::backdrop { background: rgba(7,27,34,.75); backdrop-filter: blur(3px); }
.download-dialog h2 { font-size: 2rem; }
.dialog-close { position: absolute; top: 10px; right: 13px; width: 38px; height: 38px; border: 0; background: transparent; color: var(--muted); font-size: 1.8rem; cursor: pointer; }
.download-file { overflow-wrap: anywhere; color: var(--muted); font-size: .88rem; }
.countdown-ring { display: grid; width: 110px; height: 110px; margin: 22px auto; border: 7px solid #e6ece9; border-top-color: var(--coral); border-radius: 50%; place-content: center; }
.countdown-ring strong { display: block; color: var(--navy); font-size: 2rem; line-height: 1; }
.countdown-ring span { color: var(--muted); font-size: .75rem; }
.dialog-note { font-size: .87rem; }
.text-button { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 74px; right: 20px; left: 20px; display: none; border: 1px solid var(--line); border-radius: 5px; background: white; box-shadow: var(--shadow); padding: 14px; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 10px; }
  .pack-grid { grid-template-columns: 1fr; max-width: 680px; margin: auto; }
  .pack-card { display: grid; grid-template-columns: minmax(240px, .8fr) 1fr; }
  .pack-image { height: 100%; aspect-ratio: auto; }
  .split-section, .content-grid, .pack-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .prose-columns { grid-template-columns: 1fr; gap: 30px; }
  .decision-grid { grid-template-columns: 1fr; }
  .pack-hero-grid > img { order: -1; }
  .install-layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; order: -1; border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; flex-direction: row; flex-wrap: wrap; }
  .compat-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { width: min(100% - 28px, var(--max)); padding-block: 58px; }
  .header-inner { width: calc(100% - 28px); }
  .brand small { display: none; }
  .home-hero { min-height: 650px; }
  .hero-content { width: calc(100% - 28px); padding-bottom: 48px; }
  .hero-content h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .hero-actions .button { width: 100%; }
  .pack-card { display: block; }
  .pack-image { height: auto; aspect-ratio: 12/7; }
  .download-row { grid-template-columns: 1fr auto; gap: 10px 18px; }
  .download-row .button { grid-column: 1/-1; width: 100%; }
  .file-meta { min-width: 0; }
  .feature-list, .change-list, .next-links > div { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .timeline article { grid-template-columns: 1fr; gap: 12px; padding-left: 25px; }
  .timeline-date::before { left: -33px; }
  .download-dialog { padding: 34px 20px 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
