/* ══════════════════════════════════════════════════════════════════
   CloseChat AI — marketing site (LANDING-1)
   Principles (project CLAUDE.md): Apple-like, neutral white/gray base,
   colour only for meaning (green = primary action / key accent),
   hairlines instead of boxes, no card-in-card, consistent scale,
   no emoji, motion 140-180ms and reduced-motion respected.
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* colour */
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --accent: #25d366;          /* primary button / key accents only */
  --accent-deep: #128c7e;     /* accent as text / border */
  --on-accent: #062f21;
  --tint: rgba(18, 140, 126, 0.07);
  --warn: #c2410c;
  --navy: #0B1F2A;
  --green: #22C55E;
  --r4: 20px;
  --r5: 24px;

  /* spacing scale */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 72px;
  --s9: 88px;

  /* radius scale */
  --r1: 8px;
  --r2: 12px;
  --r3: 16px;

  /* type */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;

  --max: 1080px;
  --narrow: 680px;
  --ease: 160ms ease;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-deep); }

h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s4);
}

.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Header ───────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 48px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
}

.brand img { width: 28px; height: 28px; border-radius: 7px; }

/* ── Buttons ──────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 var(--s5);
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: var(--fs-md);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #20bd5a; }
.btn-primary:active { transform: scale(0.985); }

.btn-outline { background: transparent; color: var(--ink); border-color: #c7c7cc; }
.btn-outline:hover { background: var(--bg-soft); }

.btn-sm { min-height: 40px; padding: 0 var(--s4); font-size: var(--fs-sm); }
.site-header .btn-sm { min-height: 48px; padding: 0 var(--s4); }

.btn-block { display: flex; width: 100%; }

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}

.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.micro {
  margin-top: var(--s3);
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ── Sections ─────────────────────────────────────────────────────── */

section { padding: var(--s8) 0; }

section + section { border-top: 1px solid var(--line); }

.soft { background: var(--bg-soft); }

h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 650; }

.eyebrow {
  display: block;
  margin-bottom: var(--s3);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
}

.section-head { margin-bottom: var(--s7); }
.section-head p { margin-top: var(--s3); color: var(--muted); font-size: var(--fs-lg); }
.section-head.center { text-align: center; max-width: var(--narrow); margin-left: auto; margin-right: auto; }

/* ── Shared: trust pills, big button, dark sections ──────────────── */

.btn-lg { min-height: 56px; padding: 0 var(--s6); font-size: 17px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s2);
  margin-top: var(--s5);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
}

.pill .icon { width: 16px; height: 16px; color: var(--accent-deep); }
.pill.strong { background: var(--navy); color: #fff; }
.pill.strong .icon { color: var(--green); }

.pills.on-dark .pill { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.86); }
.pills.on-dark .pill .icon { color: rgba(255, 255, 255, 0.7); }
.pills.on-dark .pill.strong { background: rgba(34, 197, 94, 0.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.5); }
.pills.on-dark .pill.strong .icon { color: var(--green); }

.dark { background: var(--navy); color: #fff; border-top: 0; }
.dark + section { border-top: 0; }
.dark h2 { color: #fff; }

/* ── Hero: one stage, product floating over the photo ─────────────── */

.hero { padding: var(--s7) 0 var(--s8); border-top: 0; }

.hero-copy { max-width: 900px; margin: 0 auto; text-align: center; }

.hero h1 {
  font-size: clamp(34px, 6.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero .subtitle {
  margin: var(--s4) auto 0;
  max-width: 38em;
  font-size: var(--fs-lg);
  color: var(--ink-2);
}

.hero .cta { margin-top: var(--s6); }

.hero-stage { display: grid; margin-top: var(--s7); }

.stage-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--r5);
  object-position: 66% 30%;
}

.hero-stage .hero-shot {
  position: relative;
  z-index: 1;
  width: calc(100% - var(--s5));
  max-width: 540px;
  margin: calc(-1 * var(--s8)) auto 0;
}

.hero-shot .win {
  border-color: transparent;
  box-shadow: 0 2px 4px rgba(11, 31, 42, 0.08), 0 28px 64px rgba(11, 31, 42, 0.3);
}

.hero-shot figcaption { margin-top: var(--s2); text-align: center; }

/* ── Pain: dark section ───────────────────────────────────────────── */

.pain-top { display: grid; gap: var(--s6); }

.pain h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.pain-quote {
  margin-top: var(--s5);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.pain-quote strong { color: #fff; font-weight: 650; }

.pain-photo {
  aspect-ratio: 16 / 10;
  border-radius: var(--r5);
  background: #12303f;
  object-position: 32% center;
}

.pain-grid { display: grid; gap: var(--s3); margin-top: var(--s6); }

.pain-grid li {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s5);
  border-radius: var(--r4);
  background: rgba(255, 255, 255, 0.06);
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.pain-x {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.14);
  color: #f87171;
}

.pain-x .icon { width: 16px; height: 16px; stroke-width: 2.25; }

.pain-close {
  max-width: 18em;
  margin: var(--s7) auto 0;
  text-align: center;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.pain-close::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto var(--s5);
  border-radius: 2px;
  background: var(--green);
}

/* ── Shift: statement band ────────────────────────────────────────── */

.shift-title {
  max-width: 12em;
  font-size: clamp(36px, 6.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.shift-grid { display: grid; gap: var(--s5); align-items: center; margin-top: var(--s6); }

.shift-photo { aspect-ratio: 4 / 3; border-radius: var(--r5); }

.shift-body > p { font-size: var(--fs-lg); color: var(--ink-2); }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s5); }

.vs li {
  display: flex;
  flex-direction: column;
  padding: var(--s4);
  border-radius: var(--r4);
}

.vs strong { font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
.vs li > span:last-child { margin-top: 2px; font-size: 15px; line-height: 1.4; }

.vs-ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: var(--s3);
  border-radius: 50%;
}

.vs-ico .icon { width: 14px; height: 14px; stroke-width: 2.25; }

.vs-bot { background: #fff; }
.vs-bot strong { color: var(--ink-2); }
.vs-bot > span:last-child { color: var(--muted); }
.vs-bot .vs-ico { background: rgba(0, 0, 0, 0.06); color: var(--muted); }

.vs-us {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4), 0 16px 36px rgba(11, 31, 42, 0.22);
}

.vs-us > span:last-child { color: rgba(255, 255, 255, 0.72); }
.vs-us .vs-ico { background: rgba(34, 197, 94, 0.2); color: var(--green); }

/* ── Photos ───────────────────────────────────────────────────────── */

.photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r3);
  background: var(--bg-soft);
}

.photo.sq { aspect-ratio: 1 / 1; border-radius: var(--r2); }

/* ── How every reply happens: connected timeline ──────────────────── */

.flow {
  counter-reset: flow;
  display: grid;
  gap: var(--s4);
  padding-left: 44px;
}

.flow li {
  counter-increment: flow;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--s5);
  border-radius: var(--r5);
  background: var(--bg-soft);
}

