@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Regular.woff2") format("woff2"), url("/fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Medium.woff2") format("woff2"), url("/fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-SemiBold.woff2") format("woff2"), url("/fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Bold.woff2") format("woff2"), url("/fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* The same palette as the application, so the two look like one product. */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eef0f4;
  --text: #041333;
  --muted: #5b6472;
  --border: #dfe3e8;
  --primary: #041333;
  --primary-hover: #0d2557;
  --on-primary: #ffffff;
  --accent: #05d2ae;
  --accent-strong: #04a98b;
  --on-accent: #041333;
  --accent-soft: rgba(5, 210, 174, 0.12);
  --warn-bg: #fffbeb;
  --warn: #92400e;
  --shadow-1: 0 1px 2px rgba(4, 19, 51, 0.06), 0 2px 8px rgba(4, 19, 51, 0.06);
  --shadow-2: 0 4px 12px rgba(4, 19, 51, 0.1), 0 12px 32px rgba(4, 19, 51, 0.12);
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1.25rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #041333;
    --surface: #0a1d42;
    --surface-2: #0d2450;
    --text: #e7e9ec;
    --muted: #a3abb7;
    --border: #1c3a68;
    --primary: #05d2ae;
    --primary-hover: #33ddc0;
    --on-primary: #041333;
    --accent: #05d2ae;
    --accent-strong: #33ddc0;
    --on-accent: #041333;
    --accent-soft: rgba(5, 210, 174, 0.16);
    --warn-bg: #3d2b05;
    --warn: #fbbf24;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 8px 28px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 1rem; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
picture { display: block; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 0.5rem 1rem; z-index: 10; border-radius: var(--r-sm); }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 5; }
@media (min-width: 40rem) {
  .site-header { position: sticky; top: 0; background: rgba(245, 246, 248, 0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
  @media (prefers-color-scheme: dark) { .site-header { background: rgba(4, 19, 51, 0.85); } }
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; padding: 0.75rem 1rem; max-width: 72rem; margin: 0 auto; }
.brand { display: inline-flex; order: -1; }
.logo { height: 2rem; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; flex: 1 1 auto; }
.site-nav a { text-decoration: none; padding: 0.55rem 0.15rem; min-height: 2.5rem; display: inline-flex; align-items: center; color: var(--muted); border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-left: auto; }
.lang { padding: 0.5rem 0.25rem; text-decoration: none; color: var(--muted); min-height: 2.5rem; display: inline-flex; align-items: center; }
.lang:hover { color: var(--text); }

/* The mobile hamburger: a checkbox the CSS can read, so the menu works without a single line of script. */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn { display: none; order: 3; cursor: pointer; padding: 0.6rem 0.5rem; min-height: 2.5rem; align-items: center; border-radius: var(--r-sm); }
.menu-bars { display: block; width: 1.3rem; height: 2px; background: var(--text); position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; width: 1.3rem; height: 2px; background: var(--text); transition: transform 0.15s ease, top 0.15s ease; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.nav-toggle:checked ~ .menu-btn .menu-bars { background: transparent; }
.nav-toggle:checked ~ .menu-btn .menu-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked ~ .menu-btn .menu-bars::after { top: 0; transform: rotate(-45deg); }
.nav-toggle:focus-visible ~ .menu-btn { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 39.99rem) {
  .menu-btn { display: inline-flex; }
  .header-actions { width: 100%; order: 4; }
  .site-nav { display: none; width: 100%; order: 5; flex-direction: column; gap: 0; padding: 0.25rem 0 0.75rem; }
  #nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { min-height: 2.75rem; border-bottom: 1px solid var(--border); }
}

/* ---------- buttons and links ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.5rem 1.25rem; border: 1px solid var(--primary); border-radius: var(--r-sm); text-decoration: none; font-weight: 500; transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.button:hover { background: var(--surface-2); }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; box-shadow: var(--shadow-1); }
.button.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.button.ghost { border-color: var(--border); }
.button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- type and page frame ---------- */
main { max-width: 72rem; margin: 0 auto; padding: 1rem 1rem 3.5rem; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.12; margin: 0 0 1rem; letter-spacing: -0.015em; }
h2 { font-size: 1.25rem; margin: 0 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }
.muted { color: var(--muted); }
.page-head { padding: 2.25rem 0 1rem; }
.section-title { font-size: 1.55rem; letter-spacing: -0.01em; margin: 0 0 0.25rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0.5rem; }

/* ---------- hero ---------- */
.hero { display: grid; gap: 2rem; padding: 3.25rem 0 2rem; align-items: center; }
@media (min-width: 56rem) { .hero { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { max-width: 26ch; }
.hero-copy .lead { max-width: 42rem; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 16rem; border-radius: var(--r-lg); background: radial-gradient(circle at 50% 42%, var(--accent-soft), transparent 62%); }
.hero-visual::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(var(--border) 1px, transparent 1.6px); background-size: 1.4rem 1.4rem; opacity: 0.45; -webkit-mask-image: radial-gradient(circle at 50% 45%, black, transparent 72%); mask-image: radial-gradient(circle at 50% 45%, black, transparent 72%); }
.hero-mascot { position: relative; width: min(14rem, 55vw); }
@media (max-width: 55.99rem) { .hero-visual { order: -1; min-height: 9rem; } .hero-mascot { width: 8rem; } }
.mascot-light { display: block; }
.mascot-dark { display: none; }
@media (prefers-color-scheme: dark) { .mascot-light { display: none; } .mascot-dark { display: block; } }

/* ---------- trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; list-style: none; margin: 0.5rem 0 1rem; padding: 0.9rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--muted); font-size: 0.95rem; }
.trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust li::before { content: "✓"; color: var(--accent-strong); font-weight: 700; }

/* ---------- the four-step story ---------- */
.steps { margin: 3rem 0 1rem; }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 64rem) { .step-grid { grid-template-columns: repeat(4, 1fr); } }
.step h2 { display: flex; align-items: center; gap: 0.65rem; font-size: 1.05rem; }
.step-n { flex: 0 0 auto; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 600; }
.shot { display: block; margin-bottom: 0.9rem; }
.shot img, .shot-empty { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: var(--shadow-1); }
.shot-empty { background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--bg) 12px 24px); border-style: dashed; }

/* ---------- cards and grids ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.35rem; box-shadow: var(--shadow-1); }
.card p { margin: 0.25rem 0 0; color: var(--muted); }
article.card { transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease; }
article.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--accent); }

/* ---------- feature groups ---------- */
.feature-group { margin: 3.25rem 0; }
.feature-group .lead { margin: 0 0 1.25rem; }
.feature-group .grid { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.card h3 { display: flex; align-items: center; gap: 0.6rem; }
.icon img { display: block; width: 1.35rem; height: 1.35rem; flex: 0 0 auto; }

/* ---------- closing band ---------- */
.band { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface) 55%, var(--accent-soft)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2.5rem 1.5rem; margin: 3rem 0 1rem; text-align: center; }
.band .cta { justify-content: center; }
.band-mascot { width: 3.75rem; margin: 0 auto 0.75rem; opacity: 0.95; }

/* ---------- badges ---------- */
.badge { font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.65rem; border-radius: 999px; border: 1px solid var(--border); vertical-align: middle; color: var(--muted); background: var(--surface-2); }
.badge.available { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-soft); }

