/* ==========================================================================
   Tsehal Bechar — marketing site
   Brand register: cream editorial + deep green + gold
   ========================================================================== */

@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('fonts/kufi-arabic.woff2') format('woff2');
  font-weight: 700 800;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF,
    U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('fonts/kufi-latin.woff2') format('woff2');
  font-weight: 700 800;
  font-display: swap;
  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: 'IBM Plex Sans Arabic';
  src: url('fonts/plex-arabic-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF,
    U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('fonts/plex-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  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: 'IBM Plex Sans Arabic';
  src: url('fonts/plex-arabic-600.woff2') format('woff2');
  font-weight: 500 600;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF,
    U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('fonts/plex-latin-600.woff2') format('woff2');
  font-weight: 500 600;
  font-display: swap;
  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;
}

:root {
  --bg: #f8f6f0;
  --bg-2: #f1eee5;
  --surface: #fffefb;
  --ink: #0f1a15;
  --ink-2: #2a3730;
  --muted: #5f6b64;
  --green: #0c5c44;
  --green-2: #0a4a37;
  --green-soft: #e7f1eb;
  --gold: #c6a24a;
  --gold-soft: #f6eed8;
  --line: #e2dccd;

  --display: 'Noto Kufi Arabic', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-body: clamp(15px, 1.05vw, 17px);
  --text-lead: clamp(17px, 1.35vw, 21px);
  --text-h3: clamp(20px, 1.7vw, 26px);
  --text-h2: clamp(28px, 3.2vw, 48px);
  --text-h1: clamp(30px, 3.5vw, 50px);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);

  --shell: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 55% at 88% 2%, rgba(12, 92, 68, 0.1) 0%, transparent 62%),
    radial-gradient(ellipse 60% 50% at 6% 18%, rgba(198, 162, 74, 0.13) 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(12, 92, 68, 0.06) 0%, transparent 65%);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--text-body);
  line-height: 1.75;
  overflow-x: hidden;
}

/* fine grain so the gradient does not band on cheap panels */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

img { display: block; max-width: 100%; }

::selection {
  background: var(--green);
  color: #fff;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-inline-start: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus { inset-inline-start: 8px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 240, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease-out-strong);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(12, 92, 68, 0.22);
}
.brand small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.nav-links a {
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background 140ms var(--ease-out-strong), color 140ms var(--ease-out-strong);
}
.nav-links a:hover { background: var(--green-soft); color: var(--green-2); }
.nav-links a:active { transform: scale(0.98); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 11px;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 160ms var(--ease-out-strong), background 140ms var(--ease-out-strong),
    border-color 140ms var(--ease-out-strong), color 140ms var(--ease-out-strong);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(12, 92, 68, 0.22);
}
.btn-primary:hover { background: var(--green-2); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-2); background: var(--surface); }

.btn-light {
  background: #fff;
  color: var(--green-2);
}
.btn-light:hover { background: var(--gold-soft); }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* ------------------------------------------------------------------ hero */
.hero {
  padding-block: clamp(36px, 6vw, 84px) clamp(48px, 8vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-2);
  letter-spacing: 0.01em;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(12, 92, 68, 0.13);
}

.hero h1 {
  font-size: var(--text-h1);
  line-height: 1.24;
  margin-block: 20px 18px;
  letter-spacing: -0.025em;
}
.hero h1 .accent {
  color: var(--green);
}
.hero h1 .hl-line {
  display: block;
}
.hero-lead {
  font-size: var(--text-lead);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 28px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-block-start: 26px;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--green); }

/* phone */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: 10px;
}
.phone {
  position: relative;
  width: min(302px, 78vw);
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(160deg, #24322b 0%, #101915 55%, #1d2a23 100%);
  box-shadow:
    0 34px 80px -28px rgba(15, 26, 21, 0.55),
    0 8px 24px -12px rgba(15, 26, 21, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: rotate(-3deg);
  animation: float 7s ease-in-out infinite;
}
.phone::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 2;
}
.phone img {
  border-radius: 34px;
  width: 100%;
  height: auto;
}
@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-11px); }
}

