/* =============================================================
   Email Writer — emailwriterapp.com
   Shared design system. Clean & premium.
   Palette: ink / brand magenta (restraint) / action teal / mist
   ============================================================= */

:root {
  --ink: #14181f;
  --ink-soft: #3a424e;
  --muted: #5a6472;
  --faint: #8a93a2;
  --paper: #ffffff;
  --mist: #f5f6f8;
  --mist-2: #eef1f5;
  --line: #e6e9ef;
  --line-strong: #d6dae2;

  --magenta: #ec1e63;
  --magenta-ink: #c30f4c;
  --magenta-wash: rgba(236, 30, 99, 0.08);
  --teal: #0e6e7c;
  --teal-ink: #0a5560;
  --teal-wash: rgba(14, 110, 124, 0.08);

  --shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.06), 0 1px 3px rgba(20, 24, 31, 0.05);
  --shadow-md: 0 6px 20px rgba(20, 24, 31, 0.08), 0 2px 6px rgba(20, 24, 31, 0.05);
  --shadow-lg: 0 24px 60px rgba(20, 24, 31, 0.14), 0 8px 24px rgba(20, 24, 31, 0.08);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --wrap: 1160px;
  --wrap-narrow: 760px;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
    Helvetica, Arial, "Helvetica Neue", sans-serif;

  --step: clamp(2rem, 6vw, 4.5rem);
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.022em; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(56px, 9vw, 108px) 0; }
.section--mist { background: var(--mist); }
.section-head { max-width: 680px; margin: 0 0 clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--magenta-ink); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--magenta); border-radius: 2px; }
.section-head.center .eyebrow { justify-content: center; }

h2.title { font-size: clamp(1.9rem, 4vw, 3rem); }
.title .accent { color: var(--magenta); }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); margin-top: 18px; line-height: 1.55; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-pill); border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--teal { --btn-bg: var(--teal); box-shadow: 0 8px 22px var(--teal-wash); }
.btn--teal:hover { --btn-bg: var(--teal-ink); box-shadow: 0 12px 28px rgba(14,110,124,.24); }
.btn--magenta { --btn-bg: var(--magenta); box-shadow: 0 8px 22px var(--magenta-wash); }
.btn--magenta:hover { --btn-bg: var(--magenta-ink); box-shadow: 0 12px 28px rgba(236,30,99,.26); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--mist); --btn-fg: var(--ink); box-shadow: none; }
.btn--sm { padding: 11px 18px; font-size: 0.94rem; }
.btn--lg { padding: 18px 30px; font-size: 1.08rem; }

/* App Store badge button */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; border-radius: 15px; padding: 12px 22px 12px 18px;
  transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: var(--shadow-sm);
}
.store:hover { transform: translateY(-2px); color: #fff; box-shadow: var(--shadow-md); }
.store svg { width: 26px; height: 26px; flex: none; }
.store .store-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store .store-sm { font-size: 0.72rem; letter-spacing: .02em; opacity: .82; }
.store .store-lg { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(20,24,31,.02); }
.nav { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; border-radius: 10px; }
.brand .brand-name { font-weight: 700; letter-spacing: -.02em; font-size: 1.12rem; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  color: var(--ink-soft); font-weight: 550; font-size: 0.96rem;
  padding: 8px 12px; border-radius: 8px; transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 12px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-soft);
}
.lang-btn:hover { background: var(--mist); }
.lang-btn svg { width: 15px; height: 15px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 6px; display: none; flex-direction: column; gap: 2px;
}
.lang[open] .lang-menu, .lang-menu.show { display: flex; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  color: var(--ink-soft); font-weight: 550; font-size: .94rem;
}
.lang-menu a:hover { background: var(--mist); color: var(--ink); }
.lang-menu a[aria-current="true"] { color: var(--magenta-ink); background: var(--magenta-wash); }
.lang-menu .flag { font-size: 1.05rem; }

/* mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    gap: 2px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .18s ease;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px; font-size: 1.02rem; }
  .nav-toggle { display: block; order: 3; }
  .nav-right .btn, .nav-right .store { display: none; }
  .nav-right { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 84px) 0 clamp(48px, 7vw, 90px); }
.hero::before {
  content: ""; position: absolute; z-index: 0; inset: -20% -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle at 70% 30%, var(--magenta-wash), transparent 62%);
  filter: blur(6px); pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 68px); align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 750;
}
.hero h1 .script { color: var(--magenta); }
.hero .lede { max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--muted); font-size: .93rem; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; }
.platforms { display: inline-flex; gap: 14px; align-items: center; color: var(--faint); font-weight: 600; font-size: .9rem; }
.platforms span { display: inline-flex; align-items: center; gap: 6px; }

/* hero visual: the app itself — one line of intent becomes a full email (signature) */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-phone {
  width: min(300px, 74%);
  filter: drop-shadow(0 28px 52px rgba(20,24,31,.18)) drop-shadow(0 8px 18px rgba(20,24,31,.10));
}
.compose-card {
  position: absolute; left: -6%; bottom: 6%; width: min(300px, 74%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 16px; z-index: 2;
}
.compose-card .cc-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 650; margin-bottom: 8px; }
.cc-prompt {
  background: var(--mist); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 13px; font-size: .92rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start;
}
.cc-prompt::before { content: "✏️"; font-size: .95rem; }
.cc-arrow { display: flex; justify-content: center; color: var(--teal); margin: 9px 0; }
.cc-email { border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; font-size: .82rem; color: var(--ink-soft); }
.cc-email b { color: var(--ink); display: block; margin-bottom: 5px; font-size: .86rem; }
.cc-email .line { height: 7px; border-radius: 4px; background: var(--mist-2); margin: 6px 0; }
.cc-email .line.w80 { width: 80%; } .cc-email .line.w60 { width: 60%; } .cc-email .line.w90 { width: 90%; }
.cc-compose {
  margin-top: 12px; width: 100%; background: var(--teal); color: #fff; border: 0; border-radius: 10px;
  padding: 11px; font: inherit; font-weight: 650; font-size: .9rem; display: inline-flex; gap: 8px; justify-content: center; align-items: center;
}

/* ---------- stat / trust bar ---------- */
.statbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--mist); }
.statbar .wrap { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; padding-top: 30px; padding-bottom: 30px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 46px; position: relative; text-align: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 40px; background: var(--line-strong); }
.stat b { font-size: 2rem; font-weight: 750; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) { .stat { padding: 8px 26px; } .stat + .stat::before { display: none; } }

/* ---------- features ---------- */
.grid { display: grid; gap: 22px; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.f-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--magenta-wash); color: var(--magenta);
}
.f-ico.teal { background: var(--teal-wash); color: var(--teal); }
.f-ico svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- how it works (real sequence -> numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step-num {
  font-size: 0.95rem; font-weight: 750; color: var(--magenta); letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.step-num::before { counter-increment: step; content: "0" counter(step); }
.step-num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--magenta), transparent); width: 46px; }
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- screenshots ---------- */
/* App Store–style filmstrip: screenshots butted together (Screen 0 + 1 form one panorama) */
.shots { display: flex; gap: 16px; overflow-x: auto; justify-content: flex-start; padding: 8px 0 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: 224px; height: auto; display: block; margin: 0; }
@media (max-width: 560px) { .shot { width: 200px; } }