/* ---------- pricing ---------- */
.price-grid { gap: 1.25rem; }
.price .amount { font-size: 1.85rem; font-weight: 600; color: var(--text); margin: 0.4rem 0; letter-spacing: -0.01em; }
.price--featured { border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-1); }

.calc-card { margin: 2.25rem 0 1rem; padding: 1.75rem; }
.calc-row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: end; }
#calculator label { display: block; margin: 0.75rem 0 0.25rem; }
.calc-count { display: flex; align-items: center; gap: 0.9rem; }
#calculator input[type="number"] { width: 6.5rem; min-height: 2.75rem; padding: 0.4rem 0.6rem; font: inherit; font-size: 1.05rem; text-align: center; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-sm); }
#calculator input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 8rem; height: 1.75rem; background: transparent; cursor: pointer; }
#calculator input[type="range"]::-webkit-slider-runnable-track { height: 0.35rem; border-radius: 999px; background: var(--border); }
#calculator input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; margin-top: -0.55rem; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: var(--shadow-1); }
#calculator input[type="range"]::-moz-range-track { height: 0.35rem; border-radius: 999px; background: var(--border); }
#calculator input[type="range"]::-moz-range-thumb { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); }
#calculator .check { display: flex; gap: 0.6rem; align-items: center; min-height: 2.75rem; margin: 0; cursor: pointer; }
#calculator .check input[type="checkbox"] { -webkit-appearance: none; appearance: none; margin: 0; width: 1.4rem; height: 1.4rem; flex: 0 0 auto; border: 2px solid var(--muted); border-radius: 0.4rem; background: var(--surface); display: grid; place-content: center; cursor: pointer; }
#calculator .check input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
#calculator .check input[type="checkbox"]:checked::after { content: ""; width: 0.4rem; height: 0.7rem; border: solid var(--on-accent); border-width: 0 0.2rem 0.2rem 0; transform: rotate(45deg) translate(-1px, -2px); }
.calc-out { font-size: 1.2rem; font-weight: 600; margin: 1.25rem 0 0; padding: 0.85rem 1.1rem; background: var(--accent-soft); border-radius: var(--r-sm); color: var(--text) !important; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; min-width: 100%; }
th, td { text-align: left; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--border); }
thead th { color: var(--muted); font-weight: 500; }
tbody tr:nth-child(even) { background: var(--surface-2); }
tbody tr:hover { background: var(--accent-soft); }
.notes { color: var(--muted); padding-left: 1.25rem; }

