:root {
  --bg: #f6f3ea;
  --bg-alt: #fffdf8;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(17, 24, 39, 0.88);
  --text: #111827;
  --text-soft: #526071;
  --line: rgba(17, 24, 39, 0.1);
  --brand: #e46b2f;
  --brand-dark: #c85118;
  --accent: #0f766e;
  --accent-soft: #d7f4ee;
  --max-width: 1200px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 24px 60px rgba(17, 24, 39, 0.08);
  --shadow-card: 0 18px 46px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at left top, rgba(228, 107, 47, 0.15), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(15, 118, 110, 0.12), transparent 22%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 251, 244, 0.82);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #f1af61);
  color: white;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  box-shadow: 0 18px 34px rgba(228, 107, 47, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small,
.lead,
.hero-points,
.section-heading p,
.comparison-card p,
.matrix-copy p,
.system-card p,
.cluster-card p,
.lead-copy p,
.guide-card p,
.faq-card p,
.proof-grid span,
.hero-panel-card p,
.hero-signal-list span,
.form-note {
  color: var(--text-soft);
  line-height: 1.7;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(17, 24, 39, 0.74);
  font-weight: 700;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switch__select {
  min-width: 94px;
  min-height: 42px;
  padding: 0 36px 0 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.lang-switch::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(17, 24, 39, 0.66);
  border-bottom: 2px solid rgba(17, 24, 39, 0.66);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

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

.button-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 18px 32px rgba(228, 107, 47, 0.25);
}

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

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(17, 24, 39, 0.12);
}

.hero,
.section {
  position: relative;
  padding: 96px 0;
}

.hero {
  overflow: hidden;
}

.hero-grid,
.proof-grid,
.split-heading,
.comparison-overview,
.system-grid,
.cluster-grid,
.lead-layout,
.form-row,
.guide-grid,
.faq-grid,
.matrix-row {
  display: grid;
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 38px;
  align-items: center;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
}

.hero-orb-a {
  width: 360px;
  height: 360px;
  top: -90px;
  right: 6%;
  background: radial-gradient(circle, rgba(228, 107, 47, 0.26) 0%, rgba(228, 107, 47, 0) 72%);
}

.hero-orb-b {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.2) 0%, rgba(15, 118, 110, 0) 74%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.32rem;
  line-height: 1.15;
}

.lead {
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.hero-points {
  margin: 0;
  padding-left: 18px;
}

.hero-panel-card,
.comparison-card,
.matrix-card,
.system-card,
.cluster-card,
.lead-form,
.guide-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-panel-card {
  padding: 28px;
}

.panel-badge,
.system-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Sora", sans-serif;
  font-size: 1.85rem;
  line-height: 1.05;
}

.hero-signal-list {
  display: grid;
  gap: 14px;
}

.hero-signal-list article {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: var(--shadow-soft);
}

.hero-signal-list strong {
  display: block;
  margin-top: 4px;
}

.hero-meter {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.hero-meter-labels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 10px;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-meter-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.hero-meter-bar span {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.proof-band {
  padding: 0 0 24px;
}

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

.proof-grid article {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(17, 24, 39, 0.07);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.section-alt {
  background: rgba(255, 255, 255, 0.36);
}

.section-wizard {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 32%);
}

.section-light {
  background: rgba(255, 255, 255, 0.48);
}

.section-dark {
  background: linear-gradient(180deg, #111827 0%, #182230 100%);
  color: white;
}

.section-dark .lead-copy p,
.section-dark .form-note,
.section-dark .lead-benefits span {
  color: rgba(240, 244, 247, 0.8);
}

.section-heading {
  margin-bottom: 34px;
}

.split-heading {
  grid-template-columns: 1fr 0.84fr;
  gap: 24px;
  align-items: end;
}

.comparison-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.comparison-card,
.system-card,
.cluster-card,
.guide-card,
.faq-card {
  padding: 24px;
}

.card-index {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(228, 107, 47, 0.12);
  color: var(--brand);
  font-weight: 800;
}

.matrix-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 28px;
}

.matrix-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.matrix-row {
  grid-template-columns: 1fr 1fr 1fr;
}

.matrix-row span {
  padding: 16px 18px;
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.matrix-row span:last-child {
  border-right: 0;
}

.matrix-table .matrix-row:last-child span {
  border-bottom: 0;
}

.matrix-head {
  background: rgba(17, 24, 39, 0.95);
  color: white;
  font-weight: 800;
}

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

.system-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 800;
}

.guide-card a,
.cluster-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 800;
}

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

.cluster-card {
  min-height: 200px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 40%);
}

