/* =========================================================================
   ThaiLetters.com — landing + how-it-works stylesheet
   Shared by index.html and howitworks.html.
   Dark by default (deep teal + gold, like the trainer) with a cream and
   charcoal light mode. Both themes are token blocks at the top, so every
   rule below is colour-agnostic. The shared header and network footer
   live in site.css.
   ========================================================================= */

/* ---- theme tokens: dark is the default, light is opt-in ---- */
:root[data-theme="dark"] .lp, .lp {
  --paper: #1a2e2e;
  --paper-2: #21403c;
  --paper-3: #294b46;
  --ink-1: #ffffff;
  --ink-2: #ffffff;
  --ink-3: #c3ccca;
  --edge: rgba(244, 234, 213, 0.14);
  --edge-2: rgba(244, 234, 213, 0.08);
  --accent-1: #e6a23c;
  --accent-2: #f0c078;
  --ghost-edge: rgba(230, 162, 60, 0.34);
  --wash: rgba(230, 162, 60, 0.12);
  --wash-edge: rgba(230, 162, 60, 0.30);
  --wash-ink: #f6e4c2;
  --glyph: #e6a23c;
  --cta: #c2381f;
  --cta-h: #cf3d23;
  --cta-ink: #ffffff;
  --cta-shadow: rgba(0, 0, 0, 0.40);
  --btn2-bg: #e6a23c;
  --btn2-bg-h: #f0c078;
  --btn2-ink: #142323;
  --glow-1: rgba(230, 162, 60, 0.10);
  --glow-2: rgba(14, 84, 80, 0.34);
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23e6a23c' stroke-width='1.4'%3E%3Ccircle cx='60' cy='60' r='54'/%3E%3Ccircle cx='60' cy='60' r='38'/%3E%3Cpath d='M60 6c14 18 14 36 0 54-14-18-14-36 0-54zM60 114c-14-18-14-36 0-54 14 18 14 36 0 54zM6 60c18-14 36-14 54 0-18 14-36 14-54 0zM114 60c-18 14-36 14-54 0 18-14 36-14 54 0z'/%3E%3C/g%3E%3C/svg%3E");
  --motif-op: 0.07;
  --card-bg: linear-gradient(168deg, #24443f 0%, #1a3330 100%);
  --card-edge: rgba(230, 162, 60, 0.20);
  --feature-bg: linear-gradient(150deg, #25473f 0%, #1a3531 100%);
  --feature-edge: rgba(230, 162, 60, 0.22);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.45);
}
:root[data-theme="light"] .lp {
  --paper: #fbf7f0;
  --paper-2: #ffffff;
  --paper-3: #f3ede2;
  --ink-1: #16302e;
  --ink-2: #4d605d;
  --ink-3: #62706d;
  --edge: rgba(22, 48, 46, 0.12);
  --edge-2: rgba(22, 48, 46, 0.07);
  --accent-1: #0e5450;
  --accent-2: #14706a;
  --ghost-edge: rgba(14, 84, 80, 0.28);
  --wash: #e9f1ed;
  --wash-edge: rgba(14, 84, 80, 0.14);
  --wash-ink: #1d4c48;
  --glyph: #a1701c;
  --cta: #c2381f;
  --cta-h: #a72d17;
  --cta-ink: #ffffff;
  --cta-shadow: rgba(194, 56, 31, 0.26);
  --btn2-bg: #0e5450;
  --btn2-bg-h: #14706a;
  --btn2-ink: #ffffff;
  --glow-1: rgba(143, 99, 24, 0.13);
  --glow-2: rgba(14, 84, 80, 0.10);
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230e5450' stroke-width='1.4'%3E%3Ccircle cx='60' cy='60' r='54'/%3E%3Ccircle cx='60' cy='60' r='38'/%3E%3Cpath d='M60 6c14 18 14 36 0 54-14-18-14-36 0-54zM60 114c-14-18-14-36 0-54 14 18 14 36 0 54zM6 60c18-14 36-14 54 0-18 14-36 14-54 0zM114 60c-18 14-36 14-54 0 18-14 36-14 54 0z'/%3E%3C/g%3E%3C/svg%3E");
  --motif-op: 0.05;
  --card-bg: linear-gradient(168deg, #1c3634 0%, #142323 100%);
  --card-edge: rgba(244, 234, 213, 0.10);
  --feature-bg: linear-gradient(150deg, #143c39 0%, #0e2b29 100%);
  --feature-edge: rgba(244, 234, 213, 0.12);
  --shadow-sm: 0 2px 8px rgba(22, 48, 46, 0.05);
  --shadow-md: 0 12px 34px rgba(22, 48, 46, 0.09);
  --shadow-lg: 0 30px 70px rgba(22, 48, 46, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp {
  margin: 0;
  background: var(--paper);
  color: var(--ink-1);
  font-family: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.lp .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp h1, .lp h2, .lp h3 { font-family: 'Fraunces', Georgia, serif; margin: 0; }
.lp main a { color: var(--accent-1); }
.lp [lang="th"], .lp .th { font-family: 'Noto Serif Thai', serif; }

.lp .skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--btn2-bg); color: var(--btn2-ink); padding: 10px 16px;
  border-radius: 0 0 8px 0; font-size: 13px; font-weight: 600;
}
.lp .skip-link:focus { left: 0; }

/* section furniture ---------------------------------------------------- */
.lp section { position: relative; }
.lp .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-1);
  background: var(--wash); border: 1px solid var(--wash-edge);
  padding: 6px 13px; border-radius: 999px; margin: 0 0 18px;
}
.lp .sec-h {
  font-weight: 600; font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.14; letter-spacing: -0.015em; margin: 0 0 12px;
}
.lp .sec-p { color: var(--ink-2); font-size: 17px; max-width: 60ch; margin: 0 0 30px; }
.lp .sec-head { text-align: center; }
.lp .sec-head .sec-p { margin-left: auto; margin-right: auto; }

/* buttons -------------------------------------------------------------- */
.lp .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 0.005em;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.lp .btn-primary {
  background: var(--cta); color: var(--cta-ink);
  box-shadow: 0 10px 26px var(--cta-shadow);
}
.lp .btn-primary:hover { background: var(--cta-h); transform: translateY(-2px); }
.lp .btn-ghost { background: transparent; color: var(--accent-1); border-color: var(--ghost-edge); }
.lp .btn-ghost:hover { background: var(--wash); transform: translateY(-2px); }
.lp .btn-dark { background: var(--btn2-bg); color: var(--btn2-ink); box-shadow: var(--shadow-sm); }
.lp .btn-dark:hover { background: var(--btn2-bg-h); transform: translateY(-2px); }
.lp .btn .arw { transition: transform 0.16s ease; }
.lp .btn:hover .arw { transform: translateX(3px); }
.lp .btn:focus-visible, .lp a:focus-visible, .lp summary:focus-visible {
  outline: 2px solid var(--accent-1); outline-offset: 3px; border-radius: 6px;
}

/* ---------------------------------------------------------- PAGE HERO
   Compact hero for the secondary landing pages (how it works). Smaller
   than the homepage hero so the content starts high on the page. */
.page-hero { padding: 40px 0 6px; position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(58% 70% at 84% 0%, var(--glow-1), transparent 62%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs {
  font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3);
  margin: 0 0 18px;
}
.crumbs a { color: var(--ink-3); text-decoration: none; border-bottom: 1px solid var(--edge); }
.crumbs a:hover { color: var(--accent-1); border-color: var(--accent-1); }
.crumbs span[aria-current] { color: var(--ink-2); }
.page-hero h1 {
  font-weight: 600; font-size: clamp(31px, 4.4vw, 50px);
  line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 16px;
  max-width: 24ch;
}
.page-hero .ph-lead {
  font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--ink-2);
  margin: 0 0 26px; max-width: 62ch;
}
.page-hero .ph-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 620px) {
  .page-hero { padding-top: 28px; }
  .page-hero .ph-cta .btn { width: 100%; }
}

/* ---------------------------------------------------------------- HERO */
.hero { padding: 46px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 70% at 88% 8%, var(--glow-1), transparent 62%),
    radial-gradient(52% 62% at 6% 0%, var(--glow-2), transparent 60%);
}
/* very light Thai-inspired line motif, kept faint on purpose */
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -60px; top: -40px; width: 420px; height: 420px; opacity: var(--motif-op);
  background-image: var(--motif);
  background-size: contain; background-repeat: no-repeat;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero h1 {
  font-weight: 600; font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.02; letter-spacing: -0.028em; margin: 0 0 18px;
}
/* the closing phrase: gold italic, no highlighter rule.
   Fraunces italic is requested at 400..600 so this is the real italic cut,
   not a browser-synthesised slant. */