/* ---------- guides ---------- */
.guides-grid { grid-template-columns: repeat(3, 1fr); }
.guide-card {
  display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.guide-card .g-tag { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.guide-card h3 { font-size: 1.12rem; line-height: 1.25; }
.guide-card p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.guide-card .g-link { margin-top: 8px; color: var(--magenta-ink); font-weight: 650; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.guide-card:hover .g-link .arr { transform: translateX(3px); }
.g-link .arr { transition: transform .16s ease; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-weight: 650; font-size: 1.08rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--magenta); transition: transform .2s ease, background .2s ease; margin-top: 2px; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--magenta-wash); }
.faq-body { padding: 0 4px 24px; color: var(--muted); max-width: 68ch; }
.faq-body p { margin: 0 0 12px; }
.faq-body .learn-more { font-weight: 650; color: var(--magenta-ink); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #17181d, #201a24 55%, #2a1220); color: #fff; border-radius: 0; }
.cta-band .wrap { text-align: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-band h2 .accent { color: #ff5c8d; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 52ch; margin: 18px auto 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cta-band .store { background: #fff; color: var(--ink); }
.cta-band .store:hover { background: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 64px 0 40px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: #fff; }
.site-footer img { height: 40px; border-radius: 10px; }
.footer-about { max-width: 30ch; margin: 16px 0 0; color: rgba(255,255,255,.55); }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 16px; font-weight: 650; }
.footer-col a { display: block; color: rgba(255,255,255,.66); padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: .88rem; }
.footer-bottom a { color: rgba(255,255,255,.66); }
.footer-langs { display: flex; gap: 14px; }

/* =============================================================
   GUIDE PAGES
   ============================================================= */
.breadcrumb { font-size: .88rem; color: var(--faint); padding: 22px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; color: var(--line-strong); }

.guide-hero { padding: 28px 0 clamp(28px, 5vw, 52px); }
.guide-hero .g-eyebrow { color: var(--teal); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 14px; letter-spacing: -.03em; max-width: 20ch; }
.guide-hero .lede { max-width: 60ch; }
.guide-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--faint); font-size: .9rem; margin-top: 20px; }

.guide-layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: clamp(40px, 6vw, 72px); }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { color: var(--ink-soft); }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: 8px 0; }
.prose ul li::marker { color: var(--magenta); }
.prose a { color: var(--magenta-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose .btn { color: var(--btn-fg); text-decoration: none; }
.prose .btn:hover { color: var(--btn-fg); }

.callout {
  background: var(--teal-wash); border: 1px solid rgba(14,110,124,.18); border-left: 4px solid var(--teal);
  border-radius: var(--r-md); padding: 20px 22px; margin: 26px 0;
}
.callout .c-title { font-weight: 700; color: var(--teal-ink); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.callout p { margin: 0; color: var(--ink-soft); }

/* email sample block */
.sample {
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 24px 0; box-shadow: var(--shadow-sm);
}
.sample .s-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: 12px 18px; font-size: .82rem; color: var(--faint); font-weight: 650; letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.sample .s-body { padding: 20px 22px; font-size: .98rem; color: var(--ink-soft); white-space: pre-line; line-height: 1.7; }
.sample .s-body .subj { font-weight: 700; color: var(--ink); }

/* prompt chip inside guides */
.prompt-chip {
  display: inline-flex; align-items: center; gap: 8px; background: var(--magenta-wash); color: var(--magenta-ink);
  border: 1px dashed rgba(236,30,99,.35); border-radius: var(--r-pill); padding: 7px 14px; font-weight: 600; font-size: .95rem;
}

/* guide inline CTA */
.guide-cta {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; margin: 40px 0; display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
}
.guide-cta img { width: 58px; height: 58px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.guide-cta .gc-txt { flex: 1; min-width: 220px; }
.guide-cta h3 { font-size: 1.2rem; margin-bottom: 6px; }
.guide-cta p { margin: 0; color: var(--muted); font-size: .96rem; }

/* related guides */
.related { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 22px; }
.related a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); font-weight: 600; font-size: .98rem; transition: .16s ease; }
.related a:hover { border-color: var(--magenta); background: var(--magenta-wash); color: var(--magenta-ink); }

/* ---------- reveal on scroll (progressive enhancement: only hidden when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .features-grid, .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 24px; }
  .hero .lede { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features-grid, .guides-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .guide-cta { padding: 22px; }
  .compose-card { position: static; width: 100%; margin-top: 18px; box-shadow: var(--shadow-md); }
  .hero-visual { flex-direction: column; }
}
