/* ============================================================
   ivnoworks.com — shared stylesheet
   Shared by /index.html (en), /he/ (he, rtl), /ru/ (ru)
   ============================================================ */

:root{
  /* Identity system v1.0 — dark is the default and the designed-for theme */
  --ink:#0c0e12;
  --shadow:#141821;
  --steel:#2a3040;
  --fog:#7f8799;
  --bone:#e1e5ec;
  --paper:#f1ede4;
  --amber:#c9a86a;

  --body:#b4bccc;
  --placeholder:#5a6172;
  --error:#ff8080;

  --line:rgba(255,255,255,0.07);
  --line-strong:rgba(255,255,255,0.14);
  --amber-dim:rgba(201,168,106,0.14);
  --wash-2:rgba(255,255,255,0.02);
  --wash-3:rgba(255,255,255,0.03);
  --wash-4:rgba(255,255,255,0.04);
  --grid-line:rgba(255,255,255,0.018);
  --scrollbar-thumb:rgba(255,255,255,0.5);
  --overlay:rgba(0,0,0,0.55);
  --shade:rgba(0,0,0,.15);
  --nav-bg:rgba(12,14,18,0.72);
  --overlay-strong:rgba(8,10,14,.85);
  --surface-deep:#0a0b0e;
  --surface-1:#0d0f14;
  --surface-2:#16181f;
  --amber-rgb:201,168,106;
  --error-rgb:255,80,80;
  --fog-rgb:127,135,153;

  --radius:3px;
  --radius-lg:8px;
  --maxw:1180px;
}

/* ── LIGHT THEME ──────────────────────────────────────────────
   Not an inversion. --ink stays "the page ground" and --bone stays
   "the strongest text", so every rule that pairs them keeps working;
   the two simply swap ends of the scale. Amber is darkened, because
   var(--amber) on a light ground fails contrast as text — and since
   buttons are amber-on-ink, that reads as light text on dark gold.
   ------------------------------------------------------------ */
:root[data-theme="light"]{
  --ink:#f4f1ea;
  --shadow:#ffffff;
  --steel:#cfc9bb;
  --fog:#666c7a;
  --bone:#14161b;
  --paper:#0c0e12;
  --amber:#836428;

  --body:#454b57;
  --placeholder:#9aa0ac;
  --error:#b3261e;

  --line:rgba(12,14,18,0.11);
  --line-strong:rgba(12,14,18,0.20);
  --amber-dim:rgba(131,100,40,0.16);
  --wash-2:rgba(12,14,18,0.02);
  --wash-3:rgba(12,14,18,0.035);
  --wash-4:rgba(12,14,18,0.05);
  --grid-line:rgba(12,14,18,0.035);
  --scrollbar-thumb:rgba(12,14,18,0.35);
  --overlay:rgba(20,22,27,0.45);
  --shade:rgba(12,14,18,.08);
  --nav-bg:rgba(244,241,234,0.78);
  --overlay-strong:rgba(20,22,27,0.55);
  --surface-deep:#e9e4d9;
  --surface-1:#efebe1;
  --surface-2:#ffffff;
  --amber-rgb:131,100,40;
  --error-rgb:179,38,30;
  --fog-rgb:102,108,122;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--ink);
  color:var(--bone);
  font-family:'Geist','Heebo',system-ui,sans-serif;
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
::selection{background:var(--amber);color:var(--ink)}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
img{display:block;max-width:100%}

/* ── TYPE ── */
.mono{font-family:'Geist Mono','Heebo',monospace;font-size:12.5px;letter-spacing:0.09em;text-transform:uppercase;color:var(--fog)}
.display{font-family:'Geist','Heebo',sans-serif;font-weight:600;letter-spacing:-0.035em;line-height:1.02}

/* ── LAYOUT ── */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px}
section{padding:120px 0;position:relative;border-top:1px solid var(--line)}
section:first-of-type{border-top:none}

/* ── NAV ── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  height:64px;
  background:var(--nav-bg);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{max-width:var(--maxw);margin:0 auto;padding:0 32px;height:100%;display:flex;align-items:center;justify-content:space-between;gap:32px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Geist','Heebo',sans-serif;font-weight:600;font-size:15px;letter-spacing:-0.03em}
.brand svg{flex-shrink:0}
.nav-links{display:flex;align-items:center;gap:2px}
.nav-links a{
  font-size:13px;color:var(--fog);
  padding:7px 14px;border-radius:var(--radius);
  transition:color .15s,background .15s;
  font-family:'Geist Mono','Heebo',monospace;letter-spacing:0.04em;
}
.nav-links a:hover{color:var(--bone);background:var(--wash-4)}
.nav-cta{
  font-family:'Geist Mono','Heebo',monospace;font-size:12px;font-weight:500;letter-spacing:0.05em;
  padding:9px 16px;border-radius:var(--radius);
  border:1px solid var(--amber);color:var(--amber);
  transition:background .15s,color .15s;
}
.nav-cta:hover{background:var(--amber);color:var(--ink)}
.menu-btn{display:none;width:32px;height:32px;align-items:center;justify-content:center;color:var(--fog)}

/* ── HERO ── */
.hero{padding-top:200px;padding-bottom:80px;border-top:none;position:relative;overflow:hidden}
.hero-grid-bg{
  position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(var(--grid-line) 1px,transparent 1px),
    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size:80px 80px;
  -webkit-mask-image:radial-gradient(ellipse 80% 80% at 50% 30%,black 40%,transparent);
  mask-image:radial-gradient(ellipse 80% 80% at 50% 30%,black 40%,transparent);
}
.hero-inner{position:relative;display:grid;grid-template-columns:1fr;gap:48px}

