/* Vivid FX — vividfx.app. Fonts are self-hosted (no third-party requests). */
@font-face { font-family: Inter; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Michroma; src: url(fonts/michroma-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Orbitron; src: url(fonts/orbitron-latin-900-normal.woff2) format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #0b0b18; --card: #13131f; --line: #2a2a48; --fg: #dde1f0; --text: #b8bcd6; --muted: #9a9ec0;
  --blue: #89b4fa; --wave: #2f6bff; --purple: #cba6f7; --pink: #f38ba8; --amber: #f9e2af; --teal: #94e2d5; --orange: #ff7a1a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: #b8d0ff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font-family: Michroma, sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; }
p { margin: 0; }
.lead { color: var(--text); }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img:first-child { width: 40px; height: 40px; }
.brand img:last-child { height: 30px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 26px; margin-left: auto; align-items: center; font-size: 15px; font-weight: 600; }
.nav a { color: #c8cce0; text-decoration: none; }
.nav a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--orange); color: var(--bg); font: 700 17px Inter, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { background: #ff9445; color: var(--bg); }
.nav .btn { min-height: 44px; font-size: 15px; padding: 0 18px; color: var(--bg); }

/* hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-top: 56px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 700; letter-spacing: -1px; max-width: 900px; line-height: 1.08; }
.hero .lead { font-size: 20px; max-width: 760px; }
.hero .fine { font-size: 14px; color: var(--muted); }
.shot { width: 100%; max-width: 860px; margin-top: 26px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(255,122,26,.12), 0 10px 40px rgba(47,107,255,.14); }

/* forms */
.signup { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; max-width: 640px; }
.signup input, .signup select { height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid #3a3a64; background: var(--card); color: var(--fg); font: 17px Inter, sans-serif; }
.signup input { flex: 1 1 250px; min-width: 0; }
.signup select { flex: 0 1 180px; }
.signup .btn { height: 52px; }
.signup .msg { flex-basis: 100%; min-height: 1.5em; font-size: 15px; color: var(--teal); }
.signup .msg.err { color: var(--pink); }
.hp { position: absolute; left: -9999px; }

/* sections */
section { padding-top: 56px; padding-bottom: 56px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 24px; font-weight: 600; }
.card p { color: var(--text); }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.split.rev { flex-wrap: wrap-reverse; }
.split > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split > img { flex: 1 1 420px; min-width: 0; max-width: 560px; border-radius: 14px; border: 1px solid var(--line); }
.split p { color: var(--text); }
.head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.recipe img { width: 100%; height: 200px; object-fit: cover; object-position: top; border-radius: 10px; }
.recipe .tag { font-size: 13px; font-weight: 600; }
.recipe h3 { font-size: 20px; }
.recipe p { font-size: 15px; }
.price { font-size: 40px; font-weight: 700; }
.price small { font-size: 18px; color: var(--muted); font-weight: 400; }
.card ul { margin: 0; padding-left: 20px; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.pro { border: 1px solid var(--orange); }
.badge { font-size: 12px; font-weight: 700; color: var(--bg); background: var(--orange); padding: 3px 9px; border-radius: 6px; }
.beta { background: var(--card); border-radius: 22px; padding: 48px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; border: 1px solid var(--line); }
.beta .signup input, .beta .signup select { background: var(--bg); }
.faq { max-width: 900px; display: flex; flex-direction: column; gap: 18px; padding-top: 0; }
.faq h2 { font-size: 30px; }
.faq h3 { font-size: 18px; margin-bottom: 4px; }
.faq p { color: var(--text); }
footer { border-top: 1px solid #1e1e36; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
footer img { width: 28px; height: 28px; }
footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); }

/* plain pages (privacy, terms, 404) */
.doc { max-width: 760px; padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 16px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 22px; margin-top: 14px; }
.doc p, .doc li { color: var(--text); }

@media (max-width: 640px) {
  .nav { gap: 16px; margin-left: 0; }
  .hero { padding-top: 28px; }
}
