/* Project — shared styles */
@font-face {
  font-family: 'Space Grotesk';
  src: url('SpaceGrotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy: #14213D;
  --cream: #F7F4EE;
  --paper: #EFEAE0;
  --ink-soft: #4A5268;
  --line: #D8D1C3;
  --graphics: #FF6B4A;
  --comics: #2A9D8F;
  --podcast: #7B2CBF;
  --entertainment: #F4B400;
  --accent: var(--navy);
  --max: 1120px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-weight: 700; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.brand-name small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.3em; margin-top: 4px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 10px 14px; border-radius: 999px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { background: var(--navy); color: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  background: var(--navy); color: var(--cream); border: 2px solid var(--navy);
}
.btn:hover { background: #22325A; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--paper); }
.btn.light { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn.light:hover { background: #FFFFFF; }
.btn.light-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn.light-ghost:hover { background: rgba(247, 244, 238, 0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 88px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--accent); flex: none; }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 640px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); }

/* Hero */
.hero { padding: 96px 0 88px; }
.hero h1 { font-size: clamp(44px, 7.5vw, 92px); letter-spacing: -0.035em; }
.hero .stack { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-size: 22px; }
.card p { color: var(--ink-soft); }

.section-card {
  position: relative; border-radius: 24px; padding: 32px; min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  text-decoration: none; transition: transform 0.15s ease;
}
.section-card:hover { transform: translateY(-3px); }
.section-card img { width: 72px; height: 72px; }
.section-card h3 { font-size: 34px; }
.section-card p { font-size: 17px; margin-top: 8px; }
.section-card .go { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.sc-graphics { background: var(--graphics); color: var(--navy); }
.sc-comics { background: var(--navy); color: var(--cream); }
.sc-comics .go { color: #7FD4C9; }
.sc-comics.has-cover { padding-right: 200px; overflow: hidden; }
.section-card img.sc-cover {
  position: absolute; right: 32px; top: 50%; width: 140px; height: auto;
  transform: translateY(-50%) rotate(4deg); border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}
.section-card:hover img.sc-cover { transform: translateY(-50%) rotate(1deg) scale(1.04); }
.sc-podcast { background: var(--podcast); color: var(--cream); }
.sc-entertainment { background: var(--entertainment); color: var(--navy); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 24px; left: 28px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--navy);
  display: grid; place-items: center; font-weight: 700;
}

/* Price lists */
.price-block { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.price-block h3 {
  font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px; border-bottom: 2px solid var(--navy);
}
.price-block h3::before { content: ""; width: 12px; height: 12px; background: var(--accent); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.price-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-list strong { display: block; font-size: 17px; }
.price-list span.desc { display: block; font-size: 14px; color: var(--ink-soft); }
.price-list .price { font-weight: 700; font-size: 19px; white-space: nowrap; }

.bundle {
  background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.bundle h4 { margin: 0 0 6px; font-size: 21px; }
.bundle p { color: #D5D9E3; font-size: 15px; }
.bundle .price { font-weight: 700; font-size: 30px; color: var(--graphics); white-space: nowrap; text-align: right; }
.bundle .price small { display: block; font-size: 13px; font-weight: 500; color: #D5D9E3; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs a {
  text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 999px;
  border: 2px solid var(--navy); min-height: 48px; display: inline-flex; align-items: center;
}
.tabs a:hover { background: var(--paper); }

.ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-weight: 500; font-size: 15px; }
.ticks span { display: inline-flex; align-items: center; gap: 10px; }
.ticks span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* CTA band */
.cta-band { background: var(--navy); color: var(--cream); border-radius: 28px; padding: 56px 48px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); }
.cta-band p { color: #D5D9E3; font-size: 18px; max-width: 620px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; margin-top: 40px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { text-decoration: none; padding: 6px 0; }
.footer-links a:hover { text-decoration: underline; }
.muted { color: var(--ink-soft); }

/* Page-specific accents */
.page-graphics { --accent: var(--graphics); }
.page-comics { --accent: var(--comics); }
.page-podcast { --accent: var(--podcast); }
.page-entertainment { --accent: var(--entertainment); }

.hero-mark { width: 220px; height: 220px; flex: none; }

@media (max-width: 640px) {
  .hero-mark { width: 112px; height: 112px; }
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .site-header { position: static; }
  .nav { width: 100%; }
  .nav a { padding: 8px 12px; font-size: 14px; }
  .bundle { flex-direction: column; align-items: flex-start; }
  .bundle .price { text-align: left; }
  .cta-band { padding: 40px 24px; }
  .card, .price-block, .section-card { padding: 24px; }
  .card.step { padding-top: 72px; }
  .sc-comics.has-cover { padding-right: 132px; }
  .section-card img.sc-cover { width: 92px; right: 22px; }
  .step::before { left: 24px; }
}
