/* SampleSwitch Design System v6.0 — User-Story Psychology & Free-Trial Hero Edition
 * Fonts: Noto Serif JP + Cinzel (JA) / Inter + Cinzel (EN)
 * Palette: Warm Ivory (#faf6ee) + Deep Royal Navy (#0f172a) + Rich Gold (#f59e0b)
 */
:root {
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "BIZ UDPMincho", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui-ja: "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --font-cinzel: "Cinzel", var(--font-serif);

  --bg-base: #faf6ee;
  --bg-card: #fffdf9;
  --bg-subtle: #f3ecde;
  --navy-950: #090e1a;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --royal-700: #1e3a8a;
  --royal-600: #1d4ed8;
  --terracotta: #c8632b;
  --gold-400: #fbbf24;
  --gold-500: #d8a44a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-gradient: linear-gradient(135deg, #fde047 0%, #fbbf24 52%, #f59e0b 100%);
  --danger-600: #dc2626;
  --danger-700: #b91c1c;
  --danger-bg: #fef2f2;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-bg: #ecfdf5;

  --text-main: #2b2620;
  --text-heading: #141824;
  --text-muted: #574e42;
  --border-light: #e5dccb;
  --border-strong: #d4c7b0;

  --text-h1: clamp(2.22rem, 3.65vw, 2.94rem);
  --text-h2: clamp(1.36rem, 2.3vw, 1.92rem);
  --text-h3: clamp(1.02rem, 1.4vw, 1.18rem);
  --text-body: clamp(0.95rem, 1.04vw, 1.02rem);

  --header-h: 56px;
  --radius-card: 16px;
  --radius-btn: 13px;
  --shadow-soft: 0 10px 28px -8px rgba(43, 38, 32, 0.09);
  --shadow-strong: 0 22px 46px -12px rgba(15, 23, 42, 0.3);
}

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

html {
  scroll-padding-top: 57px;
}

html, body {
  overflow-x: clip;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  line-height: 1.66;
  letter-spacing: 0.02em;
  color: var(--text-main);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select {
  font-family: var(--font-serif);
}

html[lang="en"] body,
html[lang="en"] button,
html[lang="en"] input,
html[lang="en"] textarea,
html[lang="en"] select {
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
}

.live-stage-card {
  font-family: var(--font-ui-ja);
}
html[lang="en"] .live-stage-card {
  font-family: var(--font-sans);
}

.cinzel {
  font-family: var(--font-cinzel);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.ib {
  display: inline-block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Language Suggestion Banner */
.lang-suggest-bar {
  display: none;
  background: #1e3a8a;
  color: #ffffff;
  font-size: 0.86rem;
  padding: 8px 16px;
  text-align: center;
}
.lang-suggest-bar.is-visible {
  display: block;
}
.lang-suggest-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.lang-suggest-link {
  background: #fbbf24;
  color: #0f172a;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}
.lang-suggest-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.78rem;
  cursor: pointer;
}

/* =========================================================================
 * STICKY TOP HEADER (High-Contrast Prominent Gold CTA Button!)
 * ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(9, 14, 26, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 6px 20px rgba(9, 14, 26, 0.28);
}
.header-inner {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-cinzel);
  font-weight: 800;
  font-size: 1.14rem;
  color: #fffdf9;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-logo img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  flex-shrink: 0;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.header-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: #e2e8f0;
  transition: color 0.18s;
  white-space: nowrap;
}
.header-link:hover {
  color: #fde047;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  font-size: 0.79rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fffdf9;
  white-space: nowrap;
}
.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  background: var(--amber-gradient);
  color: var(--navy-950);
  font-family: var(--font-ui-ja);
  font-size: 0.9rem;
  font-weight: 900;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1.5px solid #fde68a;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.52);
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}
html[lang="en"] .header-cta {
  font-family: var(--font-sans);
}
.header-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.72);
}

/* =========================================================================
 * STAGE 1: RADICALLY SUBTRACTED HERO + MEGA PRICE + HIGH-CRISIS ILLUSTRATION
 * Designed so Header (56px) + Hero (~436px) = ~492px, leaving bottom ~98px
 * of a 1280x590px laptop screen to peek Stage 2's Recording Risk Headline!
 * ========================================================================= */
.hero {
  background: radial-gradient(circle at 18% 20%, #1e3a8a 0%, #0f172a 60%, #090e1a 100%);
  color: #fffdf9;
  padding: 18px 0 18px;
  border-bottom: 2px solid rgba(248, 113, 113, 0.45);
}
.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 24px;
  align-items: center;
}
.hero-copy-col,
.hero-visual-col,
.hero-demo-col,
.live-stage-card,
.live-stage-body,
.card,
.plan-card,
.t-box-card,
.qa-visual-card {
  min-width: 0;
  max-width: 100%;
}
.hero-title,
.section-title,
.mid-offer-title,
.final-cta-title,
.card-title {
  text-wrap: balance;
}
.hero-title {
  font-size: var(--text-h1);
  line-height: 1.24;
  font-weight: 900;
  color: #fffdf9;
  margin-bottom: 18px;
  letter-spacing: 0.015em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
html[lang="en"] .hero-title {
  font-size: clamp(1.58rem, 2.46vw, 2.12rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
}
.hero-title-accent {
  color: #fde047;
}

/* Mega One-Time Price Impact Block (Zero Dead Space & Mac Hiragino Safe — Exact Width Match with CTA!) */
.hero-mega-price {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.55) 0%, rgba(15, 23, 42, 0.88) 100%);
  border: 2px solid rgba(251, 191, 36, 0.82);
  border-radius: 16px;
  padding: 13px 16px;
  margin-bottom: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 18px);
}
.hero-price-left {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-ui-ja);
  line-height: 1.05;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0;
  font-feature-settings: "palt";
}
html[lang="en"] .hero-price-left {
  font-family: var(--font-sans);
}
.hero-price-prefix {
  font-size: clamp(1.06rem, 1.32vw, 1.22rem);
  font-weight: 900;
  color: #ffffff;
}
.hero-price-number {
  font-size: clamp(2.32rem, 3.0vw, 2.68rem);
  font-weight: 900;
  color: #fde047;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 18px rgba(245, 158, 11, 0.42);
}
.hero-price-yen {
  font-size: clamp(1.14rem, 1.42vw, 1.32rem);
  font-weight: 900;
  color: #fde047;
}
.hero-price-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding-left: clamp(12px, 1.5vw, 18px);
  border-left: 1.5px solid rgba(251, 191, 36, 0.4);
  font-family: var(--font-ui-ja);
  min-width: 0;
}
html[lang="en"] .hero-price-right {
  font-family: var(--font-sans);
}
.hero-price-perk {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.81rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.25;
  letter-spacing: 0;
  font-feature-settings: "palt";
  white-space: nowrap;
}
.hero-price-perk-check {
  color: #fde047;
  font-weight: 900;
}

