/* PuriCat End-to-End IIoT — sales page v2 (mobile-first, no build step) */

@font-face {
  font-family: 'IBM Plex Sans Thai';
  src: url('../fonts/IBMPlexSansThai-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  src: url('../fonts/IBMPlexSansThai-SemiBold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  src: url('../fonts/IBMPlexSansThai-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f7faf9;
  --white: #ffffff;
  --ink: #102a43;
  --navy: #081d2c;
  --navy-2: #0d2a3d;
  --muted: #4f6676;
  --line: #d8e3e1;
  --orange: #ff5a3c;
  --orange-deep: #c2361b;
  --orange-soft: #fff0eb;
  --teal: #21b8a8;
  --teal-ink: #0d7f73;
  --teal-soft: #e8f8f5;
  --on-navy: #e8f1f4;
  --on-navy-muted: #9fb6c3;

  --display: 'Bai Jamjuree', 'IBM Plex Sans Thai', system-ui, sans-serif;
  --body: 'IBM Plex Sans Thai', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1180px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px rgba(8, 29, 44, 0.06), 0 18px 48px -18px rgba(8, 29, 44, 0.22);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--teal); color: var(--navy); }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible, .price :focus-visible, .console :focus-visible { outline-color: var(--orange); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  text-wrap: balance;
  margin: 0;
}
h2 {
  font-size: clamp(1.75rem, 1.1rem + 2.9vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
h2 span { display: block; color: var(--muted); font-weight: 500; }
h3 { font-size: 1.15rem; line-height: 1.4; }
p { margin: 0; }

[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 11vw, 132px); }
.section + .section { border-top: 1px solid var(--line); }
.lead { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.stack > * + * { margin-top: 18px; }
.head { max-width: 760px; }
.head > p { margin-top: 18px; }

.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Placeholders the owner must fill before going live */
.ph {
  background: #fff6c7;
  outline: 1.5px dashed #b88a00;
  border-radius: 4px;
  padding: 0 4px;
  color: #6b4f00;
  font-family: var(--mono);
  font-size: 0.85em;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 1.05rem/1.2 var(--body);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn-buy {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 24px -10px rgba(194, 54, 27, 0.75);
}
.btn-buy:hover { background: #ff6b50; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: #7d9597; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark-ghost { background: transparent; color: var(--on-navy); border-color: rgba(232, 241, 244, 0.28); }
.btn-dark-ghost:hover { border-color: var(--on-navy); }
.btn-block { width: 100%; }
.btn .icon { width: 1.1em; height: 1.1em; }

.under {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Topbar ---------- */
.topbar {
  position: relative;
  z-index: 20;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--orange);
  font-size: 1rem;
}
.topbar nav { display: none; }
.topbar-cta { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }

@media (min-width: 960px) {
  .topbar {
    position: sticky; top: 0;
    background: rgba(247, 250, 249, 0.86);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms;
  }
  .topbar.is-scrolled { border-bottom-color: var(--line); }
  .topbar nav { display: flex; gap: 28px; font-size: 0.95rem; }
  .topbar nav a { text-decoration: none; color: var(--muted); }
  .topbar nav a:hover { color: var(--navy); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 8px;
  padding-bottom: clamp(56px, 8vw, 104px);
  background:
    linear-gradient(rgba(16, 42, 67, 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(16, 42, 67, 0.045) 1px, transparent 1px) 0 0 / 28px 28px;
  -webkit-mask-image: none;
}
.hero-grid { display: grid; gap: 22px; }
.hero h1 {
  font-size: clamp(2.3rem, 1.2rem + 5.6vw, 4.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 13ch;
}
.hero h1 em { font-style: normal; color: var(--orange-deep); }
.hero-sub { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem); color: var(--muted); max-width: 46ch; }
.hero-actions { display: grid; gap: 12px; }
.hero-actions .under { margin-top: 2px; }

/* Flow instrument (canvas) */
.console {
  position: relative;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(33, 184, 168, 0.14), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(255, 90, 60, 0.10), transparent 60%),
    var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.console canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  height: auto;
}
.motion-toggle {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(8, 29, 44, 0.6); color: var(--on-navy);
  border: 1px solid rgba(232, 241, 244, 0.32);
}
.motion-toggle .icon { width: 18px; height: 18px; }
.motion-toggle .icon.pause { fill: currentColor; stroke: none; }
.console-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 18px 16px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--on-navy-muted);
}
.console-legend ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; align-items: center; }
.console-legend li { display: inline-flex; align-items: center; gap: 6px; }
.console-legend li + li::before { content: ''; width: 14px; height: 1px; background: currentColor; opacity: 0.5; }
.console-legend b { color: var(--on-navy); font-weight: 600; }
.console-note { font-family: var(--body); letter-spacing: 0; font-size: 0.78rem; }

@media (min-width: 960px) {
  .hero { padding-top: 40px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    grid-template-areas: 'title console' 'sub console' 'actions console';
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(32px, 4vw, 64px);
    row-gap: 26px;
    align-items: start;
  }
  .hero h1 { grid-area: title; margin-top: 24px; }
  .hero .console { grid-area: console; }
  .hero-sub { grid-area: sub; }
  .hero-actions { grid-area: actions; grid-template-columns: auto auto; justify-content: start; align-content: start; }
  .hero-actions .under { grid-column: 1 / -1; }
  .console canvas { aspect-ratio: 1 / 1.02; }
}

/* ---------- Trust strip ---------- */
.trust { padding-block: 0 8px; }
.trust ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.trust li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.trust li .icon { color: var(--teal-ink); margin-top: 0.3em; }
@media (min-width: 960px) {
  .trust ul { grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 0; }
  .trust li { border-bottom: 0; border-top: 1px solid var(--line); padding-top: 18px; }
}

/* ---------- Problem ---------- */
.pains { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.pains li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains .broken { width: 22px; height: 22px; color: var(--orange-deep); margin-top: 0.25em; }

/* ---------- Outcome path ---------- */
.path { list-style: none; margin: 40px 0 0; padding: 0; position: relative; display: grid; gap: 0; }
.path::before {
  content: ''; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--orange) 0 18%, var(--teal) 42% 100%);
  border-radius: 2px;
}
.path li { position: relative; padding: 0 0 26px 44px; }
.path li::before {
  content: ''; position: absolute; left: 4px; top: 0.42em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--teal);
}
.path li:nth-child(-n + 2)::before { border-color: var(--orange); }
.path li:last-child { padding-bottom: 0; }
.path h3 { font-size: 1.12rem; }
.path p { color: var(--muted); font-size: 0.98rem; margin-top: 4px; }
@media (min-width: 960px) {
  .path { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .path::before { display: none; }
  .path li { padding: 22px 0 22px 44px; border-top: 1px solid var(--line); }
  .path li::before { top: calc(22px + 0.42em); }
}

.note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 36px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--white);
  font-size: 0.95rem; color: var(--muted);
  max-width: 760px;
}
.note .icon { color: var(--ink); margin-top: 0.3em; }