.hero h1 .hl {
  color: var(--accent-1);
  font-style: italic;
  white-space: nowrap;
}
.hero .lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); margin: 0 0 26px; max-width: 52ch; }
.hero .lead strong { color: var(--ink-1); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 16px 0 0; font-size: 13px; color: var(--ink-3);
}
.hero-note .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }

/* feature chips */
/* right-hand hero column: the sample card, then the chips in the space
   beneath it. The wrapper keeps .hero-grid at exactly two children. */
.hero-side {
  display: flex; flex-direction: column; align-self: start;
  margin-top: 50px;   /* drops the card below the headline's optical line */
}

/* feature chips: a compact row under the sample card, not inside it */
.chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 7px; margin: 18px 0 0; padding: 0; list-style: none;
}
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--ink-2);
  background: var(--paper-2); border: 1px solid var(--edge);
  padding: 7px 11px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.chips .ic { color: var(--accent-1); font-size: 12px; line-height: 1; }
.chips .th { color: var(--glyph); font-size: 13px; }

/* the Thai guide: sits at the foot of the copy column and tucks slightly
   under the stats strip, the way the mockup has it */
.hero-figure { margin: 18px 0 0; padding: 0; line-height: 0; }
.hero-figure img {
  display: block; width: 100%; max-width: 400px; height: auto;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.30));
}

