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

/* Light by default, dark when the system asks for it. One accent: brand violet. */
:root {
  color-scheme: light dark;
  --ground: #fbfbfd;
  --surface: #ffffff;
  --tint: #f2f1f7;
  --ink: #1a1830;
  --ink-soft: #4b4963;
  --ink-mute: #6a6880;
  --line: #e6e4ee;
  --accent: #5b3fe6;
  --accent-strong: #4528c9;
  --accent-wash: #efecfd;
  --on-accent: #ffffff;
  --marker: #ffd83d;
  --shadow: 0 1px 2px rgba(26, 24, 48, 0.06), 0 24px 48px -24px rgba(26, 24, 48, 0.28);

  --font: "Inter", system-ui, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.06rem + 0.3vw, 1.28rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem);
  --step-3: clamp(2.3rem, 1.6rem + 2.8vw, 3.9rem);
  --section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --radius: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #121120;
    --surface: #1a1930;
    --tint: #1f1d36;
    --ink: #f1f0f8;
    --ink-soft: #c4c2d6;
    --ink-mute: #9d9ab5;
    --line: #2d2b47;
    --accent: #8f7dff;
    --accent-strong: #a899ff;
    --accent-wash: #262248;
    --on-accent: #121120;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--line) var(--ground); }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
::selection { background: var(--marker); color: #1a1830; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; letter-spacing: -0.022em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--ground); padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }
.skip:hover { color: var(--ground); }
.push { margin-left: auto; }

/* Wordmark */
.lockup { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.lockup img { width: 30px; height: 30px; }
.wordmark { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--ink); }
.wordmark b { color: var(--accent); font-weight: 700; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.nav-links { display: flex; gap: 1.6rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.lang { color: var(--ink-mute); font-weight: 600; font-size: 0.85rem; text-decoration: none; }
.lang:hover { color: var(--ink); }

/* Buttons: pill, one label per intent */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; font: 600 1rem/1 var(--font); text-decoration: none; border-radius: 999px; padding: 0.9rem 1.5rem; border: 1px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn-secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink-mute); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* Hero: copy left, the real app on the right, cut by the page edge */
.hero { padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.3rem); font-weight: 700; }
.mark { background: linear-gradient(transparent 64%, var(--marker) 64%, var(--marker) 92%, transparent 92%); color: inherit; }
@media (prefers-color-scheme: dark) { .wordmark b { color: #9a8cff; } }
@media (prefers-color-scheme: dark) { .mark { background: none; text-decoration: underline 0.18em var(--marker); text-underline-offset: 0.12em; } }
.hero-sub { margin-top: 1.3rem; font-size: var(--step-1); color: var(--ink-soft); line-height: 1.5; max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.hero .shot { width: 118%; }
.hero-foot { height: var(--section); }

/* Features: bento, five cells for five topics */
.section { padding-block: var(--section); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 3vw, 3rem); }
.section-head h2 { font-size: var(--step-2); font-weight: 700; }
.section-head p { margin-top: 0.9rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }
.features { padding-top: 0; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.cell h3 { font-family: var(--font); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 0.55rem; }
.cell h3 .icon { color: var(--accent); }
.cell p { margin-top: 0.55rem; color: var(--ink-soft); line-height: 1.55; }
.cell-wide { grid-column: span 2; background: var(--tint); display: grid; gap: 1.4rem; }
.cell-wide .shot { box-shadow: none; }
.cell-accent { background: var(--accent-wash); border-color: transparent; }

/* Privacy: statement left, plain ledger right */
.privacy { background: var(--tint); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.privacy h2 { font-size: var(--step-2); font-weight: 700; }
.privacy-body { margin-top: 1.2rem; display: grid; gap: 1rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; max-width: 34rem; }
.ledger { margin: 0; }
.ledger div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; border-top: 1px solid var(--line); }
.ledger dt { color: var(--ink-soft); }
.ledger dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.ledger-note { margin-top: 1rem; font-size: 0.88rem; color: var(--ink-mute); line-height: 1.5; }

/* Pricing: price block left, what is included right */
.price-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.price-grid h2 { font-size: var(--step-2); font-weight: 700; }
.amount { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.amount small { font-size: 1.6rem; letter-spacing: 0; color: var(--ink-mute); margin-right: 0.35rem; vertical-align: 1.4em; }
.amount-note { margin-top: 0.6rem; color: var(--ink-mute); }
.includes { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.9rem; }
.includes li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--step-1); }
.includes .icon { color: var(--accent); margin-top: 0.15em; }
.fine { margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink-mute); }

/* Demo: one horizontal strip */
.demo { border-block: 1px solid var(--line); }
.demo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.demo h2 { font-size: var(--step-2); font-weight: 700; }
.demo p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 38rem; }
.demo-meta { display: flex; gap: 1.25rem; margin-top: 0.9rem; color: var(--ink-mute); font-size: 0.88rem; flex-wrap: wrap; }
.demo-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* FAQ: heading column left, questions right */
.feedback { background: var(--tint); }
.feedback-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.feedback-grid h2 { font-size: var(--step-2); font-weight: 700; }
.feedback-grid p:not(.fine) { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; max-width: 38rem; }
.feedback-grid p + p { margin-top: 0.9rem; }
.feedback-grid .btn { margin-top: 1.6rem; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-grid h2 { font-size: var(--step-2); font-weight: 700; }
.faq-grid .contact { margin-top: 1rem; color: var(--ink-soft); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent); transition: rotate 0.3s var(--ease-out); }
.faq details[open] summary .icon { rotate: 45deg; }
.faq details p { padding-bottom: 1.3rem; color: var(--ink-soft); max-width: 62ch; }

/* Footer */
.footer { padding-block: 2.5rem; color: var(--ink-mute); font-size: 0.9rem; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer .made { margin-top: 0.4rem; }

/* Legal pages */
.legal { padding-block: 2.5rem var(--section); }
.legal h1 { font-size: var(--step-2); margin-bottom: 1.5rem; }
.legal h2 { font-family: var(--font); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin: 2.2rem 0 0.6rem; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.7; }
.legal p + p { margin-top: 0.8rem; }
.legal ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.legal li + li { margin-top: 0.35rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.94rem; }
.legal th, .legal td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.legal code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; background: var(--accent-wash); padding: 0.1em 0.35em; border-radius: 5px; color: var(--ink); }
.legal-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.test-mode { margin-bottom: 1.2rem; padding: 0.8rem 1rem; border-radius: var(--radius); background: var(--marker); color: #1a1830; font-weight: 600; }
.buy-form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-block: 1.6rem; }
.buy-form label { width: 100%; font-weight: 600; color: var(--ink); }
.buy-form input { width: 6rem; font: inherit; color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 0.9rem; }
.buy-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.legal mark.open { background: var(--marker); color: #1a1830; padding: 0.05em 0.25em; border-radius: 4px; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid, .privacy-grid, .price-grid, .feedback-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero .shot { width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .nav-inner .btn-small { display: none; }
  .nav-inner .lang { margin-left: auto; }
  .bento { grid-template-columns: 1fr; }
  .cell-wide { grid-column: auto; }
  .demo-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary .icon { transition: none; }
}