/* ---------- Milestones (navy band) ---------- */
.band {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(33, 184, 168, 0.16), transparent 70%),
    var(--navy);
  color: var(--on-navy);
}
.band h2 { color: var(--white); }
.band .lead { color: var(--on-navy-muted); }
.section.band + .section { border-top: 0; }
.ruler {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px;
  margin-top: 36px;
}
.ruler span {
  height: 8px; border-radius: 3px; background: rgba(232, 241, 244, 0.14);
}
.ruler span.on { background: var(--teal); }
.ruler-labels {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px;
  font-family: var(--mono); font-size: 0.78rem; color: var(--on-navy-muted);
  margin-top: 6px; text-align: center;
}
.miles { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.miles li {
  display: grid; grid-template-columns: 76px 1fr; gap: 14px;
  padding: 16px 0; border-top: 1px solid rgba(232, 241, 244, 0.12);
}
.miles b {
  font-family: var(--mono); font-weight: 600; font-size: 0.82rem; color: var(--teal);
  padding-top: 0.25em; white-space: nowrap;
}
.miles li:nth-child(4) b { color: #ff8a73; }
.miles p { color: var(--on-navy); }
.band .closing { margin-top: 28px; color: var(--on-navy-muted); max-width: 62ch; }

/* ---------- Free sample ---------- */
.sample {
  display: grid; gap: 22px;
  margin-top: 8px;
}
.sample-poster {
  position: relative; display: block;
  aspect-ratio: 1280 / 612; max-width: 100%; border-radius: var(--r-md); overflow: hidden;
  background: var(--white) url('../img/workshop-cover-960.webp') center / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--white); text-decoration: none;
}
.sample-poster .play {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: var(--navy);
  box-shadow: 0 0 0 8px rgba(255, 90, 60, 0.22), 0 10px 24px -8px rgba(8, 29, 44, 0.5);
  transition: transform 200ms var(--ease);
  position: absolute; right: 14px; bottom: 14px;
}
.sample-poster:hover .play { transform: scale(1.06); }
.sample-poster .play .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; margin-left: 4px; }
@media (min-width: 960px) {
  .sample { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; }
}

