/* ── LiveCaption Landing & How-To Shared Styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --lc-white: #ffffff;
  --lc-light: #f5f3ef;
  --lc-mid: #e8e4de;
  --lc-text: #1a1a1a;
  --lc-muted: #5a5a5a;
  --lc-hint: #888888;
  --lc-border: #dedad3;
  --lc-orange: #e11d6f;
  --lc-orange-dark: #c91a63;
  --lc-orange-bg: #fff8f5;
  --lc-orange-border: #f5c4a8;
  --lc-dark: #1a1a1a;
  --lc-dark2: #111111;
  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--lc-text);
  background: var(--lc-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lc-white);
  border-bottom: 1px solid var(--lc-mid);
}

.lp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--lc-text);
}

.lp-logo em {
  color: var(--lc-orange);
  font-style: normal;
}

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

.lang-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--lc-border);
  border-radius: 6px;
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--lc-muted);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.lang-btn.on, .lang-btn.active {
  background: var(--lc-light);
  color: var(--lc-text);
}

.lp-nav-link {
  color: var(--lc-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  transition: color 0.15s;
}

.lp-nav-link:hover { color: var(--lc-text); }

/* ── Buttons ── */
.lp-btn {
  display: inline-block;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.15s;
}

.lp-btn-primary {
  background: var(--lc-orange);
  color: #fff;
}

.lp-btn-primary:hover { background: var(--lc-orange-dark); }

.lp-btn-secondary {
  background: var(--lc-white);
  color: var(--lc-text);
  border: 1.5px solid var(--lc-border);
}

.lp-btn-secondary:hover { border-color: var(--lc-muted); }

.lp-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.lp-btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ── Hero (white) ── */
.lp-hero {
  background: var(--lc-white);
  color: var(--lc-text);
  padding: 72px 40px 64px;
  text-align: center;
}

.lp-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--lc-orange-dark);
  background: transparent;
  border: 1.5px solid var(--lc-orange);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.lp-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lc-orange);
}

.lp-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--lc-text);
}

.lp-hero h1 .accent { color: var(--lc-orange); }

.lp-hero-sub {
  font-size: 1.06rem;
  color: var(--lc-muted);
  max-width: 600px;
  margin: 0 auto 24px;
  font-weight: 300;
  line-height: 1.7;
}

.lp-ki-hint {
  background: var(--lc-orange-bg);
  border: 1px solid var(--lc-orange-border);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--lc-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.lp-ki-hint strong {
  color: var(--lc-orange);
  font-weight: 500;
}

.lp-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Mockup */
.lp-mockup {
  max-width: 660px;
  margin: 0 auto;
  border: 1px solid var(--lc-mid);
  border-radius: 12px;
  overflow: hidden;
}

.lp-mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: var(--lc-light);
  border-bottom: 1px solid var(--lc-mid);
}

.lp-mockup-dots {
  display: flex;
  gap: 6px;
}

.lp-mockup-dot-red { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.lp-mockup-dot-yellow { width: 10px; height: 10px; border-radius: 50%; background: #eab308; }
.lp-mockup-dot-green { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }

.lp-mockup-url {
  flex: 1;
  margin-left: 10px;
  background: var(--lc-white);
  border: 1px solid var(--lc-mid);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.7rem;
  color: var(--lc-hint);
  font-family: 'SF Mono', 'Consolas', monospace;
}

.lp-mockup-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lc-orange);
  margin-left: 8px;
}

.lp-mockup-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 32px 28px;
  background: #0a0a14;
}

.lp-mockup-overlay {
  text-align: center;
}

.lp-mockup-overlay-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0,0,0,0.72);
  padding: 8px 20px;
  border-radius: 4px;
  font-family: 'Arial Black', 'Arial Bold', Helvetica, sans-serif;
}

.lp-mockup-overlay-meta {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
  letter-spacing: 0.03em;
}

/* ── Compat bar ── */
.lp-compat {
  background: var(--lc-light);
  border-bottom: 1px solid var(--lc-mid);
  padding: 20px 24px;
  text-align: center;
}

.lp-compat-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lp-compat-label {
  font-size: 0.78rem;
  color: var(--lc-muted);
  font-weight: 400;
}

