@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #17251e;
  --muted: #5c6a62;
  --forest: #164b34;
  --forest-deep: #0d3323;
  --leaf: #49ad6d;
  --mint: #dff5e5;
  --paper: #fbfcf8;
  --warm: #f3e9d6;
  --coral: #d96c55;
  --line: #d8e2da;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(13, 51, 35, 0.11);
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: var(--forest); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: 'Manrope', sans-serif; line-height: 1.12; letter-spacing: 0; }
h1 { font-size: clamp(2.65rem, 6.5vw, 5.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }

.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--white); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { color: inherit; text-decoration: none; font: 800 1.25rem 'Manrope', sans-serif; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: inherit; text-decoration: none; font-weight: 600; }
.nav-links a:hover { text-decoration: underline; }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.45); background: transparent; color: white; padding: 8px 10px; font: inherit; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 19px; border: 1px solid var(--forest); background: var(--forest); color: white; text-decoration: none; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--forest-deep); }
.button-light { border-color: white; background: white; color: var(--forest-deep); }
.nav-links a.button-light { color: var(--forest-deep); }
.nav-links a.button-light:hover { background: var(--mint); text-decoration: none; }
.button-ghost { background: transparent; border-color: currentColor; color: inherit; }
.play-badge { width: 205px; height: auto; }

.hero { min-height: 720px; padding: 148px 0 86px; color: white; background-color: var(--forest-deep); background-image: linear-gradient(110deg, rgba(8,42,28,.98) 0%, rgba(15,66,43,.9) 55%, rgba(20,75,50,.5) 100%), url('clearweek-logo.png'); background-position: center, 84% 51%; background-size: cover, min(430px, 34vw); background-repeat: no-repeat; display: flex; align-items: center; }
.hero-copy { max-width: 720px; }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--leaf); font-weight: 800; text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; }
.hero h1 { max-width: 690px; }
.hero .lead { max-width: 650px; margin-top: 24px; color: #e5f2e9; font-size: clamp(1.06rem, 2vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.trust-line { margin-top: 14px; color: #bfd8c7; font-size: .92rem; }

.section { padding: 92px 0; }
.section-tint { background: #edf4ee; }
.section-dark { color: white; background: var(--forest-deep); }
.section-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: end; margin-bottom: 46px; }
.section-heading p { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p { color: #c8dbce; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.step { padding: 30px 30px 34px 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 40px; color: var(--coral); font: 800 2rem 'Manrope', sans-serif; }
.step p, .feature p { margin-top: 10px; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-height: 230px; padding: 28px; border-top: 4px solid var(--leaf); background: white; box-shadow: 0 9px 26px rgba(13,51,35,.055); }
.feature-icon { width: 42px; height: 42px; margin-bottom: 28px; display: grid; place-items: center; color: white; background: var(--forest); font-weight: 800; }

.privacy-band { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.privacy-mark { width: 100%; aspect-ratio: 1; display: grid; place-items: center; background: var(--mint); border: 1px solid #c5e7cd; }
.privacy-mark img { width: 54%; }
.tick-list { display: grid; gap: 12px; padding: 0; margin: 24px 0 30px; list-style: none; }
.tick-list li::before { content: '✓'; margin-right: 10px; color: var(--leaf); font-weight: 800; }

.blog-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.article-card { grid-column: span 4; padding: 27px; border: 1px solid var(--line); background: white; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.article-card:first-child { grid-column: span 8; background: var(--warm); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card .kicker { color: var(--coral); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.article-card h3 { margin-top: 40px; font-size: 1.5rem; }
.article-card p { margin-top: 12px; color: var(--muted); }

.cta-band { display: flex; justify-content: space-between; gap: 50px; align-items: center; padding: 46px; background: var(--forest); color: white; }
.cta-band h2 { max-width: 620px; }

.site-footer { padding: 58px 0 30px; color: #d9e7dd; background: #09291c; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 42px; }
.footer-grid h3 { margin-bottom: 14px; color: white; font-size: .95rem; }
.footer-grid a { display: block; margin-top: 8px; color: #d9e7dd; text-decoration: none; }
.footer-note { margin-top: 50px; padding-top: 22px; border-top: 1px solid #315243; color: #9eb6a6; font-size: .82rem; }

.page-hero { padding: 150px 0 76px; color: white; background: var(--forest-deep); }
.page-hero h1 { max-width: 850px; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.page-hero p { max-width: 690px; margin-top: 20px; color: #cfe1d5; font-size: 1.12rem; }
.breadcrumbs { margin-bottom: 26px; color: #a9c4b2; font-size: .9rem; }
.breadcrumbs a { color: white; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 250px; gap: 70px; align-items: start; }
.article-body { font-size: 1.06rem; }
.article-body h2 { margin: 50px 0 18px; font-size: clamp(1.65rem, 3vw, 2.4rem); }
.article-body h3 { margin: 32px 0 12px; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 20px; }
.article-body blockquote { margin: 30px 0; padding: 18px 24px; border-left: 4px solid var(--leaf); background: var(--mint); font: 700 1.2rem 'Manrope', sans-serif; }
.formula { margin: 26px 0; padding: 20px; border: 1px solid var(--line); background: #f3f7f3; text-align: center; font-weight: 700; }
.article-meta { margin-top: 24px; color: #bdd1c4; }
.article-aside { position: sticky; top: 24px; padding: 24px; border-top: 4px solid var(--leaf); background: #edf4ee; }
.article-aside p { margin: 10px 0 18px; color: var(--muted); }
.related { margin-top: 58px; padding-top: 32px; border-top: 1px solid var(--line); }
.related a { display: block; margin-top: 12px; font-weight: 700; }

@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 20px; background: var(--forest-deep); border: 1px solid #416b58; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .menu-button { display: block; }
  .hero { min-height: 680px; background-position: center, 112% 72%; background-size: cover, 330px; }
  .section-heading, .privacy-band, .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .feature { min-height: auto; }
  .article-card, .article-card:first-child { grid-column: span 12; }
  .article-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--content)); }
  .hero { min-height: 720px; padding-top: 126px; background-position: center, 145% 82%; background-size: cover, 285px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section { padding: 66px 0; }
  .cta-band { align-items: flex-start; flex-direction: column; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}