/* Single Unmistakable Hero CTA (Exact Width Match with Mega Price Box!) */
.hero-cta-single-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 12px 26px;
  border-radius: var(--radius-btn);
  background: var(--amber-gradient);
  color: var(--navy-950);
  font-family: var(--font-ui-ja);
  font-weight: 900;
  font-size: 1.08rem;
  border: 2px solid #fef08a;
  cursor: pointer;
  box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.62);
  transition: transform 0.15s, box-shadow 0.15s;
}
html[lang="en"] .btn-primary {
  font-family: var(--font-sans);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -4px rgba(245, 158, 11, 0.78);
}
.btn-hero-single {
  width: 100%;
  max-width: 540px;
  font-size: 1.12rem;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(253, 230, 138, 0.55);
  color: #fde68a;
  font-family: var(--font-ui-ja);
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  transition: background 0.15s;
}
html[lang="en"] .btn-secondary {
  font-family: var(--font-sans);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Right Column: High-Crisis Illustration Frame (Zero Crop!) */
.hero-illust-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #f87171;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 26px rgba(220, 38, 38, 0.34);
  background: #0f172a;
  max-width: 516px;
  margin: 0 auto;
}
.hero-illust-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================================
 * STAGE 2: PEEKING RECORDING RISK BANNER + 3 REAL RISKS
 * ========================================================================= */
.risk-peek-band {
  background: linear-gradient(90deg, #450a0a 0%, #7f1d1d 50%, #450a0a 100%);
  color: #ffffff;
  padding: 16px 0 18px;
  border-bottom: 3px solid #ef4444;
  text-align: center;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.35);
}
.risk-peek-title {
  font-family: var(--font-ui-ja);
  font-size: clamp(1.14rem, 2.05vw, 1.56rem);
  font-weight: 900;
  color: #fef08a;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
html[lang="en"] .risk-peek-title {
  font-family: var(--font-sans);
}
.risk-peek-sub {
  font-family: var(--font-ui-ja);
  font-size: clamp(0.92rem, 1.35vw, 1.12rem);
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
  line-height: 1.45;
}
html[lang="en"] .risk-peek-sub {
  font-family: var(--font-sans);
}

/* =========================================================================
 * COMMON SECTIONS
 * ========================================================================= */
.section {
  padding: 32px 0;
}
.section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-header {
  text-align: center;
  margin-bottom: 20px;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-cinzel);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}
.section-title {
  font-size: var(--text-h2);
  line-height: 1.35;
  font-weight: 900;
  color: var(--text-heading);
}
.section-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* 3 Crisp Cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 16px 17px;
  box-shadow: var(--shadow-soft);
}
.card-title {
  font-size: var(--text-h3);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.36;
}
.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.58;
  margin-top: 4px;
}

