:root {
  --bg: #0a0a0b;
  --bg-2: #111114;
  --surface: #15151a;
  --surface-2: #1c1c22;
  --border: #232329;
  --border-strong: #34343c;
  --text: #efeee8;
  --text-dim: #b8b8b3;
  --muted: #7a7a78;
  --accent: #f5f4ee;
  --display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--text); text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* header */
header.site {
  padding: 18px 0;
  position: sticky; top: 0;
  background: rgba(10,10,11,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
header.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
header.site .brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
header.site nav { display: flex; gap: 28px; font-size: 14px; }
header.site nav a { color: var(--text-dim); }
header.site nav a:hover { color: var(--text); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  background: var(--accent);
  color: #0a0a0b;
  border: 1px solid var(--accent);
  transition: background 0.15s, transform 0.15s;
  font-family: var(--body);
}
.pill:hover { background: #fff; }
.pill.ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.pill.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* base headings */
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--text);
}
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 900px;
}
h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 12px;
}

/* hero (homepage) */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 100px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 50% at 50% 55%, rgba(245,244,238,0.10) 0%, rgba(245,244,238,0.04) 30%, transparent 65%);
}
.hero h1 {
  font-size: clamp(38px, 6.8vw, 90px);
  margin: 0 auto 44px;
  max-width: 1000px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  text-wrap: balance;
}
.hero-visual {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1400px;
  z-index: 1;
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 50px 80px rgba(0,0,0,0.6));
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(10,10,11,0.35) 0%, rgba(10,10,11,0.78) 70%, rgba(10,10,11,0.92) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}
.kicker {
  font-family: var(--body);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  margin: 0 auto 28px;
  max-width: 720px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* eyebrow */
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: var(--border-strong);
}

/* sections */
section { padding: 120px 0; position: relative; }
section + section { border-top: 1px solid var(--border); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head p { font-size: 17px; color: var(--text-dim); margin: 0; }
.title-link {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  transition: color 0.15s;
}
.title-link:hover { color: var(--accent); }
.title-link .arrow {
  font-size: 0.6em;
  color: var(--text-dim);
  transition: transform 0.2s, color 0.15s;
  display: inline-block;
}
.title-link:hover .arrow { transform: translateX(6px); color: var(--accent); }

/* split layout – text and visual side by side */
.split-heading { margin-bottom: 40px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.split-text p { margin: 0; color: var(--text-dim); font-size: 17px; }
.split-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.6);
}

/* project grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.card .kind {
  font-family: var(--body);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--muted); margin-bottom: 20px;
}
.card p { color: var(--text-dim); font-size: 14.5px; flex-grow: 1; margin: 0 0 24px; line-height: 1.55; }
.card .link {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 6px;
}
.card .link::after { content: '→'; transition: transform 0.15s; }
.card:hover .link::after { transform: translateX(3px); }
.card.locked .link { color: var(--muted); }
.card.locked .link::after { content: ''; }
.card .icon {
  font-size: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
  color: var(--text);
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.skills ul { list-style: none; padding: 0; margin: 0; }
.skills li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}
.skills li:first-child { border-top: 1px solid var(--border); }
.skills li strong {
  font-family: var(--display);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.skills li span:last-child { color: var(--text-dim); text-align: right; }

/* contact */
.contact { text-align: center; padding: 140px 0; }
.contact h2 {
  margin: 0 auto 28px;
  max-width: none;
  white-space: nowrap;
}
.contact h2 .u {
  font-weight: 700;
  color: var(--text);
}
.contact p { font-size: 18px; color: var(--text-dim); max-width: 560px; margin: 0 auto 40px; }
.contact .actions { justify-content: center; }
@media (max-width: 700px) {
  .contact h2 {
    white-space: normal;
    font-size: clamp(28px, 6vw, 36px);
  }
}

/* doc pages (Sippurim / Pricing / Refund / Privacy / Terms) */
.doc { padding: 80px 0 120px; }
.doc-head { margin-bottom: 48px; max-width: 800px; }
.doc-head .eyebrow { margin-bottom: 24px; }
.doc-title {
  font-family: 'IBM Plex Sans', var(--body);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 56px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
}
.doc-nav a {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.doc-nav a:hover { color: var(--text); }
.doc-nav a.current {
  background: var(--accent);
  color: #0a0a0b;
}
.doc-body { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.doc-body p { margin: 0 0 18px; }
.doc-body p strong { color: var(--text); font-weight: 500; }
.doc-body ul { padding-left: 22px; margin: 0 0 22px; }
.doc-body li { margin-bottom: 8px; }
.doc-body a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.doc-body a:hover { text-decoration-color: var(--accent); }
.doc-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.lang-tag {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: inline-block;
  margin: 0 0 20px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.buy-callout {
  margin-top: 32px;
  padding: 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
.buy-callout .price {
  font-family: 'IBM Plex Sans', var(--body);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  margin: 0 0 12px;
  color: var(--text);
}
.buy-callout .price-sub {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 24px;
}

/* features grid (Sippurim page) */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.feature {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--text-dim); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* footer */
footer.site {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  background: #050506;
}
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
footer.site nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); }
footer.site nav a:hover { color: var(--text); }

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .wrap { padding: 0 20px; }
  header.site nav { display: none; }
  .doc-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .doc-nav a { white-space: nowrap; }
  .split { grid-template-columns: 1fr; gap: 32px; }

  /* hero: stack vertically on mobile, no overlap */
  .hero {
    min-height: auto;
    padding: 48px 0 80px;
    display: block;
    background:
      radial-gradient(ellipse 95% 45% at 50% 70%, rgba(245,244,238,0.16) 0%, rgba(245,244,238,0.06) 30%, transparent 70%);
  }
  .hero-overlay { display: none; }
  .hero-content { text-align: center; margin-bottom: 40px; }
  .hero h1 {
    font-size: clamp(40px, 11vw, 64px);
    margin: 0;
    text-shadow: none;
  }
  .hero-visual {
    position: relative;
    top: auto; left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .hero-visual img {
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.7));
  }
}
