/* Shared styles for the static, crawlable marketing pages in src/seo
   (generated by scripts/seo/build-seo.mjs). Visually aligned with the
   in-app landing page (src/app/feature/landing): violet palette, glass cards. */
:root {
  --accent: #7c5cf0; --accent-soft: rgba(124, 92, 240, 0.1);
  --gradient: linear-gradient(100deg, #7c5cf0 0%, #c026d3 50%, #0891b2 100%);
  --glow: rgba(124, 92, 240, 0.55);
  --bg: #fbfaff; --heading: #0c0a1d; --text: #3d3a56; --muted: #6b6889;
  --ink: #0c0a1d; --ink-contrast: #ffffff;
  --card: rgba(255, 255, 255, 0.72); --glass: rgba(255, 255, 255, 0.6);
  --line: rgba(12, 10, 29, 0.08); --line-strong: rgba(124, 92, 240, 0.35);
  --shadow: rgba(40, 20, 110, 0.3);
  --blob-a: rgba(167, 139, 250, 0.4); --blob-b: rgba(232, 121, 249, 0.25); --blob-c: rgba(34, 211, 238, 0.22);
  --error: #d92d20; --success: #067647; --field: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #a78bfa; --accent-soft: rgba(167, 139, 250, 0.12);
    --gradient: linear-gradient(100deg, #a78bfa 0%, #f0abfc 50%, #67e8f9 100%);
    --glow: rgba(167, 139, 250, 0.45);
    --bg: #07060f; --heading: #f7f5ff; --text: #c9c5e6; --muted: #8f8bb0;
    --ink: #f7f5ff; --ink-contrast: #0c0a1d;
    --card: rgba(255, 255, 255, 0.04); --glass: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.09); --line-strong: rgba(167, 139, 250, 0.45);
    --shadow: rgba(0, 0, 0, 0.8);
    --blob-a: rgba(124, 92, 240, 0.3); --blob-b: rgba(192, 38, 211, 0.18); --blob-c: rgba(8, 145, 178, 0.2);
    --error: #f97066; --success: #47cd89; --field: rgba(255, 255, 255, 0.04);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; position: relative; overflow-x: clip;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; position: relative; }
/* Visually hidden without off-screen offsets (left:-10000px breaks RTL pages). */
.skip-link, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 1rem; top: 1rem; z-index: 100; background: var(--ink); color: var(--ink-contrast); padding: 0.5rem 1rem; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Ambient background — same aurora as the landing hero */
.aurora { position: absolute; inset: 0 0 auto; height: 900px; overflow: hidden; pointer-events: none; z-index: -1; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.aurora::before { top: -12rem; left: 5%; width: 38rem; height: 28rem; background: var(--blob-a); }
.aurora::after { top: -6rem; right: 0; width: 30rem; height: 24rem; background: var(--blob-b); box-shadow: -20rem 22rem 0 2rem var(--blob-c); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.6) blur(18px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-mark { display: inline-flex; padding: 0.45rem; border-radius: 12px; background: var(--gradient); color: #fff; box-shadow: 0 8px 20px -8px var(--glow); }
.logo-text { color: var(--heading); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.04em; }
.logo-text span { margin-left: 0.2rem; color: var(--muted); font-weight: 500; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.site-nav a:not(.btn) { padding: 0.5rem 0.8rem; border-radius: 999px; color: var(--text); font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--heading); background: var(--line); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.88rem; }
.btn-primary { background: var(--ink); color: var(--ink-contrast); box-shadow: 0 12px 30px -12px var(--glow); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn-glass { background: var(--glass); color: var(--heading); border-color: var(--line); backdrop-filter: blur(14px); }
.btn-light { background: #fff; color: #0c0a1d; }
.btn-outline-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Typography */
h1, h2, h3 { color: var(--heading); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; margin: 1rem 0 1.25rem; max-width: 22ch; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.03em; font-weight: 800; margin: 0 0 1.25rem; }
h3 { font-size: 1.05rem; letter-spacing: -0.015em; margin: 0 0 0.4rem; }
main > section, main > .split { margin: 0 0 4rem; }
.kicker { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.kicker::before { content: ""; width: 1.5rem; height: 2px; border-radius: 2px; background: var(--gradient); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }
.lang-links { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.9rem; }

/* Hero + direct answer (written to be quotable by search and AI answers) */
.hero { padding: 2.5rem 0 0; }
/* Two-column hero with a floating character illustration (same art and motion
   as the login page's "What's new" panel). */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.hero-art { position: relative; margin: 0; }
.hero-art::before { content: ""; position: absolute; left: 50%; bottom: 6%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--gradient); filter: blur(60px); opacity: 0.22; transform: translateX(-50%); }
.hero-art img { position: relative; display: block; width: 100%; height: auto; max-width: 440px; margin: 0 auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 899px) {
  .hero-split { grid-template-columns: 1fr; gap: 0.5rem; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 240px; }
}
.answer { max-width: 50rem; margin: 0 0 1.75rem; padding: 1.1rem 1.25rem; border-radius: 18px; border: 1px solid var(--line-strong); background: var(--accent-soft); color: var(--text); font-size: 1.05rem; }
.answer strong { color: var(--heading); }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: 0.85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; backdrop-filter: blur(12px); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-link { display: flex; flex-direction: column; text-decoration: none; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.card-link:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 30px 60px -32px var(--shadow); }
.card-link .more { margin-top: auto; padding-top: 0.9rem; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.card > h2:first-child { margin-top: 0; }

/* Lists */
.steps { counter-reset: step; display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.steps li::before { content: counter(step, decimal-leading-zero); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--gradient); color: #fff; font-weight: 700; font-size: 0.85rem; }
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 0.6rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0.05rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 0.8rem; font-weight: 700; text-align: center; line-height: 1.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chips a, .chips span { display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--heading); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--line-strong); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
summary { font-weight: 600; color: var(--heading); cursor: pointer; }
details p { margin: 0.6rem 0 0; color: var(--muted); }

/* Closing call to action */
.cta-band { padding: 3.5rem 1.5rem; border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #7c5cf0 0%, #4c1d95 45%, #0c0a1d 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 34rem; margin: 0 auto 1.75rem; opacity: 0.85; }
.cta-band .actions { justify-content: center; }

/* Footer */
.site-footer { margin-top: 2rem; padding: 3rem 0 1.5rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-grid h2 { margin: 0 0 0.6rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading); }
.footer-grid h2 + ul + h2, .footer-grid ul + h2 { margin-top: 1.25rem; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { margin: 0.9rem 0; }
.copyright { margin-top: 2rem; font-size: 0.82rem; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* Contact page */
.split { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 768px) { .split { grid-template-columns: 2fr 3fr; } }
.facts { margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; color: var(--heading); }
address { font-style: normal; }
.form { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 576px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--heading); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--heading); background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 0.65rem 0.8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { color: var(--error); font-size: 0.8rem; min-height: 1em; }
.req { color: var(--error); }
.status { border-radius: 12px; padding: 0.75rem 1rem; margin: 0; }
.status[hidden] { display: none; }
.status.ok { border: 1px solid var(--success); color: var(--success); }
.status.fail { border: 1px solid var(--error); color: var(--error); }
.note { font-size: 0.8rem; color: var(--muted); margin: 0; }

@media (max-width: 575px) {
  .site-nav { width: 100%; }
  .site-nav .btn { margin-left: auto; }
  main > section, main > .split { margin-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card-link { transition: none; } .hero-art img { animation: none; } }

/* Comparison table (affordability page) */
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.compare { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { color: var(--heading); font-weight: 700; background: var(--accent-soft); }
.compare tbody th { color: var(--heading); font-weight: 600; }
.compare td:last-child { color: var(--heading); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
