:root {
  color-scheme: light;
  --ink: #1f1f1f;
  --ink-soft: #444746;
  --muted: #5f6368;
  --line: #e0e3e7;
  --surface: #ffffff;
  --surface-alt: #f0f4f9;
  --page: #f8fafd;
  --teal: #0b57d0;
  --teal-dark: #0842a0;
  --teal-soft: #d3e3fd;
  --blue: #5f8ef3;
  --blue-soft: #e8f0fe;
  --warning: #fff5d9;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.08);
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --container: 1160px;
  --header-height: 88px;
  --page-background:
    radial-gradient(700px 420px at 10% 10%, rgba(11, 87, 208, 0.18), transparent 60%),
    radial-gradient(600px 360px at 90% 0%, rgba(102, 157, 246, 0.2), transparent 55%),
    linear-gradient(180deg, #f8fafd 0%, #eef2f7 100%);
  --hero-dot: radial-gradient(rgba(11, 87, 208, 0.08) 1px, transparent 1px);
  --hero-orb-one: radial-gradient(circle, rgba(11, 87, 208, 0.22) 0%, transparent 70%);
  --hero-orb-two: radial-gradient(circle, rgba(102, 157, 246, 0.2) 0%, transparent 70%);
  --header-background: rgba(248, 250, 253, 0.9);
  --badge-background: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e3e3e3;
  --ink-soft: #c4c7c5;
  --muted: #9aa0a6;
  --line: #333537;
  --surface: #1b1b1b;
  --surface-alt: #1e1f20;
  --page: #131314;
  --teal: #8ab4f8;
  --teal-dark: #a8c7fa;
  --teal-soft: #102a5c;
  --blue: #5f8ef3;
  --blue-soft: #102a5c;
  --warning: #2d2617;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.5);
  --page-background:
    radial-gradient(700px 420px at 10% 10%, rgba(138, 180, 248, 0.16), transparent 60%),
    radial-gradient(600px 360px at 90% 0%, rgba(11, 87, 208, 0.28), transparent 55%),
    linear-gradient(180deg, #131314 0%, #0e0f10 100%);
  --hero-dot: radial-gradient(rgba(168, 199, 250, 0.16) 1px, transparent 1px);
  --hero-orb-one: radial-gradient(circle, rgba(11, 87, 208, 0.35) 0%, transparent 70%);
  --hero-orb-two: radial-gradient(circle, rgba(95, 142, 243, 0.25) 0%, transparent 70%);
  --header-background: rgba(19, 19, 20, 0.9);
  --badge-background: rgba(19, 19, 20, 0.85);
}

body {
  min-height: 100vh;
  background-color: var(--page);
  background-image: var(--page-background);
  color: var(--ink);
  font-family: "Google Sans Text", "Google Sans", sans-serif;
}

body::before {
  display: none;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Google Sans", "Google Sans Text", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  color: var(--ink-soft);
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--teal-dark);
}

.container {
  width: 100%;
  max-width: var(--container);
  padding-inline: 1.5rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-color: var(--line);
  background: var(--header-background);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
}

.brand {
  gap: 0.5rem;
  color: var(--ink);
  font-family: "Google Sans", "Google Sans Text", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.brand svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.site-nav {
  gap: 2rem;
}

.site-nav > a,
.site-nav > a:not(.btn) {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  background: rgba(11, 87, 208, 0.12);
  color: var(--teal-dark);
}

html[data-theme="dark"] .site-nav > a:hover,
html[data-theme="dark"] .site-nav > a[aria-current="page"] {
  background: rgba(168, 199, 250, 0.18);
}

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

.btn {
  min-height: 42px;
  padding: 0.5rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.btn-primary {
  background: #0b57d0;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0842a0;
  color: #ffffff;
}

.btn-secondary {
  border: 1px solid transparent;
  background: #d3e3fd;
  color: #062e6f;
}

.btn-secondary:hover {
  background: #b4ccfa;
  color: #041e49;
}

html[data-theme="dark"] .btn-primary {
  background: #a8c7fa;
  color: #062e6f;
}

html[data-theme="dark"] .btn-primary:hover {
  background: #c2d7ff;
  color: #041e49;
}

html[data-theme="dark"] .btn-secondary {
  background: rgba(168, 199, 250, 0.16);
  color: #d3e3fd;
}

html[data-theme="dark"] .btn-secondary:hover {
  background: rgba(168, 199, 250, 0.28);
  color: #ffffff;
}

.btn-lg {
  min-height: 52px;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.theme-toggle,
.nav-toggle {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.theme-toggle:hover,
.nav-toggle:hover {
  border-color: var(--teal-soft);
  color: var(--teal-dark);
}

.theme-toggle-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity 200ms ease, transform 200ms ease;
}

.theme-toggle-sun {
  opacity: 0;
  transform: scale(0.85) rotate(-10deg);
}

.theme-toggle-moon {
  opacity: 1;
}

html[data-theme="dark"] .theme-toggle {
  background: #282a2c;
  color: #a8c7fa;
}

html[data-theme="dark"] .theme-toggle-sun {
  opacity: 1;
  transform: scale(1);
}

html[data-theme="dark"] .theme-toggle-moon {
  opacity: 0;
  transform: scale(0.85) rotate(10deg);
}

.nav-toggle {
  display: none;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 85vh;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background-image: var(--hero-dot);
  background-position: -12px -12px;
  background-size: 32px 32px;
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -220px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: var(--hero-orb-one);
}

.hero::after {
  bottom: -240px;
  left: -180px;
  width: 600px;
  height: 600px;
  background: var(--hero-orb-two);
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 4rem;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
}

.hero-copy .lead {
  max-width: 600px;
  margin-bottom: 3rem;
  color: var(--ink-soft);
  font-size: 1.25rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero-actions {
  align-items: center;
  gap: 1rem;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  color: var(--ink);
  font-weight: 600;
}

.hero-text-link:hover {
  color: var(--teal);
}

.hero-badges {
  gap: 0.5rem;
  margin-top: 3rem;
}

.pill {
  padding: 0.25rem 0.5rem;
  border-color: var(--line);
  background: var(--badge-background);
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 400;
  box-shadow: var(--shadow-soft);
}

.migration-selector-card {
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.migration-selector-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.migration-selector-card > p:not(.eyebrow) {
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.migration-selector-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin: 0;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--ink);
}

.form-input:focus {
  border-color: var(--teal);
  outline: 2px solid color-mix(in srgb, var(--teal) 25%, transparent);
}

.migration-selector-arrow {
  display: flex;
  width: 32px;
  height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.migration-selector .btn {
  width: 100%;
}

.migration-selector-note {
  min-height: 1.4em;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

.migration-selector-custom {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  border-color: var(--line);
  background: var(--surface-alt);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 4rem;
}

.section-heading.centered {
  margin-inline: auto;
}

.pricing-heading {
  max-width: 900px;
}

.section-heading > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--teal), #5f8ef3);
  background-clip: text;
}

.card,
.pricing-card,
.form-shell,
.legal-shell,
.metric,
.faq-item {
  border-color: var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 2rem;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.card:hover {
  border-color: var(--teal-soft);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

.card p,
.content-main p,
.content-main li,
.legal-shell p,
.legal-shell li {
  color: var(--ink-soft);
}

.card-icon,
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-family: "Google Sans", sans-serif;
}

.pricing-grid {
  gap: 2rem;
}

.pricing-card {
  padding: 2rem;
}

.pricing-card.featured {
  border-color: #5f8ef3;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.pricing-badge {
  margin: -0.5rem 0 1rem;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.75rem;
}

.pricing-card .eyebrow {
  margin-bottom: 0.25rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.package-description {
  min-height: 7.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  margin: 1.5rem 0 0.25rem;
  color: var(--ink);
  font-family: "Google Sans", sans-serif;
  font-size: 1.75rem;
}

.price-scope {
  min-height: 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.check-list {
  margin: 1rem 0 2rem;
}

.check-list li {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.check-list li::before {
  color: var(--teal);
}

.package-note {
  max-width: 900px;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

.notice {
  border-color: color-mix(in srgb, #f0d58c 55%, var(--line));
  background: var(--warning);
  color: var(--ink-soft);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 4rem) 0 3rem;
  background: transparent;
}

.page-hero::after {
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(138, 180, 248, 0.2) 0%, transparent 70%);
  content: "";
  pointer-events: none;
}

.page-hero h1 {
  max-width: 1050px;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
}

.page-hero .lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.breadcrumbs {
  display: none;
}

.content-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.sidebar .card {
  background: var(--surface);
}

.comparison-table {
  border-color: var(--line);
  background: var(--surface);
}

.comparison-table th,
.comparison-table td {
  border-color: var(--line);
}

.comparison-table th {
  background: var(--surface-alt);
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  padding-inline: 1.5rem;
}

.faq-button {
  color: var(--ink);
  font-family: "Google Sans", sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
}

.faq-answer {
  color: var(--ink-soft);
}

.cta-band {
  padding: 4rem;
  border: 0;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #0b57d0 0%, #0842a0 55%, #041e49 100%);
  box-shadow: var(--shadow);
  color: #ffffff;
}

.cta-band h2,
.cta-band .eyebrow {
  color: #ffffff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn-primary {
  background: #e8f0fe;
  color: #062e6f;
}

.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.form-shell,
.legal-shell {
  padding: 3rem;
}

.form-shell .section-heading {
  margin-bottom: 2rem;
}

.lead-form {
  position: relative;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.lead-field {
  display: grid;
  gap: 0.5rem;
}

.lead-field-wide {
  grid-column: 1 / -1;
}

.lead-field label {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
}

.lead-field input,
.lead-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface-alt);
  color: var(--ink);
  font: inherit;
}

.lead-field input {
  min-height: 52px;
  padding: 0.75rem 1rem;
}

.lead-field textarea {
  min-height: 150px;
  padding: 1rem;
  resize: vertical;
}

.lead-field input:focus,
.lead-field textarea:focus {
  border-color: var(--teal);
  outline: 2px solid color-mix(in srgb, var(--teal) 25%, transparent);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.lead-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--teal);
}

.lead-form-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.lead-form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.lead-form-status.is-success {
  color: #63d3a6;
}

.lead-form-status.is-error {
  color: #ff9b9b;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.site-footer {
  margin-top: 4rem;
  padding: 4rem 0 2rem;
  border-color: var(--line);
  background: var(--surface-alt);
  color: var(--ink-soft);
}

.site-footer .brand,
.site-footer h3 {
  color: var(--ink);
}

.site-footer h3 {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--ink-soft);
}

.site-footer a:hover {
  color: var(--teal-dark);
}

.footer-bottom {
  border-color: var(--line);
  color: var(--muted);
}

.error-page {
  padding-top: calc(var(--header-height) + 6rem);
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-description {
    min-height: 0;
  }
}

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 1.5rem;
    left: 1.5rem;
    display: none;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 0 0 1rem 1rem;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-copy .lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .hero-badges {
    justify-content: center;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .header-assessment {
    display: none;
  }

  .brand {
    font-size: 1.25rem;
  }

  .brand svg {
    width: 28px;
    height: 28px;
  }

  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 3rem);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 1rem;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 4rem) 0 4rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-copy .lead {
    margin-bottom: 2rem;
    font-size: 1.125rem;
  }

  .hero-actions .btn,
  .hero-actions .hero-text-link {
    width: 100%;
    justify-content: center;
  }

  .migration-selector-card,
  .form-shell,
  .legal-shell {
    padding: 1.5rem;
  }

  .migration-selector-fields {
    grid-template-columns: 1fr;
  }

  .lead-form-grid {
    grid-template-columns: 1fr;
  }

  .lead-field-wide {
    grid-column: auto;
  }

  .lead-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .migration-selector-arrow {
    width: 100%;
    height: 24px;
    transform: rotate(90deg);
  }

  .pricing-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 2rem 1.5rem;
  }
}