.status-line{display:flex;align-items:center;gap:10px;margin-bottom:32px}
.status-dot{
  width:6px;height:6px;border-radius:50%;background:var(--amber);
  box-shadow:0 0 0 4px var(--amber-dim);
  position:relative;
}
.status-dot::after{
  content:'';position:absolute;inset:-2px;border-radius:50%;
  border:1px solid var(--amber);opacity:.5;
  animation:ping 2.4s ease-out infinite;
}
@keyframes ping{0%{transform:scale(1);opacity:.5}100%{transform:scale(2.4);opacity:0}}
.status-line .mono{color:var(--fog);font-size:11px}

h1.hero-title{
  font-family:'Geist','Heebo',sans-serif;
  font-weight:600;
  font-size:clamp(44px,6.4vw,88px);
  letter-spacing:-0.04em;
  line-height:0.98;
  margin-bottom:36px;
  max-width:16ch;
}
.hero-title em{font-style:normal;color:var(--fog)}
/* Russian sets wider than English at the same size: "Идея — это сложная часть."
   needs ~1034px where the 16ch cap allows 895, so the hero title broke to four
   lines instead of the two the <br> intends. A slightly smaller size with a
   wider cap restores two. Scoped to :lang(ru) so English and Hebrew are
   untouched. */
:lang(ru) h1.hero-title{font-size:clamp(36px,5.4vw,72px);max-width:20ch}
.hero-title .amber{color:var(--amber)}

.hero-sub{
  font-family:'Geist','Heebo',sans-serif;
  font-size:18px;line-height:1.55;color:var(--body);
  max-width:56ch;margin-bottom:44px;
}
.hero-sub b{color:var(--bone);font-weight:500}

.hero-ctas{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Geist Mono','Heebo',monospace;font-size:12px;font-weight:500;letter-spacing:0.05em;
  padding:12px 18px;border-radius:var(--radius);
  transition:background .15s,border-color .15s,color .15s;
  white-space:nowrap;
}
.btn-primary{background:var(--amber);color:var(--ink);font-weight:600}
.btn-primary:hover{background:var(--bone)}
.btn-ghost{border:1px solid var(--steel);color:var(--bone)}
.btn-ghost:hover{border-color:var(--fog);background:var(--wash-3)}
.btn svg{width:12px;height:12px}