/* Pain Scene Cards */
.pain-visual-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  margin-bottom: 11px;
  aspect-ratio: 16 / 10.5;
  background: var(--navy-900);
}
.pain-visual-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.pain-visual-box img.pain-img-hand {
  object-position: center 52%;
}
.pain-visual-callout {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: rgba(9, 14, 26, 0.9);
  backdrop-filter: blur(6px);
  color: #fffdf9;
  border: 1.5px solid rgba(251, 191, 36, 0.78);
  border-radius: 9px;
  padding: 6px 10px;
  font-family: var(--font-ui-ja);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.48);
}
html[lang="en"] .pain-visual-callout {
  font-family: var(--font-sans);
}
.pain-visual-callout-danger {
  background: rgba(127, 29, 29, 0.93);
  border-color: #fca5a5;
}
.pain-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-ui-ja);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  margin-bottom: 6px;
}
html[lang="en"] .pain-badge {
  font-family: var(--font-sans);
}
.pain-badge-amber {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}
.pain-badge-slate {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

/* Primary Data-Breach Alert + 2 Secondary Hassles (v6.0 Strong Urgency Hierarchy) */
.risk-main-alert {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: center;
  background: #ffffff;
  border: 2.5px solid #ef4444;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 18px 40px -12px rgba(185, 28, 28, 0.18);
}
.risk-main-visual {
  margin-bottom: 0;
}
.risk-main-copy {
  min-width: 0;
}
.pain-badge-critical {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-ui-ja);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}
html[lang="en"] .pain-badge-critical {
  font-family: var(--font-sans);
}
.risk-main-title {
  font-size: clamp(1.14rem, 1.72vw, 1.38rem);
  font-weight: 900;
  color: #7f1d1d;
  line-height: 1.42;
  margin-bottom: 10px;
  text-wrap: balance;
}
.risk-main-text {
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.72;
}
.risk-main-text + .risk-main-text {
  margin-top: 6px;
}
.risk-main-text strong {
  color: #991b1b;
}
.risk-sub-lead {
  margin: 22px 0 12px;
  text-align: center;
  font-family: var(--font-ui-ja);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
}
html[lang="en"] .risk-sub-lead {
  font-family: var(--font-sans);
}
.cards-2-sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.risk-sub-card {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
.risk-sub-visual {
  margin-bottom: 0;
  aspect-ratio: 16 / 11;
}
.risk-sub-body {
  min-width: 0;
}

/* =========================================================================
 * STAGE 3: SOLUTION — BEFORE/AFTER (3-A) + STANDALONE LIVE DEMO (3-B)
 * ========================================================================= */
.transform-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 0;
}
.t-box-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 15px 16px;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.t-box-card.is-spotlight {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -10px rgba(15, 23, 42, 0.2);
}
.t-box-winner.is-spotlight {
  border-color: #059669;
  box-shadow: 0 20px 38px -10px rgba(5, 150, 105, 0.36);
}
.t-box-danger {
  border-color: #fca5a5;
  background: #fffafa;
}
.t-box-ugly {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.t-box-winner {
  border-color: #10b981;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 14px 30px -10px rgba(5, 150, 105, 0.25);
}
.t-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-ui-ja);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
}
html[lang="en"] .t-tag {
  font-family: var(--font-sans);
}
.t-box-danger .t-tag { background: #fee2e2; color: #991b1b; }
.t-box-ugly .t-tag { background: #e2e8f0; color: #334155; }
.t-box-winner .t-tag { background: #059669; color: #ffffff; }

.t-sample-screen {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-ui-ja);
  font-weight: 900;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
html[lang="en"] .t-sample-screen {
  font-family: var(--font-sans);
}
.t-raw-pill { color: #b91c1c; background: #fef2f2; padding: 2px 7px; border-radius: 5px; display: inline-block; }
.t-blackout-bar { background: #1e293b; color: transparent; border-radius: 4px; padding: 1px 8px; user-select: none; display: inline-block; }
.t-clean-pill { color: #065f46; background: #d1fae5; padding: 2px 7px; border-radius: 5px; display: inline-block; }

.t-caption {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.48;
}
.t-box-winner .t-caption {
  color: #065f46;
}

/* Standalone Centered Live Demo Section (v6.0: Popup Image Removed) */
.section-demo-standalone {
  background: var(--bg-base);
}
.demo-standalone-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.demo-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.live-stage-card {
  background: #ffffff;
  color: var(--navy-900);
  border-radius: 16px;
  overflow: hidden;
  border: 2.5px solid #f87171;
  box-shadow: 0 18px 42px -12px rgba(15, 23, 42, 0.28);
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.live-stage-card.is-safe-state {
  border-color: #10b981;
}
.live-stage-card.is-pick-waiting {
  border-color: #3b82f6;
}
.demo-callout-strip {
  background: #0f172a;
  color: #ffffff;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  border-bottom: 1px solid #334155;
}
.demo-live-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.demo-wipe-avatar {
  width: 38px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center 18%;
  border: 1.5px solid #fbbf24;
  flex-shrink: 0;
}
.demo-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  color: #fde68a;
}
.demo-red-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}
.demo-counter-pill {
  background: #dc2626;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.demo-counter-pill.is-safe {
  background: #059669;
}
.demo-counter-pill.is-picking {
  background: #1d4ed8;
}

@keyframes demoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); transform: scale(1); }
  50% { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0); transform: scale(1.008); }
}
@keyframes fingerBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.stage-action-hero-bar {
  background: linear-gradient(90deg, #fff1f2 0%, #ffe4e6 100%);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-bottom: 1.5px solid #fecdd3;
}
.stage-action-hero-bar.is-safe {
  background: linear-gradient(90deg, #ecfdf5 0%, #d1fae5 100%);
  border-bottom-color: #a7f3d0;
}
.stage-action-hero-bar.is-pick-waiting {
  background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 100%);
  border-bottom-color: #bfdbfe;
}
.stage-big-switch-btn {
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  border-radius: 11px;
  border: 2px solid #1e3a8a;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: demoPulse 2.1s infinite;
}
.stage-big-switch-btn.is-protected {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: #065f46;
  color: #ffffff;
  animation: none;
}
.demo-finger {
  display: inline-block;
  font-size: 1.15rem;
  animation: fingerBounce 1.1s infinite;
}
.stage-status-banner {
  font-size: 0.82rem;
  font-weight: 800;
  color: #991b1b;
  text-align: center;
  line-height: 1.4;
}
.stage-action-hero-bar.is-safe .stage-status-banner {
  color: #065f46;
}
.stage-action-hero-bar.is-pick-waiting .stage-status-banner {
  color: #1e3a8a;
}

.stage-toolbar-row {
  background: #f8fafc;
  padding: 7px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px solid #e2e8f0;
}
.stage-controls {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.stage-controls-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: #475569;
}
.stage-mode-btn {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
}
.stage-mode-btn.is-active {
  background: var(--navy-900);
  color: #fde68a;
  border-color: var(--navy-900);
}
.stage-screen-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
}
.stage-screen-label.is-detail {
  color: #065f46;
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.live-stage-card.is-danger-state .stage-screen-label.is-detail,
.live-stage-card.is-pick-waiting .stage-screen-label.is-detail {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.live-stage-body {
  padding: 12px 14px 13px;
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.live-stage-card .is-hidden {
  display: none !important;
}
.crm-detail-view {
  display: none;
}
.crm-detail-view.is-active {
  display: block;
}
.crm-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 9px;
}
.crm-kpi-box {
  min-width: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 9px;
}
.crm-kpi-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 700;
}
.crm-kpi-val {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-top: 2px;
}
.crm-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.crm-table th {
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
  text-align: left;
  padding: 6px 9px;
  font-size: 0.75rem;
}
.crm-table td {
  padding: 7px 9px;
  border-top: 1px solid #e2e8f0;
  white-space: nowrap;
}
.crm-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}
.crm-detail-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #047857;
}
.crm-detail-eyebrow.is-danger {
  color: #b91c1c;
}
.crm-detail-title {
  font-size: 1rem;
  font-weight: 900;
  margin-top: 3px;
}
.crm-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.crm-detail-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
}
.crm-detail-lbl {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 700;
}
.crm-detail-val {
  font-size: 0.86rem;
  font-weight: 900;
  margin-top: 2px;
}

