/*
 * Stylesheet for askmyhomeai.com (public landing + legal pages).
 * Plain static CSS, no build step. Ported from the AskMyWebsite AI landing
 * page (sibling brand) and recolored from indigo/violet to emerald green -
 * same design tokens, radii, spacing and type scale, "casa verde" palette.
 *
 * Sections: reset, tokens, fonts, base type, focus states, nav, buttons,
 * cards, hero, sections, feature grid, how-it-works steps, use-case grid,
 * pricing, FAQ, security grid, footer, consent banner, generic content-page
 * layout (for /privacy, /terms), responsive breakpoints.
 */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* ---------- Tokens ---------- */
:root {
  /* Light "green glass" theme - emerald accent family. */
  --bg: #eef9f4;
  --surface: rgba(255, 255, 255, 0.62);
  --border: rgba(5, 150, 105, 0.14);
  --emerald-deep: #059669;
  --emerald: #10b981;
  --mint: #a7f3d0;
  --accent: #10b981;
  /* Accent for TEXT on the light background - #059669 measures well above
     4.5:1. Decorative accents (borders, glows, gradients) keep --accent;
     anything that must be read uses this. */
  --accent-text: #047857;
  /* Readable link color, slightly brighter than --accent-text for variety
     while still clearing 4.5:1 on --bg. */
  --link-text: #047857;
  --text: #33413c;
  --text-strong: #16261f;
  --muted: #58685f;
  --faint: #8b9a91;
  --grad-accent: linear-gradient(92deg, #059669, #10b981 45%, #34d399);
  --radius-card: 20px;
  --radius-btn: 14px;
  --container: 1120px;
  /* Shared by .site-header and the .hero height math: the header is sticky,
     so a 100svh hero would push its own bottom edge below the fold by exactly
     this much. */
  --header-h: 64px;
  /* Vertical rhythm. A .section pays half of it top and bottom, so the gap
     between two sections is 2x, and a separator dropped between them lands
     dead centre. Change it here, not per-section. */
  --section-gap: 96px;
  --divider-gap: 64px;
  --font-display: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, sans-serif;
}

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */
body {
  /* Soft pastel washes over the base - gives the glass cards something to
     refract and keeps the page from reading as flat gray. */
  background:
    radial-gradient(900px 600px at 85% 8%, rgba(16, 185, 129, 0.1), transparent 60%),
    radial-gradient(800px 600px at 8% 92%, rgba(5, 150, 105, 0.08), transparent 60%),
    linear-gradient(180deg, #f2faf6 0%, #eef8f2 55%, #eaf6ef 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Sticky footer: main absorbs the slack so .site-footer never rises above
   the bottom edge of the viewport on short pages. */
main {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  margin-top: auto;
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  color: var(--text-strong);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Keyboard users' first tab stop: invisible until focused, then a small card
   pinned under the header. */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
}

.skip-link:focus-visible {
  position: fixed;
  left: 16px;
  top: 12px;
  background: #ffffff;
  color: var(--text-strong);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(22, 38, 31, 0.18);
}

/* Visible focus state for keyboard navigation, everywhere on the site. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(242, 250, 246, 0.75);
  border-bottom: 1px solid rgba(22, 38, 31, 0.08);
}

.nav {
  height: 100%;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-strong);
  text-decoration: none;
  white-space: nowrap;
}

.logo-mark {
  display: block;
  flex: none;
}

.logo-name {
  display: inline;
}

.logo-ai {
  color: var(--accent-text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  color: var(--text);
}

.nav-login-mobile {
  display: none;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar {
    transition: none;
  }
}

/* Legal pages (privacy.html, terms.html) keep a plain header with no
   hamburger menu, just the logo and one CTA button - on very narrow phones
   that pair no longer fits one row, so it wraps instead of clipping. Harmless
   on the homepage too: by the time a header wraps here, the CTA is already
   hidden behind .nav-toggle (see the 680px block below). */
@media (max-width: 420px) {
  .site-header {
    height: auto;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 10px 24px;
    row-gap: 8px;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* The persistent CTA button + the menu toggle do not both fit at once -
     the CTA moves into the panel below as .nav-login-mobile. Scoped to
     headers that actually have a toggle (the homepage): the legal pages'
     header has no menu panel to fall back on, so their CTA button stays. */
  .nav:has(.nav-toggle) .nav-right .btn-primary,
  .nav-right .btn-ghost {
    display: none;
  }

  .nav-links .nav-login-mobile {
    display: block;
    font-weight: 700;
    color: var(--accent-text);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    background: #f2faf6;
    border-bottom: 1px solid rgba(22, 38, 31, 0.08);
    box-shadow: 0 12px 28px rgba(22, 38, 31, 0.08);
  }

  .nav[data-menu="open"] .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
    font-size: 16px;
    color: var(--text);
  }

  .nav-links > * + * {
    border-top: 1px solid rgba(22, 38, 31, 0.07);
  }
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  transition: filter 0.15s ease, transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  /* Darker ramp than --grad-accent: white 15px/700 needs 4.5:1 across the
     whole gradient, and the light end of the decorative gradient is lighter. */
  background: linear-gradient(92deg, #047857, #059669 55%, #10b981);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  border: 1px solid transparent;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(22, 38, 31, 0.18);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(22, 38, 31, 0.05);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

/* ---------- Cards ---------- */
.card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 18px 44px rgba(5, 150, 105, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 22px 52px rgba(5, 150, 105, 0.16);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 14px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.14) 0%,
    rgba(5, 150, 105, 0.06) 45%,
    transparent 70%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

main {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 600;
}

.hero h1 {
  margin-top: 18px;
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 58px);
}

.hero h1 .grad {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tag {
  margin-top: 18px;
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
}

.hero .cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .sub-cta {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.hero .sub-cta a {
  color: var(--link-text);
  font-weight: 700;
  text-decoration: none;
}

/* The generated artwork ships on a solid dark backdrop (no alpha matte), so
   it is framed as its own rounded card rather than floated as a free-standing
   cut-out over the light page background. */
.hero-media {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 56%;
  max-width: 640px;
  z-index: 1;
  pointer-events: none;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(5, 150, 105, 0.22), 0 4px 18px rgba(5, 150, 105, 0.14);
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding: 88px 0 0;
    text-align: left;
  }

  .hero-inner {
    order: 1;
  }

  .hero-media {
    position: static;
    transform: none;
    width: 100%;
    max-width: 420px;
    margin: 32px auto 0;
    order: 2;
    border-radius: 20px;
  }

  .hero-media img {
    width: 100%;
    height: auto;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-gap) 0;
}

@media (max-width: 640px) {
  :root {
    --section-gap: 68px;
    --divider-gap: 44px;
  }
}

.section-separator {
  height: 1px;
  background: var(--border);
}

.hero + .container .section-separator {
  margin-top: var(--section-gap);
}

.section h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 640px) {
  .br-wide {
    display: none;
  }
}

.section .section-sub {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Feature grid ("how it works" key features) ---------- */
.how-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.how-card {
  text-align: center;
  padding: 32px 20px;
}

.how-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--emerald-deep), var(--emerald));
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.42);
  margin-bottom: 20px;
}

.how-icon svg {
  width: 26px;
  height: 26px;
}

.how-card h3 {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-strong);
  margin-top: 0;
}