/* numbered node on the connector line */
.flow li::before {
  content: counter(flow);
  position: absolute;
  z-index: 1;
  left: -44px;
  top: var(--s5);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px #d2d2d7;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.flow li.is-you::before { background: var(--navy); box-shadow: inset 0 0 0 2px var(--green); color: #fff; }

/* connector to the next node */
.flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -29px;
  top: calc(var(--s5) + 16px);
  width: 2px;
  height: calc(100% + var(--s4));
  background: #d2d2d7;
}

.flow .icon-img {
  width: 96px;
  height: 96px;
  border-radius: var(--r4);
  mix-blend-mode: multiply;
}

.flow h3 { margin-top: var(--s4); font-size: 22px; letter-spacing: -0.015em; }
.flow p { flex: 1; margin-top: var(--s1); color: var(--ink-2); }

.flow li.is-you { background: var(--navy); color: #fff; }
.flow li.is-you .icon-img { mix-blend-mode: normal; }
.flow li.is-you p { color: rgba(255, 255, 255, 0.74); }

.icon-img {
  width: 72px;
  height: 72px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r2);
  background: var(--bg-soft);
}

.icon-img.sm { width: 64px; height: 64px; border-radius: var(--r3); }

.tag {
  margin-top: var(--s4);
  padding: 4px var(--s3);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.is-you .tag { background: var(--green); color: var(--on-accent); }

.remind-note {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s4);
  padding: var(--s4) var(--s5);
  border-radius: var(--r5);
  background: rgba(34, 197, 94, 0.09);
}

.remind-note p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── Start in four steps ──────────────────────────────────────────── */

.steps-banner { aspect-ratio: 16 / 10; border-radius: var(--r5); object-position: center 28%; }

.how-steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s3);
  margin-top: var(--s3);
}

.how-steps li {
  display: flex;
  flex-direction: column;
  padding: var(--s5);
  border-radius: var(--r5);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 36px rgba(0, 0, 0, 0.08);
}

.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s5); }

.step-num {
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent-deep);
}

.how-steps h3 { margin-bottom: var(--s2); font-size: 19px; }
.how-steps p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.steps-cta { margin-top: var(--s6); text-align: center; }

/* ── Plain numbered list (sign-up success panel) ──────────────────── */

.steps { counter-reset: step; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: var(--s5) 0 var(--s5) 52px;
  border-bottom: 1px solid var(--line);
}

.steps li:first-child { border-top: 1px solid var(--line); }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: var(--s5);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--accent-deep);
  border-radius: 50%;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--accent-deep);
}

.steps strong { display: block; font-size: var(--fs-lg); margin-bottom: var(--s1); }
.steps span { color: var(--ink-2); }

/* ── Features (all 25, always visible; bento tiles) ──────────────── */

/* Group header = a chapter divider (Elvis 2026-10-23: "完全感觉不到层级"):
   hairline on top, number + count on one quiet line, then a two-tone title.
   Title stays below the section h2 (38px max) and well above tile titles (22px).
   The group photo lives inside the first tile so it never competes with the title. */
.feat-group {
  border-top: 1px solid var(--line);
  padding-top: var(--s5);
}
.feat-group + .feat-group { margin-top: var(--s8); }

.feat-head { margin-bottom: var(--s6); }
.feat-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--s4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.feat-head h3 {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.feat-head h3 span { color: var(--muted); }

.tiles { display: grid; grid-template-columns: 1fr; gap: var(--s3); }

.tile {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s5);
  border-radius: var(--r4);
  background: var(--bg-soft);
}

.tile-ico {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent-deep);
}

