/* ============================================
   Apple-style light theme
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #fbfbfd;
  --bg-card: #f5f5f7;
  --border: #d2d2d7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --accent: #0066cc;
  --accent-hover: #0051a2;
  --cta: #1d1d1f;
  --cta-hover: #000000;
  --success: #0f9d58;
  --danger: #d64545;
  --warning: #b25e00;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 20px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.028em; }
h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 24px; }
h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 16px; }
h4 { font-size: 20px; margin-bottom: 12px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 8px; }

/* ============================================
   Sticky header
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.site-header__logo {
  font-size: 17px; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em;
}
.site-header__nav { display: flex; gap: 28px; }
.site-header__nav a {
  font-size: 13px; color: var(--text); font-weight: 500;
}
.site-header__nav a:hover { color: var(--accent); }
.site-header__cta {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 980px;
  background: var(--accent); color: #fff !important;
  font-size: 13px; font-weight: 500;
}
.site-header__cta:hover { background: var(--accent-hover); color: #fff !important; }

@media (max-width: 720px) {
  .site-header__nav { display: none; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}
.hero__date {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 980px;
  background: var(--bg-card); color: var(--text-muted);
  font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.hero__date::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 8px rgba(15,157,88,.5);
}
.hero__title {
  max-width: 900px; margin: 0 auto 24px;
}
.hero__lead {
  max-width: 720px; margin: 0 auto 36px;
  font-size: clamp(19px, 2vw, 21px);
  color: var(--text-muted);
  line-height: 1.5;
}
.hero__cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  max-width: 720px; margin: 0 auto;
}
.hero__stat-num {
  font-size: 32px; font-weight: 700; color: var(--accent);
  display: block;
}
.hero__stat-label {
  font-size: 14px; color: var(--text-muted);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 980px;
  font-family: var(--font); font-size: 16px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: transform .15s, background .2s, box-shadow .2s;
  border: none;
}
.btn:active { transform: scale(.98); }
.btn--primary {
  background: var(--accent); color: #fff !important;
}
.btn--primary:hover {
  background: var(--accent-hover); color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,102,204,.24);
}
.btn--dark {
  background: var(--cta); color: #fff !important;
}
.btn--dark:hover {
  background: var(--cta-hover); color: #fff !important;
  box-shadow: 0 8px 24px rgba(29,29,31,.24);
}
.btn--ghost {
  background: var(--bg-card); color: var(--text) !important;
}
.btn--ghost:hover { background: var(--border); color: var(--text) !important; }
.btn--large { padding: 16px 36px; font-size: 17px; }

/* ============================================
   Sections
   ============================================ */
section { padding: 80px 0; }
section.section--tight { padding: 48px 0; }
section.section--soft { background: var(--bg-soft); }
section.section--card { background: var(--bg-card); }

.section__eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 12px;
}
.section__title { text-align: center; margin-bottom: 16px; }
.section__lead {
  max-width: 720px; margin: 0 auto 48px;
  text-align: center; color: var(--text-muted);
  font-size: 18px;
}

/* ============================================
   TOC (Table of Contents)
   ============================================ */
