:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --text: #0f172a;
  --muted: #55607a;
  --border: #e3e7ef;
  --primary: #4f46e5;
  --primary-2: #06b6d4;
  --link: #4338ca;
  --accent-text: #4338ca;
  --grad-a: #4f46e5;
  --grad-b: #0e7490;
  --focus: #4338ca;
  --ok: #15803d;
  --warn: #b45309;
  --danger: #b91c1c;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --bg-soft: #11172b;
    --text: #e8ecf6;
    --muted: #9aa5c0;
    --border: #222b45;
    --card: #121a30;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    --link: #a5b4fc;
    --accent-text: #a5b4fc;
    --grad-a: #a5b4fc;
    --grad-b: #67e8f9;
    --focus: #67e8f9;
    --ok: #4ade80;
    --warn: #fbbf24;
    --danger: #f87171;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.gradient-text {
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px var(--primary); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--border); background: var(--card); }
.btn-ghost:hover { border-color: var(--primary); }

/* Nav */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 720px; z-index: -1;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--primary) 22%, transparent), transparent),
    radial-gradient(closest-side at 70% 60%, color-mix(in srgb, var(--primary-2) 16%, transparent), transparent);
  filter: blur(20px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card); font-size: 13px; color: var(--muted); font-weight: 600;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.035em;
  font-weight: 800; margin: 20px 0 18px;
}
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-shot { display: block; justify-self: center; width: 100%; max-width: 320px; text-align: center; }
.hero-shot img { display: block; width: 100%; height: auto; transition: transform .2s ease; }
.hero-shot:hover img { transform: translateY(-4px); }
.shot-tag { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Sections */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.eyebrow { color: var(--accent-text); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.center { text-align: center; margin-top: 32px; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }

/* Pricing */
.price-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: 36px 40px; border-radius: 24px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow);
}
.price-card h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 10px; }
.price-card p { color: var(--muted); }
.price-list { list-style: none; display: grid; gap: 12px; }
.price-list li { position: relative; padding-left: 30px; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--primary);
}

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-grid h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 16px; }
.about-grid p { color: var(--muted); font-size: 17px; }
.about-grid p + p { margin-top: 14px; }
/* Until a founder card is added, keep the story in one readable column. */
.about-grid:not(:has(.founder-card)) { grid-template-columns: minmax(0, 760px); }
.founder-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--card); }
.founder-card .founder-name { font-weight: 700; font-size: 18px; color: var(--text); }
.founder-card .founder-role { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.founder-card p { font-size: 15px; }
.about-grid .founder-card p + p { margin-top: 0; }
.founder-card .founder-role { margin-top: 2px; }
.about-grid .founder-card .founder-contact { margin-top: 12px; overflow-wrap: anywhere; }
.founder-card a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.lang-link { font-weight: 600; color: var(--text); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent-text); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* Contact */
.contact-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 40px;
  border-radius: 24px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow);
}
.contact-intro h2 { font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 12px; }
.contact-intro p { color: var(--muted); }
.contact-note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14px; background: var(--bg-soft); border: 1px solid var(--border); }
.contact-note strong { color: var(--text); }
.contact-note a, .legal a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg);
  color: var(--text); font: inherit; font-size: 15px;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field textarea:focus { border-color: var(--accent-text); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.contact-form .btn { justify-self: start; }
.form-msg { display: block; font-size: 14px; min-height: 20px; color: var(--muted); }
.form-msg.is-error { color: var(--danger); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 48px 0 32px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot > div { min-width: 0; }
.foot p, .foot a { color: var(--muted); font-size: 14px; }
.foot a { overflow-wrap: anywhere; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a:hover { color: var(--text); }
.foot-logo { margin-bottom: 12px; }
.foot .foot-h { font-size: 14px; margin-bottom: 12px; }
.copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.copy a:hover { color: var(--text); }

/* Accessibility */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
section[id] { scroll-margin-top: 76px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-shot img, .btn { transition: none; }
}

@media (max-width: 900px) {
  .hero-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-shot { max-width: 260px; }
  .about-grid, .price-card { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .menu-btn { display: block; }
  .nav .btn-primary { display: none; }
  section { padding: 56px 0; }
  .hero { padding-top: 40px; }
}
@media (max-width: 560px) {
  .feature-grid, .foot { grid-template-columns: 1fr; }
  .contact-card { padding: 24px 18px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* Legal & 404 pages */
.legal { max-width: 760px; padding: 64px 0 96px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; line-height: 1.1; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 8px 0 32px; }
.legal h2 { font-size: 20px; letter-spacing: -.01em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal strong { color: var(--text); }
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -.035em; margin: 10px 0 12px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }
.footer-slim { padding: 0 0 32px; border-top: 0; }
.footer-slim .copy { margin-top: 0; }