.tile-ico .icon { width: 22px; height: 22px; }
.tile-body strong { display: block; font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
.tile-body span { display: block; margin-top: var(--s1); font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.tile.lead { justify-content: space-between; }
.tile.lead .tile-ico { width: 52px; height: 52px; }
.tile.lead .tile-ico .icon { width: 26px; height: 26px; }
.tile.lead .tile-body strong { font-size: 22px; letter-spacing: -0.015em; }
.tile.lead .tile-body span { font-size: var(--fs-md); }

/* First tile of each group carries the group photo: photo on top on phones,
   text left / photo right once the tile spans two columns. */
.tile.has-photo { padding: 0; gap: 0; overflow: hidden; }
.tile.has-photo .lead-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5);
}
.tile-photo {
  order: -1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* The core promise: dark navy tiles, white text, green icons. */
.tiles-dark .tile { background: var(--navy); color: #fff; }
.tiles-dark .tile.lead {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(34, 197, 94, 0.26), rgba(34, 197, 94, 0) 58%),
    var(--navy);
}
.tiles-dark .tile-ico { background: rgba(34, 197, 94, 0.16); color: var(--green); }
.tiles-dark .tile-body span { color: rgba(255, 255, 255, 0.72); }

@media (prefers-reduced-motion: no-preference) {
  .tile { transition: transform 160ms ease, box-shadow 160ms ease; }
  .tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09); }
  .tiles-dark .tile:hover { box-shadow: 0 14px 32px rgba(11, 31, 42, 0.35); }
}

/* ── Product illustrations ────────────────────────────────────────── */

.shot { margin: 0; }

.shot figcaption {
  margin-top: var(--s3);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.win {
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

.app { display: grid; }

.chat {
  background: var(--bg-soft);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.chat-top {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-bottom: var(--s3);
  margin-bottom: var(--s1);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.avatar {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #d9dde3;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 650;
  flex: none;
}

.bubble {
  max-width: 85%;
  padding: var(--s2) var(--s3);
  border-radius: var(--r2);
  background: #fff;
  border: 1px solid var(--line);
}

.bubble.out { align-self: flex-end; background: #e6f6e9; border-color: #cfeBd4; }
.bubble time { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); text-align: right; }

.chat-input {
  margin-top: auto;
  padding: var(--s2) var(--s3);
  border: 1px dashed #c7c7cc;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.panel { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); border-top: 1px solid var(--line); background: #fff; }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  font-weight: 650;
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; }

.chip {
  display: inline-block;
  padding: 1px var(--s2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.chip.accent { border-color: var(--accent-deep); color: var(--accent-deep); }

.cap { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }

.draft {
  padding: var(--s3);
  border-radius: var(--r1);
  background: var(--tint);
}

.cc-actions { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }

.cc-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 var(--s4);
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 650;
}

.cc-link { font-size: 12px; color: var(--accent-deep); font-weight: 600; }

.kv { display: grid; }

.kv > div {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--line);
}

.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); flex: none; }
.kv dd { text-align: right; font-weight: 550; }

.pending {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3);
  border-radius: var(--r1);
  background: var(--tint);
}

.rows li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
}

.rows li:last-child { border-bottom: 0; }
.rows .who { flex: 1; min-width: 0; }
.rows .who b { display: block; font-weight: 600; }
.rows .who small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.scene-grid { display: grid; gap: var(--s7); }
.scene-grid .shot { display: flex; flex-direction: column; }
.scene-grid .win { flex: 1; }
.scene-grid h3 { margin: var(--s2) 0 0; font-size: var(--fs-lg); }


/* ── Pricing ──────────────────────────────────────────────────────── */

.plan-intro { text-align: center; max-width: var(--narrow); margin: 0 auto var(--s6); font-size: var(--fs-lg); color: var(--ink-2); }

.plans {
  display: grid;
  gap: var(--s4);
  max-width: 820px;
  margin: 0 auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s6) var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: #fff;
}

.plan.best { border: 2px solid var(--accent-deep); padding: calc(var(--s6) - 1px) calc(var(--s5) - 1px); }