.mask-target {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, filter 0.14s;
}
.mask-target.is-exposed {
  background: #fee2e2;
  color: #991b1b;
  border: 1px dashed #f87171;
}
.mask-target.is-exposed.is-pick-ready {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px dashed #3b82f6;
}
.mask-target.is-exposed.is-pick-ready:hover {
  background: #dbeafe;
  border-color: #1d4ed8;
}
.mask-target.is-replaced {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.mask-target.is-blurred {
  filter: blur(5.5px);
  background: #e2e8f0;
  user-select: none;
}

.stage-bottom-slot {
  margin-top: 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-cell-hint {
  text-align: center;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 700;
}
.stage-next-page-btn {
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1.5px solid #2563eb;
  background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e3a8a;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.stage-detail-action-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stage-detail-action-row.is-hidden {
  display: none !important;
}
.stage-back-list-btn {
  flex: 1;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stage-detail-cta-btn {
  flex: 1.15;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1.5px solid #b45309;
  background: var(--amber-gradient);
  color: #090e1a;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.showcase-frame {
  background: var(--navy-900);
  border-radius: 16px;
  padding: 14px 12px 0;
  border: 2px solid rgba(212, 199, 176, 0.85);
  box-shadow: 0 18px 38px -12px rgba(15, 23, 42, 0.24);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.showcase-frame-popup {
  height: 100%;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  align-items: center;
  justify-content: space-between;
}
.showcase-frame-popup img {
  max-width: 268px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  margin: auto;
}
.showcase-caption {
  width: 100%;
  background: var(--navy-950);
  color: #fde68a;
  font-family: var(--font-ui-ja);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  padding: 9px 12px;
  margin-top: 10px;
  line-height: 1.4;
}
html[lang="en"] .showcase-caption {
  font-family: var(--font-sans);
}

/* 30 Seconds — 3 Simple Steps */
.card-step-visual {
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 10px;
  aspect-ratio: 720 / 440;
  max-height: 185px;
  background: #fdfaf3;
}
.card-step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-badge {
  display: inline-block;
  font-family: var(--font-cinzel);
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--navy-900);
  color: #fde68a;
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 5px;
}

/* =========================================================================
 * STAGE 4: COMPETITOR 3-COLUMN COMPARISON BOARD
 * ========================================================================= */
.compare-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.comp-col {
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.comp-col-winner {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border: 2.5px solid var(--emerald-600);
  box-shadow: 0 20px 42px -12px rgba(5, 150, 105, 0.24);
  position: relative;
}
.comp-winner-crown {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-900);
  color: #fde68a;
  font-family: var(--font-ui-ja);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 3px 13px;
  border-radius: 7px;
  white-space: nowrap;
  border: 1.5px solid var(--gold-500);
}
html[lang="en"] .comp-winner-crown {
  font-family: var(--font-sans);
}
.comp-head {
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.comp-name {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--navy-900);
}
.comp-price {
  font-family: var(--font-ui-ja);
  font-size: 1.38rem;
  font-weight: 900;
  color: var(--text-heading);
  margin-top: 6px;
  line-height: 1.25;
}
html[lang="en"] .comp-price {
  font-family: var(--font-sans);
}
.comp-col-paid .comp-price {
  color: #b91c1c;
}
.comp-col-winner .comp-price {
  color: #065f46;
  font-size: 1.56rem;
}
.comp-price-note {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}
.comp-rows {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.87rem;
}
.comp-rows li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
  padding: 7px 10px;
  border-radius: 10px;
  background: #f8fafc;
}
.comp-col-winner .comp-rows li {
  background: #ecfdf5;
  color: #064e3b;
  font-weight: 700;
}
.comp-mark {
  font-family: var(--font-ui-ja);
  font-weight: 900;
  flex-shrink: 0;
}
.comp-mark-bad { color: #dc2626; }
.comp-mark-mid { color: #d97706; }
.comp-mark-good { color: #059669; }

/* =========================================================================
 * STAGE 5: MID-PAGE CONVICTION CTA + ONE-TIME PRICING + DEVELOPER CARD
 * ========================================================================= */
.mid-offer-banner {
  margin-top: 24px;
  background: radial-gradient(circle at 20% 20%, #1e3a8a 0%, #0f172a 75%);
  color: #fffdf9;
  border: 2.5px solid #fbbf24;
  border-radius: 20px;
  padding: 24px 26px;
  text-align: center;
  box-shadow: 0 22px 44px -12px rgba(15, 23, 42, 0.34);
}
.mid-offer-eyebrow {
  display: inline-block;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid #fbbf24;
  color: #fde047;
  font-family: var(--font-ui-ja);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 3px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}
html[lang="en"] .mid-offer-eyebrow {
  font-family: var(--font-sans);
}
.mid-offer-title {
  font-size: clamp(1.25rem, 2.2vw, 1.72rem);
  font-weight: 900;
  line-height: 1.38;
  color: #ffffff;
  margin-bottom: 8px;
}
.mid-offer-title strong {
  color: #fde047;
}
.mid-offer-sub {
  font-size: 0.92rem;
  color: #e2e8f0;
  margin-bottom: 16px;
}
.mid-offer-btn {
  min-height: 58px;
  padding: 12px 32px;
  font-size: 1.06rem;
}

.value-ribbon {
  max-width: 900px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #f59e0b;
  color: #78350f;
  border-radius: 999px;
  padding: 8px 18px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.plan-card-featured {
  border: 2.5px solid var(--amber-500);
  background: #ffffff;
  box-shadow: 0 18px 40px -12px rgba(217, 119, 6, 0.28);
}
.plan-popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-gradient);
  color: var(--navy-950);
  font-family: var(--font-ui-ja);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 3px 13px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid #b45309;
}
html[lang="en"] .plan-popular-ribbon {
  font-family: var(--font-sans);
}
.plan-name {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-top: 2px;
}
.plan-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.plan-price-box {
  padding: 8px 0;
  margin-bottom: 10px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.plan-price {
  font-family: var(--font-ui-ja);
  font-size: 1.76rem;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.15;
}
html[lang="en"] .plan-price {
  font-family: var(--font-sans);
}
.plan-price-unit {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
}
.plan-onetime-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--terracotta);
  margin-top: 2px;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  flex: 1;
  font-size: 0.86rem;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.45;
}
.plan-check {
  color: var(--emerald-600);
  font-weight: 900;
  flex-shrink: 0;
}
.btn-plan {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  font-family: var(--font-ui-ja);
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
html[lang="en"] .btn-plan {
  font-family: var(--font-sans);
}
.btn-plan:hover {
  transform: translateY(-1px);
}
.btn-plan-outline {
  background: #ffffff;
  border: 2px solid var(--navy-900);
  color: var(--navy-900);
}
.btn-plan-gold {
  background: var(--amber-gradient);
  border: 1.5px solid #b45309;
  color: var(--navy-950);
  box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.55);
}
.btn-plan-navy {
  background: var(--navy-900);
  border: none;
  color: #fffdf9;
}

.honest-scope-mini {
  margin-top: 14px;
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Compact Developer Trust Card */
.developer-story-card {
  margin-top: 22px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: 18px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}
.dev-photo-col {
  text-align: center;
}
.dev-photo-frame {
  width: 106px;
  height: 106px;
  margin: 0 auto 8px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-500);
}
.dev-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dev-name-ja {
  font-weight: 900;
  font-size: 1rem;
  color: var(--navy-900);
}
.dev-role-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}
.dev-tag {
  font-family: var(--font-cinzel);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: 0.08em;
}
.dev-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.4;
  margin: 4px 0 8px;
}
.dev-text {
  font-size: 0.89rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 10px;
}
.dev-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dev-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dev-trust-pill {
  background: #f3ecde;
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

/* =========================================================================
 * STAGE 5-B: CONVERSATIONAL CHAT-BUBBLE Q&A (recostyle-Inspired 3 Exchanges)
 * ========================================================================= */
.qa-chat-stream {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.qa-chat-pair {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-strong);
}
.qa-chat-pair:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.qa-chat-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.qa-chat-row.is-question {
  justify-content: flex-start;
}
.qa-chat-row.is-answer {
  justify-content: flex-end;
}
.qa-avatar-col {
  width: 58px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.qa-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}
.qa-avatar-asker {
  background: #e2e8f0;
  border: 2px solid #94a3b8;
}
.qa-avatar-asker.is-navy {
  background: #dbeafe;
  border-color: #60a5fa;
}
.qa-avatar-asker.is-warm {
  background: #efe8db;
  border-color: #b8a992;
}
.qa-avatar-responder {
  background: var(--navy-900);
  border: 2px solid #10b981;
}
.qa-avatar-responder img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
.qa-avatar-name {
  font-family: var(--font-ui-ja);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  line-height: 1.2;
  white-space: nowrap;
}
html[lang="en"] .qa-avatar-name {
  font-family: var(--font-sans);
}
.qa-avatar-name.is-responder {
  color: #065f46;
}
.qa-bubble {
  position: relative;
  border-radius: 18px;
  padding: 13px 18px;
  min-width: 0;
}
.qa-bubble-q {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.1);
  max-width: 600px;
  margin-top: 3px;
}
.qa-bubble-q::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 16px;
  width: 11px;
  height: 11px;
  background: #ffffff;
  border-left: 1.5px solid #cbd5e1;
  border-bottom: 1.5px solid #cbd5e1;
  transform: rotate(45deg);
}
.qa-bubble-q h3 {
  font-family: var(--font-ui-ja);
  font-size: 0.96rem;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.48;
  margin: 0;
}
html[lang="en"] .qa-bubble-q h3 {
  font-family: var(--font-sans);
}
.qa-bubble-a {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 2px solid #34d399;
  box-shadow: 0 10px 24px -10px rgba(5, 150, 105, 0.22);
  max-width: 630px;
}
.qa-bubble-a::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 18px;
  width: 12px;
  height: 12px;
  background: #f0fdf4;
  border-top: 2px solid #34d399;
  border-right: 2px solid #34d399;
  transform: rotate(45deg);
}
.qa-a-lead {
  font-family: var(--font-ui-ja);
  font-size: 0.96rem;
  font-weight: 900;
  color: #065f46;
  line-height: 1.45;
  margin: 0 0 4px;
}
html[lang="en"] .qa-a-lead {
  font-family: var(--font-sans);
}
.qa-a-sub {
  font-size: 0.89rem;
  color: var(--text-main);
  line-height: 1.62;
  margin: 0;
}

/* =========================================================================
 * STAGE 6: PRICING v6.0 — FREE TRIAL AS HERO + SUBDUED PAID PLANS
 * ========================================================================= */
.pricing-grid-v6 {
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.88fr) minmax(0, 0.88fr);
  gap: 18px;
  align-items: center;
}
.plan-card-hero-free {
  background: linear-gradient(180deg, #fffef7 0%, #ffffff 100%);
  border: 3px solid var(--amber-500);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 24px 48px -12px rgba(217, 119, 6, 0.34);
  z-index: 2;
}
.plan-hero-tag {
  display: inline-flex;
  align-self: flex-start;
  background: var(--navy-900);
  color: #fde68a;
  font-family: var(--font-ui-ja);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 4px 11px;
  border-radius: 6px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
html[lang="en"] .plan-hero-tag {
  font-family: var(--font-sans);
}
.plan-card-hero-free .plan-name {
  font-size: 1.32rem;
}
.plan-price-free-hero {
  font-size: 2.38rem;
  color: #b45309;
}
.plan-free-safe-tag {
  color: #047857;
  font-size: 0.82rem;
}
.plan-features-hero {
  font-size: 0.92rem;
  gap: 8px;
}
.plan-feature-note {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.btn-plan-hero-cta {
  width: 100%;
  min-height: 58px;
  font-size: 1.04rem;
  padding: 12px 18px;
}
.plan-card-subdued {
  background: #f9f5eb;
  border: 1.5px solid var(--border-strong);
  border-radius: 15px;
  padding: 16px 16px;
  box-shadow: none;
}
.plan-subdued-kicker {
  font-family: var(--font-ui-ja);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 3px;
}
html[lang="en"] .plan-subdued-kicker {
  font-family: var(--font-sans);
}
.plan-card-subdued .plan-name {
  font-size: 1.02rem;
}
.plan-card-subdued .plan-price {
  font-size: 1.44rem;
  color: var(--navy-900);
}
.plan-card-subdued .plan-features {
  font-size: 0.82rem;
  gap: 5px;
  margin-bottom: 12px;
}
.btn-plan-subdued {
  background: #ffffff;
  border: 1.5px solid #94a3b8;
  color: #334155;
  min-height: 46px;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: none;
}
.btn-plan-subdued:hover {
  background: #f1f5f9;
  border-color: #64748b;
}

/* =========================================================================
 * STAGE 7: BOTTOM QUIET SUPPLEMENT (Developer Card -> 3-Line Spec Notes)
 * ========================================================================= */
.section-bottom-quiet .developer-story-card {
  margin-top: 0;
}
.dev-contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-family: var(--font-ui-ja);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--royal-700);
  transition: background 0.15s;
}
html[lang="en"] .dev-contact-link {
  font-family: var(--font-sans);
}
.dev-contact-link:hover {
  background: #f3ecde;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 22px 0 26px;
  font-size: 0.8rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a {
  color: #cbd5e1;
  font-weight: 700;
}
.footer-links a:hover {
  color: #fde68a;
}
.footer-disclaimer {
  margin-top: 12px;
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.55;
}

/* Sub-Pages (Legal, Thanks, Contact) */
.doc-main {
  padding: 34px 0 48px;
}
.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: var(--shadow-soft);
}
.doc-tag {
  display: inline-block;
  font-family: var(--font-cinzel);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.doc-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.doc-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.doc-section {
  margin-bottom: 22px;
}
.doc-section h2 {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.doc-section p, .doc-section li {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-main);
}
.doc-section ul, .doc-section ol {
  padding-left: 20px;
  margin-top: 6px;
}
.key-display-box {
  background: #0f172a;
  color: #fde68a;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 16px;
  border-radius: 10px;
  text-align: center;
  margin: 12px 0;
  word-break: normal;
  overflow-wrap: anywhere;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
}
.legal-table th, .legal-table td {
  border-bottom: 1px solid var(--border-light);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}
.legal-table th {
  width: 28%;
  color: var(--navy-900);
  font-weight: 800;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 22px 24px;
}
.form-group {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 5px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-main);
}
.form-textarea {
  min-height: 110px;
  resize: vertical;
}
.contact-success {
  display: none;
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  color: #065f46;
  font-weight: 800;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

/* Modal */
.ssw-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
}
.ssw-modal-backdrop.is-open {
  display: flex;
}
.ssw-modal {
  background: #ffffff;
  max-width: 480px;
  width: 100%;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-strong);
}
.ssw-modal h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.ssw-modal p {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.68;
  margin-bottom: 18px;
}

