:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #eff4ff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #d7e0ee;
  --primary: #1f5ed6;
  --primary-dark: #1346a9;
  --primary-soft: #e4eeff;
  --deep: #10274d;
  --deep-soft: #183b73;
  --ok: #0f766e;
  --warn: #925f05;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-soft: 0 12px 30px rgba(16, 39, 77, 0.08);
  --shadow-card: 0 6px 18px rgba(16, 39, 77, 0.06);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% -5%, #eaf1ff 0, #f4f7fb 40%, #f4f7fb 100%);
  line-height: 1.6;
}

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

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

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

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #000;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 9999;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 251, 0.93);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 76px;
}

.brand {
  font-size: clamp(1.2rem, 2.3vw, 1.5rem);
  font-weight: 800;
  color: #0f2444;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.nav-links a {
  color: #1d365d;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 9px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--primary-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn,
button.btn,
a.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.08rem;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, var(--primary), #2f6ee3);
  box-shadow: 0 8px 18px rgba(31, 94, 214, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(140deg, var(--primary-dark), #1f5ed6);
}

.btn-secondary {
  color: #123466;
  background: #e8f0ff;
  border-color: #bfd4ff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #dbe8ff;
}

.btn-outline {
  border-color: #c3d4ef;
  color: #153661;
  background: #fff;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #eef4ff;
}

.text-link {
  font-weight: 700;
  color: #1a3a67;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

main {
  min-height: 65vh;
}

section {
  padding: clamp(2.8rem, 5vw, 4.6rem) 0;
}

.section-title {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  font-size: clamp(1.52rem, 2.8vw, 2.3rem);
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.section-muted {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border-top: 1px solid #e3ebf7;
  border-bottom: 1px solid #e3ebf7;
}

.hero {
  padding-top: clamp(3rem, 5vw, 5rem);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: stretch;
  border-radius: 28px;
  border: 1px solid #d5e2f7;
  background: linear-gradient(135deg, #ffffff 0%, #edf3ff 56%, #e2ecff 100%);
  padding: clamp(1.35rem, 3.2vw, 2.45rem);
  box-shadow: var(--shadow-soft);
}

.hero-shell::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  right: -140px;
  top: -170px;
  background: radial-gradient(circle, rgba(31, 94, 214, 0.25) 0%, rgba(31, 94, 214, 0) 65%);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid #c8dcff;
  background: #e7f0ff;
  color: #0f3f86;
  font-weight: 700;
  font-size: 0.83rem;
  padding: 0.35rem 0.72rem;
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  letter-spacing: -0.02em;
  max-width: 17ch;
}

.hero p {
  color: #314766;
  margin: 0.9rem 0 1.25rem;
  max-width: 58ch;
  font-size: clamp(1rem, 1.45vw, 1.07rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-trustline {
  margin-top: 0.95rem;
  color: #314766;
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-trustline span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trustline span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f5ed6;
}

.hero-visual {
  display: flex;
}

.mock-panel {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #c1d7ff;
  background: #0f2f63;
  color: #dce9ff;
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(16, 39, 77, 0.25);
}

.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.mock-title {
  margin: 0;
  font-weight: 700;
}

.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid #2c5ca8;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  color: #e4f2ff;
  background: rgba(21, 73, 151, 0.5);
}

.mock-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
}

.mock-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.mock-stat {
  border: 1px solid #2f5ca2;
  border-radius: 10px;
  background: rgba(20, 58, 116, 0.72);
  padding: 0.5rem;
}

.mock-stat strong {
  display: block;
  color: #f4f8ff;
  line-height: 1.2;
}

.mock-stat span {
  font-size: 0.77rem;
  color: #c8d9f9;
}

.mock-chart {
  border: 1px solid #2f5ca2;
  border-radius: 12px;
  background: rgba(20, 58, 116, 0.72);
  padding: 0.6rem;
  margin-bottom: 0.7rem;
}

.mock-chart h3 {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  color: #dce8ff;
}

.mock-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 0.3rem;
  min-height: 55px;
}

.mock-bars span {
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #80aef5, #2f6ee3);
  display: block;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.mock-card {
  border: 1px solid #2f5ca2;
  border-radius: 10px;
  background: rgba(20, 58, 116, 0.75);
  padding: 0.55rem;
}

.mock-card h4 {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  color: #e8f1ff;
}

.mock-card p {
  margin: 0;
  color: #c9dbfa;
  font-size: 0.76rem;
  line-height: 1.35;
}

.trust-strip {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.trust-item {
  border: 1px solid #d6e3f7;
  border-radius: 13px;
  background: #fff;
  padding: 0.9rem;
  box-shadow: var(--shadow-card);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #123663;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.48rem;
  color: #123663;
  background: #e6f0ff;
  font-size: 0.86rem;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.05rem;
}

.feature-card,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  color: #13428e;
  background: #e4eeff;
  border: 1px solid #cadeff;
  font-weight: 700;
  font-size: 0.86rem;
}

.feature-card h3,
.card h3,
.card h4 {
  margin: 0 0 0.45rem;
  line-height: 1.28;
}

.feature-card p,
.card p {
  margin: 0;
  color: var(--muted);
}

.link-row {
  margin-top: 0.75rem;
}

.pricing-shell {
  margin-top: 1.1rem;
  border: 1px solid #d4e3f9;
  border-radius: 18px;
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.notice {
  background: #edf4ff;
  border: 1px solid #cedfff;
  color: #173f7d;
  border-radius: 10px;
  padding: 0.66rem 0.82rem;
  font-size: 0.92rem;
  margin-top: 0.8rem;
}

.toggle-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  align-items: center;
}

.toggle {
  border: 1px solid #c4d7f5;
  border-radius: 999px;
  display: inline-flex;
  overflow: hidden;
  background: #fff;
}

.toggle button {
  border: 0;
  background: transparent;
  color: #123d78;
  min-width: 92px;
  min-height: 40px;
  padding: 0.35rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.toggle button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}

.plan-cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.plan-card {
  border: 1px solid #cfdff8;
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.plan-card--recommended {
  border-color: #2f6ee3;
  box-shadow: 0 12px 30px rgba(31, 94, 214, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  margin: 0;
  border-radius: 999px;
  background: #214fa6;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.26rem 0.58rem;
  border: 1px solid #3d6fc7;
}

.plan-card h3 {
  margin: 0;
  color: #102f5c;
}

.plan-price {
  margin-top: 0.35rem;
  font-size: 1.76rem;
  line-height: 1.2;
  font-weight: 800;
  color: #123465;
}

.plan-meta {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-list {
  margin: 0.78rem 0 1rem;
  padding-left: 0;
  list-style: none;
}

.plan-list li {
  margin-bottom: 0.34rem;
  color: #314766;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.check-icon {
  color: #0f5fc2;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 0.12rem;
}

.plan-cta-row {
  margin-top: 0.6rem;
}

.comparison-shell {
  margin-top: 1.2rem;
}

.table-wrap {
  margin-top: 0.7rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.comparison-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid #e8eef8;
  padding: 0.74rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #f2f7ff;
  color: #113969;
}

.comparison-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.comparison-table .row-label {
  font-weight: 700;
  color: #1f3558;
  white-space: nowrap;
}

.highlights-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.timeline-card {
  border: 1px solid #d3e2fa;
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.timeline-card h3 {
  margin: 0 0 0.55rem;
}

.timeline {
  margin: 0;
  padding-left: 1.05rem;
}

.timeline li {
  margin-bottom: 0.7rem;
  color: #334155;
}

.timeline li strong {
  color: #14396e;
}

.cue-grid {
  display: grid;
  gap: 0.8rem;
}

.cue-card {
  border: 1px solid #d3e2fa;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  padding: 0.85rem;
  box-shadow: var(--shadow-card);
}

.cue-card h4 {
  margin: 0 0 0.28rem;
  color: #14396e;
}

.cue-card p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.78rem 0.85rem;
  box-shadow: var(--shadow-card);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #102f5c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: #1f5ed6;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0.62rem 0 0;
  color: var(--muted);
}

.final-cta {
  background: linear-gradient(120deg, #0f2f63, #1f5ed6);
  color: #eef4ff;
  border-radius: 20px;
  padding: clamp(1.3rem, 2.8vw, 2rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 12px 28px rgba(16, 39, 77, 0.26);
}

.final-cta h2 {
  margin: 0;
}

.final-cta p {
  margin: 0.45rem 0 0;
  color: #dce8ff;
}

.content-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-card);
}

.content-block h2,
.content-block h3 {
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.content-block ul,
.content-block ol {
  padding-left: 1.1rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(201, 217, 242, 0.8);
  background: linear-gradient(180deg, #0f2547, #0d2140);
  color: #d2dff7;
  padding: 2.2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-grid h3,
.footer-grid h4 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.footer-grid p {
  margin-top: 0;
}

.footer-grid a {
  color: #dce8ff;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  text-decoration: underline;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-bottom {
  margin-top: 1rem;
  border-top: 1px solid rgba(191, 214, 252, 0.35);
  padding-top: 0.9rem;
  font-size: 0.92rem;
  color: #c0d4f5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

@media (max-width: 1080px) {
  .site-header-inner {
    grid-template-columns: auto auto;
  }

  .nav-shell {
    grid-column: 1 / -1;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-shell,
  .final-cta,
  .footer-grid,
  .feature-grid,
  .grid-3,
  .plan-cards,
  .trust-strip,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 1rem;
  }

  .mock-stat-grid,
  .mock-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    grid-template-columns: auto auto auto;
    gap: 0.6rem;
  }

  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #b4c7e6;
    border-radius: 10px;
    background: #fff;
    color: #1b3969;
    font-weight: 700;
    min-height: 42px;
    min-width: 60px;
  }

  .nav-shell {
    grid-column: 1 / -1;
  }

  .nav-shell[data-open="false"] {
    display: none;
  }

  .nav-links {
    display: grid;
    gap: 0.2rem;
  }

  .header-actions {
    justify-self: end;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hero {
    padding-top: 1.2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-trustline {
    gap: 0.55rem;
    font-size: 0.88rem;
  }

  .mock-stat-grid,
  .mock-cards {
    grid-template-columns: 1fr;
  }

  .toggle-row {
    gap: 0.6rem;
  }
}