.badge {
  position: absolute;
  top: calc(-1 * var(--s3));
  left: var(--s5);
  padding: 2px var(--s3);
  border-radius: 999px;
  background: var(--accent-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}

.plan h3 { font-size: var(--fs-lg); color: var(--ink-2); font-weight: 600; }
.plan .price { margin-top: var(--s2); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.plan .price span { font-size: var(--fs-md); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .billed { margin-top: var(--s1); color: var(--muted); font-size: var(--fs-sm); }
.plan ul { margin: var(--s4) 0 var(--s5); }
.plan li { padding: var(--s2) 0 var(--s2) 28px; position: relative; color: var(--ink-2); font-size: 15px; }
.plan li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.plan-foot { text-align: center; margin-top: var(--s5); color: var(--muted); font-size: var(--fs-sm); }

/* ── Comparison (three cards, CloseChat is the hero) ──────────────── */

.cmp { display: grid; gap: var(--s5); padding: var(--s3) 0; }

.cmp-card {
  position: relative;
  padding: var(--s6) var(--s5) var(--s4);
  border-radius: var(--r5);
  background: var(--bg-soft);
}

.cmp-card h3 { margin-bottom: var(--s2); font-size: var(--fs-lg); font-weight: 650; color: var(--ink-2); }

.cmp-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
}

.cmp-label { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.cmp-val { display: block; margin-top: 2px; font-size: var(--fs-md); line-height: 1.35; font-weight: 600; }

.cmp-mark {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--muted);
}

.cmp-mark .icon { width: 14px; height: 14px; stroke-width: 2.25; }
.cmp-bot .cmp-mark.no { background: rgba(194, 65, 12, 0.10); color: var(--warn); }

.cmp-hero {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4), 0 24px 56px rgba(11, 31, 42, 0.28);
}

.cmp-hero h3 { color: #fff; font-size: 24px; letter-spacing: -0.015em; }
.cmp-hero li { border-top-color: rgba(255, 255, 255, 0.14); padding: var(--s4) 0; }
.cmp-hero .cmp-label { color: rgba(255, 255, 255, 0.64); }
.cmp-hero .cmp-val { font-size: 18px; font-weight: 650; }
.cmp-hero .cmp-mark { background: rgba(34, 197, 94, 0.2); color: var(--green); }

.cmp-pill {
  position: absolute;
  top: -13px;
  left: var(--s5);
  padding: 4px var(--s3);
  border-radius: 999px;
  background: var(--green);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Mobile: CloseChat first. */
@media (max-width: 859px) {
  .cmp-hero { order: -1; margin-top: var(--s3); }
}

/* ── FAQ (exclusive accordion; JS animates the height) ───────────── */

.faq { max-width: var(--narrow); margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  display: block;
  min-height: 56px;
  padding: var(--s4) var(--s7) var(--s4) 0;
  font-size: var(--fs-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color var(--ease);
}

.faq summary:hover { color: var(--accent-deep); }
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  position: absolute;
  right: var(--s2);
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 220ms ease;
}

.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details.is-closing summary::after { transform: translateY(-2px) rotate(45deg); }

.faq .answer { overflow: hidden; color: var(--ink-2); }
.faq .answer p { padding-right: var(--s7); }
.faq .answer p:last-child { padding-bottom: var(--s5); }
.faq .answer p + p { margin-top: var(--s3); }

/* ── For / not for ────────────────────────────────────────────────── */

.industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
  margin: 0 auto var(--s7);
}

.industries figure { position: relative; overflow: hidden; border-radius: var(--r5); background: var(--bg-soft); }

.industries .photo.sq {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  object-position: center 30%;
}

.industries figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: var(--s8) var(--s4) var(--s4);
  background: linear-gradient(to top, rgba(11, 31, 42, 0.82), rgba(11, 31, 42, 0));
  color: #fff;
  font-size: var(--fs-md);
  font-weight: 650;
  letter-spacing: -0.005em;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .industries .photo { transition: transform 240ms ease-out; }
  .industries figure:hover .photo { transform: scale(1.05); }
}

.fit { display: grid; gap: var(--s4); }

.fit > div { padding: var(--s6) var(--s6) var(--s4); border-radius: var(--r5); }
.fit .yes { background: rgba(34, 197, 94, 0.09); }
.fit .no { background: var(--bg-soft); }
.fit h3 { padding-bottom: var(--s2); font-size: 22px; letter-spacing: -0.015em; }

.fit li {
  display: flex;
  gap: var(--s3);
  padding: var(--s4) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--ink-2);
}

.fit .icon { width: 22px; height: 22px; margin-top: 2px; }
.fit .yes .icon { color: var(--accent-deep); }
.fit .no .icon { color: #8e8e93; }

/* ── Closing: full-width banner ───────────────────────────────────── */

.closing-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r5);
  background: var(--navy);
  color: #fff;
}

.closing-media { position: relative; }

.closing-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 30% 40%;
}

.closing-media::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 55%;
  background: linear-gradient(to top, var(--navy), rgba(11, 31, 42, 0));
}

.closing-body { position: relative; padding: var(--s2) var(--s5) var(--s6); }
.closing h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.closing-body > p { margin: var(--s4) 0 var(--s5); font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.78); }
.closing .pills { justify-content: flex-start; }

/* ── Footer ───────────────────────────────────────────────────────── */

.site-footer { padding: var(--s7) 0; border-top: 1px solid var(--line); background: var(--bg-soft); }

.footer-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); }

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: var(--fs-sm);
}

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

.site-footer .disclaimer { margin-top: var(--s3); max-width: 46em; font-size: 12px; color: var(--muted); line-height: 1.6; }
.site-footer .copy { margin-top: var(--s3); font-size: 12px; color: var(--muted); }
.site-footer .contact { font-size: 12px; color: var(--muted); }
.site-footer .contact a { color: var(--muted); }

/* ── Mobile sticky CTA ────────────────────────────────────────────── */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

/* Shown only once the hero's own button has scrolled out of view, so the
   first screen never shows the same button three times. */
.sticky-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

.has-sticky { padding-bottom: 84px; }

/* ── Document pages (privacy / terms) ─────────────────────────────── */

.doc { max-width: 760px; margin: var(--s7) auto var(--s8); padding: 0 var(--s4); }
.doc h1 { font-size: clamp(28px, 4.5vw, 40px); }
.doc h2 { font-size: 22px; margin-top: var(--s7); }
.doc h3 { font-size: var(--fs-lg); margin-top: var(--s5); }
.doc p, .doc li { color: var(--ink-2); font-size: 15px; }
.doc p { margin-top: var(--s3); }
.doc ul { margin-top: var(--s3); padding-left: var(--s5); list-style: disc; }
.doc li { margin-top: var(--s2); }
.doc .updated { color: var(--muted); }
.doc code { font-size: 13px; background: var(--bg-soft); padding: 1px 6px; border-radius: 6px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: var(--s7) 0 0; }

/* ── Sign-up ──────────────────────────────────────────────────────── */

.signup-wrap { max-width: 460px; margin: var(--s7) auto var(--s8); padding: 0 var(--s4); }
.signup-wrap h1 { font-size: clamp(28px, 6vw, 36px); }
.signup-wrap .lede { margin-top: var(--s3); color: var(--ink-2); }

form { margin-top: var(--s5); }

.field { margin-bottom: var(--s4); }
.field label { display: block; margin-bottom: var(--s2); font-size: var(--fs-sm); font-weight: 600; }

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--s4);
  border: 1px solid #c7c7cc;
  border-radius: var(--r2);
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--ease);
}