/* ---------- the no-JS FAQ ---------- */
.faq-block { margin: 3rem 0 1rem; }
details.faq { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); margin: 0 0 0.65rem; box-shadow: var(--shadow-1); }
details.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.75rem; padding: 0.95rem 1.15rem; font-weight: 500; min-height: 2.75rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "+"; flex: 0 0 auto; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
details.faq[open] summary::before { content: "–"; }
details.faq p { margin: 0; padding: 0 1.15rem 1.05rem 3.05rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 50rem) { .contact-grid { grid-template-columns: 1.25fr 0.75fr; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.5rem; margin: 0.5rem 0 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
mark.placeholder { background: var(--warn-bg); color: var(--warn); padding: 0.05rem 0.4rem; border-radius: 0.25rem; }

/* ---------- legal ---------- */
.draft { background: transparent; color: var(--warn); border: 1px solid var(--warn); border-left: 4px solid var(--warn); border-radius: var(--r-sm); padding: 0.75rem 1rem; margin: 1rem 0 1.5rem; max-width: 44rem; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.15rem 1.35rem; margin: 0 0 2rem; box-shadow: var(--shadow-1); max-width: 34rem; }
.toc h2 { font-size: 1rem; color: var(--muted); font-weight: 500; margin-bottom: 0.4rem; }
.toc ol { margin: 0; padding-left: 1.4rem; color: var(--muted); }
.toc a { color: var(--text); }
.legal-body section { margin: 1.9rem 0; max-width: 44rem; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 4rem 1rem 3rem; }
.nf-mascot { width: 7.5rem; margin: 0 auto 1.25rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { max-width: 72rem; margin: 0 auto; padding: 2.25rem 1rem 2.75rem; display: grid; gap: 1.75rem 2rem; }
@media (min-width: 48rem) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } .footer-note { grid-column: 1 / -1; } }
.footer-brand p { color: var(--muted); margin: 0.6rem 0 0; font-size: 0.95rem; }
.footer-mascot { width: 2.75rem; margin-top: 0.9rem; opacity: 0.85; }
.footer-col { display: flex; flex-direction: column; }
.footer-col h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.65rem; }
.footer-col a { display: inline-flex; min-height: 2rem; align-items: center; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent-strong); }
/* ---------- integrations: official partner logos stay unmodified, so they get a light chip in both themes ---------- */
/* Sizes found by eye against real captures: 44px marks on a phone, 56px on a desktop (chip = mark + 24px). */
.mark { background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); height: 4.25rem; display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; }
.mark img { height: 2.75rem; width: auto; max-width: calc(100% - 20px); }
@media (min-width: 40rem) { .mark { height: 5rem; } .mark img { height: 3.5rem; } }
@media (forced-colors: active) { .mark { border-color: CanvasText; } }

.footer-note { color: var(--muted); font-size: 0.85rem; }
.footer-note a { color: inherit; }

/* ---------- motion, contrast modes, paper ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media (forced-colors: active) {
  .card, .button, .badge, .toc, details.faq, .shot img, .shot-empty { border-color: CanvasText; }
  .price--featured { border: 2px solid Highlight; box-shadow: none; }
  .trust li::before, .step-n, details.faq summary::before { color: CanvasText; background: Canvas; forced-color-adjust: none; }
  .site-header, .band, .calc-out { background: Canvas; }
}
@media print {
  .site-header, .site-footer, .cta, .trust, .menu-btn, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
  .card, .band, details.faq { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
  main { max-width: none; padding: 0; }
}

@media (max-width: 40rem) {
  .site-header .header-inner { gap: 0.25rem 1rem; }
  h1 { overflow-wrap: anywhere; }
}