.lp-compat-chip {
  font-size: 0.78rem;
  color: var(--lc-muted);
  border: 1px solid var(--lc-border);
  border-radius: 6px;
  padding: 5px 12px;
  font-weight: 400;
  background: var(--lc-white);
}

/* ── Section commons ── */
.lp-section {
  padding: 80px 24px;
}

.lp-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.lp-section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 16px;
}

.lp-section-sub {
  text-align: center;
  color: var(--lc-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.7;
}

.lp-section-dark {
  background: var(--lc-dark);
  color: #ffffff;
}

.lp-section-dark .lp-section-title { color: #ffffff; }
.lp-section-dark .lp-section-sub { color: rgba(255,255,255,0.6); }

.lp-section-light {
  background: var(--lc-light);
}

/* ── Use cases ── */
.lp-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-case-card {
  background: var(--lc-white);
  border: 1px solid var(--lc-mid);
  border-radius: 12px;
  padding: 28px 24px;
}

.lp-case-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.lp-case-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.lp-case-card p {
  font-size: 0.85rem;
  color: var(--lc-muted);
  line-height: 1.6;
}

/* ── How it works ── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.lp-step { text-align: center; }

.lp-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--lc-orange);
  background: var(--lc-orange-bg);
  color: var(--lc-orange);
  font-family: var(--font-head);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.lp-step h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.lp-step p {
  font-size: 0.9rem;
  color: var(--lc-muted);
  line-height: 1.6;
}

/* ── Features ── */
.lp-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.lp-feature-card {
  background: var(--lc-white);
  border: 1px solid var(--lc-mid);
  border-radius: 12px;
  padding: 32px 32px 28px;
}

.lp-feature-card.featured {
  border-color: var(--lc-orange-border);
  background: #fffcfa;
}

.lp-feature-icon {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--lc-orange);
}

.lp-feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.lp-feature-card p {
  font-size: 0.88rem;
  color: var(--lc-muted);
  line-height: 1.6;
}

.lp-feature-new {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--lc-orange);
  vertical-align: super;
  margin-left: 4px;
}

/* ── Compat two-column ── */
.lp-compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.lp-compat-col {
  background: var(--lc-white);
  border: 1px solid var(--lc-mid);
  border-radius: 12px;
  padding: 28px 28px 24px;
}

.lp-compat-col-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.lp-compat-col-sub {
  font-size: 0.85rem;
  color: var(--lc-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.lp-compat-col-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-compat-col-chip {
  font-size: 0.82rem;
  color: var(--lc-text);
  border: 1px solid var(--lc-border);
  border-radius: 6px;
  padding: 6px 14px;
  background: var(--lc-light);
}

.lp-compat-link {
  display: block;
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--lc-orange);
  text-decoration: none;
  font-weight: 500;
}

.lp-compat-link:hover { text-decoration: underline; }

/* ── Pricing ── */
.lp-pricing {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
}

.lp-plan {
  background: var(--lc-white);
  border: 1px solid var(--lc-mid);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.lp-plan.featured {
  border: 2px solid var(--lc-orange);
}

.lp-plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lc-orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-plan-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.lp-plan-price {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.lp-plan-period {
  font-size: 0.78rem;
  color: var(--lc-muted);
  margin-bottom: 12px;
}

.lp-plan-minutes {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lc-orange);
  margin-bottom: 16px;
}

.lp-plan-features {
  list-style: none;
  text-align: left;
  font-size: 0.82rem;
  color: var(--lc-muted);
  line-height: 2;
}

.lp-plan-features li::before {
  content: '\2713\0020';
  color: var(--lc-orange);
  font-weight: 500;
}

.lp-plan-cta {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s;
  border: none;
}

.lp-plan-cta-primary {
  background: var(--lc-orange);
  color: #fff;
}

.lp-plan-cta-primary:hover { background: var(--lc-orange-dark); }

.lp-plan-cta-secondary {
  background: var(--lc-light);
  color: var(--lc-text);
  border: 1px solid var(--lc-border);
}

.lp-plan-cta-secondary:hover { border-color: var(--lc-muted); }

.lp-pricing-hint {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 16px 20px;
  background: var(--lc-orange-bg);
  border: 1px solid var(--lc-orange-border);
  border-radius: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--lc-muted);
  line-height: 1.6;
}

.lp-pricing-hint strong {
  color: var(--lc-text);
  font-weight: 500;
}

.lp-pricing-note {
  text-align: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--lc-hint);
}