.field input:focus { border-color: var(--accent-deep); outline: none; box-shadow: 0 0 0 3px var(--tint); }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 72px; }

.toggle-visibility {
  position: absolute;
  right: var(--s1);
  top: 2px;
  min-height: 48px;
  padding: 0 var(--s3);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-deep);
  cursor: pointer;
}

.field-hint { margin-top: var(--s2); font-size: 13px; color: var(--muted); }
.field-error { display: none; margin-top: var(--s2); font-size: 13px; color: var(--warn); }
.field.has-error input { border-color: var(--warn); }
.field.has-error .field-error { display: block; }

.alert {
  display: none;
  margin-top: var(--s4);
  padding: var(--s3) var(--s4);
  border-left: 3px solid var(--warn);
  background: #fff7ed;
  color: #7c2d12;
  font-size: var(--fs-sm);
}

.alert.show { display: block; }

/* Plan picker (STRIPE-1): two radio rows separated by hairlines, no card-in-card. */
.plan-picker { margin: var(--s5) 0 var(--s4); padding: 0; border: 0; }
.plan-picker legend { margin-bottom: var(--s2); padding: 0; font-size: var(--fs-sm); font-weight: 600; }
.plan-option {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.plan-option[hidden], #trial-note[hidden] { display: none; }
.plan-option:nth-of-type(2) { border-bottom: 1px solid var(--line); }
#fpx-option { border-top: 0; }
.plan-option:last-of-type { border-bottom: 1px solid var(--line); }
.plan-option input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent-deep); flex: none; }
.plan-option-body { display: flex; flex-direction: column; gap: var(--s1); }
.plan-option-body strong { font-size: var(--fs-md); }
.plan-option-body span { font-size: 13px; color: var(--muted); }

.notice {
  margin-top: var(--s4);
  padding: var(--s3) var(--s4);
  border-left: 3px solid var(--accent-deep);
  background: var(--tint);
  color: var(--ink-2);
  font-size: var(--fs-sm);
}
.notice[hidden] { display: none; }

/* Sign-up (SIGNUP-3STEP-1, one page since SIGNUP-VERIFY-LATER-1): green "account created / email confirmed" line, big spaced code box. */
.signup-wrap .lede.is-ok { color: var(--accent-deep); font-weight: 600; }
.field .code-input { font-size: 28px; font-weight: 600; letter-spacing: 0.4em; text-align: center; }
.signup-wrap [hidden] { display: none; }

.link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--accent-deep);
  text-decoration: underline;
  cursor: pointer;
}

.success-steps { margin: var(--s5) 0; }
.success-steps li { padding-top: var(--s4); padding-bottom: var(--s4); }
.success-steps li::before { top: var(--s4); }
.success-steps li.done::before { background: var(--accent-deep); color: #fff; content: '\2713'; }
.signup-wrap .btn + .micro { margin-top: var(--s3); }
.pay-now-actions { display: grid; gap: var(--s3); margin-top: var(--s5); }

/* ── Responsive ───────────────────────────────────────────────────── */

@media (min-width: 540px) {
  .hero .app { grid-template-columns: 1.1fr 1fr; }
  .hero .panel { border-top: 0; border-left: 1px solid var(--line); }
  .stage-photo { aspect-ratio: 16 / 10; }
}

@media (min-width: 720px) {
  .container { padding: 0 var(--s5); }
  .industries { grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
  .tile.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile-photo { order: 0; height: 100%; min-height: 240px; aspect-ratio: auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
  .tile.lead, .tile.wide { grid-column: span 2; }
  section { padding: var(--s9) 0; }
  .pain-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .how-steps { grid-template-columns: 1fr 1fr; gap: var(--s4); margin: calc(-1 * var(--s7)) var(--s5) 0; }
  .steps-banner { aspect-ratio: 21 / 9; }
  .remind-note { gap: var(--s5); padding: var(--s5) var(--s6); }
  .closing-body { padding: 0 var(--s7) var(--s7); }
  .plans { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .fit { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .plan { padding: var(--s7) var(--s6); }
  .plan.best { padding: calc(var(--s7) - 1px) calc(var(--s6) - 1px); }
  .sticky-cta { display: none; }
  .has-sticky { padding-bottom: 0; }
  .doc, .signup-wrap { padding-left: var(--s5); padding-right: var(--s5); }
}

@media (min-width: 860px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: var(--s4); padding: 44px 0 0; }
  .flow li::before { left: 50%; top: -44px; transform: translateX(-50%); }
  .flow li:not(:last-child)::after { left: 50%; top: -29px; width: calc(100% + var(--s4)); height: 2px; }
}

@media (min-width: 860px) {
  .cmp { grid-template-columns: repeat(3, 1fr); align-items: stretch; padding: var(--s6) 0; gap: var(--s4); }
  .cmp-hero { margin: calc(-1 * var(--s5)) 0; padding-top: calc(var(--s6) + var(--s5)); padding-bottom: calc(var(--s4) + var(--s5)); }
}

@media (min-width: 960px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile.full { grid-column: span 3; flex-direction: row; align-items: center; gap: var(--s5); }
  .hero { padding: var(--s8) 0 var(--s8); }
  .hero-stage { margin-bottom: var(--s7); }
  .stage-photo { grid-area: 1 / 1; aspect-ratio: 2 / 1; object-position: center 30%; }
  .hero-stage .hero-shot {
    grid-area: 1 / 1;
    align-self: end;
    justify-self: start;
    width: min(520px, 48%);
    max-width: none;
    margin: 0 0 calc(-1 * var(--s7)) var(--s5);
  }
  .hero-stage .hero-shot figcaption { position: absolute; left: 0; top: 100%; text-align: left; }
  .pain-top { grid-template-columns: 1.05fr 1fr; gap: var(--s8); align-items: stretch; }
  .pain-photo { aspect-ratio: auto; height: 100%; min-height: 360px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .shift-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s8); }
  .shift-photo { aspect-ratio: 5 / 4; }
  .how-steps { grid-template-columns: repeat(4, 1fr); }
  .steps-banner { aspect-ratio: 21 / 8; }
  .closing-banner { display: flex; align-items: center; min-height: 480px; }
  .closing-media { position: absolute; inset: 0; }
  .closing-media img { height: 100%; aspect-ratio: auto; object-position: left 35%; }
  .closing-media::after { height: auto; top: 0; background: linear-gradient(270deg, var(--navy) 0%, rgba(11, 31, 42, 0.96) 42%, rgba(11, 31, 42, 0) 78%); }
  .closing-body { width: 52%; margin-left: auto; padding: var(--s8) var(--s8) var(--s8) var(--s6); }
  .scene-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.panel.flat { border-top: 0; }

/* ---------- Get started (start.html): opens right after installing the extension ---------- */
.start-wrap { max-width: 880px; margin: var(--s7) auto var(--s8); padding: 0 var(--s4); }
.start-kicker { color: var(--accent-deep); font-weight: 650; font-size: var(--fs-sm); letter-spacing: 0.02em; }
.start-wrap h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.02em; margin-top: var(--s2); text-wrap: balance; }
.start-wrap > .lede { margin-top: var(--s2); color: var(--muted); }
.start-steps { list-style: none; margin: var(--s6) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s6); }
.start-step { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); align-items: center; padding-top: var(--s6); border-top: 1px solid var(--line); }
.start-step:first-child { border-top: 0; padding-top: 0; }
.start-shot { width: 100%; height: auto; border-radius: var(--r5); border: 1px solid var(--line); background: #f5f5f7; }
.start-text { min-width: 0; }
.start-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-deep); color: #fff; font-weight: 650; font-size: var(--fs-sm); }
.start-text h2 { font-size: clamp(20px, 3vw, 24px); margin-top: var(--s2); letter-spacing: -0.01em; }
.start-text p { margin-top: var(--s2); color: var(--ink-2); }
.start-text .btn { margin-top: var(--s4); }
.start-text .micro { color: var(--muted); }
.start-help { margin-top: var(--s7); text-align: center; color: var(--muted); }
@media (min-width: 760px) {
  .start-step { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s6); }
}


