:root {
  color-scheme: light;
  --ink: #172019;
  --forest: #536348;
  --sage: #95a087;
  --paper: #f4f1e9;
  --cream: #e8e2d5;
  --white: #fffefa;
  --line: rgba(23, 32, 25, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 13% 15%, rgba(149, 160, 135, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 88%, rgba(83, 99, 72, 0.1), transparent 25rem),
    var(--paper);
  font-family: "Rubik", "Noto Sans Hebrew", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.page-shell {
  display: flex;
  width: min(100% - 48px, 1240px);
  min-height: 100vh;
  margin-inline: auto;
  flex-direction: column;
}

.site-header {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--ink);
  font-family: "Rubik", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-name span {
  color: var(--forest);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.55);
  font-size: 13px;
  font-weight: 700;
}

.status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 5px rgba(83, 99, 72, 0.12);
  animation: pulse 2.6s ease-in-out infinite;
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding: 64px 0 72px;
}

.hero-copy {
  max-width: 650px;
  animation: reveal 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: flex;
  margin: 0 0 20px;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  width: 38px;
  height: 1px;
  content: "";
  background: currentColor;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 5.3vw, 68px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

h1 em {
  color: var(--forest);
  font-family: inherit;
  font-size: 0.95em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 580px;
  margin: 30px 0 0;
  color: rgba(23, 32, 25, 0.72);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.actions {
  display: flex;
  margin-top: 42px;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.waitlist-form {
  position: relative;
  display: flex;
  width: min(100%, 570px);
  padding: 5px;
  border: 1px solid rgba(23, 32, 25, 0.18);
  border-radius: 7px;
  background: rgba(255, 254, 250, 0.72);
  box-shadow: 0 14px 36px rgba(23, 32, 25, 0.08);
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.waitlist-form:focus-within {
  border-color: rgba(83, 99, 72, 0.65);
  box-shadow: 0 14px 38px rgba(23, 32, 25, 0.12), 0 0 0 3px rgba(83, 99, 72, 0.1);
}

.email-input {
  min-width: 0;
  min-height: 52px;
  flex: 1;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: 500 15px/1.4 "Rubik", "Noto Sans Hebrew", Arial, sans-serif;
  text-align: right;
}

.email-input::placeholder {
  color: rgba(23, 32, 25, 0.46);
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.primary-action {
  display: inline-flex;
  min-height: 58px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 3px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(23, 32, 25, 0.17);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  background: var(--forest);
  box-shadow: 0 18px 38px rgba(23, 32, 25, 0.2);
}

.primary-action:focus-visible {
  outline: 3px solid rgba(83, 99, 72, 0.35);
  outline-offset: 4px;
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.primary-action svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: rotate(180deg);
}

.action-note {
  color: rgba(23, 32, 25, 0.48);
  font-size: 12px;
}

.form-message {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.form-message:empty {
  display: none;
}

.form-message[data-type="success"] {
  color: var(--forest);
}

.form-message[data-type="error"] {
  color: #9d3e32;
}

.visual {
  position: relative;
  display: grid;
  justify-items: center;
  animation: reveal 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-card {
  position: relative;
  width: min(100%, 490px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(23, 32, 25, 0.12);
  background: rgba(255, 254, 250, 0.78);
  box-shadow: 0 28px 80px rgba(44, 55, 41, 0.14);
  transform: rotate(-1.5deg);
  backdrop-filter: blur(12px);
}

.logo-card::after {
  position: absolute;
  inset: 12px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(83, 99, 72, 0.13);
}

.logo-card img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(83, 99, 72, 0.25);
  border-radius: 50%;
}

.orbit-one {
  width: 84%;
  aspect-ratio: 1;
  inset: -10% auto auto -3%;
}

.orbit-two {
  width: 18px;
  height: 18px;
  inset: -3% 13% auto auto;
  border: 0;
  background: var(--forest);
  box-shadow: 0 0 0 10px rgba(83, 99, 72, 0.1);
}

.visual-caption {
  margin: 26px 0 0;
  color: rgba(23, 32, 25, 0.45);
  font-family: "Rubik", sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
}

footer {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: rgba(23, 32, 25, 0.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-line {
  width: 38px;
  height: 1px;
  background: var(--line);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(83, 99, 72, 0.04);
  }
}

@media (max-width: 880px) {
  .page-shell {
    width: min(100% - 36px, 680px);
  }

  .site-header {
    min-height: 88px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 68px;
    padding: 56px 0 64px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .visual {
    width: min(90%, 500px);
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 28px, 470px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .brand-name {
    font-size: 16px;
  }

  .status {
    padding: 8px 12px;
    font-size: 11px;
  }

  .hero {
    gap: 52px;
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .intro {
    margin-top: 24px;
    font-size: 17px;
  }

  .actions {
    margin-top: 34px;
  }

  .waitlist-form {
    flex-direction: column;
    gap: 5px;
  }

  .email-input {
    width: 100%;
    text-align: center;
  }

  .primary-action {
    width: 100%;
  }

  .visual {
    width: 94%;
  }

  footer {
    min-height: 76px;
    justify-content: center;
  }

  .footer-line,
  footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