.hero-meta{
  margin-top:64px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.hero-meta > div{
  padding:22px 26px;
  border-right:1px solid var(--line);
}
.hero-meta > div:last-child{border-right:none}
.meta-k{font-family:'Geist Mono','Heebo',monospace;font-size:10px;letter-spacing:0.14em;text-transform:uppercase;color:var(--fog);margin-bottom:10px}
.meta-v{font-family:'Geist','Heebo',sans-serif;font-weight:600;font-size:22px;letter-spacing:-0.03em;color:var(--bone)}
.meta-v small{font-weight:500;font-size:12px;color:var(--fog);margin-left:6px;font-family:'Geist Mono','Heebo',monospace;letter-spacing:0.04em}

/* ── SECTION HEADER ── */
.sec-head{margin-bottom:64px;max-width:720px}
.sec-head .mono{margin-bottom:18px;display:block;font-size:13px}
.sec-head .mono.amber{color:var(--amber)}
.sec-head h2{
  font-family:'Geist','Heebo',sans-serif;font-weight:600;
  font-size:clamp(28px,3.4vw,44px);
  letter-spacing:-0.03em;line-height:1.08;
}
.sec-head h2 em{font-style:normal;color:var(--fog)}
.sec-head p{color:var(--body);margin-top:18px;font-size:16px;max-width:62ch;line-height:1.6}

/* ── WHAT WE SHIP ── */
.ship-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.ship{
  background:var(--ink);padding:36px 32px;position:relative;
  transition:background .2s;
  min-height:340px;display:flex;flex-direction:column;
}
.ship:hover{background:var(--shadow)}
.ship-grid.two{grid-template-columns:repeat(2,1fr)}
.ship-num{font-family:'Geist Mono','Heebo',monospace;font-size:13px;color:var(--amber);letter-spacing:0.09em;margin-bottom:28px}
.ship h3{font-family:'Geist','Heebo',sans-serif;font-weight:600;font-size:22px;letter-spacing:-0.025em;margin-bottom:12px}
.ship p{color:var(--body);font-size:14px;line-height:1.65;margin-bottom:24px}
.ship-stack{
  margin-top:auto;padding-top:22px;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;gap:6px;
}
.ship-stack span{
  font-family:'Geist Mono','Heebo',monospace;font-size:10.5px;
  color:var(--fog);
  padding:3px 8px;border:1px solid var(--line-strong);border-radius:3px;
}

/* ── PROCESS ── */
.process{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.process-steps{display:flex;flex-direction:column;gap:2px}
.step{
  display:grid;grid-template-columns:48px 1fr;gap:24px;padding:26px 0;
  border-bottom:1px solid var(--line);
  transition:transform .2s ease;
}
.step:last-child{border-bottom:none}
.step:hover{transform:translateX(8px)}
.step-n{font-family:'Geist Mono','Heebo',monospace;font-size:13px;color:var(--amber);letter-spacing:0.09em;padding-top:3px}
.step h4{font-family:'Geist','Heebo',sans-serif;font-weight:600;font-size:18px;letter-spacing:-0.02em;margin-bottom:8px}
.step p{color:var(--body);font-size:14px;line-height:1.6}

.process-aside{
  position:sticky;top:100px;
  background:var(--shadow);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:32px;
}
.process-aside h5{font-family:'Geist','Heebo',sans-serif;font-weight:600;font-size:15px;letter-spacing:-0.015em;margin-bottom:22px;color:var(--bone)}
.process-aside ul{list-style:none;display:flex;flex-direction:column;gap:14px}
.process-aside li{
  display:flex;gap:12px;font-size:13.5px;color:var(--body);line-height:1.55;
  align-items:flex-start;
}
.process-aside li svg.check{
  flex-shrink:0;width:18px;height:18px;margin-top:1px;
  background-color:rgba(var(--amber-rgb),0.12);
  border:1px solid rgba(var(--amber-rgb),0.4);
  border-radius:4px;
  padding:2px;
}

/* ── LAST PIXEL ── */
#lastpixel{
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(var(--amber-rgb),0.05), transparent 70%),
    var(--ink);
}
.lp-card{
  background:var(--surface-deep);
  border:1px solid var(--line-strong);border-radius:12px;
  overflow:hidden;
  display:grid;grid-template-columns:1.2fr 1fr;
}
.lp-visual{
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(var(--amber-rgb),0.18), transparent 65%),
    linear-gradient(135deg,var(--surface-1),var(--surface-2));
  position:relative;overflow:hidden;min-height:440px;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.lp-scanlines{
  position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(0deg,transparent,transparent 3px,var(--shade) 3px,var(--shade) 4px);
  opacity:.5;
}
.lp-grid-bg{
  position:absolute;inset:0;
  background-image:
    linear-gradient(var(--wash-3) 1px,transparent 1px),
    linear-gradient(90deg,var(--wash-3) 1px,transparent 1px);
  background-size:32px 32px;
  -webkit-mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,black,transparent);
  mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,black,transparent);
}
.lp-scene{position:relative;width:260px;height:160px}
.lp-ground{
  position:absolute;bottom:30px;left:0;right:0;height:2px;
  background:linear-gradient(90deg,transparent,var(--scrollbar-thumb),transparent);
}
.lp-char{
  position:absolute;bottom:32px;width:22px;height:22px;
  background:var(--bone);
  box-shadow:
    0 0 0 1px var(--overlay),
    -8px 0 0 -2px rgba(var(--amber-rgb),0.7),
    -16px 0 0 -4px rgba(var(--amber-rgb),0.4),
    -24px 0 0 -6px rgba(var(--fog-rgb),0.3);
  animation:lp-run 2.2s ease-in-out infinite;
  left:50%;transform:translateX(-50%);
}
.lp-char::before,.lp-char::after{
  content:'';position:absolute;width:4px;height:4px;background:var(--ink);top:7px;
}
.lp-char::before{left:5px}
.lp-char::after{right:5px}
@keyframes lp-run{0%,100%{bottom:32px}50%{bottom:72px}}