.toc {
  background: var(--bg-soft); border-radius: var(--radius-lg);
  padding: 32px; margin: 48px auto; max-width: 820px;
  border: 1px solid var(--border);
}
.toc__title {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.toc__list {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
}
.toc__list li { margin: 0; }
.toc__list a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); font-size: 15px;
  transition: background .15s, color .15s;
}
.toc__list a:hover { background: #ffffff; color: var(--accent); }
@media (max-width: 640px) {
  .toc__list { grid-template-columns: 1fr; }
}

/* ============================================
   Prose (article text)
   ============================================ */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 {
  margin-top: 48px; margin-bottom: 20px;
  scroll-margin-top: 72px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 32px; margin-bottom: 12px;
  font-size: 22px;
}
.prose p, .prose ul, .prose ol { color: #333336; }
.prose strong { color: var(--text); font-weight: 600; }

/* ============================================
   Two-column audience block
   ============================================ */
.audience {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 820px; margin: 40px auto;
}
.audience__col {
  background: #ffffff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.audience__col--good { border-color: rgba(15,157,88,.3); }
.audience__col--bad { border-color: rgba(214,69,69,.3); }
.audience__title {
  font-size: 18px; font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.audience__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 15px; font-weight: 700;
}
.audience__badge--good { background: #eaf7ee; color: var(--success); }
.audience__badge--bad { background: #fce8e8; color: var(--danger); }
.audience__list { list-style: none; padding: 0; margin: 0; }
.audience__list li {
  padding: 8px 0 8px 24px; position: relative;
  font-size: 15px; line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.audience__list li:last-child { border-bottom: none; }
.audience__list li::before {
  position: absolute; left: 0; top: 8px;
  font-weight: 700;
}
.audience__col--good .audience__list li::before { content: '+'; color: var(--success); }
.audience__col--bad  .audience__list li::before { content: '−'; color: var(--danger); }

@media (max-width: 720px) {
  .audience { grid-template-columns: 1fr; }
}

/* ============================================
   Methodology
   ============================================ */
.methodology {
  max-width: 820px; margin: 0 auto;
}
.methodology__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 28px;
}
.methodology__item {
  background: #ffffff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.methodology__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600;
  margin-bottom: 12px;
}
.methodology__label {
  font-size: 16px; font-weight: 600; margin-bottom: 6px;
}
.methodology__desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.5;
}

/* ============================================
   Comparison table
   ============================================ */
.table-wrap {
  max-width: 1000px; margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.comp-table {
  width: 100%; border-collapse: collapse;
  background: #ffffff;
  font-size: 14px;
}
.comp-table thead {
  background: var(--bg-card);
}
.comp-table th {
  padding: 16px 12px; text-align: left;
  font-weight: 600; font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}
.comp-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.comp-table tbody tr:hover { background: var(--bg-soft); }
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table__rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-card);
  font-weight: 600; font-size: 13px;
}
.comp-table__rank--top {
  background: var(--accent); color: #fff;
}
.comp-table__score {
  display: inline-block; padding: 4px 10px; border-radius: 980px;
  background: #eaf1fb; color: var(--accent);
  font-weight: 600; font-size: 13px;
}
.comp-table__link {
  display: inline-flex; padding: 6px 14px;
  border-radius: 980px; background: var(--cta);
  color: #fff !important; font-size: 13px; font-weight: 500;
}
.comp-table__link:hover { background: var(--cta-hover); color: #fff !important; }

/* ============================================
   Service cards
   ============================================ */
.services { display: grid; gap: 24px; max-width: 900px; margin: 0 auto; }
.service {
  background: #ffffff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform .2s, box-shadow .2s;
}
.service:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.service--top {
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
  border-color: var(--accent); border-width: 2px;
}
.service__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.service__title { margin: 0; font-size: 24px; }
.service__title-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-card); color: var(--text);
  font-size: 15px; font-weight: 700;
  margin-right: 12px;
}
.service--top .service__title-num { background: var(--accent); color: #fff; }
.service__score {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 68px; height: 40px; padding: 0 14px;
  border-radius: 980px;
  background: #eaf1fb; color: var(--accent);
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.service__desc { color: #333336; margin-bottom: 20px; }
.service__pros-cons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 24px;
}
.service__list { list-style: none; padding: 0; margin: 0; }
.service__list li {
  padding: 6px 0 6px 22px; position: relative;
  font-size: 14px; line-height: 1.5; color: #333336;
}
.service__list li::before {
  position: absolute; left: 0; top: 6px;
  font-weight: 700;
}
.service__pros li::before { content: '+'; color: var(--success); }
.service__cons li::before { content: '−'; color: var(--danger); }
.service__list-title {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 6px;
}

@media (max-width: 640px) {
  .service { padding: 24px; }
  .service__head { flex-direction: column; }
  .service__pros-cons { grid-template-columns: 1fr; }
}

/* ============================================
   Checklist
   ============================================ */
.checklist {
  max-width: 720px; margin: 0 auto;
  background: #ffffff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.checklist__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.checklist__item:last-child { border-bottom: none; }
.checklist__check {
  flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.checklist__text { font-size: 16px; line-height: 1.5; }
.checklist__text strong { color: var(--text); }

/* ============================================
   Steps (Numbered)
   ============================================ */
.steps { max-width: 820px; margin: 0 auto; }
.steps__item {
  display: flex; gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.steps__item:last-child { border-bottom: none; }
.steps__num {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-card); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.steps__body { flex: 1; }
.steps__title {
  font-size: 18px; font-weight: 600; margin-bottom: 8px;
}
.steps__desc { color: #333336; font-size: 15px; }

/* ============================================
   Mistakes
   ============================================ */
.mistakes { max-width: 820px; margin: 0 auto; }
.mistake {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.mistake:last-child { border-bottom: none; }
.mistake__num {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--danger);
  color: var(--danger);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.mistake__title {
  font-size: 20px; font-weight: 600; margin-bottom: 8px;
}
.mistake__desc { color: #333336; }

/* ============================================
   Ethics box
   ============================================ */
.ethics {
  max-width: 820px; margin: 0 auto;
  background: #fef8ec; border: 1px solid #f3d180;
  border-radius: var(--radius-lg); padding: 32px;
}
.ethics__title {
  color: var(--warning); font-size: 22px;
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.ethics__title::before {
  content: '!'; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--warning); color: #fff;
  font-size: 16px; font-weight: 700;
}
.ethics p { color: #4c3c1a; }
.ethics__list { color: #4c3c1a; }
.ethics__law {
  display: inline-block;
  background: rgba(255,255,255,.6); padding: 2px 8px;
  border-radius: 6px; font-size: 14px; font-family: 'SF Mono', Menlo, monospace;
  color: var(--warning); font-weight: 600;
}

/* ============================================
   FAQ (accordion)
   ============================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #ffffff; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  padding: 20px 56px 20px 24px;
  font-size: 17px; font-weight: 600;
  cursor: pointer; position: relative;
  list-style: none;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--accent);
  transition: transform .2s;
}
.faq details[open] summary::after {
  content: '−';
}
.faq summary:hover { background: var(--bg-soft); }
.faq__body {
  padding: 0 24px 24px;
  color: #333336; font-size: 15px; line-height: 1.6;
}
.faq__body p { margin-bottom: 12px; }
.faq__body p:last-child { margin-bottom: 0; }

/* ============================================
   Final CTA block
   ============================================ */
.final-cta {
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  padding: 100px 0;
}
.final-cta__title {
  text-align: center; margin-bottom: 16px;
}
.final-cta__lead {
  text-align: center; color: var(--text-muted);
  font-size: 19px; max-width: 620px; margin: 0 auto 48px;
}
.final-cta__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.final-cta__card {
  background: #ffffff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.final-cta__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.final-cta__card--main {
  background: var(--cta); border-color: var(--cta);
}
.final-cta__card--main .final-cta__card-title,
.final-cta__card--main .final-cta__card-desc { color: #ffffff; }
.final-cta__card-title {
  font-size: 20px; font-weight: 600; margin-bottom: 12px;
}
.final-cta__card-desc {
  color: var(--text-muted); font-size: 15px; margin-bottom: 24px;
  line-height: 1.5;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--bg-card); padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.site-footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.site-footer__meta { font-size: 13px; color: var(--text-muted); }
.site-footer__badge {
  display: inline-block; padding: 4px 12px;
  border: 1.5px solid var(--danger); color: var(--danger);
  border-radius: 6px; font-weight: 700; font-size: 13px;
  margin-right: 12px;
}
.site-footer__links a {
  color: var(--text-muted); font-size: 13px; margin-left: 20px;
}

/* ============================================
   Age modal
   ============================================ */
.age-modal {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.age-modal__box {
  max-width: 460px; width: 100%;
  background: #ffffff; border-radius: var(--radius-lg);
  padding: 40px 32px; text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.age-modal__badge {
  display: inline-block; padding: 6px 16px;
  border: 2px solid var(--danger); color: var(--danger);
  border-radius: 8px; font-weight: 700; font-size: 15px;
  margin-bottom: 16px;
}
.age-modal__title {
  font-size: 28px; margin-bottom: 12px;
}
.age-modal__desc {
  color: var(--text-muted); font-size: 15px; margin-bottom: 28px;
  line-height: 1.5;
}
.age-modal__row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__title, .hero__lead, .hero__cta-row, .hero__stats {
  animation: fadeUp .6s ease both;
}
.hero__lead { animation-delay: .1s; }
.hero__cta-row { animation-delay: .2s; }
.hero__stats { animation-delay: .3s; }