/* ── Final CTA ── */
.lp-cta-section {
  text-align: center;
  padding: 80px 24px;
}

.lp-cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 12px;
  color: #ffffff;
}

.lp-cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-weight: 300;
}

.lp-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.lp-footer {
  background: var(--lc-dark2);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  padding: 20px 24px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-footer-links {
  display: flex;
  gap: 20px;
}

.lp-footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.lp-footer-links a:hover { color: rgba(255,255,255,0.9); }

/* ── How-To specific ── */
.ht-hero {
  background: var(--lc-dark);
  color: #ffffff;
  padding: 48px 24px 40px;
  text-align: center;
}

.ht-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 10px;
  color: #ffffff;
}

.ht-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  font-weight: 300;
}

.ht-toc {
  background: var(--lc-light);
  border-bottom: 1px solid var(--lc-border);
  padding: 16px 24px;
  position: sticky;
  top: 53px;
  z-index: 90;
  overflow-x: auto;
}

.ht-toc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.ht-toc a {
  font-size: 0.8rem;
  color: var(--lc-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--lc-border);
  background: var(--lc-white);
  white-space: nowrap;
  transition: all 0.15s;
}

.ht-toc a:hover {
  color: var(--lc-orange);
  border-color: var(--lc-orange);
}

.ht-guide {
  padding: 56px 24px;
  border-bottom: 1px solid var(--lc-border);
}

.ht-guide:nth-child(even) {
  background: var(--lc-light);
}

.ht-guide-inner {
  max-width: 780px;
  margin: 0 auto;
}

.ht-guide h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.ht-guide-goal {
  font-size: 0.92rem;
  color: var(--lc-muted);
  margin-bottom: 16px;
}

.ht-guide-prereq {
  font-size: 0.85rem;
  color: var(--lc-muted);
  margin-bottom: 20px;
  padding: 10px 14px;
  background: var(--lc-white);
  border: 1px solid var(--lc-border);
  border-radius: 8px;
}

.ht-guide-prereq strong {
  color: var(--lc-text);
}

.ht-steps {
  list-style: none;
  counter-reset: steps;
  margin-bottom: 16px;
}

.ht-steps li {
  counter-increment: steps;
  padding: 10px 0 10px 36px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--lc-border);
}

.ht-steps li:last-child { border-bottom: none; }

.ht-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  background: var(--lc-orange);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 11px;
}

.ht-tip {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(232,93,38,0.06);
  border: 1px solid rgba(232,93,38,0.15);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--lc-text);
  line-height: 1.6;
}

.ht-tip strong {
  color: var(--lc-orange);
}

.ht-warn {
  margin-top: 8px;
  padding: 12px 16px;
  background: rgba(234,179,8,0.06);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--lc-text);
  line-height: 1.6;
}

.ht-variant {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--lc-orange);
  margin: 20px 0 8px;
}

.ht-next {
  margin-top: 20px;
  font-size: 0.85rem;
}

.ht-next a {
  color: var(--lc-orange);
  text-decoration: none;
}

.ht-next a:hover { text-decoration: underline; }

/* FAQ */
.ht-faq {
  max-width: 780px;
  margin: 0 auto;
}

.ht-faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--lc-border);
}

.ht-faq-item:last-child { border-bottom: none; }

.ht-faq-q {
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.ht-faq-a {
  font-size: 0.88rem;
  color: var(--lc-muted);
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lp-pricing { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .lp-steps { grid-template-columns: 1fr; gap: 28px; }
  .lp-features { grid-template-columns: 1fr; }
  .lp-cases { grid-template-columns: 1fr; }
  .lp-pricing { grid-template-columns: repeat(2, 1fr); }
  .lp-hero { padding: 48px 20px 40px; }
  .lp-section { padding: 56px 20px; }
  .lp-nav-link { display: none; }
  .lp-compat-grid { grid-template-columns: 1fr; }
  .ht-toc { top: 53px; }
}

@media (max-width: 480px) {
  .lp-pricing { grid-template-columns: 1fr; }
  .lp-mockup-screen { min-height: 160px; padding: 0 16px 20px; }
  .lp-mockup-overlay-text { font-size: 0.9rem; }
  .lp-footer { flex-direction: column; text-align: center; }
}