.lp-body{padding:44px;display:flex;flex-direction:column;justify-content:center}
.lp-badge{
  display:inline-flex;align-items:center;gap:7px;align-self:flex-start;
  font-family:'Geist Mono','Heebo',monospace;font-size:10.5px;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--amber);
  padding:5px 11px;border:1px solid rgba(var(--amber-rgb),0.3);border-radius:3px;
  margin-bottom:24px;
}
.lp-badge::before{content:'';width:5px;height:5px;background:var(--amber);border-radius:50%}
.lp-body h3{font-family:'Geist','Heebo',sans-serif;font-weight:700;font-size:38px;letter-spacing:-0.035em;margin-bottom:8px;color:var(--bone)}
.lp-tagline{font-size:14px;color:var(--fog);margin-bottom:24px;font-style:italic}
.lp-desc{font-size:14.5px;color:var(--body);line-height:1.6;margin-bottom:28px}
.lp-facts{
  display:grid;grid-template-columns:1fr 1fr;gap:16px 28px;
  margin-bottom:28px;padding:22px 0;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.lp-fact{display:flex;flex-direction:column;gap:4px}
.lp-fact .k{font-family:'Geist Mono','Heebo',monospace;font-size:10px;letter-spacing:0.1em;text-transform:uppercase;color:var(--fog)}
.lp-fact .v{font-size:13px;color:var(--bone);font-weight:500}
.lp-cta-row{display:flex;gap:10px;flex-wrap:wrap}
.lp-cta{
  flex:1;min-width:140px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 16px;border-radius:var(--radius);
  font-family:'Geist Mono','Heebo',monospace;font-size:12px;font-weight:500;letter-spacing:0.05em;
  background:var(--bone);color:var(--ink);
  transition:background .15s;
}
.lp-cta:hover{background:var(--amber)}
.lp-cta-ghost{background:transparent;border:1px solid var(--line-strong);color:var(--bone)}
.lp-cta-ghost:hover{border-color:var(--fog);background:var(--wash-3)}

/* ── ABOUT ── */
#about{background:var(--shadow)}
.about-split{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.about-lead p{font-size:17px;line-height:1.7;color:var(--body);margin-bottom:20px}
.about-lead p:last-child{margin-bottom:0}
.about-lead b{color:var(--bone);font-weight:500}

.principles{display:flex;flex-direction:column;gap:0}
.principle{
  padding:26px 0;border-top:1px solid var(--line);
  display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:baseline;
}
.principle:first-child{border-top:none;padding-top:0}
.principle .n{font-family:'Geist Mono','Heebo',monospace;font-size:13px;color:var(--amber);letter-spacing:0.09em}
.principle h4{font-family:'Geist','Heebo',sans-serif;font-weight:600;font-size:17px;letter-spacing:-0.02em;margin-bottom:6px;color:var(--bone)}
.principle p{font-size:14px;color:var(--body);line-height:1.6}

.founder-block{
  margin-top:40px;padding:24px;
  background:var(--ink);border:1px solid var(--line);border-radius:var(--radius-lg);
  display:flex;align-items:center;gap:20px;
}
.founder-avatar{
  width:56px;height:56px;border-radius:50%;flex-shrink:0;
  background:var(--ink);
  border:1px solid var(--amber);
  display:flex;align-items:center;justify-content:center;
  color:var(--bone);
}
.founder-avatar svg{width:26px;height:26px}
.founder-info .n{font-weight:600;font-size:15px;margin-bottom:3px;color:var(--bone)}
.founder-info .r{font-family:'Geist Mono','Heebo',monospace;font-size:11px;letter-spacing:0.08em;color:var(--fog);text-transform:uppercase}

/* ── CONTACT ── */
.contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:80px;align-items:start}
.contact-meta h2{font-family:'Geist','Heebo',sans-serif;font-weight:600;font-size:clamp(32px,3.6vw,48px);letter-spacing:-0.035em;line-height:1.02;margin-bottom:22px}
.contact-meta p{color:var(--body);font-size:16px;line-height:1.6;margin-bottom:36px;max-width:42ch}
.contact-details{display:flex;flex-direction:column;gap:0}
.contact-detail{padding:18px 0;border-top:1px solid var(--line)}
.contact-detail:last-child{border-bottom:1px solid var(--line)}
.contact-detail .k{font-family:'Geist Mono','Heebo',monospace;font-size:10.5px;letter-spacing:0.12em;text-transform:uppercase;color:var(--fog);margin-bottom:6px}
.contact-detail .v{font-size:14px;color:var(--bone)}
.contact-detail a:hover{color:var(--amber)}

form.contact-form{
  background:var(--shadow);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:32px;display:flex;flex-direction:column;gap:16px;
  /* grid items default to min-width:auto and will not shrink below the inputs'
     intrinsic width, which pushed the page past the viewport on mobile */
  min-width:0;
}

/* Contact/Support toggle */
.form-type-toggle{display:flex;gap:8px;margin-bottom:4px}
.form-type-toggle input[type="radio"]{display:none}
.form-type-toggle label{
  flex:1;text-align:center;padding:10px 16px;border-radius:var(--radius);
  font-family:'Geist Mono','Heebo',monospace;font-size:11px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;
  color:var(--fog);background:var(--ink);border:1px solid var(--line-strong);
  cursor:pointer;transition:all .2s ease;
}
.form-type-toggle label:hover{border-color:var(--fog);color:var(--bone)}
.form-type-toggle input[type="radio"]:checked + label{
  background:rgba(var(--amber-rgb),0.08);border-color:var(--amber);color:var(--amber);
}

.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field label{
  display:block;font-family:'Geist Mono','Heebo',monospace;font-size:10.5px;
  letter-spacing:0.1em;text-transform:uppercase;color:var(--fog);
  margin-bottom:8px;
}
.field input,.field textarea{
  width:100%;background:var(--ink);border:1px solid var(--line-strong);
  color:var(--bone);font:inherit;font-size:14px;
  padding:12px 14px;border-radius:var(--radius);outline:none;
  transition:border-color .15s,box-shadow .15s;
  font-family:'Geist','Heebo',sans-serif;
}
.field input:focus,.field textarea:focus{border-color:var(--amber);box-shadow:0 0 0 3px rgba(var(--amber-rgb),0.08)}
.field input::placeholder,.field textarea::placeholder{color:var(--placeholder)}
.field textarea{min-height:120px;resize:vertical;line-height:1.5}

.submit{
  margin-top:10px;padding:14px 20px;border-radius:var(--radius);
  background:var(--amber);color:var(--ink);font-weight:600;font-size:13px;
  font-family:'Geist Mono','Heebo',monospace;letter-spacing:0.06em;text-transform:uppercase;
  transition:background .15s,transform .15s;
  border:none;cursor:pointer;
}
.submit:hover:not(:disabled){background:var(--bone)}
.submit:disabled{opacity:.6;cursor:not-allowed}
.form-note{font-size:12px;color:var(--fog);margin-top:4px;font-family:'Geist Mono','Heebo',monospace;letter-spacing:0.04em}

/* Form status messages */
.form-status{
  display:none;padding:14px 16px;border-radius:var(--radius);
  font-size:13px;line-height:1.5;margin-top:10px;
  font-family:'Geist','Heebo',sans-serif;font-weight:500;
  animation:fadeSlideIn .3s ease;
}
.form-status.success{
  display:block!important;
  background:rgba(var(--amber-rgb),0.08);
  border:1px solid rgba(var(--amber-rgb),0.4);
  color:var(--amber);
}
.form-status.error{
  display:block!important;
  background:rgba(var(--error-rgb),0.08);
  border:1px solid rgba(var(--error-rgb),0.4);
  color:var(--error);
}
@keyframes fadeSlideIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}