/* ── OpenAI key guide (openai-key.html, 2026-10-23) — single column: text, then the screenshot ── */
.key-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.key-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.key-lang button,
.key-lang a { appearance: none; border: 0; background: transparent; font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); padding: 6px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: background var(--ease), color var(--ease); }
.key-lang button[aria-pressed="true"],
.key-lang a[aria-current="page"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.key-lang button:focus-visible,
.key-lang a:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

.signup-wrap .key-top { justify-content: flex-end; margin-bottom: var(--s4); }
/* Chinese lines break between any two characters; keep headings balanced so a single character is never left alone on the last line. */
:lang(zh) :is(h1, h2, h3) { text-wrap: balance; }
:lang(zh) p { text-wrap: pretty; }

/* LANDING-I18N-1: the same switcher as links in the header of the home and pricing pages
   (en / ms / zh). Sits between the brand and the trial button; on narrow screens it tightens
   and the button text shortens so nothing is pushed out of the screen. */
.site-header .key-lang { flex: none; margin-left: auto; margin-right: var(--s3); }
.site-header .brand, .site-header .btn-sm { flex: none; white-space: nowrap; }
.site-header .lbl-short { display: none; }
@media (max-width: 719px) {
  .site-header .lbl-long { display: none; }
  .site-header .lbl-short { display: inline; }
}
@media (max-width: 479px) {
  .site-header .container { gap: 6px; padding: 0 var(--s3); }
  .site-header .brand { gap: 6px; font-size: 15px; white-space: nowrap; }
  .site-header .key-lang { margin-right: 0; padding: 2px; }
  .site-header .key-lang a { padding: 6px 8px; font-size: 13px; }
  .site-header .btn-sm { padding: 0 10px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 389px) {
  .site-header .brand { font-size: 14px; }
  .site-header .key-lang a { padding: 6px 7px; }
}
@media (max-width: 349px) {
  .site-header .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.key-cost { margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r2); background: var(--tint); color: var(--accent-deep); font-size: var(--fs-sm); }
.key-step { display: block; }
.key-step .start-shot { margin-top: var(--s4); border-radius: var(--r3); }
.key-list { margin: var(--s2) 0 0; padding-left: 1.2em; list-style: disc; color: var(--ink-2); }
.key-list li { margin-top: var(--s1); }
.key-list b { color: var(--ink); font-weight: 600; }
.key-safe { margin-top: var(--s7); padding: var(--s4) var(--s5); border-radius: var(--r3); border: 1px solid var(--line); background: var(--bg-soft); }
.key-safe h2 { font-size: var(--fs-md); }
.key-safe ul { margin: var(--s2) 0 0; padding-left: 1.2em; list-style: disc; color: var(--ink-2); font-size: var(--fs-sm); }
.key-safe li { margin-top: var(--s1); }
@media (max-width: 759px) {
  /* The API keys screenshot is very wide; on a phone show its right part (where the button is) at a readable size. */
  .key-shot-wide { aspect-ratio: 4 / 3; object-fit: cover; object-position: right top; }
}

/* ── Social proof & launch price (URGENCY-1, 2026-10-24) ──────────────
   Everything marked .sample-tag is placeholder content: replace it with
   real reviews / real sign-ups / a real former price, then delete the tag. */

.sample-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border: 1px dashed var(--warn);
  border-radius: 999px;
  color: var(--warn);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
  vertical-align: middle;
}
.section-head .sample-tag { margin-bottom: var(--s3); }

/* Reviews */
.star { width: 16px; height: 16px; fill: var(--ink); stroke: none; }
.stars { display: inline-flex; gap: 2px; }
.rating-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-size: var(--fs-md) !important;
}
.reviews { display: grid; gap: var(--s4); list-style: none; margin: 0; padding: 0; }
.review {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: #fff;
}
.review blockquote { margin: 0; flex: 1; color: var(--ink); font-size: var(--fs-md); line-height: 1.55; }
.review .who { display: flex; align-items: center; gap: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.review .who .avatar { width: 36px; height: 36px; font-size: 13px; }
.review .who > span:last-child { display: flex; flex-direction: column; }
.review .who strong { font-size: var(--fs-sm); }
.review .who strong + span { font-size: 13px; color: var(--muted); }
@media (min-width: 720px) {
  .reviews { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
}

/* Former price above the real one */
.plan .was { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s2); font-size: var(--fs-sm); }
.plan .was s { color: var(--muted); font-size: var(--fs-lg); font-weight: 500; }
.plan .was .save { color: var(--accent-deep); font-weight: 650; }
.plan .was + .price { margin-top: 0; }
.was-inline { color: var(--muted); font-weight: 500; }
.plan-picker legend .sample-tag { margin-left: var(--s2); }

/* Recent sign-up pop-up (assets/proof.js). Floats over the page, never
   pushes content. On phones it sits above the sticky button. */
.sales-toast {
  position: fixed;
  z-index: 55;
  left: var(--s3);
  right: var(--s3);
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s3) var(--s3) var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  font-size: var(--fs-sm);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}
.sales-toast.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.sales-toast .avatar { width: 36px; height: 36px; background: var(--tint); color: var(--accent-deep); font-size: 13px; }
.sales-toast .toast-body { flex: 1; min-width: 0; }
.sales-toast .toast-body strong { font-weight: 650; }
.sales-toast .toast-meta { display: flex; align-items: center; gap: var(--s2); margin-top: 2px; color: var(--muted); font-size: 12px; }
.sales-toast .toast-close {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.sales-toast .toast-close:hover { background: var(--bg-soft); color: var(--ink); }
.sales-toast .toast-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 720px) {
  .sales-toast { left: var(--s5); right: auto; bottom: var(--s5); width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .sales-toast { transform: none; transition: none; }
}

/* Launch price: first 150 members (URGENCY-2) */
.launch { max-width: 820px; margin: 0 auto var(--s6); text-align: center; }
.launch-head { color: var(--ink-2); font-size: var(--fs-md); }
.launch-head strong { color: var(--ink); }
.launch-bar { height: 6px; max-width: 420px; margin: var(--s3) auto 0; border-radius: 999px; background: var(--line); overflow: hidden; }
.launch-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent-deep); }
.launch-count { display: flex; align-items: center; justify-content: center; gap: var(--s2); margin-top: var(--s2); color: var(--muted); font-size: var(--fs-sm); }
.launch-count .js-spots-left { color: var(--ink); font-weight: 650; }