.how-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.how-divider {
  margin: var(--divider-gap) 0;
  height: 1px;
  background: var(--border);
}

.how-subheading {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--text-strong);
}

/* Three numbered steps ("how it works" install flow). */
.how-steps {
  max-width: 720px;
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.how-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 62px;
}

.how-steps li:last-child {
  padding-bottom: 0;
}

.how-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--emerald-deep), var(--emerald));
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35);
}

.how-steps h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
  padding-top: 8px;
}

.how-steps p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.how-steps code {
  font-size: 13px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.14);
  border-radius: 6px;
  padding: 1px 6px;
}

/* ---------- Use cases / audience grid ---------- */
.usecase-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usecase-card h3 {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-strong);
}

.usecase-card p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .usecase-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .usecase-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .how-steps li {
    padding-left: 54px;
  }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-strong);
}

.plan-price .amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent-text);
}

.plan-price .period {
  font-size: 13px;
  color: var(--muted);
}

.plan-tagline {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  text-align: left;
}

.plan-highlights {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  flex-grow: 1;
  margin-bottom: 20px;
}

.plan-highlights li {
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.plan-highlights li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

.plan-cta {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.plan-card.popular {
  border-color: rgba(167, 243, 208, 0.6);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.25);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #047857;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 14px;
  border-radius: 999px;
}

.pricing-note {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.pricing-note a {
  color: var(--link-text);
  font-weight: 700;
  text-decoration: none;
}

.pricing-secondary-cta {
  margin-top: 20px;
  text-align: center;
}

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

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
}

.faq-list .faq-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(5, 150, 105, 0.07);
  padding: 0 20px;
  transition: border-color 0.2s ease;
}

.faq-list .faq-item:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.faq-list .faq-item summary {
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-weight: 600;
  color: var(--text-strong);
  font-size: 15.5px;
  position: relative;
  list-style: none;
}

.faq-list .faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-list .faq-item summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--accent-text), var(--accent-text)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent-text), var(--accent-text)) center / 2px 12px no-repeat;
  transition: transform 0.2s ease;
}

.faq-list .faq-item[open] summary::after {
  background: linear-gradient(var(--accent-text), var(--accent-text)) center / 12px 2px no-repeat;
}

.faq-list .faq-item p {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Security grid ---------- */
.security-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-card h3 {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-strong);
}

.security-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Consent banner ---------- */
#consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 850px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(22, 38, 31, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--text);
  text-align: left;
  display: none;
  box-shadow: 0 8px 30px rgba(22, 38, 31, 0.18);
  z-index: 100;
}

#consent .consent-row {
  display: flex;
  align-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

#consent p {
  flex: 1 1 420px;
}

@media (max-width: 560px) {
  #consent .consent-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #consent p {
    flex: 0 0 auto;
  }

  #consent .btns {
    flex-direction: row-reverse;
    justify-content: flex-start;
  }

  #consent button {
    flex: 1;
  }
}

#consent p {
  line-height: 1.5;
  color: var(--muted);
}

#consent a {
  color: var(--link-text);
  font-weight: 700;
  text-decoration: none;
}

#consent .btns {
  display: flex;
  flex-direction: row-reverse;
  align-content: center;
  gap: 8px;
}

#consent button {
  font-size: 13px;
  cursor: pointer;
  padding: 8px 16px;
}

/* ---------- Generic content page (privacy, terms) ---------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.page h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
}

.page h2 {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 700;
}

.page h3 {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 700;
}

.page p {
  margin-top: 14px;
  color: var(--text);
  line-height: 1.65;
  font-size: 15.5px;
}

.page ul {
  margin-top: 14px;
  padding-left: 4px;
}

.page ul li {
  position: relative;
  padding-left: 20px;
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.6;
}

.page ul li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--faint);
}

.page a {
  color: var(--link-text);
  font-weight: 700;
  text-decoration: none;
}

.page .updated {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .page {
    padding: 48px 18px 72px;
  }
}

/* ---------- Responsive: grids ---------- */
@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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