/* rotating sample card ------------------------------------------------- */
.hero-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 26px; padding: 26px 26px 22px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--card-edge);
  color: #ffffff;
}
.hero-card .hc-top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #aeb7b5; margin-bottom: 6px;
}
.hero-card .hc-top .live { display: inline-flex; align-items: center; gap: 6px; }
.hero-card .hc-top .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: #e6a23c;
  box-shadow: 0 0 0 0 rgba(230, 162, 60, 0.6); animation: hc-pulse 2.4s ease-out infinite;
}
@keyframes hc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 162, 60, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(230, 162, 60, 0); }
}
.hc-stack { position: relative; min-height: 268px; }
.hc {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  opacity: 0; animation: hc-cycle 16s linear infinite;
}
.hc:nth-child(1) { animation-delay: 0s; }
.hc:nth-child(2) { animation-delay: 4s; }
.hc:nth-child(3) { animation-delay: 8s; }
.hc:nth-child(4) { animation-delay: 12s; }
@keyframes hc-cycle {
  0%   { opacity: 0; transform: translateY(10px) scale(0.97); }
  4%   { opacity: 1; transform: none; }
  23%  { opacity: 1; transform: none; }
  27%  { opacity: 0; transform: translateY(-10px) scale(0.98); }
  100% { opacity: 0; transform: translateY(10px) scale(0.97); }
}
.hc .glyph {
  font-family: 'Noto Serif Thai', serif; font-size: clamp(96px, 12vw, 132px);
  line-height: 1; color: #f4ead5; text-shadow: 0 8px 44px rgba(230, 162, 60, 0.28);
}
.hc .nm { font-family: 'Noto Serif Thai', serif; font-size: 27px; color: #e6a23c; margin-top: 10px; }
.hc .rm { font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; margin-top: 4px; color: #ffffff; }
.hc .sl { font-size: 13px; color: #d3dad8; margin-top: 10px; }
.hc .cl {
  margin-top: 14px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px; padding: 3px 10px;
}
.hc .cl.mid  { color: #e6a23c; }
.hc .cl.high { color: var(--cls-high); }
.hc .cl.low  { color: var(--cls-low); }
.hero-card .hc-keys {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(244, 234, 213, 0.12);
  font-size: 11px; color: #b7c0be;
}
.lp kbd {
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 5px;
  border: 1px solid var(--edge); color: var(--ink-1); background: var(--paper-3);
}
/* the sample card is dark in both themes, so its keys stay light-on-dark */
.hero-card kbd {
  border-color: rgba(244, 234, 213, 0.22);
  color: #ffffff; background: rgba(244, 234, 213, 0.05);
}
.hero-card .hc-cta {
  display: block; margin-top: 16px; text-align: center;
  font-size: 13px; font-weight: 600; color: #e6a23c; text-decoration: none;
}
.hero-card .hc-cta:hover { color: #f0c078; }

/* stat strip ----------------------------------------------------------- */
/* no top padding: the stats strip sits directly under the guide */
.stats { padding: 0 0 8px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  background: var(--paper-2); border: 1px solid var(--edge);
  border-radius: 18px; padding: 22px 12px; box-shadow: var(--shadow-sm);
}
.stat { text-align: center; padding: 0 8px; }
.stat b {
  display: block; font-family: 'Fraunces', serif; font-weight: 600;
  font-size: clamp(26px, 3.2vw, 34px); line-height: 1; color: var(--accent-1);
  letter-spacing: -0.02em;
}
.stat span { display: block; font-size: 12px; color: var(--ink-2); margin-top: 6px; line-height: 1.35; }

/* ------------------------------------------------------- HOW IT WORKS */
.how { padding: 56px 0 10px; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  list-style: none; margin: 0; padding: 0;
}
.step {
  background: var(--paper-2); border: 1px solid var(--edge); border-radius: 18px;
  padding: 22px 20px 20px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--wash-edge); }
.step .n {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--wash); color: var(--accent-1);
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 15px; margin-bottom: 12px;
}
.step h3 { font-size: 17.5px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.step .keys { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.step kbd {
  color: var(--ink-1); background: var(--paper-3);
  border: 1px solid var(--edge); font-size: 10.5px;
}
.how-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; margin-top: 18px; padding: 16px 20px;
  background: var(--wash); border: 1px solid var(--wash-edge); border-radius: 16px;
}
.how-foot p { margin: 0; font-size: 14px; color: var(--wash-ink); }
.how-foot p strong { font-weight: 700; }

/* --------------------------------------------------------------- TOOLS */
.tools { padding: 60px 0 10px; }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--paper-2); border: 1px solid var(--edge); border-radius: 18px;
  padding: 22px 20px; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--wash-edge); }
.tool .t-th {
  font-family: 'Noto Serif Thai', serif; font-size: 30px; line-height: 1;
  color: var(--glyph); margin-bottom: 10px;
}
.tool .t-t { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; color: var(--ink-1); }
.tool .t-d { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.tool.feature {
  grid-column: span 2; background: var(--feature-bg);
  border-color: var(--feature-edge);
}
.tool.feature .t-th { color: #e6a23c; font-size: 38px; }
.tool.feature .t-t { color: #ffffff; font-size: 20px; }
.tool.feature .t-d { color: #d9e0de; }
.tool.feature .t-go { margin-top: 12px; font-size: 13px; font-weight: 700; color: #e6a23c; }

/* ----------------------------------------------------------------- WHY */
.why { padding: 60px 0 10px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card {
  background: var(--paper-2); border: 1px solid var(--edge);
  border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow-sm);
}
.why-card .ic {
  font-size: 22px; line-height: 1; margin-bottom: 12px; display: block;
}
.why-card h3 { font-size: 17.5px; font-weight: 600; margin: 0 0 6px; }
.why-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ------------------------------------------------------------- CTA BAND */
.band { padding: 66px 0 6px; }
.band-in {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #0e5450 0%, #123f3c 60%, #142323 100%);
  border-radius: 26px; padding: clamp(30px, 5vw, 52px);
  text-align: center; color: #ffffff;
  box-shadow: var(--shadow-lg); border: 1px solid var(--card-edge);
}
.band-in::after {
  content: "ก ข ค ง จ ฉ ช";
  position: absolute; right: -10px; bottom: -34px;
  font-family: 'Noto Serif Thai', serif; font-size: 108px;
  color: rgba(244, 234, 213, 0.05); white-space: nowrap; pointer-events: none;
}
.band-in h2 { position: relative; font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; margin: 0 0 12px; }
.band-in p { position: relative; margin: 0 auto 26px; max-width: 52ch; color: #ffffff; font-size: 16.5px; }
.band-in .btn-primary { position: relative; }
.band-in kbd { border-color: rgba(244, 234, 213, 0.22); color: #ffffff; background: rgba(244, 234, 213, 0.05); }
.band-in .sub { display: block; margin-top: 16px; font-size: 12.5px; color: #b7c0be; }

/* --------------------------------------------------------------- LEARN */
.learn-copy { padding: 62px 0 10px; }
.learn-copy .lc-wrap { max-width: 760px; margin: 0 auto; }
.learn-copy h2 { font-weight: 600; font-size: clamp(23px, 2.8vw, 30px); margin: 40px 0 12px; letter-spacing: -0.015em; }
.learn-copy h2:first-of-type { margin-top: 0; }
.learn-copy h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 16px; margin: 24px 0 6px; }
.learn-copy p, .learn-copy li { color: var(--ink-2); font-size: 16px; }
.learn-copy p { margin: 0 0 14px; }
.learn-copy strong { color: var(--ink-1); font-weight: 600; }
.learn-copy ul, .learn-copy ol { margin: 0 0 18px; padding-left: 22px; }
.learn-copy li { margin-bottom: 8px; }
.learn-copy a { text-decoration: none; border-bottom: 1px solid var(--ghost-edge); }
.learn-copy a:hover { color: var(--accent-2); border-color: var(--accent-2); }
.learn-copy table {
  width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px;
  background: var(--paper-2); border-radius: 12px; overflow: hidden;
}
.learn-copy th, .learn-copy td { text-align: left; padding: 11px 14px; border: 1px solid var(--edge); color: var(--ink-2); }
.learn-copy th { background: var(--paper-3); color: var(--ink-1); font-weight: 600; }
.learn-copy td[lang="th"] { color: var(--ink-1); font-size: 19px; letter-spacing: 0.08em; }

/* ----------------------------------------------------------------- FAQ */
.faq { padding: 54px 0 10px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--paper-2); border: 1px solid var(--edge); border-radius: 14px;
  margin-bottom: 10px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 17px 52px 17px 20px;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 16.5px;
  color: var(--ink-1); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; font: inherit; margin: 0; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--accent-1); border-bottom: 2px solid var(--accent-1);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--accent-1); }
.faq .a { padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; margin: 0; }

/* responsive ----------------------------------------------------------- */
@media (max-width: 1040px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-top: 34px; }
  /* on narrow screens the headline and CTA come first — the sample card
     follows, so the primary action stays inside the first screenful */
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-side { margin-top: 0; }
  .hc-stack { min-height: 232px; }
  .hero .lead { max-width: none; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .lp .wrap { padding: 0 18px; }
  /* once the hero columns stack, centre the guide and pull her in a size */
  .hero-figure { margin: 14px auto 0; }
  .hero-figure img { max-width: 300px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; padding: 20px 8px; }
  .steps, .tools-grid { grid-template-columns: 1fr; }
  .tool.feature { grid-column: span 1; }
  .hero-cta .btn { width: 100%; }
  .hero-card { padding: 20px 18px 18px; border-radius: 22px; }
  .hc .glyph { font-size: 88px; }
  .how, .tools, .why, .band, .learn-copy, .faq { padding-top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp .btn, .step, .tool, .faq summary::after { transition: none; }
  .lp .btn:hover, .step:hover, .tool:hover { transform: none; }
  .hc { animation: none; opacity: 0; }
  .hc:nth-child(1) { opacity: 1; }
  .hero-card .hc-top .pulse { animation: none; }
}
