:root {
  color-scheme: light;
  --tv-ink: #19152a;
  --tv-muted: #665f78;
  --tv-soft: #8b849c;
  --tv-line: #ded9ea;
  --tv-panel: #ffffff;
  --tv-panel-strong: #f6f3ff;
  --tv-bg: #fbf9ff;
  --tv-bg-alt: #f2effa;
  --tv-primary: #7c5cf0;
  --tv-primary-strong: #6444dd;
  --tv-primary-soft: #ebe6ff;
  --tv-green: #1a9f73;
  --tv-green-soft: #e8f7f0;
  --tv-amber: #b7791f;
  --tv-amber-soft: #fff4dc;
  --tv-cyan: #0c7c99;
  --tv-cyan-soft: #e8f7fb;
  --tv-danger: #c43838;
  --tv-shadow: 0 18px 50px rgba(39, 25, 83, 0.12);
  --tv-shadow-soft: 0 10px 26px rgba(39, 25, 83, 0.08);
  --tv-radius: 8px;
  --tv-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(124, 92, 240, 0.08) 0%, rgba(251, 249, 255, 0.98) 360px),
    var(--tv-bg);
  color: var(--tv-ink);
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--tv-radius);
  background: var(--tv-ink);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--tv-max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(222, 217, 234, 0.76);
  background: rgba(251, 249, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--tv-primary);
  color: #fff;
  font-weight: 900;
}

.brand span:last-child {
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--tv-muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--tv-primary-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  color: var(--tv-muted);
  background: #fff;
  font-weight: 700;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--tv-radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--tv-primary);
  box-shadow: 0 12px 24px rgba(124, 92, 240, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--tv-primary-strong);
}

.button-secondary {
  color: var(--tv-ink);
  border-color: var(--tv-line);
  background: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(124, 92, 240, 0.36);
  box-shadow: var(--tv-shadow-soft);
}

.hero {
  padding: 58px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.hero-grid > div:first-child {
  width: min(100%, 760px);
}

.hero-grid > *,
.preview-card,
.score-copy,
.preview-header {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid rgba(124, 92, 240, 0.24);
  border-radius: var(--tv-radius);
  background: rgba(235, 230, 255, 0.76);
  color: var(--tv-primary-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--tv-green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 4.35rem;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 strong,
.gradient-text {
  color: var(--tv-primary);
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--tv-muted);
  font-size: 1.08rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin-bottom: 22px;
}

.metric {
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: rgba(255, 255, 255, 0.78);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.3rem;
  line-height: 1.15;
}

.metric span {
  display: block;
  color: var(--tv-muted);
  font-size: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  color: var(--tv-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.trust-row span {
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: rgba(255, 255, 255, 0.72);
}

.preview-card,
.form-card,
.content-card,
.plan-card,
.faq-item,
.insight-card {
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--tv-shadow-soft);
}

.preview-card {
  position: relative;
  width: min(100%, 680px);
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ff 100%);
  box-shadow: var(--tv-shadow);
}

.preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.preview-title {
  font-weight: 850;
}

.preview-subtitle {
  color: var(--tv-soft);
  font-size: 0.84rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: var(--tv-radius);
  background: var(--tv-green-soft);
  color: var(--tv-green);
  font-size: 0.78rem;
  font-weight: 850;
}

.score-block {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(124, 92, 240, 0.18);
  border-radius: var(--tv-radius);
  background: #fff;
}

.score-ring {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 55%, transparent 57%),
    conic-gradient(var(--tv-primary) 0deg, var(--tv-primary) 252deg, #e6e0f5 252deg 360deg);
}

.score-ring strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2rem;
}

.score-copy h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.score-copy p {
  margin-bottom: 0;
  color: var(--tv-muted);
  font-size: 0.94rem;
}

.findings {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.finding {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  border-radius: var(--tv-radius);
  border: 1px solid var(--tv-line);
  background: rgba(255, 255, 255, 0.72);
}

.finding-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--tv-green);
}

.finding.warn .finding-dot {
  background: var(--tv-amber);
}

.finding.fail .finding-dot {
  background: var(--tv-danger);
}

.finding strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.finding span {
  color: var(--tv-muted);
  font-size: 0.84rem;
}

.report-ready {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(124, 92, 240, 0.24);
  border-radius: var(--tv-radius);
  background: var(--tv-primary-soft);
}

.report-ready strong {
  color: var(--tv-ink);
  font-size: 1rem;
}

.report-ready p {
  margin: 0;
  color: var(--tv-muted);
  font-size: 0.9rem;
}

.report-ready .button {
  width: 100%;
}