/* Hero: rating + launch price under the main button */
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s2) var(--s4); margin-top: var(--s4); color: var(--ink-2); font-size: var(--fs-sm); }
.hero-proof .proof-item { display: inline-flex; align-items: center; gap: var(--s2); }
.hero-proof .star { width: 14px; height: 14px; }
.hero-proof s { color: var(--muted); }
.hero-proof strong { color: var(--ink); }

/* Mobile sticky bar: one short line above the button */
.sticky-note { margin: 0 0 var(--s2); text-align: center; font-size: 12px; color: var(--ink-2); }
.sticky-note .js-spots-left { font-weight: 650; color: var(--ink); }
.has-sticky { padding-bottom: 108px; }
@media (min-width: 720px) { .has-sticky { padding-bottom: 0; } }
.sales-toast { bottom: calc(122px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 720px) { .sales-toast { bottom: var(--s5); } }
.nowrap { white-space: nowrap; }

/* ── Ask us on WhatsApp (LANDING-POLISH-1) ─────────────────────────── */
.btn .icon { width: 18px; height: 18px; margin-right: var(--s2); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ask-us { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s3); margin-top: var(--s4); color: var(--ink-2); font-size: var(--fs-sm); }
.closing-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.closing .container > .closing-actions { justify-content: center; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); }

/* Features: first card per group, the rest opens in place */
.feat-group.is-collapsed .tiles > li:not(.lead) { display: none; }
.feat-toggle {
  display: block;
  margin: var(--s4) auto 0;
  padding: var(--s2) var(--s4);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--accent-deep);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.feat-toggle:hover { background: var(--tint); }
.feat-toggle::after { content: ' ▾'; }
.feat-toggle[aria-expanded="true"]::after { content: ' ▴'; }
.feat-group.is-collapsed .tiles > li.lead { grid-column: 1 / -1; }

