:root {
  color-scheme: light;
  --ink: #102843;
  --muted: #42596f;
  --navy: #0a2341;
  --paper: #fffdfa;
  --line: #dce5eb;
  --action: #cfedff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #2477bd; outline-offset: 4px; }
figure, p, h1, h2, h3 { margin: 0; }
img { display: block; width: 100%; height: auto; }
.shell { width: min(1150px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; padding: 10px; background: white; z-index: 2; }
.skip:focus { top: 1rem; }
.top, .foot { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand img { width: clamp(172px, 23vw, 232px); height: auto; }
nav { display: flex; flex-wrap: wrap; gap: clamp(12px, 3vw, 30px); font-size: .9rem; font-weight: 700; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }

.hero { padding-block: clamp(54px, 7vw, 100px); background: linear-gradient(130deg, #0a2341, #174975); color: white; }
.hero-grid, .edition-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.043em; }
h1 { font-size: clamp(2rem, 4.9vw, 4.2rem); overflow-wrap: anywhere; }
.hero-tagline { margin-top: 14px; max-width: 31ch; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 720; line-height: 1.2; letter-spacing: -.028em; }
.hero-tagline em { color: var(--action); font-style: normal; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.hero-link { color: #f0f8ff; font-weight: 700; text-underline-offset: 4px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.55rem; }
.intro { max-width: 47ch; margin: 22px 0 26px; color: #e0ecf6; font-size: 1.07rem; }
.button { display: inline-flex; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 9px; font-weight: 800; text-decoration: none; }
.primary { background: var(--action); color: var(--ink); }
.primary:hover { background: #e8f7ff; }
.secondary { background: var(--navy); color: white; }
.secondary:hover { background: #224e78; }

.screen { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; color: var(--ink); box-shadow: 0 15px 38px #0a23411c; }
.hero-calendar { border-color: #6287a7; box-shadow: 0 22px 50px #07172b70; }
.screen figcaption { display: flex; align-items: center; gap: 9px; padding: 9px 14px; background: #f0f5f9; font-size: .82rem; }
.screen figcaption > span:empty { width: 8px; height: 8px; border-radius: 50%; background: #2d748e; }
.hero-calendar img, .edition-screen img {
  height: auto;
  aspect-ratio: 16 / 10;
  max-height: 350px;
  object-fit: cover;
  object-position: top center;
}

.section { padding-block: clamp(48px, 7vw, 90px); }
.edition-index { padding-block: clamp(38px, 5vw, 65px); }
.edition-index h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); }
.edition-links { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 22px; }
.blue { --accent: #205482; --tint: #edf6fd; --edge: #c6dfef; }
.rose { --accent: #834767; --tint: #fff1f5; --edge: #edd1df; }
.audience { color: var(--accent, #365b78); font-size: .77rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.edition-card { display: grid; gap: 5px; padding: 20px; border: 1px solid var(--edge); border-radius: 12px; background: var(--tint); text-decoration: none; }
.edition-card:hover { box-shadow: 0 8px 18px #0a234115; border-color: var(--accent); }
.edition-card strong { display: flex; justify-content: space-between; gap: 8px; font-size: clamp(1.25rem, 2.5vw, 1.65rem); letter-spacing: -.03em; }
.edition-card strong span { color: var(--accent); font-size: 1rem; }
.edition-card > span:last-child, .edition-copy > p:not(.audience), .foot p { color: var(--muted); }
.edition-section { background: var(--tint); border-top: 1px solid var(--edge); }
.edition-copy h2 { margin: 9px 0 15px; }
.edition-copy ul { padding-left: 20px; margin: 17px 0 0; }
.edition-copy li + li { margin-top: 6px; }
.edition-copy li::marker { color: var(--accent); }
.edition-copy .button { margin-top: 22px; }
.reverse .screen { grid-column: 1; grid-row: 1; }
.feature-section { margin-top: clamp(35px, 6vw, 64px); }
.feature-section > h3, .hair h3 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.feature-grid article { padding: 19px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; }
.feature-grid h4 { margin: 0 0 8px; line-height: 1.25; font-size: 1.06rem; }
.feature-grid p, .hair p:not(.audience) { color: var(--muted); }
.hair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; padding: clamp(20px, 4vw, 35px); border-radius: 15px; border: 1px solid #d8c5d0; background: #f9eaf2; }
.hair h3 { margin: 8px 0 12px; }
.hair ul { align-self: center; margin: 0; padding-left: 20px; }
.hair li + li { margin-top: 8px; }

.demo { background: #f4f7fa; border-top: 1px solid var(--line); }
.demo h2 { margin-top: 9px; }
.switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 14px; }
.switch button { background: white; color: var(--ink); border: 1px solid #b4c7d6; border-radius: 8px; padding: 8px 13px; font: inherit; font-weight: 700; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.demo-shot { max-width: 1020px; }
.demo-shot img { aspect-ratio: 16 / 9; max-height: 520px; object-fit: cover; object-position: top center; }
.demo-shot figcaption { justify-content: space-between; flex-wrap: wrap; color: var(--muted); }
.demo-shot figcaption a { color: var(--ink); font-weight: 700; }
footer { border-top: 1px solid var(--line); }
.foot p, .foot a { font-size: .9rem; }

@media (max-width: 790px) {
  .hero-grid, .edition-grid { grid-template-columns: 1fr; }
  .reverse .screen { grid-column: auto; grid-row: auto; }
  .edition-links, .hair { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .shell { width: calc(100% - 32px); }
  .feature-grid { grid-template-columns: 1fr; }
  .top { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