/* =========================================================================
 * RESPONSIVE (Narrow Desktop <=1200px, Tablet 768px & Mobile 375px — Zero Overflow)
 * ========================================================================= */
@media (max-width: 1200px) and (min-width: 961px) {
  .hero-mega-price {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
  }
  .hero-price-left {
    justify-content: center;
    width: 100%;
  }
  .hero-price-right {
    padding-left: 0;
    padding-top: 7px;
    border-left: none;
    border-top: 1px solid rgba(251, 191, 36, 0.35);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
    width: 100%;
  }
  .risk-sub-card {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 11px;
  }
  .comp-col-winner .comp-price {
    font-size: 1.36rem;
  }
  .btn-plan,
  .btn-plan-hero-cta {
    font-size: 0.86rem;
    padding: 10px 10px;
    font-feature-settings: "palt";
  }
}

@media (max-width: 960px) {
  .header-link {
    display: none;
  }
  .hero-split-grid,
  .risk-main-alert,
  .cards-2-sub,
  .transform-strip,
  .cards-3,
  .demo-showcase-grid,
  .compare-board,
  .pricing-grid,
  .pricing-grid-v6,
  .developer-story-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .developer-story-card {
    text-align: center;
    padding: 18px;
  }
  .dev-bottom-row {
    justify-content: center;
  }
  .dev-trust-pills {
    justify-content: center;
  }
  .hero-copy-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-cta-single-wrap {
    align-items: center;
    width: 100%;
  }
  .hero-mega-price,
  .btn-hero-single {
    max-width: 540px;
    width: 100%;
  }
  .hero-mega-price {
    text-align: left;
  }
  .value-ribbon {
    border-radius: 14px;
  }
}

