/* Yoav's own fonts (Discovery FS, JetBrains Mono), served from /fonts. */
@font-face { font-family: "Discovery"; src: url("/fonts/Discovery_Fs-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Discovery"; src: url("/fonts/Discovery_Fs-Bold.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* yoavlevavi.com — one electric-lime accent on near-black, mono for tech terms. */
:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f3ef;
  --muted: #9a9a93;
  --lime: #c8ff3d;
  --lime-ink: #0b0b0c;
  --radius: 22px;
  --sans: "Discovery", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.lime { color: var(--lime); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(11, 11, 12, 0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.brand i { width: 10px; height: 10px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform 0.12s, background 0.15s, border-color 0.15s; }
.btn:active { transform: scale(0.97); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #d6ff6a; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); }

/* Hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 61, 0.16), transparent 62%); pointer-events: none;
}
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--lime); letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--lime); }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); margin: 22px 0 22px; max-width: 14ch; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 56ch; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 46px; }
.tag { font-family: var(--mono); font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

/* Sections */
section { padding: 72px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); }
.sec-head p { color: var(--muted); margin: 8px 0 0; max-width: 52ch; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 22px; margin: 14px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card .ico { font-family: var(--mono); font-size: 13px; color: var(--lime); }

/* Contact */
.contact { text-align: center; padding: 96px 0; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 14px; }
.contact p { color: var(--muted); margin: 0 auto 28px; max-width: 46ch; }

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

/* ---------- Store ---------- */
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.app-icon { width: 72px; height: 72px; flex: none; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.5)); }
.app-icon.lg { width: 128px; height: 128px; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.app-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color 0.2s, transform 0.2s; }
.app-card:hover { border-color: rgba(200,255,61,0.45); transform: translateY(-2px); }
.app-card .top { display: flex; gap: 16px; align-items: center; }
.app-card h3 { font-size: 24px; margin: 0 0 4px; }
.app-card .cat { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.app-card p { color: var(--muted); margin: 0; font-size: 16px; }
.app-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.price-pill { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--lime-ink); background: var(--lime); border-radius: 999px; padding: 6px 14px; }
.price-pill.soon { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.app-card .more { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.app-card.ghost { border-style: dashed; background: transparent; justify-content: center; align-items: flex-start; min-height: 220px; }
.app-card.ghost:hover { transform: none; border-color: var(--line); }

/* Product page */
.product-head { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 56px 0 36px; border-bottom: 1px solid var(--line); }
.product-head h1 { font-size: clamp(40px, 6vw, 64px); }
.product-head .sub { color: var(--muted); font-size: 19px; margin: 8px 0 0; }
.buybox { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 230px; }
.buybox .price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.buybox .price small { font-family: var(--mono); font-size: 13px; color: var(--muted); font-weight: 400; letter-spacing: 0; display: block; margin-top: 6px; }
.buybox .note { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; border-bottom: 1px solid var(--line); }
.fact { padding: 20px 0; border-inline-end: 1px solid var(--line); text-align: center; }
.fact:last-child { border-inline-end: 0; }
.fact b { display: block; font-size: 20px; }
.fact span { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(760px, 86%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.shots > figure { scroll-snap-align: start; margin: 0; }
.shots figcaption { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 10px; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.two-col h2 { font-size: 30px; margin-bottom: 14px; }
.two-col p, .two-col li { color: #d6d6d0; }
.spec { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec li:last-child { border-bottom: 0; }
.spec li span:first-child { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.spec li span:last-child { text-align: end; }
.changelog { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.changelog b { color: var(--text); }

/* App mockup (illustrative UI) */
.mock { border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); background: #141416; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.55); font-family: var(--sans); }
.mock-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #1a1a1d; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3e; }
.mock-bar .ttl { margin-inline-start: auto; margin-inline-end: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 30% 1fr; min-height: 300px; }
.mock-side { border-inline-end: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.mock-side .h { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.04); border-radius: 8px; padding: 7px 10px; color: #d6d6d0; }
.mock-row em { font-style: normal; color: var(--muted); }
.mock-row em.ok { color: var(--lime); }
.mock-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.stage { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #23252b, #15161a); }
.stage .screen { position: absolute; inset: 8% 6% 8% 6%; border-radius: 6px; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 8px, transparent 8px 20px), #1e2026; border: 1px solid rgba(255,255,255,0.08); }
.stage .cam { position: absolute; right: 4%; bottom: 6%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #b3a08e 0 18%, transparent 19%), radial-gradient(ellipse at 50% 95%, #3b4a5c 0 42%, transparent 43%), #2b2f37; border: 2px solid var(--lime); box-shadow: 0 0 0 4px rgba(200,255,61,0.15); }
.stage .cam::after { content: ""; position: absolute; right: -3px; bottom: 8%; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.stage.portrait { aspect-ratio: 9/16; max-height: 300px; margin-inline: auto; background: radial-gradient(circle at 50% 36%, #b3a08e 0 14%, transparent 15%), radial-gradient(ellipse at 50% 100%, #3b4a5c 0 40%, transparent 41%), #2b2f37; }
.rec-chip { position: absolute; left: 10px; top: 10px; font-family: var(--mono); font-size: 10px; color: #fff; background: rgba(230,40,40,0.9); border-radius: 999px; padding: 3px 8px; }
.scenes { display: flex; gap: 8px; }
.scene { flex: 1; font-size: 11px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; color: var(--muted); }
.scene b { font-family: var(--mono); color: var(--text); margin-inline-end: 6px; }
.scene.on { border-color: var(--lime); color: var(--text); background: rgba(200,255,61,0.07); }
.recbar { display: flex; justify-content: center; gap: 8px; align-items: center; }
.recbar .r { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 7px 16px; background: #e62828; color: #fff; display: inline-flex; gap: 7px; align-items: center; }
.recbar .r::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.recbar .k { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.wave { height: 54px; border-radius: 8px; background: rgba(255,255,255,0.03); position: relative; overflow: hidden; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.syl { width: 100%; border-collapse: collapse; font-size: 12px; }
.syl td { padding: 8px 10px; border-bottom: 1px solid var(--line); color: #d6d6d0; }
.syl td.u { font-family: var(--mono); color: var(--muted); font-size: 11px; }
.st { font-family: var(--mono); font-size: 10px; border-radius: 999px; padding: 2px 8px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.st.f { color: #9fd3ff; border-color: rgba(159,211,255,0.4); }
.st.e { color: #ffd38a; border-color: rgba(255,211,138,0.4); }
.st.p { color: var(--lime-ink); background: var(--lime); border-color: var(--lime); }

/* Landing */
.lp-hero { padding: 88px 0 40px; text-align: center; position: relative; overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; left: 50%; top: -260px; transform: translateX(-50%); width: 900px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,61,0.15), transparent 62%); pointer-events: none; }
.lp-hero .app-icon { margin: 0 auto 26px; }
.lp-hero h1 { font-size: clamp(46px, 8vw, 104px); max-width: 13ch; margin: 18px auto 22px; }
.lp-hero .lead { color: var(--muted); font-size: clamp(18px, 2vw, 22px); max-width: 58ch; margin: 0 auto 32px; }
.lp-hero .hero-cta { justify-content: center; }
.lp-hero .fine { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 16px; }
.lp-shot { max-width: 1000px; margin: 56px auto 0; position: relative; }
.big-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.meter { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.meter .label { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.meter .v { font-size: clamp(48px, 7vw, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 12px 0 18px; }
.meter .track { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.meter .fill { height: 100%; border-radius: 999px; background: var(--muted); }
.meter.us .v { color: var(--lime); }
.meter.us .fill { background: var(--lime); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; }
.split p { color: var(--muted); font-size: 18px; margin: 0 0 14px; }
.split ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.split li { padding-inline-start: 26px; position: relative; color: #d6d6d0; }
.split li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 12px; height: 2px; background: var(--lime); }
.split.flip > :first-child { order: 2; }
.keys { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.key { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--card); }
.key kbd { font-family: var(--mono); font-size: 18px; color: var(--lime); }
.key div { color: var(--muted); font-size: 14px; margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--lime); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 10px 0 0; max-width: 70ch; }
.cta-band { text-align: center; padding: 96px 0; border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 66px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); margin: 0 auto 28px; max-width: 46ch; }
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--lime); }

@media (max-width: 860px) {
  .store-grid, .split, .two-col, .big-stat { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .product-head { grid-template-columns: auto 1fr; }
  .product-head .buybox { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fact { border-bottom: 1px solid var(--line); }
  .keys { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mock-body { grid-template-columns: minmax(0,1fr); }
  .mock-side { display: none; }
  .nav-links a:not(.keep) { display: none; }
  section { padding: 52px 0; }
  .lp-hero { padding: 56px 0 24px; }
}
/* Article (guides) */
.article { padding: 64px 0 40px; }
.article .wrap { width: min(760px, 100% - 40px); }
.article h1 { font-size: clamp(36px, 5.6vw, 60px); margin: 18px 0 18px; }
.article .dek { color: var(--muted); font-size: 20px; margin: 0 0 26px; }
.byline { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.article h2 { font-size: 30px; margin: 52px 0 14px; }
.article h2 .step { font-family: var(--mono); font-size: 14px; color: var(--lime); display: block; letter-spacing: 0.06em; margin-bottom: 8px; }
.article p, .article li { color: #d6d6d0; }
.article ul, .article ol { padding-inline-start: 22px; }
.article li { margin: 6px 0; }
.article strong { color: var(--text); }
.article code { font-family: var(--mono); font-size: 0.88em; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); border-radius: 7px; padding: 1px 6px; }
.callout { border: 1px solid rgba(200, 255, 61, 0.35); background: rgba(200, 255, 61, 0.06); border-radius: 18px; padding: 18px 20px; margin: 26px 0; }
.callout p { margin: 0; color: var(--text); }
.prompt { font-family: var(--mono); font-size: 14.5px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; color: #e8e8e2; white-space: pre-wrap; line-height: 1.6; }
.prompt::before { content: "PROMPT TO CLAUDE"; display: block; color: var(--lime); font-size: 12px; letter-spacing: 0.08em; margin-bottom: 8px; }
.back { font-family: var(--mono); font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--lime); }
