:root {
  color-scheme: light;
  --ink: #132333;
  --muted: #526578;
  --navy: #05294a;
  --blue: #0069bc;
  --line: #d7e1ea;
  --wash: #f5f8fb;
  --shadow: 0 18px 60px rgb(5 41 74 / 15%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 17px/1.6 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; }
a { color: var(--blue); text-underline-offset: .16em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #de8d16; outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 10px auto auto 10px; padding: 8px 14px; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
header { position: sticky; z-index: 2; top: 0; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 94%); backdrop-filter: blur(14px); }
nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; }
nav a { text-decoration: none; font-weight: 650; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.3rem; font-weight: 750; }
.brand img { width: 38px; height: 38px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero { padding: clamp(60px, 9vw, 120px) 0; background: radial-gradient(at 74% 14%, #cce7ff 0, transparent 55%), linear-gradient(140deg, #f9fcff, #eaf6ff 58%, #fff); }
.hero-grid, .split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 80px); }
.platform { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--blue); font-size: .85rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.platform::before { content: ""; width: 24px; height: 3px; border-radius: 10px; background: var(--blue); }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.8vw, 5.05rem); letter-spacing: -.057em; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.045em; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); }
.lead, .subtle, .card p { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.button { display: inline-flex; min-height: 48px; align-items: center; padding: 0 19px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--navy); font-weight: 700; text-decoration: none; }
.button:hover { border-color: var(--blue); }
.primary { color: white; border-color: var(--blue); background: var(--blue); box-shadow: 0 8px 24px rgb(0 105 188 / 22%); }
.primary:hover { background: #07558f; }
.download-button { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding-block: 9px; line-height: 1.25; }
.download-button small { font-size: .82rem; font-weight: 500; }
.preview { margin: 0; }
.preview img { width: 100%; height: auto; border: 1px solid #b6cee1; border-radius: 15px; background: white; box-shadow: var(--shadow); }
.preview figcaption { padding-top: 12px; color: var(--muted); font-size: .87rem; }
section[id] { scroll-margin-top: 95px; }
.section { padding: clamp(58px, 8vw, 96px) 0; }
.wash { background: var(--wash); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 28px rgb(5 41 74 / 6%); }
.card p { margin-bottom: 0; }
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 16px; }
.paid { border-color: #94bbdf; background: #edf7ff; }
details { margin-top: 15px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
summary { color: var(--navy); cursor: pointer; font-weight: 700; }
footer { padding: 36px 0; color: #c9dbea; background: #031d32; }
footer a { color: #eaf6ff; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.legal { max-width: 800px; padding-block: clamp(48px, 7vw, 86px); }
.legal h1 { font-size: clamp(2.15rem, 5vw, 3.5rem); }
.legal h2 { margin-top: 1.65em; font-size: clamp(1.35rem, 3vw, 1.85rem); letter-spacing: -.025em; }
.legal h3 { margin-top: 1.4em; }
.legal [id] { scroll-margin-top: 105px; }
.edition-price { color: var(--navy); font-size: 1.2rem; font-weight: 750; }
.purchase-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .94rem; }
@media (max-width: 850px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .preview { max-width: 640px; }
}
@media (max-width: 620px) {
  .wrap { width: min(1160px, calc(100% - 30px)); }
  nav { align-items: flex-start; padding-block: 13px; flex-direction: column; }
  .cards, .editions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
