:root {
  --max: 1220px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 22px 60px rgba(35, 36, 42, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }

.theme-humor { --bg:#fff8ef; --ink:#292329; --muted:#746b70; --accent:#ea6b60; --accent-soft:#ffd9c9; --strong:#f0b74d; --panel:#fff; --line:#eadbd1; }
.theme-imply { --bg:#f3f7ff; --ink:#18253b; --muted:#65748d; --accent:#2864d7; --accent-soft:#dce8ff; --strong:#9cc3ff; --panel:#fff; --line:#d7e2f4; }
.theme-inherit { --bg:#f1f5ee; --ink:#203126; --muted:#68786c; --accent:#2e6548; --accent-soft:#d6e6d0; --strong:#bacd7b; --panel:#fff; --line:#d9e4d5; }
.theme-invite { --bg:#eefaff; --ink:#12353f; --muted:#64808a; --accent:#1087a6; --accent-soft:#c9eff6; --strong:#f3c36d; --panel:#fff; --line:#d2ebef; }
.theme-large { --bg:#f0f3ff; --ink:#202643; --muted:#69728f; --accent:#3948c8; --accent-soft:#dfe2ff; --strong:#8ed4bd; --panel:#fff; --line:#d9def5; }
.theme-larger { --bg:#fff2eb; --ink:#332422; --muted:#826d68; --accent:#b6543f; --accent-soft:#f5d4c8; --strong:#2f435e; --panel:#fff; --line:#ecd7ce; }
.theme-largest { --bg:#f6faec; --ink:#151a15; --muted:#6c7567; --accent:#151a15; --accent-soft:#e8f36f; --strong:#afc643; --panel:#fff; --line:#d9e3c0; }
.theme-late { --bg:#eff3fb; --ink:#172a43; --muted:#68788f; --accent:#234f80; --accent-soft:#d2e0f3; --strong:#f4b49c; --panel:#fff; --line:#d6e0ed; }
.theme-later { --bg:#f2f8f2; --ink:#20382e; --muted:#6e8175; --accent:#3f7d66; --accent-soft:#d7eadf; --strong:#c8a0e1; --panel:#fff; --line:#d7e8dc; }
.theme-limit { --bg:#f5f5ec; --ink:#212b1e; --muted:#6d7565; --accent:#50623c; --accent-soft:#dfe6c5; --strong:#dfa03d; --panel:#fff; --line:#dfe3cf; }
.theme-longer { --bg:#f4f0fb; --ink:#2b2134; --muted:#766a81; --accent:#6b477e; --accent-soft:#e8d9ef; --strong:#85a9d8; --panel:#fff; --line:#e1d8ea; }

.topbar {
  padding: 9px 16px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 23px; font-weight: 800; letter-spacing: -.05em; }
.brand span { color: var(--accent); }
.nav-links { display: flex; justify-content: center; gap: 26px; color: var(--muted); font-size: 12px; font-weight: 700; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }
.nav-note { justify-self: end; color: var(--accent); font-size: 12px; font-weight: 800; }
.mobile-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); padding: 8px 13px; }

.hero { display: grid; grid-template-columns: .86fr 1.14fr; gap: 72px; align-items: center; padding: 64px 0 76px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 620px; margin: 0; font-size: clamp(44px, 6vw, 82px); line-height: .98; letter-spacing: -.07em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 535px; margin: 25px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 13px 19px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); }
.button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.hero-art { position: relative; }
.hero-art img { width: 100%; aspect-ratio: 1.18; object-fit: cover; border-radius: var(--radius); border: 10px solid var(--panel); box-shadow: var(--shadow); }
.hero-stamp { position: absolute; right: -16px; top: 28px; display: grid; place-items: center; width: 94px; height: 94px; border-radius: 50%; background: var(--strong); color: var(--ink); font-size: 11px; font-weight: 800; line-height: 1.15; text-align: center; transform: rotate(9deg); }
.hero-caption { display: flex; justify-content: space-between; gap: 20px; margin: 12px 4px 0; color: var(--muted); font-size: 12px; }
.hero-caption strong { color: var(--ink); }

.intro-band { display: grid; grid-template-columns: 1fr 1.8fr; gap: 40px; align-items: end; padding: 30px 0 74px; border-top: 1px solid var(--line); }
.intro-band h2 { max-width: 520px; margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.04; letter-spacing: -.06em; }
.intro-band p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.section-head h2 { max-width: 650px; margin: 0; font-size: clamp(30px, 4vw, 58px); line-height: 1.02; letter-spacing: -.065em; }
.section-head p { max-width: 330px; margin: 0; color: var(--muted); font-size: 14px; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card img { width: 100%; aspect-ratio: 1.22; object-fit: cover; }
.guide-body { padding: 20px; }
.guide-kicker { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.guide-body h3 { margin: 10px 0 8px; font-size: 24px; line-height: 1.05; letter-spacing: -.045em; }
.guide-body p { margin: 0; color: var(--muted); font-size: 14px; }
.guide-link { display: inline-flex; margin-top: 17px; color: var(--accent); font-size: 12px; font-weight: 800; }

.feature { display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; align-items: center; }
.feature.reverse .feature-image { order: 2; }
.feature-image img { width: 100%; aspect-ratio: 1.1; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--panel); box-shadow: var(--shadow); }
.feature-copy h2 { max-width: 550px; margin: 0; font-size: clamp(32px, 4.2vw, 60px); line-height: 1; letter-spacing: -.065em; }
.feature-copy p { max-width: 540px; margin: 21px 0 0; color: var(--muted); font-size: 16px; }
.check-list { display: grid; gap: 10px; margin: 25px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: start; font-size: 14px; }
.check-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 900; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { min-height: 130px; padding: 14px 18px; border-left: 3px solid var(--accent); }
.stat strong { display: block; color: var(--accent); font-size: 42px; line-height: 1; letter-spacing: -.07em; }
.stat span { display: block; max-width: 170px; margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { padding: 24px 0 8px; border-top: 2px solid var(--accent); }
.article-card span { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-card h3 { margin: 13px 0 9px; font-size: 25px; line-height: 1.08; letter-spacing: -.045em; }
.article-card p { margin: 0; color: var(--muted); font-size: 14px; }

.safety-note { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin: 18px 0 0; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink); }
.safety-note strong { color: var(--accent); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.safety-note p { margin: 0; font-size: 13px; }

.final-cta { margin: 54px 0 0; padding: 48px; border-radius: var(--radius); background: var(--accent); color: #fff; }
.final-cta h2 { max-width: 650px; margin: 0; font-size: clamp(32px, 5vw, 68px); line-height: .98; letter-spacing: -.07em; }
.final-cta p { max-width: 520px; margin: 16px 0 0; color: rgba(255,255,255,.82); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.contact-link { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 12px 17px; color: #fff; font-size: 13px; font-weight: 800; }
.contact-link:hover, .contact-link:focus-visible { background: rgba(255,255,255,.14); }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 38px; color: var(--muted); font-size: 12px; }
.footer strong { color: var(--ink); }

.overview { min-height: 100vh; padding: 48px 0 70px; }
.overview h1 { max-width: 800px; margin: 25px 0 0; font-size: clamp(48px, 8vw, 100px); line-height: .94; letter-spacing: -.08em; }
.overview > p { max-width: 670px; margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.overview-card { display: flex; min-height: 218px; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); transition: transform .2s ease, box-shadow .2s ease; }
.overview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.overview-card h2 { margin: 0; font-size: 32px; letter-spacing: -.06em; }
.overview-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.overview-card span { color: var(--accent); font-size: 12px; font-weight: 800; }

@media (max-width: 900px) {
  .shell { width: min(var(--max), calc(100% - 36px)); }
  .site-nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; grid-column: 1 / -1; flex-direction: column; gap: 12px; padding: 14px 0 18px; }
  .site-nav.open .nav-links { display: flex; }
  .nav-note { display: none; }
  .mobile-toggle { display: block; justify-self: end; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
  .hero h1 { max-width: 760px; }
  .hero-art { max-width: 720px; }
  .intro-band, .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature.reverse .feature-image { order: initial; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .topbar { font-size: 9px; letter-spacing: .08em; }
  .hero h1 { font-size: clamp(43px, 15vw, 68px); }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-stamp { right: -5px; top: 14px; width: 76px; height: 76px; font-size: 9px; }
  .section { padding: 52px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .guide-grid, .article-grid, .stats, .overview-grid { grid-template-columns: 1fr; }
  .stats { gap: 0; }
  .stat { min-height: auto; padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .feature-copy h2 { font-size: 42px; }
  .final-cta { padding: 30px 24px; }
  .final-cta h2 { font-size: 44px; }
  .footer { display: block; }
  .footer p + p { margin-top: 8px; }
}

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