/* ── FOOTER ── */
footer{padding:48px 0;border-top:1px solid var(--line);background:var(--ink)}
.foot-inner{max-width:var(--maxw);margin:0 auto;padding:0 32px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.foot-inner .brand-small{display:flex;align-items:center;gap:10px;font-family:'Geist','Heebo',sans-serif;font-weight:500;font-size:13px;color:var(--fog)}
.foot-inner .copy{font-family:'Geist Mono','Heebo',monospace;font-size:11px;color:var(--fog);letter-spacing:0.06em}
.foot-links{display:flex;align-items:center;gap:20px;font-family:'Geist Mono','Heebo',monospace;font-size:11px;color:var(--fog);letter-spacing:0.06em;text-transform:uppercase}
.foot-links a:hover{color:var(--amber)}

/* ── REVEAL ── */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:translateY(0)}

/* ── LAST PIXEL MODAL ── */
.modal-overlay{
  position:fixed;inset:0;z-index:900;
  background:var(--overlay-strong);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  display:flex;align-items:center;justify-content:center;padding:24px;
  opacity:0;pointer-events:none;transition:opacity .3s ease;
}
.modal-overlay.open{opacity:1;pointer-events:all}
.modal{
  background:var(--shadow);border:1px solid var(--line-strong);border-radius:var(--radius-lg);
  max-width:720px;width:100%;max-height:85vh;overflow-y:auto;
  position:relative;animation:modalIn .3s ease;
}
@keyframes modalIn{from{transform:translateY(20px) scale(.97);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
.modal-close{
  position:absolute;top:16px;right:16px;
  background:var(--wash-4);border:1px solid var(--line-strong);
  color:var(--bone);font-size:1.1rem;
  width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:2;transition:background .15s,border-color .15s;
}
.modal-close:hover{background:var(--line-strong);border-color:var(--fog)}
.modal-header{padding:32px 32px 0;display:flex;align-items:center;gap:20px}
.modal-icon-box{
  width:72px;height:72px;border-radius:14px;flex-shrink:0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(var(--amber-rgb),0.35), transparent 70%),
    linear-gradient(135deg,var(--surface-1),var(--surface-2));
  border:1px solid var(--line-strong);
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
}
.modal-icon-box::after{
  content:'';width:18px;height:18px;background:var(--bone);
  box-shadow:-8px 0 0 -2px rgba(var(--amber-rgb),0.7);
  position:relative;z-index:1;
}
.modal-title-group{flex:1;min-width:0}
.modal-badge{
  display:inline-flex;align-items:center;gap:6px;
  font-family:'Geist Mono','Heebo',monospace;font-size:10px;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--amber);
  padding:4px 10px;border:1px solid rgba(var(--amber-rgb),0.3);border-radius:3px;
  margin-bottom:8px;
}
.modal-badge::before{content:'';width:5px;height:5px;background:var(--amber);border-radius:50%}
.modal-name{font-family:'Geist','Heebo',sans-serif;font-weight:700;font-size:1.6rem;letter-spacing:-0.03em;margin-bottom:3px;color:var(--bone)}
.modal-genre{font-family:'Geist Mono','Heebo',monospace;font-size:11px;letter-spacing:0.08em;color:var(--fog)}
.modal-body{padding:24px 32px 32px}
.modal-section{margin-bottom:28px}
.modal-section:last-child{margin-bottom:0}
.modal-section-title{font-family:'Geist Mono','Heebo',monospace;font-size:10.5px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--amber);margin-bottom:12px}
.modal-section p{font-size:14px;color:var(--body);line-height:1.7}
.modal-section p strong{color:var(--bone);font-weight:600}
.modal-features{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.modal-feat{
  display:flex;align-items:center;gap:10px;font-size:13px;color:var(--body);
  padding:10px 12px;border-radius:var(--radius);
  background:var(--ink);border:1px solid var(--line);
}
.modal-feat-icon{font-size:1rem;flex-shrink:0}
.modal-levels{display:flex;flex-wrap:wrap;gap:6px}
.modal-level{
  font-family:'Geist Mono','Heebo',monospace;font-size:10px;font-weight:500;letter-spacing:0.06em;
  padding:4px 10px;border-radius:3px;
  background:rgba(var(--amber-rgb),0.06);color:var(--amber);
  border:1px solid rgba(var(--amber-rgb),0.15);
}
.modal-zones{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.modal-zone{
  padding:14px;border-radius:var(--radius);
  border:1px solid var(--line);background:var(--ink);
}
.modal-zone-name{font-family:'Geist Mono','Heebo',monospace;font-weight:700;font-size:11px;letter-spacing:0.08em;margin-bottom:6px;color:var(--bone)}
.modal-zone-desc{font-size:12.5px;color:var(--fog);line-height:1.55}
.modal-tags{display:flex;gap:6px;flex-wrap:wrap}
.modal-tag{
  font-family:'Geist Mono','Heebo',monospace;font-size:10.5px;color:var(--fog);
  padding:3px 8px;border:1px solid var(--line-strong);border-radius:3px;
}

/* Custom scrollbar for modal */
.modal::-webkit-scrollbar{width:4px}
.modal::-webkit-scrollbar-track{background:var(--wash-2)}
.modal::-webkit-scrollbar-thumb{background:var(--amber);border-radius:4px}

/* Page scrollbar */
::-webkit-scrollbar{width:4px}
::-webkit-scrollbar-track{background:var(--ink)}
::-webkit-scrollbar-thumb{background:var(--steel);border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:var(--fog)}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .hero{padding-top:140px}
  .ship-grid,.ship-grid.two{grid-template-columns:1fr}
  .process,.about-split,.contact-grid{grid-template-columns:1fr;gap:48px}
  .process-aside{position:static}
  .lp-card{grid-template-columns:1fr}
  .lp-visual{min-height:280px}
  .lp-body{padding:32px 26px}
  .nav-links{display:none}
  .menu-btn{display:flex}
  section{padding:80px 0}
  .wrap{padding:0 20px}
  .nav-inner{padding:0 20px}
  .foot-inner{padding:0 20px}
}
@media(max-width:600px){
  .modal-header{flex-direction:column;align-items:flex-start;gap:14px;padding:28px 22px 0}
  .modal-body{padding:22px}
  .modal-features{grid-template-columns:1fr}
  .modal-zones{grid-template-columns:1fr}
}
@media(max-width:560px){
  .hero-meta{grid-template-columns:1fr}
  .hero-meta > div{border-right:none;border-bottom:1px solid var(--line)}
  .hero-meta > div:last-child{border-bottom:none}
  .form-row{grid-template-columns:1fr}
  .lp-facts{grid-template-columns:1fr}
  .founder-block{flex-direction:column;align-items:flex-start}
}

/* ── COOKIE BANNER ── */
#cookie-banner{
  position:fixed;
  bottom:20px;left:20px;right:20px;
  max-width:520px;
  margin:0 auto;
  z-index:1000;
  background:var(--shadow);
  border:1px solid var(--line-strong);
  border-radius:var(--radius-lg);
  padding:22px 24px;
  box-shadow:0 20px 60px var(--overlay);
  display:none;
  flex-direction:column;
  gap:14px;
  animation:cb-in .35s ease;
}
#cookie-banner.show{display:flex}
@keyframes cb-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.cb-title{
  font-family:'Geist','Heebo',sans-serif;font-weight:600;font-size:14px;
  color:var(--bone);letter-spacing:-0.01em;
  display:flex;align-items:center;gap:8px;
}
.cb-title::before{
  content:'';width:6px;height:6px;background:var(--amber);border-radius:50%;flex-shrink:0;
}
.cb-text{
  font-size:13px;line-height:1.55;color:var(--body);
}
.cb-text a{
  color:var(--amber);text-decoration:underline;
  text-underline-offset:2px;
}
.cb-actions{
  display:flex;gap:8px;flex-wrap:wrap;margin-top:4px;
}
.cb-btn{
  flex:1;min-width:120px;
  padding:10px 16px;border-radius:var(--radius);
  font-family:'Geist Mono','Heebo',monospace;font-size:12px;font-weight:500;letter-spacing:0.05em;
  cursor:pointer;border:1px solid transparent;
  transition:background .15s,border-color .15s,color .15s;
}
.cb-btn-accept{
  background:var(--amber);color:var(--ink);font-weight:600;
}
.cb-btn-accept:hover{background:var(--bone)}
.cb-btn-reject{
  background:transparent;border-color:var(--line-strong);color:var(--bone);
}
.cb-btn-reject:hover{border-color:var(--fog);background:var(--wash-3)}
.cb-btn.current{
  outline:2px solid var(--amber);outline-offset:2px;
}
@media(max-width:560px){
  #cookie-banner{left:12px;right:12px;bottom:12px;padding:18px 18px}
  .cb-btn{min-width:0}
}

