/* getaiod.com: colours are the app's tokens (replica/design/tokens.json). */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f4f5f7;
  --raised: #ffffff;
  --selected: #ede6fc;
  --border: #e1e4e8;
  --text: #15181d;
  --muted: #59626d;
  --accent: #6237c8;
  --accent-hover: #522cab;
  --on-accent: #ffffff;
  --focus: #6237c8;
  --success: #1c7646;
  --radius: 10px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181c;
    --surface: #1c1f24;
    --raised: #23272d;
    --selected: #30264d;
    --border: #30353c;
    --text: #e8eaed;
    --muted: #a0a8b3;
    --accent: #a88bf6;
    --accent-hover: #bba4f8;
    --on-accent: #150b2e;
    --focus: #a88bf6;
    --success: #56c993;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--raised); padding: 8px 12px; z-index: 10; }

/* header */
header.top { border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 28px; height: 28px; }
header.top nav { margin-left: auto; display: flex; gap: 20px; }
header.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.top nav a:hover { color: var(--text); }
@media (max-width: 640px) { header.top nav a:not(.btn) { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--raised); color: var(--text); font-weight: 600; text-decoration: none; font-size: 15px;
}
.btn:hover { background: var(--surface); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.small { min-height: 36px; padding: 0 14px; }

/* hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 auto 18px; max-width: 16ch; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero .note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.shot { margin: 48px auto 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(20, 10, 60, 0.35); max-width: 1040px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--surface); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 680px; font-size: 17px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.problem { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.problem p { margin: 0; font-size: 18px; }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
ol.steps li { counter-increment: s; background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
ol.steps li::before { content: counter(s); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--selected); color: var(--accent); font-weight: 700; margin-bottom: 12px; }
ol.steps h3 { margin: 0 0 6px; font-size: 18px; }
ol.steps p { margin: 0; color: var(--muted); }

.feature { display: grid; gap: 40px; grid-template-columns: 1fr 1.25fr; align-items: center; margin-top: 56px; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .text { order: 2; }
.feature h3 { font-size: 24px; margin: 0 0 10px; }
.feature p { color: var(--muted); margin: 0 0 10px; }
.feature figure { margin: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
@media (max-width: 820px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .text { order: 0; } }

ul.basics { columns: 2 260px; padding-left: 20px; margin: 0; color: var(--text); }
ul.basics li { margin-bottom: 6px; break-inside: avoid; }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan { background: var(--raised); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; }
.plan.main { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .for { color: var(--muted); margin: 4px 0 18px; }
.plan .price { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .alt { color: var(--muted); font-size: 14px; margin: 2px 0 18px; }
.plan ul { padding-left: 20px; margin: 0 0 24px; flex: 1; }
.plan ul li { margin-bottom: 6px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 20px; }

/* faq */
details { border-bottom: 1px solid var(--border); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 760px; }

.cta { text-align: center; }
.cta p { color: var(--muted); }

footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
footer a { color: var(--muted); }

/* legal pages */
.legal { max-width: 760px; padding: 48px 24px 72px; }
.legal h1 { font-size: 36px; margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal .meta { color: var(--muted); }
