/* Nekuda · nekuda.app — one-page site. No build step. Logical properties keep he (RTL) and en (LTR) in one stylesheet. */

/* ---- Fonts: Heebo (OFL), self-hosted, split by script so each page downloads ~10–30 KB ---- */
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/heebo-hebrew-400-normal.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/heebo-hebrew-700-normal.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/heebo-hebrew-900-normal.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/heebo-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/heebo-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/heebo-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- Tokens (brand/README.md) ---- */
:root {
  --ink: #0B0E12;
  --ink-2: #1C2128;
  --paper: #F7F8F5;
  --card: #FFFFFF;
  --line: #E1E4DF;
  --lime: #C6FF2E;
  --court: #4A6B00;
  --sky: #7FD6FF;
  --text: var(--ink);
  --muted: #5B6470;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  --max: 1080px;
  --gutter: 20px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--court); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--court); outline-offset: 3px; border-radius: 6px; }
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--lime); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

/* ---- Header ---- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.35rem; }
.brand .mark { width: 34px; height: 34px; }
.lang { font-size: 0.95rem; font-weight: 700; color: var(--muted); text-decoration: none; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.lang:hover { border-color: var(--ink); color: var(--ink); }

/* ---- Mark ---- */
.mark { display: block; flex: none; }

/* ---- Hero ---- */
.hero { padding-block: 36px 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 700; color: var(--court); letter-spacing: 0.02em; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
h1 { font-size: clamp(2.5rem, 9vw, 4.25rem); font-weight: 900; margin-top: 14px; }
h1 .accent { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); margin-top: 18px; max-width: 34ch; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 12px;
  background: #E9ECE6; color: #6B737C; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 0.95rem; line-height: 1.2; cursor: default; user-select: none;
}
.badge svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.badge small { display: block; font-weight: 400; font-size: 0.75rem; opacity: 0.85; }
.platforms { margin-top: 18px; font-size: 0.95rem; font-weight: 700; color: var(--muted); }
.platforms span { color: var(--ink); }

/* Watch face (pure CSS, no image) */
.watch { justify-self: center; width: min(78vw, 300px); aspect-ratio: 1; position: relative; }
.watch .case { position: absolute; inset: 0; border-radius: 50%; background: #2A313A; box-shadow: 0 30px 60px -20px rgba(11,14,18,.45), inset 0 0 0 10px #343c46; }
.watch .face {
  position: absolute; inset: 14px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; grid-template-rows: auto 1fr auto; text-align: center; padding: 20px 18px 16px;
}
.watch .set { font-size: 0.8rem; color: #A7B0BA; font-weight: 700; letter-spacing: 0.04em; }
.watch .score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.watch .score b { display: block; font-size: clamp(2.6rem, 13vw, 3.6rem); font-weight: 900; line-height: 1; }
.watch .score span { font-size: 0.75rem; font-weight: 700; display: block; margin-top: 2px; }
.watch .us b { color: var(--lime); }
.watch .them b { color: var(--sky); }
.watch .colon { font-size: 2rem; font-weight: 900; color: #5B6470; }
.watch .code { font-size: 0.8rem; color: #A7B0BA; font-weight: 700; }
.watch .code b { color: var(--lime); letter-spacing: 0.12em; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.watch .crown { position: absolute; inset-inline-end: -7px; top: 36%; width: 12px; height: 30px; border-radius: 6px; background: #343c46; }

/* ---- Sections ---- */
section { padding-block: 56px; }
.section-head { max-width: 40ch; margin-bottom: 28px; }
h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 900; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--lime); font-weight: 900; font-size: 1.1rem; margin-bottom: 14px;
}
.steps h3 { font-size: 1.25rem; font-weight: 900; }
.steps p { color: var(--muted); margin-top: 6px; }
.code-pill { display: inline-block; background: var(--ink); color: var(--lime); font-weight: 900; padding: 2px 10px; border-radius: 8px; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* Features */
.features { background: var(--ink); color: #fff; }
.features h2 { color: #fff; }
.features .section-head p { color: #A7B0BA; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cards li { background: var(--ink-2); border-radius: var(--radius); padding: 22px; border: 1px solid #2A313A; }
.cards .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--lime); color: var(--ink); display: grid; place-items: center; margin-bottom: 14px; }
.cards .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cards h3 { font-size: 1.15rem; font-weight: 900; color: #fff; }
.cards p { color: #C5CCD4; margin-top: 6px; font-size: 1rem; }

/* FAQ */
.faq details { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 1.1rem; padding-block: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--court); flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* Footer */
footer { border-top: 1.5px solid var(--line); padding-block: 28px 40px; font-size: 0.95rem; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
footer nav { display: flex; gap: 18px; }
footer .brand { font-size: 1.1rem; }
footer .brand .mark { width: 26px; height: 26px; }

/* ---- Breakpoints ---- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .hero { padding-block: 56px 80px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .watch { width: 320px; }
  section { padding-block: 80px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
