:root {
  --blue: #155eef;
  --navy: #102a43;
  --coral: #ff6b4a;
  --orange: #ff9f1c;
  --sky: #eaf5ff;
  --cream: #fff9ef;
  --ink: #14213d;
  --white: #fff;
  --muted: #607087;
  --line: #dbe7f3;
  --radius: 28px;
  --shadow: 0 18px 48px rgba(16, 42, 67, .11);
  --shell: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8fbff;
  font-family: "Plus Jakarta Sans", "Aptos", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 9999; background: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 251, 255, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 231, 243, .75);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--blue);
  border-radius: 14px 14px 14px 4px; font-weight: 900; letter-spacing: -.05em;
  box-shadow: 6px 6px 0 rgba(255, 107, 74, .25);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 19px; letter-spacing: -.03em; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.custom-logo { width: auto; max-height: 52px; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.menu { display: flex; list-style: none; gap: 24px; padding: 0; margin: 0; }
.menu a { color: #38506a; font-size: 14px; font-weight: 700; }
.menu a:hover { color: var(--blue); }
.nav-toggle { display: none; padding: 8px; border: 0; background: transparent; }
.nav-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--navy); }

.button, .plan-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px;
  padding: 0 22px; color: #fff; background: var(--blue); border: 0; border-radius: 16px;
  font-weight: 850; cursor: pointer; box-shadow: 0 10px 22px rgba(21, 94, 239, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover, .plan-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(21, 94, 239, .25); }
.button-small { min-height: 42px; padding: 0 17px; border-radius: 13px; font-size: 13px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 850; color: var(--blue); }
.text-link:hover { color: var(--coral); }

