/* Heebo, self-hosted. Google Fonts was a render-blocking request to a third
   party on every visit; this removes the DNS + TLS round trip entirely. */
@font-face{
  font-family:'Heebo';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url('/assets/fonts/heebo-hebrew.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 800;
  font-display:swap;
  src:url('/assets/fonts/heebo-latin.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 ---------- */
:root{
  --bg:#09090b;
  --fg:#fafafa;
  --muted:#a1a1aa;
  --dim:#71717a;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.14);
  --card-top:#18181b;
  --card-bottom:#0d0d10;
  --field:#121215;
  --surface:linear-gradient(180deg,#18181b 0%,#0d0d10 100%);
  --lift:0 24px 60px -22px rgba(0,0,0,.95), 0 6px 20px -12px rgba(0,0,0,.65);
  --lift-sm:0 16px 38px -22px rgba(0,0,0,.9), 0 4px 14px -10px rgba(0,0,0,.55);
  --ok:#22c55e;
  --bad:#f87171;
  --gutter:20px;
  --max:1120px;
  color-scheme:dark;
}

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

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:"Heebo",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* Ambient light: a wide charcoal wash for depth, and a narrow silver glow
   behind the hero. Two layers only — the rest of the page stays flat black. */
body::before{
  content:"";
  position:fixed;
  inset:0 0 auto 0;
  height:min(82vh,900px);
  background:
    radial-gradient(115% 72% at 50% -14%, #1c1c22 0%, rgba(28,28,34,.55) 34%, rgba(28,28,34,0) 66%),
    radial-gradient(48% 40% at 50% 0%, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 72%);
  pointer-events:none;
  z-index:0;
}

/* the 1px catch-light along a surface's top edge */
.card::before,.fact::before{
  content:"";
  position:absolute;
  top:0;
  left:14%;
  right:14%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);
  pointer-events:none;
}

main,footer{position:relative;z-index:1}

h1,h2,h3{margin:0;font-weight:700;letter-spacing:-.02em;line-height:1.18}
p{margin:0}

/* ---------- creator identity ---------- */
.identity{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  margin-bottom:26px;
}
.avatar{
  position:relative;
  display:grid;
  place-items:center;
  margin:0;
  width:118px;
  height:118px;
  border-radius:50%;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.15);
  background:linear-gradient(160deg,#1e1e23,#0e0e11);
  /* a thin halo instead of a hard ring — reads as ambient light, not a border */
  box-shadow:0 0 0 9px rgba(255,255,255,.022), 0 24px 52px -22px rgba(0,0,0,.95);
}
/* initials show through until /assets/amit.jpg is dropped in */
.avatar::after{
  content:attr(data-initials);
  font-size:30px;
  font-weight:600;
  letter-spacing:.1em;
  color:#4b4b52;
  direction:ltr;
}
.avatar img{
  font-size:0;
  color:transparent;
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.avatar.is-empty img{display:none}

.creator{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
}
.creator-he{font-size:21px;font-weight:700;letter-spacing:-.01em;color:var(--fg)}
.creator-en{
  font-size:13px;
  font-weight:600;
  letter-spacing:.24em;
  color:var(--muted);
  direction:ltr;
}

.wordmark{
  font-weight:500;
  font-size:13px;
  letter-spacing:.26em;
  color:var(--fg);
  direction:ltr;
}
.wordmark.small{font-size:12px;color:var(--muted)}

/* ---------- hero ---------- */
.hero{
  max-width:940px;
  margin:0 auto;
  padding:40px var(--gutter) 60px;
  text-align:center;
}

h1{margin:4px 0 0;font-size:clamp(26px,5.9vw,44px);font-weight:800;line-height:1.22}

.sub{
  margin:20px auto 0;
  max-width:660px;
  font-size:clamp(15.5px,3.9vw,18.5px);
  line-height:1.55;
  color:#d4d4d8;
}

.jump{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:28px;
  padding:13px 26px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09), 0 14px 30px -18px rgba(0,0,0,.95);
  color:var(--fg);
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  transition:background .2s ease,border-color .2s ease,transform .15s ease;
}
.jump i{font-style:normal;font-size:13px;opacity:.7;transition:transform .25s ease}
.jump:hover{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.05));border-color:rgba(255,255,255,.3);transform:translateY(-1px)}
.jump:hover i{transform:translateY(3px)}

/* ---------- showcase ---------- */
.showcase{padding:8px 0 4px}

/* One scrolling row. Uniform HEIGHT with natural widths: the page stays short
   and no full-body frame loses a head or a hem to a fixed tile ratio. */
.shots{
  display:flex;
  gap:11px;
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--gutter) 4px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}
.shots::-webkit-scrollbar{display:none}

.shot{
  position:relative;
  flex:0 0 auto;
  height:clamp(300px,58vw,430px);
  margin:0;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  scroll-snap-align:center;
  background:linear-gradient(160deg,#171719,#0c0c0e 65%);
  box-shadow:var(--lift-sm);
}
.shot.is-empty{aspect-ratio:4/5}
/* placeholder label — disappears the moment a real image is dropped in */
.shot::after{
  content:attr(data-src);
  position:absolute;
  inset:auto 0 50% 0;
  transform:translateY(50%);
  text-align:center;
  font-size:12px;
  letter-spacing:.06em;
  color:#3f3f46;
  direction:ltr;
}
.shot img{
  font-size:0;
  color:transparent;
  position:relative;
  z-index:1;
  display:block;
  height:100%;
  width:auto;
}
.shot.is-empty img{display:none}

.hint{color:#3f3f46}
.hint::before{content:'· '}
.micro{
  margin:18px auto 0;
  padding:0 var(--gutter);
  text-align:center;
  font-size:14px;
  color:var(--dim);
}

/* ---------- facts ---------- */
.facts{
  max-width:var(--max);
  margin:52px auto 0;
  padding:0 var(--gutter);
  display:grid;
  gap:11px;
}
.fact{
  position:relative;
  padding:17px 16px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--lift-sm);
}
.eyebrow{
  display:block;
  font-size:16.5px;
  font-weight:700;
  letter-spacing:-.01em;
  color:var(--fg);
  margin-bottom:6px;
}
.fact p{font-size:14.5px;line-height:1.55;color:var(--muted)}

/* ---------- form ---------- */
.signup{padding:34px var(--gutter) 54px;scroll-margin-top:8px}

.card{
  position:relative;
  max-width:520px;
  margin:0 auto;
  padding:24px 20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--lift);
}

.card h2{font-size:clamp(21px,5.4vw,26px)}
.card-sub{margin-top:5px;font-size:14.5px;line-height:1.45;color:var(--muted)}

form{margin-top:18px}

.field{margin-bottom:14px}

label{
  display:block;
  margin-bottom:6px;
  font-size:14px;
  line-height:1.3;
  font-weight:500;
  color:#e4e4e7;
}
.opt{display:block;font-weight:400;font-size:12.5px;line-height:1.3;color:var(--dim);margin-top:2px}

input{
  width:100%;
  padding:13px 14px;
  background:var(--field);
  border:1px solid var(--line);
  border-radius:11px;
  color:var(--fg);
  font-family:inherit;
  font-weight:400;
  /* Longhand on purpose: the `font` shorthand cannot take `inherit` as the
     family, so the whole declaration was dropped and inputs fell back to the
     browser default of 13.3px — which makes iOS Safari zoom in on focus. */
  font-size:16px;
  line-height:1.4;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
  -webkit-appearance:none;
  appearance:none;
}
input::placeholder{color:#52525b}

input:focus{
  outline:none;
  background:#17171b;
  border-color:rgba(255,255,255,.26);
  box-shadow:0 0 0 3px rgba(255,255,255,.06);
}
input.invalid{border-color:rgba(248,113,113,.55)}

.err{display:block;min-height:0;margin-top:6px;font-size:13px;color:var(--bad)}
.err:empty{margin-top:0}

/* Visually hidden without an off-screen offset: left:-9999px makes an RTL
   document scrollable ~10000px sideways into empty space. */
.hp{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

.form-err{
  margin:0 0 14px;
  padding:11px 13px;
  background:rgba(248,113,113,.1);
  border:1px solid rgba(248,113,113,.3);
  border-radius:10px;
  font-size:14px;
  color:#fca5a5;
}

button[type=submit]{
  position:relative;
  width:100%;
  min-height:56px;
  padding:16px 18px;
  /* a white button on black goes flat; the faint white bloom underneath and the
     inner top light give it an edge without shouting */
  background:linear-gradient(180deg,#ffffff 0%,#e8e8ec 100%);
  color:#09090b;
  border:1px solid rgba(255,255,255,.85);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 14px 34px -14px rgba(255,255,255,.16), 0 8px 22px -10px rgba(0,0,0,.85);
  border-radius:13px;
  font-family:inherit;
  font-size:16.5px;
  font-weight:700;
  cursor:pointer;
  transition:background .18s ease,transform .1s ease,opacity .18s ease;
}
button[type=submit]:hover:not(:disabled){background:linear-gradient(180deg,#ffffff 0%,#dededf 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 18px 40px -14px rgba(255,255,255,.22), 0 10px 26px -10px rgba(0,0,0,.9);transform:translateY(-1px)}
button[type=submit]:active:not(:disabled){transform:translateY(0) scale(.99)}
button[type=submit]:focus-visible{outline:2px solid #fff;outline-offset:3px}
button[type=submit]:disabled{cursor:default;opacity:.72}

.spinner{
  display:none;
  width:17px;height:17px;
  margin-inline-start:9px;
  border:2px solid rgba(9,9,11,.25);
  border-top-color:#09090b;
  border-radius:50%;
  vertical-align:-3px;
  animation:spin .7s linear infinite;
}
button.busy .spinner{display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}

.assure{margin-top:9px;text-align:center;font-size:12px;color:var(--dim)}

/* ---------- success ---------- */
.done{text-align:center;padding:22px 4px 14px}
.check{
  width:50px;height:50px;
  margin:0 auto 18px;
  display:grid;place-items:center;
  border-radius:50%;
  background:rgba(34,197,94,.13);
  border:1px solid rgba(34,197,94,.34);
  color:var(--ok);
}
.check svg{width:25px;height:25px}
.done h2{font-size:clamp(23px,5.8vw,28px)}
.done p{margin-top:11px;font-size:16px;color:var(--muted)}
.done.show{animation:rise .5s cubic-bezier(.2,.7,.2,1) both}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* ---------- footer ---------- */
.social{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px 18px;
  margin-bottom:4px;
}
.social a{
  font-size:13px;
  color:var(--dim);
  text-decoration:none;
  direction:ltr;
  transition:color .18s ease;
}
.social a:hover{color:var(--fg)}

footer{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:30px var(--gutter) 40px;
  border-top:1px solid var(--line);
}
.rights{font-size:12px;color:#52525b}

/* ---------- entrance motion ---------- */
.js-ready .reveal{opacity:0;transform:translateY(16px);transition:opacity .75s cubic-bezier(.2,.7,.2,1),transform .75s cubic-bezier(.2,.7,.2,1)}
.js-ready .reveal.in{opacity:1;transform:none}
[data-delay="1"]{transition-delay:.07s}
[data-delay="2"]{transition-delay:.14s}
[data-delay="3"]{transition-delay:.22s}
[data-delay="4"]{transition-delay:.29s}
[data-delay="5"]{transition-delay:.38s}
.shot:nth-child(2){transition-delay:.09s}
.shot:nth-child(3){transition-delay:.18s}
.fact:nth-child(2){transition-delay:.08s}
.fact:nth-child(3){transition-delay:.16s}

/* ---------- tablet ---------- */
@media (min-width:640px){
  :root{--gutter:32px}
  .hero{padding:56px var(--gutter) 72px}
  .avatar{width:132px;height:132px}
  .creator-he{font-size:24px}
  .identity{margin-bottom:26px}
  .shots{gap:14px}
  .card{padding:32px 30px}
  form{margin-top:22px}
  .field{margin-bottom:16px}
  label{margin-bottom:7px}
  input{padding:12px 14px}
  .signup{padding:56px var(--gutter) 72px}
  .facts{
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-top:68px;
  }
  .fact{padding:24px 22px}
  footer{flex-direction:row;justify-content:space-between}
  .social{margin-bottom:0;order:2}
}

/* ---------- desktop ---------- */
@media (min-width:1024px){
  .hero{padding:66px var(--gutter) 84px}
  .signup{padding:76px var(--gutter) 96px}
  .facts{margin-top:88px}
  .shots{gap:16px}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .js-ready .reveal{opacity:1;transform:none;transition:none}
  .done.show{animation:none}
  .spinner{animation-duration:1.6s}
  *{scroll-behavior:auto!important}
}

html{scroll-behavior:smooth}