/* ---------- Episodes ---------- */
.eps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: ep; }
.eps li {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.eps li:last-child { border-bottom: 1px solid var(--line); }
.eps .no {
  font-family: var(--display); font-weight: 600; font-size: 1.9rem; line-height: 1;
  color: var(--line); -webkit-text-stroke: 1px var(--muted);
  color: transparent; padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.eps li.hl .no { -webkit-text-stroke: 0; color: var(--orange-deep); }
.eps h3 { font-family: var(--body); font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.eps p { color: var(--muted); font-size: 0.96rem; margin-top: 4px; }
.eps .tag {
  display: inline-block; margin-top: 8px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em;
  padding: 2px 8px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep);
}
@media (min-width: 960px) {
  .eps { columns: 2; column-gap: 56px; }
  .eps li { break-inside: avoid; }
  .eps li:last-child { border-bottom: 0; }
}
.kit { margin-top: 28px; display: grid; gap: 10px; color: var(--muted); font-size: 0.96rem; }
.kit b { color: var(--ink); }

/* ---------- How to learn ---------- */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.steps .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-ink);
}
.steps .ic .icon { width: 22px; height: 22px; }
.steps p { color: var(--muted); font-size: 0.97rem; margin-top: 2px; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; }
}
.pull {
  margin-top: 36px; max-width: 760px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); line-height: 1.55; color: var(--navy);
}

/* ---------- Instructor + gallery ---------- */
.bio { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; margin-top: 28px; max-width: 820px; }
.bio img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.bio p { color: var(--muted); }

.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%;
  gap: 14px; margin: 36px calc(-1 * var(--gutter)) 0;
  padding: 0 var(--gutter) 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.shot { scroll-snap-align: start; margin: 0; }
