:root {
  --navy: #0E0D48;
  --navy-deep: #070630;
  --sky: #5AB4F5;
  --sky-soft: #DCEEFD;
  --paper: #F6F8FC;
  --surface: #FFFFFF;
  --ink: #1C1D3A;
  --muted: #5B6080;
  --line: #E1E5F0;
  --on-navy: #FFFFFF;
  --on-navy-muted: #B9C2E6;
  color-scheme: light;
  box-sizing: border-box;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12122E;
    --surface: #17173A;
    --ink: #E9ECFA;
    --muted: #A7AED0;
    --line: #2A2B55;
    --sky-soft: #1D2D52;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #12122E; --surface: #17173A; --ink: #E9ECFA; --muted: #A7AED0;
  --line: #2A2B55; --sky-soft: #1D2D52; color-scheme: dark;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}
h1, h2, h3 { font-family: "Poppins", "Segoe UI", system-ui, sans-serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand img { height: 36px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .brand .logo-dark { display: block; }
}
nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; align-items: center; }
nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
nav a:hover { color: var(--ink); }
@media (max-width: 760px) { nav .hide-sm { display: none; } nav ul { gap: 1rem; } }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  font-family: "Poppins", system-ui, sans-serif; font-size: .98rem;
  padding: .8em 1.4em; border-radius: 10px; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--sky); color: var(--navy); }
.btn-primary:hover { background: #8CCBF8; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--on-navy); }
.btn-small { padding: .55em 1em; font-size: .9rem; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero p.lead { font-size: 1.2rem; color: var(--on-navy-muted); max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero .note { margin-top: 1.4rem; font-size: .95rem; color: var(--on-navy-muted); }
.hero-mark { position: relative; justify-self: center; width: min(360px, 80vw); }
.hero-mark svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { width: 200px; order: -1; justify-self: start; }
}

/* Sections */
section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.alt { background: var(--paper); }
.section-head { max-width: 620px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }

/* Plans table */
.plans-scroll { overflow-x: auto; }
.plans { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.plans th, .plans td { padding: 1rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line); }
.plans th[scope="row"] { text-align: left; font-weight: 600; color: var(--muted); font-family: inherit; }
.plans thead th { padding-top: 1.6rem; vertical-align: bottom; }
.plans .plan-name { font-family: "Poppins", system-ui, sans-serif; font-size: 1.2rem; font-weight: 700; display: block; }
.plans .price { font-family: "Poppins", system-ui, sans-serif; font-size: 2rem; font-weight: 700; display: block; margin-top: .3rem; }
.plans .price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plans .popular { background: var(--sky-soft); }
.plans .tag { display: inline-block; font-size: .8rem; font-weight: 700; background: var(--navy); color: var(--on-navy); padding: .2em .7em; border-radius: 99px; margin-bottom: .5rem; }
.plans tfoot td { border-bottom: 0; padding-block: 1.4rem; }
.plans-note { margin-top: 1rem; color: var(--muted); font-size: .95rem; }

/* Included */
.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem 2.5rem; }
.included h3 { display: flex; gap: .6rem; align-items: center; }
.included h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); flex: none; }
.included p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; padding-top: 1.2rem; border-top: 3px solid var(--sky); }
.steps li::before { content: "Step " counter(step); font-weight: 700; color: var(--muted); font-size: .9rem; display: block; margin-bottom: .3rem; }
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-family: "Poppins", system-ui, sans-serif; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sky); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: var(--on-navy); }
.contact p { color: var(--on-navy-muted); }
.contact a.email { color: var(--sky); font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.contact .row { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 1.5rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding-block: 2.5rem; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-navy); }
.site-footer img { height: 30px; width: auto; }

/* Legal pages */
.legal { padding-block: 3.5rem 5rem; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal .updated { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
@media (max-width: 600px) {
  .plans { min-width: 0; font-size: .92rem; }
  .plans th, .plans td { padding: .7rem .45rem; }
  .plans .price { font-size: 1.15rem; }
  .plans .price small { display: block; font-size: .75rem; }
  .plans th[scope="row"] { font-size: .82rem; }
  .plans .plan-name { font-size: 1rem; }
  .plans .tag { font-size: .7rem; }
  .plans tfoot .btn { padding: .5em .6em; font-size: .8rem; }
}