.hero {
  display: grid;
  grid-template-columns: 1.24fr .76fr .62fr;
  grid-template-rows: minmax(310px, auto) minmax(226px, auto);
  gap: 18px;
  padding-block: 28px 44px;
}
.bento-card { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-copy { grid-row: 1 / 3; padding: clamp(34px, 5vw, 68px); background: #fff; display: flex; flex-direction: column; justify-content: center; }
.hero-copy::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -130px; top: -125px;
  border: 34px solid var(--sky);
}
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { display: block; width: 28px; height: 4px; background: var(--orange); border-radius: 10px; }
.eyebrow.coral { color: var(--coral); }
.eyebrow.light { color: #fff; }
.hero h1 {
  max-width: 720px; margin: 24px 0 18px; font-size: clamp(43px, 5.4vw, 78px); line-height: .98;
  letter-spacing: -.065em; color: var(--navy);
}
.hero-copy > p { max-width: 650px; margin: 0; color: #53677c; font-size: clamp(16px, 1.45vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.audience-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.audience-tags span { padding: 8px 13px; color: var(--navy); background: var(--sky); border-radius: 999px; font-size: 12px; font-weight: 800; }

.hero-photo {
  grid-column: 2 / 4; min-height: 310px;
  background: linear-gradient(180deg, rgba(16,42,67,.03), rgba(16,42,67,.5)), url("../images/hero-bright.jpg") center 46%/cover;
}
.photo-note {
  position: absolute; top: 18px; left: 18px; max-width: 180px; padding: 13px 16px; color: var(--navy); background: #fff;
  border-radius: 17px 17px 17px 5px; font-size: 15px; font-weight: 900; line-height: 1.15;
}
.photo-stat {
  position: absolute; display: flex; align-items: center; gap: 9px; right: 18px; bottom: 18px; padding: 11px 16px;
  color: #fff; background: var(--coral); border-radius: 18px 18px 5px 18px;
}
.photo-stat strong { font-size: 30px; line-height: 1; }
.photo-stat span { font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }

.edition-cover {
  color: #fff; background: var(--blue); padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
}
.edition-cover::after { content: ""; position: absolute; width: 120px; height: 120px; right: -50px; bottom: 20px; border: 22px solid rgba(255,255,255,.15); border-radius: 50%; }
.cover-top { position: relative; z-index: 2; display: flex; align-items: baseline; justify-content: space-between; }
.cover-top span { font-size: 20px; font-weight: 950; letter-spacing: -.04em; }
.cover-top small { font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.cover-illustration { position: absolute; inset: 50px 16px 80px; }
.sun { position: absolute; width: 82px; height: 82px; border-radius: 50%; background: var(--orange); right: 14px; top: 4px; box-shadow: 0 0 0 14px rgba(255,159,28,.16); }
.book { position: absolute; width: 88px; height: 58px; left: 8px; bottom: 3px; background: #fff; border-radius: 6px 6px 22px 6px; transform: rotate(-8deg); }
.book::after { content: ""; position: absolute; width: 88px; height: 58px; left: 45px; background: #cde6ff; border-radius: 6px 6px 6px 22px; transform: rotate(16deg); transform-origin: left bottom; }
.spark { position: absolute; width: 12px; height: 12px; background: var(--coral); transform: rotate(45deg); }
.spark-one { left: 42%; top: 12%; } .spark-two { right: 12%; bottom: 12%; background: #fff; }
.cover-copy { position: relative; z-index: 2; }
.cover-copy small { font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.cover-copy h2 { margin: 5px 0; font-size: clamp(20px, 2vw, 29px); line-height: 1; letter-spacing: -.045em; }
.cover-copy p { margin: 0; font-size: 9px; line-height: 1.3; opacity: .8; }
.cover-open {
  position: absolute; z-index: 4; inset: auto 18px 16px; display: flex; align-items: center; justify-content: space-between;
  width: calc(100% - 36px); padding: 8px 0 0; color: #fff; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.35); font-weight: 850; cursor: pointer;
}
.ai-promo { padding: 24px; color: var(--navy); background: #ffe1d9; display: flex; gap: 15px; align-items: center; }
.ai-promo::before { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.35); right: -60px; bottom: -90px; }
.ai-orbit { flex: 0 0 64px; width: 64px; height: 64px; display: grid; place-items: center; color: #fff; background: var(--coral); border-radius: 22px; transform: rotate(-7deg); box-shadow: 8px 8px 0 #fff; }
.ai-orbit span { font-size: 28px; animation: pulse 3s infinite; }
.ai-promo small { color: var(--coral); font-size: 9px; font-weight: 950; letter-spacing: .12em; }
.ai-promo h2 { margin: 4px 0; font-size: 20px; line-height: 1.05; }
.ai-promo p { margin: 0; font-size: 11px; line-height: 1.4; }
.ai-promo-button { position: relative; z-index: 2; margin-top: 10px; padding: 0; color: var(--navy); background: none; border: 0; font-size: 11px; font-weight: 900; cursor: pointer; }
@keyframes pulse { 50% { transform: scale(1.18) rotate(12deg); } }

.metric-strip { color: #fff; background: var(--navy); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 25px; }
.metrics div { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.17); }
.metrics div:last-child { border: 0; }
.metrics strong { font-size: 28px; letter-spacing: -.04em; }
.metrics span { max-width: 100px; color: #aac3d9; font-size: 10px; line-height: 1.2; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }

.section { padding-block: 100px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading h2, .reader-feature h2, .history-card h2, .subscription-heading h2 {
  margin: 12px 0 0; font-size: clamp(36px, 4.4vw, 59px); line-height: 1.03; letter-spacing: -.055em; color: var(--navy);
}
.story-grid { display: grid; grid-template-columns: 1.15fr .9fr .9fr; gap: 18px; }
.story-card { min-width: 0; overflow: hidden; background: #fff; border-radius: 25px; box-shadow: var(--shadow); }
.story-image { display: block; aspect-ratio: 16/10; background: var(--sky); overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.story-card:hover img { transform: scale(1.035); }
.story-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255,255,255,.9); font-size: 72px; font-weight: 950; }
.story-1 .story-image { background: var(--blue); }
.story-2 .story-image { background: var(--orange); }
.story-3 .story-image { background: var(--coral); }
.story-body { position: relative; padding: 24px 70px 25px 24px; min-height: 210px; }
.story-label { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.story-body h3 { margin: 9px 0; font-size: clamp(19px, 2vw, 27px); line-height: 1.12; letter-spacing: -.04em; }
.story-body p { margin: 0; color: var(--muted); font-size: 13px; }
.round-link { position: absolute; right: 20px; bottom: 22px; display: grid; place-items: center; width: 43px; height: 43px; color: #fff; background: var(--blue); border-radius: 50%; font-weight: 900; }

.reader-feature { padding-block: 100px; background: var(--sky); overflow: hidden; }
.reader-feature-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; }
.reader-stack { position: relative; min-height: 520px; }
.page-back, .mini-spread { position: absolute; inset: 42px 8% 36px; border-radius: 22px; box-shadow: var(--shadow); }
.page-back-one { background: var(--orange); transform: rotate(-7deg); }
.page-back-two { background: var(--coral); transform: rotate(5deg); }
.mini-spread { display: grid; grid-template-columns: 1fr 1fr; background: #fff; overflow: hidden; }
.mini-spread > div { padding: 34px; }
.mini-spread > div:first-child { background: var(--blue); color: #fff; }
.mini-spread small { font-size: 9px; letter-spacing: .16em; }
.mini-spread strong { display: block; margin-top: 40px; font-size: 80px; line-height: 1; }
.mini-spread p { font-weight: 900; line-height: 1.2; }
.mini-photo { display: block; height: 230px; margin-bottom: 24px; background: url("../images/hero-bright.jpg") center/cover; border-radius: 16px; }
.mini-spread b { font-size: 19px; line-height: 1.15; }
.reader-feature-copy > p { color: var(--muted); font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 13px; font-weight: 750; }
.check-list span { display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 7px; color: #fff; background: var(--blue); border-radius: 7px; }
.coral-button { background: var(--coral); box-shadow: 0 10px 22px rgba(255,107,74,.22); }

.history-section { padding-block: 100px; }
.history-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: .58fr 1fr .55fr; gap: 50px; align-items: center;
  min-height: 440px; padding: clamp(35px, 5vw, 70px); color: #fff; background: var(--blue); border-radius: 34px;
}
.history-card::before { content: ""; position: absolute; width: 330px; height: 330px; left: -100px; bottom: -170px; border: 60px solid rgba(255,255,255,.09); border-radius: 50%; }
.history-year { position: relative; font-size: clamp(70px, 10vw, 140px); font-weight: 950; letter-spacing: -.09em; writing-mode: vertical-rl; transform: rotate(180deg); opacity: .16; }
.history-card h2 { color: #fff; }
.history-card p { max-width: 590px; color: #d8e7ff; }
.history-link { font-weight: 900; color: #fff; }
.history-quote { padding: 28px; color: var(--navy); background: var(--orange); border-radius: 24px 24px 6px 24px; font-size: 19px; font-weight: 900; line-height: 1.35; transform: rotate(2deg); }

.subscription-section { padding-block: 100px 120px; background: var(--cream); }
.subscription-heading { align-items: center; }
.subscription-heading > p { max-width: 420px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 32px; background: #fff; border: 1px solid #f1e5d5; border-radius: 27px; }
.plan-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 30px; color: var(--blue); background: var(--sky); border-radius: 17px; font-size: 22px; font-weight: 900; }
.plan-card > small { color: var(--muted); font-weight: 900; letter-spacing: .13em; }
.plan-card h3 { margin: 7px 0 16px; font-size: 26px; letter-spacing: -.04em; }
.price { min-height: 56px; color: var(--blue); font-size: 28px; font-weight: 950; line-height: 1.1; }
.plan-card ul { flex: 1; list-style: none; padding: 0; margin: 25px 0; color: #516477; font-size: 14px; }
.plan-card li { padding: 8px 0; border-bottom: 1px solid #edf1f5; }
.plan-card li::before { content: "✓"; margin-right: 9px; color: var(--blue); font-weight: 900; }
.featured-plan { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-16px); }
.featured-plan .plan-icon { color: #fff; background: var(--coral); }
.featured-plan > small, .featured-plan ul { color: #dce8ff; }
.featured-plan .price { color: #fff; }
.featured-plan li { border-color: rgba(255,255,255,.15); }
.featured-plan li::before { color: var(--orange); }
.featured-plan .plan-button { color: var(--blue); background: #fff; box-shadow: none; }
.popular { position: absolute; top: 0; right: 25px; padding: 7px 12px; color: var(--navy); background: var(--orange); border-radius: 0 0 10px 10px; font-size: 8px; font-weight: 950; letter-spacing: .1em; }

.site-footer { padding: 65px 0 28px; color: #d1dfeb; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .6fr .6fr; gap: 50px; padding-bottom: 45px; }
.footer-brand { color: #fff; font-size: 30px; font-weight: 950; letter-spacing: -.05em; }
.footer-grid p { color: #8eaac0; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-grid strong { color: #fff; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; color: #7f9bb2; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }

.reader-modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 20px; background: rgba(8,24,42,.84); backdrop-filter: blur(10px); }
.reader-modal.is-open { display: grid; animation: fadeIn .2s ease; }
.reader-dialog { width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #eaf1f8; border-radius: 25px; box-shadow: 0 30px 100px rgba(0,0,0,.38); }
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; color: #fff; background: var(--navy); border-radius: 25px 25px 0 0; }
.reader-toolbar > div:first-child { display: flex; flex-direction: column; }
.reader-toolbar small { color: #8fa8bd; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.reader-toolbar strong { font-size: 14px; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.sound-toggle, .reader-close { color: #fff; background: rgba(255,255,255,.1); border: 0; border-radius: 10px; cursor: pointer; }
.sound-toggle { padding: 7px 10px; font-size: 11px; }
.reader-close { width: 35px; height: 35px; font-size: 24px; }
.flip-stage { position: relative; width: min(600px, calc(100% - 34px)); aspect-ratio: 4/5; margin: 24px auto 15px; perspective: 1500px; }
.flip-page {
  position: absolute; inset: 0; display: none; overflow: auto; padding: clamp(28px, 6vw, 65px); background: #fff;
  border-radius: 7px 18px 18px 7px; box-shadow: 0 22px 50px rgba(16,42,67,.18); transform-origin: left center;
}
.flip-page.is-active { display: block; }
.flip-page.turn-forward { animation: pageForward .42s ease; }
.flip-page.turn-back { animation: pageBack .38s ease; }
.flip-page h2 { margin: 18px 0; color: var(--navy); font-size: clamp(32px, 5vw, 53px); line-height: 1.03; letter-spacing: -.055em; }
.flip-page p, .flip-page li { color: #53677c; }
.page-kicker { color: var(--blue); font-size: 10px; font-weight: 950; letter-spacing: .15em; }
.flip-page blockquote { margin: 35px 0; padding: 25px; color: var(--navy); background: var(--sky); border-left: 6px solid var(--blue); border-radius: 0 16px 16px 0; font-size: 20px; font-weight: 900; }
.cover-page { color: #fff; background: var(--blue); }
.cover-page h2 { margin: 30px 0 5px; color: #fff; font-size: clamp(58px, 10vw, 96px); }
.cover-page h3 { position: absolute; left: clamp(28px, 6vw, 65px); right: 45%; bottom: 80px; margin: 0; font-size: clamp(23px, 4vw, 42px); line-height: 1; }
.cover-page p { position: absolute; bottom: 38px; color: #dce8ff; }
.cover-sun { position: absolute; width: 190px; height: 190px; right: 30px; bottom: 90px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,159,28,.18); }
.page-points { display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; align-items: center; margin-top: 30px; }
.page-points b { color: var(--coral); font-size: 25px; }
.photo-page .page-photo { height: 45%; min-height: 210px; margin: calc(clamp(28px, 6vw, 65px) * -1); margin-bottom: 35px; background: url("../images/hero-bright.jpg") center/cover; }
.big-number { color: var(--blue); font-size: clamp(100px, 20vw, 180px); line-height: .9; font-weight: 950; letter-spacing: -.1em; }
.timeline-mini { display: flex; align-items: center; gap: 14px; margin-top: 50px; font-size: 28px; font-weight: 950; }
.timeline-mini i { flex: 1; height: 5px; background: linear-gradient(90deg, var(--blue), var(--orange)); border-radius: 20px; }
.final-page { text-align: center; }
.final-page .button { margin-top: 20px; }
.pdf-link { display: block; margin-top: 20px; color: var(--blue); font-weight: 900; }
.reader-controls { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 5px 20px 20px; }
.reader-controls button { padding: 10px 14px; color: var(--navy); background: #fff; border: 0; border-radius: 11px; font-size: 12px; font-weight: 850; cursor: pointer; }
.reader-controls button:disabled { opacity: .4; cursor: not-allowed; }
.reader-controls span { font-size: 12px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pageForward { from { opacity: .2; transform: rotateY(-32deg) translateX(16px); } }
@keyframes pageBack { from { opacity: .2; transform: rotateY(25deg) translateX(-16px); } }

.chat-fab {
  position: fixed; z-index: 300; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 9px;
  padding: 10px 17px 10px 10px; color: #fff; background: var(--blue); border: 0; border-radius: 999px; box-shadow: 0 14px 38px rgba(21,94,239,.35); cursor: pointer;
}
.chat-fab span { display: grid; place-items: center; width: 34px; height: 34px; color: var(--blue); background: #fff; border-radius: 50%; }
.chat-fab b { font-size: 12px; }
.ai-chat {
  position: fixed; z-index: 400; right: 22px; bottom: 82px; width: min(380px, calc(100vw - 30px)); overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 70px rgba(16,42,67,.25);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97); transform-origin: right bottom; transition: .22s ease;
}
.ai-chat.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 15px; color: #fff; background: var(--blue); }
.chat-head > div { display: flex; align-items: center; gap: 10px; }
.chat-head > div > div { display: flex; flex-direction: column; }
.chat-avatar { display: grid; place-items: center; width: 39px; height: 39px; color: var(--blue); background: #fff; border-radius: 13px; }
.chat-head strong { font-size: 14px; }
.chat-head small { color: #dce8ff; font-size: 9px; }
.chat-head small i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; background: #58df9c; border-radius: 50%; }
.chat-close { width: 32px; height: 32px; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 9px; font-size: 20px; cursor: pointer; }
.chat-messages { height: 260px; overflow-y: auto; padding: 17px; background: #f7fbff; }
.bot-message, .user-message { max-width: 86%; margin-bottom: 10px; padding: 11px 13px; border-radius: 15px; font-size: 12px; line-height: 1.45; }
.bot-message { color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 5px 15px 15px 15px; }
.user-message { margin-left: auto; color: #fff; background: var(--blue); border-radius: 15px 5px 15px 15px; }
.quick-prompts { display: flex; gap: 6px; padding: 9px 12px; overflow-x: auto; border-top: 1px solid var(--line); }
.quick-prompts button { flex: 0 0 auto; padding: 7px 9px; color: var(--blue); background: var(--sky); border: 0; border-radius: 999px; font-size: 9px; font-weight: 850; cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; outline: none; }
.chat-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,94,239,.1); }
.chat-form button { width: 40px; color: #fff; background: var(--coral); border: 0; border-radius: 11px; cursor: pointer; }
.chat-note { display: block; padding: 0 12px 10px; color: #91a1b1; text-align: center; font-size: 8px; }

.content-shell, .article-shell { padding-block: 80px 110px; }
.archive-header, .article-header { max-width: 820px; margin: 0 auto 45px; text-align: center; }
.archive-header h1, .article-header h1 { margin: 16px 0; font-size: clamp(43px, 6vw, 72px); line-height: 1.02; letter-spacing: -.06em; color: var(--navy); }
.archive-header .eyebrow, .article-header .eyebrow { justify-content: center; }
.archive-description, .article-lead { color: var(--muted); font-size: 18px; }
.post-list { display: grid; gap: 18px; }
.post-card { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 22px; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.post-card-image { aspect-ratio: 4/3; overflow: hidden; border-radius: 17px; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card h2 { margin: 7px 0; font-size: 30px; letter-spacing: -.04em; line-height: 1.1; }
.post-card small { color: var(--blue); font-weight: 850; }
.post-card p { color: var(--muted); }
.article { max-width: 940px; margin: auto; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--blue); font-weight: 850; }
.article-hero { margin-bottom: 45px; overflow: hidden; border-radius: 28px; }
.article-content { max-width: 760px; margin: auto; color: #354c64; font-family: Georgia, serif; font-size: 19px; line-height: 1.85; }
.article-content h2, .article-content h3 { color: var(--navy); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.2; letter-spacing: -.03em; }
.article-content a { color: var(--blue); text-decoration: underline; }

@media (max-width: 980px) {
  .primary-nav { display: none; position: absolute; inset: 82px 18px auto; padding: 20px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .menu { flex-direction: column; gap: 4px; }
  .menu a { display: block; padding: 10px; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto 330px 250px; }
  .hero-copy { grid-column: 1 / 3; grid-row: 1; }
  .hero-photo { grid-column: 1 / 3; grid-row: 2; }
  .edition-cover { grid-column: 1; grid-row: 3; }
  .ai-promo { grid-column: 2; grid-row: 3; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-card:first-child { grid-column: 1 / 3; }
  .reader-feature-grid { grid-template-columns: 1fr; gap: 35px; }
  .reader-stack { min-height: 460px; }
  .history-card { grid-template-columns: .35fr 1fr; }
  .history-quote { grid-column: 2; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .plan-card:last-child { grid-column: 1 / 3; }
  .featured-plan { transform: none; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 24px, 1180px); --radius: 22px; }
  .header-inner { min-height: 70px; }
  .primary-nav { top: 70px; }
  .brand-copy small { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto 270px 330px auto; gap: 12px; padding-block: 14px 30px; }
  .hero-copy { grid-column: 1; grid-row: 1; padding: 34px 25px; }
  .hero h1 { font-size: 46px; }
  .hero-photo { grid-column: 1; grid-row: 2; min-height: 270px; }
  .edition-cover { grid-column: 1; grid-row: 3; }
  .ai-promo { grid-column: 1; grid-row: 4; }
  .metrics { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .metrics div:nth-child(2) { border-right: 0; }
  .section, .reader-feature, .history-section, .subscription-section { padding-block: 70px; }
  .section-heading, .subscription-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .reader-feature h2, .history-card h2, .subscription-heading h2 { font-size: 39px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card:first-child { grid-column: 1; }
  .reader-stack { min-height: 370px; }
  .page-back, .mini-spread { inset: 35px 5% 25px; }
  .mini-spread > div { padding: 19px; }
  .mini-spread strong { margin-top: 30px; font-size: 56px; }
  .mini-photo { height: 175px; }
  .check-list { grid-template-columns: 1fr; }
  .history-card { grid-template-columns: 1fr; gap: 25px; }
  .history-year { writing-mode: initial; transform: none; font-size: 78px; }
  .history-quote { grid-column: 1; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card:last-child { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .reader-modal { padding: 0; }
  .reader-dialog { max-height: 100vh; min-height: 100vh; border-radius: 0; }
  .reader-toolbar { border-radius: 0; }
  .sound-toggle span { display: none; }
  .flip-stage { width: calc(100% - 24px); max-height: calc(100vh - 160px); }
  .flip-page { padding: 28px; }
  .cover-page h3 { left: 28px; right: 30%; }
  .cover-sun { width: 130px; height: 130px; right: 18px; }
  .reader-controls { gap: 10px; }
  .reader-controls button { font-size: 10px; }
  .chat-fab { right: 12px; bottom: 12px; }
  .ai-chat { right: 12px; bottom: 75px; width: calc(100vw - 24px); }
  .post-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