.wizard-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: start;
}

.wizard-shell,
.results-card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.wizard-shell {
  padding: 28px;
}

.wizard-progress {
  margin-bottom: 28px;
}

.wizard-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.wizard-progress-label,
.wizard-progress-step,
.wizard-kicker {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wizard-progress-label,
.wizard-kicker {
  color: var(--brand);
}

.wizard-progress-step {
  color: rgba(17, 24, 39, 0.58);
}

.wizard-progress-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.wizard-progress-bar span {
  display: block;
  width: 16.66%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.wizard-step h3 {
  margin-bottom: 20px;
}

.wizard-grid {
  display: grid;
  gap: 16px;
}

.wizard-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.wizard-shell label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.wizard-shell input,
.wizard-shell select,
.wizard-shell textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.form-status {
  min-height: 24px;
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.wizard-shell textarea {
  resize: vertical;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.choice-chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: white;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.choice-chip:hover,
.choice-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(228, 107, 47, 0.34);
}

.choice-chip.is-selected {
  background: rgba(228, 107, 47, 0.14);
  border-color: rgba(228, 107, 47, 0.42);
  color: var(--brand-dark);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.wizard-actions .button[disabled] {
  opacity: 0.42;
  pointer-events: none;
}

.wizard-results {
  display: grid;
  gap: 18px;
}

.results-card {
  padding: 24px;
}

.result-list {
  display: grid;
  gap: 14px;
}

.result-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.result-rank {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.result-copy strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Sora", sans-serif;
}

.result-copy p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.lead-preview {
  display: grid;
  gap: 14px;
  margin: 0;
}

.preview-row {
  display: grid;
  grid-template-columns: minmax(140px, 170px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.preview-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.preview-row dt {
  color: rgba(17, 24, 39, 0.56);
  font-weight: 800;
  line-height: 1.4;
}

.preview-row dd {
  margin: 0;
  color: var(--text);
  line-height: 1.4;
  word-break: break-word;
}

.subpage-hero {
  padding-bottom: 64px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: start;
}

.article-card,
.toc-card,
.cta-band {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.article-card,
.toc-card {
  padding: 28px;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-list a {
  color: var(--brand);
  font-weight: 800;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.guide-grid-secondary {
  margin-top: 18px;
}

.lead-layout {
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: start;
}

.lead-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.lead-benefits span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lead-form {
  padding: 28px;
  background: var(--surface-strong);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-form,
.lead-form label {
  display: grid;
  gap: 14px;
}

.lead-form label {
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form option {
  color: var(--text);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.site-footer {
  padding: 32px 0 56px;
  background: #0f1720;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.footer-brand,
.footer-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
}

.footer-brand {
  display: flex;
  gap: 16px;
  padding: 24px;
}

.footer-brand strong,
.footer-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.footer-brand p,
.footer-card p {
  margin-bottom: 10px;
  color: rgba(240, 244, 247, 0.76);
  line-height: 1.7;
}

.footer-card a {
  color: #f7c08a;
  font-weight: 800;
}

.footer-card {
  padding: 24px;
}

.footer-kicker {
  margin-bottom: 12px;
  color: #f1af61;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-grid,
.faq-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .split-heading,
  .matrix-card,
  .wizard-layout,
  .content-grid,
  .cta-band,
  .lead-layout,
  .system-grid,
  .guide-grid,
  .faq-grid,
  .cluster-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid,
  .comparison-overview {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero,
  .section {
    padding: 78px 0;
  }

  .topbar-inner,
  .hero-grid,
  .split-heading,
  .matrix-card,
  .wizard-layout,
  .content-grid,
  .cta-band,
  .wizard-grid.two-col,
  .matrix-row,
  .system-grid,
  .cluster-grid,
  .lead-layout,
  .form-row,
  .guide-grid,
  .faq-grid,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-copy small,
  .button-ghost {
    display: none;
  }

  h1,
  h2 {
    max-width: none;
  }

  h1 {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .wizard-actions {
    flex-direction: column;
  }

  .preview-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .matrix-row span {
    border-right: 0;
  }
}