.visual-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 14px 34px -16px rgba(15, 26, 21, 0.4);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
.visual-badge small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.visual-badge .tick {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green);
  flex-shrink: 0;
}
.visual-badge .tick svg { width: 16px; height: 16px; }
.badge-top { top: 9%; inset-inline-start: -4%; transform: rotate(2deg); }
.badge-bottom { bottom: 12%; inset-inline-end: -3%; transform: rotate(-2deg); }

/* ------------------------------------------------------------- stat strip */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.6);
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-block: 26px;
}
.strip-item { text-align: center; }
.strip-item b {
  display: block;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  color: var(--green-2);
  line-height: 1.2;
}
.strip-item span { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- section */
.section { padding-block: clamp(58px, 9vw, 116px); }
.section-head { max-width: 62ch; margin-block-end: clamp(30px, 4vw, 52px); }
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-block-end: 12px;
}
.section-head h2 { font-size: var(--text-h2); }
.section-head p {
  margin-block-start: 14px;
  color: var(--muted);
  font-size: var(--text-lead);
  max-width: 54ch;
}

/* features — asymmetric, deliberately uneven */
.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.feature {
  grid-column: span 2;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 160ms var(--ease-out-strong), transform 200ms var(--ease-out-expo);
}
.feature:hover { border-color: rgba(12, 92, 68, 0.35); transform: translateY(-2px); }
.feature.wide { grid-column: span 4; }
.feature.tall { grid-column: span 2; grid-row: span 2; }
.feature.half { grid-column: span 3; }
.feature h3 { font-size: var(--text-h3); }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  margin-block-end: 4px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature.gold .feature-icon { background: var(--gold-soft); color: #8a6d1f; }

.feature-quote {
  margin-block-start: auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-2);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.feature-quote b { color: var(--green-2); }

/* ---------------------------------------------------------------- steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
  counter-reset: step;
}
.step { position: relative; padding-block-start: 18px; border-top: 1px solid var(--line); }
.step .num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.step h3 { font-size: var(--text-h3); margin-block: 8px 8px; }
.step p { color: var(--muted); font-size: 14.5px; max-width: 34ch; }

/* ------------------------------------------------------------- dark band */
.band {
  background: linear-gradient(145deg, #0a4a37 0%, #0c5c44 55%, #0a4232 100%);
  color: #f4f1e7;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 50% 60% at 85% 10%, rgba(198, 162, 74, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.band-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 84px);
}
.band h2 { font-size: var(--text-h2); color: #fff; }
.band p { color: rgba(244, 241, 231, 0.78); margin-block-start: 14px; max-width: 48ch; }
.band-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.band-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(244, 241, 231, 0.9);
}
.band-list svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-block-start: 3px; }

/* ------------------------------------------------------------- download */
.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 46px);
  padding: clamp(22px, 3.4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px -42px rgba(15, 26, 21, 0.5);
}
.download-main h3 { font-size: var(--text-h3); margin-block-end: 6px; }
.download-main .version {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 18px; }
.download-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-block-start: 22px;
  padding-block-start: 18px;
  border-top: 1px dashed var(--line);
}
.download-facts div span { display: block; font-size: 11.5px; color: var(--muted); }
.download-facts div b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.sha {
  margin-block-start: 14px;
  font-size: 11.5px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
  line-height: 1.6;
}

.changelog {
  padding: 20px;
  background: var(--bg-2);
  border-radius: 16px;
}
.changelog h4 { font-family: var(--body); font-weight: 600; font-size: 13.5px; margin-block-end: 10px; }
.changelog ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 7px; }
.changelog li { font-size: 13.5px; color: var(--ink-2); }

.install-note {
  margin-block-start: 22px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  font-size: 13.5px;
  color: var(--muted);
  background: rgba(255, 254, 251, 0.7);
}
.install-note b { color: var(--ink); }

/* ------------------------------------------------------------------ faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 4px 18px;
  transition: border-color 160ms var(--ease-out-strong);
}
.faq details[open] { border-color: rgba(12, 92, 68, 0.32); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: 15px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--display);
  font-size: 20px;
  color: var(--green);
  line-height: 1;
  transition: transform 180ms var(--ease-out-strong);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-block-end: 16px; color: var(--muted); font-size: 14.5px; max-width: 70ch; }

/* --------------------------------------------------------------- footer */
.site-footer {
  margin-block-start: clamp(40px, 6vw, 80px);
  background: #0c1512;
  color: rgba(240, 240, 232, 0.72);
  padding-block: 52px 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr));
  gap: 28px;
  padding-block-end: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; }