/* ── LANGUAGE SWITCHER ── */
.lang-switch{display:inline-flex;align-items:center;gap:0;margin-left:10px;padding-left:12px;border-left:1px solid var(--line)}
.nav-links a.lang-link{
  font-family:'Geist Mono','Heebo',monospace;font-size:11.5px;letter-spacing:0.08em;
  text-transform:uppercase;color:var(--fog);padding:6px 8px;
}
.nav-links a.lang-link:hover{color:var(--bone);background:transparent}
.nav-links a.lang-link.active{color:var(--amber)}
.foot-links a.foot-lang{text-transform:uppercase}
/* Flags sit under the label, so the switcher reads as a column of two.
   Inline SVG rather than emoji: Windows renders flag emoji as letter pairs. */
.nav-links a.lang-link,.foot-links a.foot-lang{
  display:inline-flex;flex-direction:column;align-items:center;gap:3px;
  /* fixed, not unitless: the Hebrew label is 13px against 11px Latin, so a
     scaling line-height gave each label a different box and left the flags
     sitting on three different baselines */
  line-height:16px
}
.flag{width:15px;height:10px;display:block;border-radius:1px;opacity:.55;
  outline:1px solid var(--line-strong);outline-offset:-1px;transition:opacity .15s}
a:hover > .flag{opacity:.85}
a.active > .flag{opacity:1}
.foot-links a.foot-lang .flag{width:13px;height:9px}
@media(max-width:900px){.nav-links a.lang-link .flag{width:18px;height:12px}}