@media (max-width: 680px) {
  .value-ribbon {
    border-radius: 14px;
    padding: 9px 14px;
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .brand-logo {
    font-size: 0.86rem;
    gap: 5px;
    letter-spacing: 0.01em;
  }
  .brand-logo img {
    width: 24px;
    height: 24px;
  }
  .header-nav {
    gap: 6px;
  }
  .lang-switch-btn {
    min-height: 38px;
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  .header-cta {
    min-height: 38px;
    font-size: 0.76rem;
    padding: 5px 9px;
  }
  .header-inner {
    gap: 6px;
  }
  .container, .container-narrow, .header-inner {
    padding: 0 12px;
  }
  .hero {
    padding: 14px 0 18px;
  }
  .hero-split-grid {
    gap: 16px;
  }
  .hero-copy-col {
    align-items: stretch;
    text-align: left;
  }
  .hero-title {
    font-size: clamp(1.74rem, 7.7vw, 2.18rem);
    line-height: 1.26;
    margin-bottom: 12px;
  }
  html[lang="en"] .hero-title {
    font-size: clamp(1.48rem, 6.4vw, 1.85rem);
    line-height: 1.24;
  }
  .hero-mega-price {
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    margin-bottom: 12px;
  }
  .hero-price-left {
    justify-content: center;
    width: 100%;
  }
  .hero-price-right {
    padding-left: 0;
    padding-top: 8px;
    border-left: none;
    border-top: 1px solid rgba(251, 191, 36, 0.35);
    width: fit-content;
    margin: 0 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
  }
  .btn-hero-single {
    max-width: 100%;
  }
  .hero-price-number {
    font-size: 2.5rem;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .btn-primary, .btn-secondary, .mid-offer-btn, .btn-plan-hero-cta {
    width: 100%;
    min-height: 52px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }
  .risk-main-alert {
    padding: 15px 14px;
    gap: 14px;
  }
  .risk-sub-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 13px 14px;
  }
  .qa-chat-row {
    gap: 10px;
  }
  .qa-avatar-col {
    width: 46px;
  }
  .qa-avatar {
    width: 42px;
    height: 42px;
  }
  .qa-avatar svg {
    width: 42px;
    height: 42px;
  }
  .qa-avatar-responder img {
    width: 25px;
    height: 25px;
  }
  .qa-bubble {
    padding: 11px 13px;
    border-radius: 15px;
  }
  .qa-bubble-q h3,
  .qa-a-lead {
    font-size: 0.9rem;
  }
  .qa-a-sub {
    font-size: 0.85rem;
  }
  .plan-card-hero-free {
    padding: 20px 16px;
  }
  .dev-contact-link {
    width: 100%;
    justify-content: center;
  }
  .mid-offer-banner {
    padding: 18px 14px;
  }
  .mid-offer-eyebrow {
    border-radius: 12px;
    padding: 5px 12px;
    line-height: 1.4;
  }
  .demo-callout-strip {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 6px;
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  .stage-big-switch-btn {
    font-size: 0.86rem;
    padding: 9px 10px;
    line-height: 1.35;
    flex-wrap: wrap;
    gap: 4px 6px;
  }
  .crm-mock-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .crm-mock-grid .crm-kpi-box:last-child {
    grid-column: span 2;
  }
  .crm-kpi-val {
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .crm-table th,
  .crm-table td {
    padding: 5px 4px;
    font-size: 0.75rem;
  }
  .crm-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage-toolbar-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 10px;
  }
  .stage-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    width: 100%;
  }
  .stage-controls-label {
    grid-column: span 2;
    margin-bottom: -2px;
  }
  .stage-mode-btn {
    min-height: 44px;
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .stage-detail-action-row {
    flex-direction: column;
    gap: 6px;
  }
  .stage-next-page-btn,
  .stage-back-list-btn,
  .stage-detail-cta-btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.8rem;
  }
  .legal-table th, .legal-table td {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
  }
  .legal-table th {
    border-bottom: none;
    padding-bottom: 2px;
  }
}