/* ── Promo video (LANDING-VIDEO-1) ───────────────────────────────── */
.promo-video {
  position: relative;
  margin: 0 auto;
  max-width: 960px;
  border-radius: var(--r3);
  overflow: hidden;
  background: #EFEAE2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}
.promo-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.promo-play {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  gap: 10px;
  padding: 12px 22px 12px 14px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(18, 140, 126, 0.65);
}
.promo-play svg { width: 26px; height: 26px; flex: none; }
.promo-play:active { transform: translateX(-50%) scale(0.985); }
.promo-play[hidden] { display: none; }
@media (max-width: 759px) {
  .promo-play { bottom: 12px; padding: 10px 18px 10px 12px; font-size: var(--fs-sm); }
  .promo-play svg { width: 24px; height: 24px; }
}
.promo-note { margin-top: var(--s3); text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.promo-sec .section-head { margin-bottom: var(--s6); }

/* ── Features as chapters (LANDING-FEAT-CH-1) ─────────────────────
   Structure borrowed from PropLink's landing (text + ticks on one side,
   a product picture on the other, alternating); look stays CloseChat's. */
.chapters { display: grid; }
.chapter {
  display: grid;
  gap: var(--s6);
  align-items: center;
  padding: var(--s7) 0;
  border-top: 1px solid var(--line);
}
.chapter:first-child { border-top: 0; padding-top: 0; }
.ch-num { margin: 0 0 var(--s2); color: var(--accent-deep); font-size: var(--fs-sm); font-weight: 650; letter-spacing: 0.01em; }
.chapter h3 { margin: 0 0 var(--s5); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 750; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s3); font-size: var(--fs-md); line-height: 1.5; color: var(--ink-2); }
.ticks li::before {
  content: '';
  width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325D366' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks b { color: var(--ink); font-weight: 650; }

.ch-visual { margin: 0; }
.ch-stage {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s5);
  border-radius: var(--r4);
  background: #EFEAE2;
  min-height: 320px;
  justify-content: center;
}
.ch-stage .panel { border-radius: var(--r2); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06); }
.ch-visual figcaption { margin-top: var(--s2); text-align: right; font-size: 12px; color: var(--muted); }

.mini-bubble { align-self: flex-start; max-width: 80%; padding: var(--s2) var(--s3); border-radius: var(--r2); background: #fff; font-size: var(--fs-sm); box-shadow: 0 1px 0.5px rgba(11,20,26,.13); }
.mini-bubble time { margin-left: var(--s2); font-size: 11px; color: var(--muted); }
.mini-compose { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s2) var(--s2) var(--s4); border-radius: 999px; background: #fff; font-size: 13px; color: var(--muted); }
.mini-compose span:first-child { flex: 1; }
.mini-compose.big { font-size: var(--fs-sm); color: var(--ink); }
.send-dot { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062f21' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3L10.5 13.5'/%3E%3Cpath d='M21 3l-6.5 18-4-7.5L3 9.5 21 3z'/%3E%3C/svg%3E") center / 15px no-repeat; }
.send-note { margin: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); }

.style-card { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: var(--s3); border-radius: var(--r1); background: var(--bg-soft); }
.style-card p { width: 100%; margin: 0 0 2px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.style-card .tag { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 11px; color: var(--muted); }
.style-card .tag.lock { border-color: var(--accent-deep); color: var(--accent-deep); font-weight: 600; }
.style-actions { margin-left: auto; display: inline-flex; gap: var(--s3); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.style-actions .no { color: var(--warn); }
.lang-row { display: flex; align-items: center; gap: 6px; }
.lang-row span { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 650; color: var(--muted); }
.lang-row span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.lang-row small { margin-left: var(--s2); font-size: 12px; color: var(--ink-2); }

.stage-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-s { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 600; color: var(--muted); }
.pill-s.on { background: #fff; color: var(--accent-deep); box-shadow: inset 0 0 0 1px var(--accent-deep); }

.remind-pop { border-radius: var(--r2); background: #fff; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.remind-head { padding: var(--s2) var(--s4); background: #0B5E52; color: #fff; font-size: 13px; font-weight: 650; }
.remind-body { display: grid; gap: 4px; padding: var(--s3) var(--s4) var(--s4); }
.remind-body b { font-size: var(--fs-sm); }
.remind-body small { color: var(--muted); font-size: 12px; }
.remind-for { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.remind-for span:last-child { color: var(--ink); font-weight: 600; }
.remind-btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s2); }
.remind-btns .cc-btn, .remind-btns .cc-ghost { justify-content: center; text-align: center; }
.cc-ghost { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--r1); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }

.coach-q { align-self: flex-end; max-width: 85%; padding: var(--s2) var(--s3); border-radius: var(--r2); background: #D9FDD3; font-size: 13px; }
.coach-a { padding: var(--s3); border-radius: var(--r2); background: var(--bg-soft); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.coach-a .ready { margin-top: var(--s2); padding: var(--s3); border-radius: var(--r1); background: #fff; color: var(--ink); }
.coach-a .ready small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-deep); }
.coach-a .cc-actions { margin-top: var(--s2); }

.setting-row { display: flex; align-items: center; justify-content: space-between; padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.setting-row:last-child { border-bottom: 0; }
.setting-row b { font-weight: 650; }
.toggle { width: 36px; height: 22px; border-radius: 999px; background: #d1d1d6; position: relative; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

@media (min-width: 860px) {
  .chapter { grid-template-columns: 1fr 1fr; gap: var(--s8); padding: var(--s8) 0; }
  .chapter.flip .ch-text { order: 2; }
}
.style-card { display: block; }
.style-card p { margin: 0 0 6px; }
.style-card .tag { display: inline-block; margin-right: 4px; }
.style-actions { float: right; margin-top: 2px; }