/* The Hebrew switcher label renders on all three pages, so Heebo is loaded
   everywhere — only its hebrew subset is fetched, since Geist covers the Latin
   and Cyrillic. Hebrew has no uppercase and needs a touch more size than the
   11px Latin labels beside it. */
.nav-links a.lang-link[lang="he"],
.foot-links a.foot-lang[lang="he"]{font-family:'Heebo',sans-serif;font-size:13px;text-transform:none;letter-spacing:0}
.foot-links a.foot-lang.active{color:var(--amber)}
@media(max-width:900px){
  /* inside the mobile dropdown the switcher sits on its own row; give it
     usable tap targets and drop the inline divider meant for the top bar */
  .lang-switch{margin:6px 0 0;padding:6px 0 0;border:none;border-top:1px solid var(--line);width:100%;justify-content:center}
  .nav-links a.lang-link{padding:12px 16px;font-size:13px}
}

/* ============================================================
   RTL OVERRIDES (Hebrew) — inert on the LTR pages.
   Flex and grid mirror on their own; only the cases below need
   explicit handling.
   ============================================================ */

/* Hebrew has no case and should not be letter-spaced or uppercased.
   The mono labels keep their spacing where the content stays English. */
/* Hebrew must not be letter-spaced, and it has no uppercase. Reset both
   globally, then restore tracking only on the elements whose content stays
   English (section numerals, tech chips, the wordmark, level/zone names). */