.shot button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--white); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 16 / 10;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot figcaption { padding: 12px 2px 0; }
.shot figcaption b { display: block; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--teal-ink); font-weight: 600; }
.shot figcaption span { display: block; font-weight: 700; color: var(--navy); margin-top: 2px; }
.shot figcaption small { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin-top: 2px; }
.swipe-hint { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
@media (min-width: 960px) {
  .gallery { grid-auto-flow: row; grid-template-columns: 1fr 1fr; margin-inline: 0; padding: 0; overflow: visible; gap: 32px; }
  .swipe-hint { display: none; }
}
.sub-h { margin-top: 44px; font-size: 1.15rem; color: var(--navy); }
.lab-gallery { margin-top: 16px; }
.shot--fit button { aspect-ratio: 2 / 1; }
.shot--fit img { object-fit: cover; object-position: top center; }
.honest { margin-top: 22px; font-size: 0.95rem; color: var(--ink); max-width: 760px; }
.honest b { color: var(--orange-deep); }

.lightbox {
  width: min(96vw, 1400px); max-width: none; max-height: 92vh;
  padding: 0; border: 0; border-radius: 16px; background: var(--navy);
}
.lightbox::backdrop { background: rgba(4, 14, 22, 0.82); }
.lightbox img { width: 100%; height: auto; max-height: calc(92vh - 64px); object-fit: contain; background: var(--white); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; color: var(--on-navy); font-size: 0.9rem; }
.lightbox-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(232, 241, 244, 0.3);
  background: transparent; color: var(--on-navy); display: grid; place-items: center; cursor: pointer;
}

/* ---------- Students ---------- */
.student-card {
  margin: 32px 0 0; display: grid; overflow: hidden;
  border-radius: var(--r-md); background: var(--navy); color: var(--on-navy);
}
.student-card__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #0b141c; cursor: zoom-in; }
.student-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 1901 / 906; object-fit: cover; }
.student-card__tag {
  position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(8, 29, 44, 0.86); color: var(--on-navy);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em;
}
.student-card__body { padding: 22px 22px 24px; display: grid; gap: 14px; align-content: start; }
.student-card__label { margin: 0; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--teal); font-weight: 600; }
.student-card__quote { margin: 0; }
.student-card__quote p { margin: 0; font-size: 1.02rem; line-height: 1.75; color: #fff; }
.student-card__quote p::before { content: "“"; color: var(--orange); font-weight: 700; margin-right: 2px; }
.student-card__quote p::after { content: "”"; color: var(--orange); font-weight: 700; margin-left: 2px; }
.student-card__who { display: flex; align-items: center; gap: 12px; padding: 0; }
.student-card__avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--teal); color: var(--navy); font-weight: 700;
}
.student-card__who b { display: block; color: #fff; }
.student-card__who small { display: block; color: var(--on-navy); opacity: 0.8; font-size: 0.86rem; }
@media (min-width: 960px) {
  .student-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); max-width: 1040px; }
  .student-card__media { display: flex; align-items: center; }
  .student-card__media img { align-self: center; }
  .student-card__body { padding: 32px; align-content: center; }
}
.quotes { display: grid; gap: 16px; margin-top: 32px; }
.quote { margin: 0; padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }

/* ---------- Fit ---------- */
.fit { display: grid; gap: 28px; margin-top: 36px; }
.fit h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.fit li .icon { margin-top: 0.32em; }
.fit .yes .icon { color: var(--teal-ink); }
.fit .no { color: var(--muted); }
.fit .no .icon { color: var(--muted); }
@media (min-width: 960px) { .fit { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ---------- Scope ---------- */
.scope { display: grid; gap: 18px; margin-top: 26px; max-width: 760px; color: var(--muted); }
.scope p:last-child { color: var(--ink); }

/* ---------- Included ---------- */
.incl { display: grid; gap: 30px; margin-top: 36px; }
.incl h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; }
.incl ul { list-style: none; margin: 10px 0 0; padding: 0; }
.incl li { padding: 12px 0; border-top: 1px solid var(--line); }
.incl li b { color: var(--navy); }
.incl li span { color: var(--muted); }
@media (min-width: 960px) { .incl { grid-template-columns: 1fr 1.6fr; gap: 56px; } }

/* ---------- Price ---------- */
.price-section { padding-block: clamp(40px, 7vw, 96px); }
.price {
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(255, 90, 60, 0.16), transparent 70%),
    radial-gradient(80% 60% at 0% 100%, rgba(33, 184, 168, 0.14), transparent 70%),
    var(--navy);
  color: var(--on-navy);
  padding: clamp(26px, 5vw, 64px) clamp(20px, 5vw, 64px);
  display: grid; gap: 28px;
  box-shadow: var(--shadow);
}
.price h2 { color: var(--white); }
.price-tag { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.price-tag b {
  font-family: var(--display); font-weight: 700; font-size: clamp(4.2rem, 3rem + 7vw, 7rem); line-height: 0.95;
  color: var(--white); letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.price-tag span { font-family: var(--display); font-size: 1.4rem; color: var(--on-navy); }
.price-tag s { font-family: var(--display); font-size: 1.4rem; color: var(--on-navy-muted); text-decoration-thickness: 2px; align-self: flex-start; margin-top: 0.4em; }
.price-line s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.price-sub { color: var(--on-navy-muted); margin-top: 8px; }
.price .under { color: var(--on-navy-muted); text-align: center; }
.buy-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.buy-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(232, 241, 244, 0.12); }
.buy-steps .n {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 600;
  background: rgba(33, 184, 168, 0.18); color: var(--teal);
}
.buy-steps b { color: var(--white); }
.buy-steps p { color: var(--on-navy-muted); font-size: 0.96rem; }
.buy-steps .ph { color: #6b4f00; }
.price-fine { display: grid; gap: 10px; font-size: 0.93rem; color: var(--on-navy-muted); }
.price-fine .refund { display: flex; gap: 10px; color: var(--on-navy); }
.price-fine .refund .icon { color: var(--teal); margin-top: 0.3em; }
@media (min-width: 960px) {
  .price { grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; }
  .price-left { position: sticky; top: 96px; }
}

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 700; color: var(--navy); min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--orange-deep); transition: transform 200ms var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* ---------- Final CTA ---------- */
.final { text-align: left; }
.final .lead { margin-top: 18px; }
.final-actions { display: grid; gap: 12px; margin-top: 28px; max-width: 420px; }
.final .price-line { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); min-height: 44px; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 120px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
@media (min-width: 960px) { .footer { padding-bottom: 48px; } }

/* ---------- Mobile sticky buy bar ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 250, 249, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 260ms var(--ease);
}
.buybar.show { transform: translateY(0); }
.buybar .btn { min-height: 50px; padding: 0 12px; font-size: 0.98rem; }
@media (min-width: 960px) { .buybar { display: none; } }

/* ---------- Preview ribbon (only when Stripe link not set) ---------- */
.preview-ribbon {
  position: relative; z-index: 50;
  background: #fff6c7; color: #6b4f00; text-align: center;
  font-size: 0.8rem; padding: 4px 10px; border-bottom: 1px dashed #b88a00;
}

/* ---------- Thank-you / cancel ---------- */
.ty { padding-block: 24px 96px; }
.ty h1 { font-size: clamp(2rem, 1.2rem + 4vw, 3.6rem); line-height: 1.18; letter-spacing: -0.02em; max-width: 18ch; }
.ty .lead { margin-top: 16px; }
.ty .big { margin-top: 26px; max-width: 440px; }
.ty-steps { list-style: none; margin: 40px 0 0; padding: 0; max-width: 680px; }
.ty-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.ty-steps .n {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-family: var(--mono); font-weight: 600; font-size: 0.9rem;
}
.ty-steps p { color: var(--muted); }
.ty-steps b { color: var(--navy); }
.ty-block { margin-top: 40px; max-width: 680px; }
.ty-block h2 { font-size: 1.35rem; }
.ty-block ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--muted); }
.ty-block li { padding: 4px 0; }
.ty-block li b { color: var(--ink); }
.progress {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 0.9rem; font-weight: 600;
}
.progress li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: var(--white);
}
.progress li.done { background: var(--teal-soft); border-color: transparent; color: var(--teal-ink); }
.progress li.now { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sign { margin-top: 40px; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--navy); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
