:root {
  --bg: #0e0d13;
  --surface: #17151f;
  --line: #2a2735;
  --text: #ecebf2;
  --muted: #9a97a8;
  --accent: #7c5cff;
  --accent-text: #ffffff;
  --code: #c9b8ff;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfaff;
    --surface: #ffffff;
    --line: #e4e1ee;
    --text: #17151f;
    --muted: #5f5b6e;
    --code: #5a3fd6;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.mono, code, kbd { font-family: var(--mono); }
kbd {
  font-size: .85em;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}

nav { display: flex; align-items: center; gap: 10px; padding: 20px 0; font-weight: 600; }
nav img { width: 28px; height: 28px; }
nav .links { margin-left: auto; display: flex; gap: 20px; font-weight: 500; font-size: 15px; }
nav .links a { text-decoration: none; color: var(--muted); }
nav .links a:hover { color: var(--text); }

.hero { text-align: center; padding: 56px 0 32px; }
.hero img.icon { width: 96px; height: 96px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -.03em; margin: 20px 0 16px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; text-decoration: none; border: 1px solid var(--line);
}
.btn.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.btn:hover { filter: brightness(1.08); }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

.demo { margin: 32px auto 0; max-width: 960px; }
.demo video { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
.speed {
  margin: 18px auto 0; width: fit-content; font-family: var(--mono); font-size: 15px;
  color: var(--muted); padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
}
.speed b { color: var(--text); font-weight: 600; }

section { padding: 72px 0 0; }
h2 { font-size: clamp(26px, 3.5vw, 34px); letter-spacing: -.02em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.num { font-family: var(--mono); color: var(--accent); font-size: 14px; margin-bottom: 10px; }

pre {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; overflow-x: auto; font-size: 14px; line-height: 1.6;
}
pre .c { color: var(--muted); }
pre .k { color: var(--code); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
ul.plain { margin: 0; padding: 0; list-style: none; }
ul.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
ul.plain li:last-child { border-bottom: 0; }

.price { font-size: 40px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.card ul { margin: 16px 0 20px; padding-left: 18px; color: var(--muted); }
.card ul li { margin: 4px 0; }
.card.pro { border-color: var(--accent); }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent); margin-bottom: 4px;
}

footer { padding: 72px 0 40px; color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .grid, .two { grid-template-columns: 1fr; }
  nav .links { display: none; }
  .hero { padding-top: 32px; }
  h1 br { display: none; }
  section { padding-top: 56px; }
}

/* Recipes gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.filters button {
  font: inherit; font-size: 14px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line);
}
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.recipes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.recipe { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; }
.recipe header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.recipe h3 { margin: 0; font-size: 17px; }
.recipe .cat { font-size: 12px; color: var(--accent); font-family: var(--mono); }
.recipe p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.recipe pre { padding: 14px; font-size: 13px; position: relative; }
.recipe .copy {
  position: absolute; top: 8px; right: 8px; font: inherit; font-size: 12px; cursor: pointer;
  padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--muted);
}
@media (max-width: 760px) { .recipes { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { max-width: 720px; padding-top: 32px; }
.legal h3 { margin: 28px 0 8px; font-size: 19px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent); }

/* Feedback form */
.feedback { display: grid; gap: 18px; }
.feedback fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.feedback legend { font-weight: 600; margin-bottom: 8px; }
.feedback label { display: grid; gap: 6px; font-weight: 600; }
.feedback fieldset label { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.feedback input:not([type=radio]), .feedback textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; box-sizing: border-box;
}
.feedback textarea { resize: vertical; }
.feedback input:focus, .feedback textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.feedback .two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feedback .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.feedback button.btn { font: inherit; font-weight: 600; cursor: pointer; background: var(--surface); color: var(--text); }
.feedback button.btn.primary { background: var(--accent); color: var(--accent-text); }
.feedback .fine { margin: 0; }
@media (max-width: 760px) { .feedback .two-fields { grid-template-columns: 1fr; } }