.footer-brand b { font-family: var(--display); font-size: 16px; }
.footer-about { margin-block-start: 14px; font-size: 13.5px; max-width: 34ch; line-height: 1.8; }
.footer-col h5 {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 12px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  padding-block: 5px;
  color: rgba(240, 240, 232, 0.78);
  transition: color 140ms var(--ease-out-strong);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  padding-block-start: 20px;
  font-size: 12.5px;
  color: rgba(240, 240, 232, 0.45);
}

/* ------------------------------------------------------------ legal pages */
.page-head {
  padding-block: clamp(40px, 6vw, 76px) clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(30px, 4vw, 52px); }
.page-head p { margin-block-start: 12px; color: var(--muted); max-width: 60ch; }
.page-head .updated { font-size: 12.5px; color: var(--gold); font-weight: 600; margin-block-start: 14px; }

.prose {
  max-width: 74ch;
  padding-block: clamp(30px, 5vw, 56px) clamp(50px, 8vw, 90px);
}
.prose h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-block: 40px 12px;
  padding-block-start: 0;
}
.prose h2:first-child { margin-block-start: 0; }
.prose h3 { font-size: 17px; margin-block: 26px 8px; font-weight: 800; }
.prose p, .prose li { color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.prose p + p { margin-block-start: 12px; }
.prose ul, .prose ol { padding-inline-start: 22px; margin-block: 12px; display: grid; gap: 7px; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose .callout {
  margin-block: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 14px;
  color: var(--ink-2);
}

/* --------------------------------------------------------------- about */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding-block: clamp(38px, 6vw, 74px);
}
.dev-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 22px 50px -40px rgba(15, 26, 21, 0.6);
}
.dev-card img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.dev-card b { display: block; font-family: var(--display); font-size: 16px; margin-block-start: 12px; }
.dev-card span { font-size: 12.5px; color: var(--muted); }
.dev-card .social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-block-start: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
}
.dev-card .social svg { width: 15px; height: 15px; }

.funding {
  margin-block-start: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
}
.funding-head {
  padding: 16px 20px;
  background: var(--gold-soft);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.funding-head svg { width: 17px; height: 17px; color: #8a6d1f; }
.funding-rows { padding: 6px 20px 16px; }
.funding-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 11px;
  border-bottom: 1px dashed var(--line);
  flex-wrap: wrap;
}
.funding-row:last-child { border-bottom: 0; }
.funding-row .k { font-size: 12.5px; color: var(--muted); min-width: 132px; }
.funding-row .v {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: 0.01em;
  direction: ltr;
  text-align: start;
}
.copy-btn {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-2);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-family: var(--body);
  cursor: pointer;
  transition: border-color 140ms var(--ease-out-strong), color 140ms var(--ease-out-strong);
}
.copy-btn:hover { border-color: var(--green); color: var(--green); }
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn.done { border-color: var(--green); color: var(--green); }

/* ---------------------------------------------------------------- 404 */
.notfound {
  min-height: 62vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 14px;
  padding-block: 60px;
}
.notfound .code {
  font-family: var(--display);
  font-size: clamp(64px, 12vw, 130px);
  line-height: 1;
  color: var(--green);
  opacity: 0.9;
}
.notfound p { color: var(--muted); }

/* -------------------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding-block: 26px 6px; }
  .phone { width: min(252px, 62vw); }
  .badge-top { inset-inline-start: 0; }
  .badge-bottom { inset-inline-end: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.wide, .feature.tall, .feature.half { grid-column: span 1; grid-row: auto; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .band-inner { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .dev-card { max-width: 320px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    inset-inline: 12px;
    top: 70px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 24px 50px -28px rgba(15, 26, 21, 0.45);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; margin-inline-start: auto; }
  .nav-cta .btn-ghost { display: none; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
  .features { grid-template-columns: 1fr; }
  .download-facts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  body::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