[dir="rtl"] *{letter-spacing:normal;text-transform:none}
[dir="rtl"] .ship-num{letter-spacing:0.09em}
[dir="rtl"] .ship-stack span{letter-spacing:0.02em}
[dir="rtl"] .step-n,
[dir="rtl"] .principle .n{letter-spacing:0.09em}
[dir="rtl"] .brand{letter-spacing:-0.03em}
[dir="rtl"] .modal-level,
[dir="rtl"] .modal-zone-name,
[dir="rtl"] .modal-tag{letter-spacing:0.06em;text-transform:uppercase}

/* Geist Mono carries no Hebrew, so those slots fall through to Heebo, which is
   proportional. The 10–11px sizes were tuned for UPPERCASE Latin; Hebrew has no
   uppercase and needs a little more size and weight to stay legible. Elements
   whose content stays English (.ship-num, .ship-stack, .modal-level,
   .modal-zone-name, .modal-tag) are deliberately left alone. */
[dir="rtl"] .mono,
[dir="rtl"] .meta-k,
[dir="rtl"] .meta-v small,
[dir="rtl"] .lp-badge,
[dir="rtl"] .lp-fact .k,
[dir="rtl"] .founder-info .r,
[dir="rtl"] .contact-detail .k,
[dir="rtl"] .modal-badge,
[dir="rtl"] .modal-genre,
[dir="rtl"] .modal-section-title,
[dir="rtl"] .form-note,
[dir="rtl"] .foot-links,
[dir="rtl"] .foot-inner .copy{font-size:12px;font-weight:500}
[dir="rtl"] .status-line .mono{font-size:12px}
[dir="rtl"] .sec-head .mono{font-size:13px}
[dir="rtl"] .nav-links a{font-size:13.5px}
[dir="rtl"] .btn,
[dir="rtl"] .nav-cta,
[dir="rtl"] .submit,
[dir="rtl"] .form-type-toggle label{font-size:13.5px;font-weight:600}

/* The switcher divider and hero/section rules follow the reading direction */
[dir="rtl"] .lang-switch{margin-left:0;margin-right:10px;padding-left:0;padding-right:12px;border-left:none;border-right:1px solid var(--line)}

/* Email and URL fields are always LTR; keep them aligned with the RTL fields */
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="url"]{direction:ltr;text-align:end}

/* The section/step numerals ("/ 01") are Latin-Arabic numerals in a mono face;
   pinning them LTR stops bidi from reordering the slash to the wrong side. */
[dir="rtl"] .ship-num,
[dir="rtl"] .step-n,
[dir="rtl"] .sec-label,
[dir="rtl"] .meta-v{direction:ltr;text-align:right}
[dir="rtl"] .ship-stack{direction:ltr;justify-content:flex-end}

/* Follow the OS when no explicit choice has been stored. Guarded with
   :not([data-theme="dark"]) so an explicit dark choice still wins on a
   light-configured machine. */
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    --ink:#f4f1ea; --shadow:#ffffff; --steel:#cfc9bb; --fog:#666c7a;
    --bone:#14161b; --paper:#0c0e12; --amber:#836428;
    --body:#454b57; --placeholder:#9aa0ac; --error:#b3261e;
    --line:rgba(12,14,18,0.11); --line-strong:rgba(12,14,18,0.20);
    --amber-dim:rgba(131,100,40,0.16);
    --wash-2:rgba(12,14,18,0.02); --wash-3:rgba(12,14,18,0.035); --wash-4:rgba(12,14,18,0.05);
    --grid-line:rgba(12,14,18,0.035); --scrollbar-thumb:rgba(12,14,18,0.35);
    --overlay:rgba(20,22,27,0.45); --shade:rgba(12,14,18,.08);
    --nav-bg:rgba(244,241,234,0.78); --overlay-strong:rgba(20,22,27,0.55);
    --surface-deep:#e9e4d9; --surface-1:#efebe1; --surface-2:#ffffff;
    --amber-rgb:131,100,40; --error-rgb:179,38,30; --fog-rgb:102,108,122;
  }
}

/* ── THEME SWITCH ──────────────────────────────────────────────
   A segmented pair, mirroring the language switcher: both options are
   visible, the active one is filled. Reads as a control rather than a
   stray icon, and shows current state without needing a label.
   ------------------------------------------------------------ */
.theme-switch{
  display:inline-flex;align-items:center;gap:2px;flex-shrink:0;
  padding:2px;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--wash-2);
}
.theme-opt{
  display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:22px;padding:0;
  border:none;border-radius:2px;background:none;color:var(--fog);
  cursor:pointer;transition:color .15s,background .15s;
}
.theme-opt svg{width:14px;height:14px;display:block}
.theme-opt:hover{color:var(--bone)}
.theme-opt[aria-pressed="true"]{background:var(--amber);color:var(--ink)}
.theme-opt[aria-pressed="true"]:hover{color:var(--ink)}
.theme-opt:focus-visible{outline:2px solid var(--amber);outline-offset:1px}
@media(max-width:900px){
  .theme-opt{width:32px;height:26px}
  .theme-opt svg{width:15px;height:15px}
}