.mini-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-panel {
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: rgba(255, 255, 255, 0.75);
}

.mini-panel span {
  display: block;
  color: var(--tv-soft);
  font-size: 0.78rem;
  font-weight: 750;
}

.mini-panel strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 1.18rem;
}

.bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e1f2;
}

.bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--tv-primary);
}

.section {
  padding: 58px 0;
}

.section-alt {
  background: var(--tv-bg-alt);
}

.section-header {
  max-width: 740px;
  margin-bottom: 26px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--tv-primary-strong);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-header p {
  color: var(--tv-muted);
  font-size: 1rem;
}

.form-card {
  padding: 18px;
}

.hero-form-card {
  max-width: 680px;
  margin: 0 auto 14px;
}

.lead-check {
  display: grid;
  gap: 14px;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--tv-ink);
  font-size: 0.84rem;
  font-weight: 850;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.text-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: #fff;
  color: var(--tv-ink);
  outline: none;
}

.text-input:focus {
  border-color: rgba(124, 92, 240, 0.72);
  box-shadow: 0 0 0 4px rgba(124, 92, 240, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--tv-soft);
  font-size: 0.86rem;
}

.form-message.is-error {
  color: var(--tv-danger);
}

.form-message.is-success {
  color: var(--tv-green);
}

.form-hint {
  margin: 0;
  color: var(--tv-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.content-card,
.insight-card {
  padding: 18px;
}

.card-tag {
  width: fit-content;
  margin-bottom: 16px;
  padding: 5px 8px;
  border-radius: var(--tv-radius);
  background: var(--tv-cyan-soft);
  color: var(--tv-cyan);
  font-size: 0.78rem;
  font-weight: 850;
}

.content-card h3,
.insight-card h3,
.plan-card h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
}

.content-card p,
.insight-card p,
.plan-card p {
  margin-bottom: 0;
  color: var(--tv-muted);
  font-size: 0.94rem;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.workflow-step {
  padding: 16px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: #fff;
}

.step-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--tv-radius);
  background: var(--tv-primary);
  color: #fff;
  font-weight: 900;
}

.workflow-step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.workflow-step p {
  margin-bottom: 0;
  color: var(--tv-muted);
  font-size: 0.9rem;
}

.bridge {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.bridge-copy {
  padding: 26px;
  border-radius: var(--tv-radius);
  background: var(--tv-ink);
  color: #fff;
}

.bridge-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.bridge-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.bridge-list span {
  display: block;
  padding: 10px 12px;
  border-radius: var(--tv-radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.plan-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 18px;
}

.plan-card.featured {
  border-color: rgba(124, 92, 240, 0.42);
  background: linear-gradient(180deg, #fff 0%, #f7f4ff 100%);
}

.price {
  margin: 12px 0 10px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.plan-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  color: var(--tv-muted);
  font-size: 0.9rem;
}

.plan-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--tv-green);
  font-weight: 900;
}

.plan-card .button {
  margin-top: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-item {
  padding: 18px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--tv-muted);
  font-size: 0.92rem;
}

.final-cta {
  padding: 42px;
  border-radius: var(--tv-radius);
  background:
    linear-gradient(135deg, rgba(124, 92, 240, 0.94), rgba(25, 21, 42, 0.96)),
    var(--tv-primary);
  color: #fff;
}

.final-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.final-cta .button-secondary {
  color: var(--tv-ink);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--tv-line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.5fr));
  gap: 22px;
}

.footer-grid p,
.footer-grid a {
  color: var(--tv-muted);
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 9px;
  font-weight: 850;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--tv-line);
  color: var(--tv-soft);
  font-size: 0.84rem;
}

[data-loading="true"] .button-loading-label {
  display: inline;
}

[data-loading="true"] .button-idle-label {
  display: none;
}

.button-loading-label {
  display: none;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .bridge {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.2rem;
  }

  .workflow,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--tv-max));
  }

  .nav {
    min-height: 66px;
  }

  .nav-actions .button-secondary {
    display: none;
  }

  .nav-actions .button-primary {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 2.1rem;
    line-height: 1.06;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-metrics,
  .grid-2,
  .grid-3,
  .workflow,
  .faq-grid,
  .footer-grid,
  .mini-dashboard {
    grid-template-columns: 1fr;
  }

  .input-row,
  .score-block {
    grid-template-columns: 1fr;
  }

  .button,
  .input-row .button {
    width: 100%;
  }

  .score-ring {
    margin: 0 auto;
  }

  .final-cta {
    padding: 26px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 28px);
    max-width: 362px;
    margin-left: 14px;
    margin-right: 14px;
  }
}
