:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --ink: #17201c;
  --muted: #5d6b64;
  --line: #d9ded8;
  --surface: #ffffff;
  --surface-soft: #eef5f0;
  --accent: #236f5a;
  --accent-dark: #164a3c;
  --accent-soft: #dcece5;
  --warning: #8f5a1f;
  --shadow: 0 24px 70px rgba(32, 47, 41, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 247, 244, 0.92);
  border-bottom: 1px solid rgba(23, 32, 28, 0.08);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--ink);
}

.language-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

html[dir="rtl"] body {
  font-family: Tahoma, Arial, sans-serif;
}

html[dir="rtl"] ul {
  padding-left: 0;
  padding-right: 20px;
}

.section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 86px clamp(18px, 4vw, 40px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 76px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  min-height: calc(100vh - 72px);
  padding-top: 64px;
}

.hero h1,
.section-heading h2,
.pilot-copy h2,
.signup-form h2 {
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 76px);
  max-width: 830px;
}

.hero-lede {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  margin: 24px 0 0;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:hover {
  background: var(--accent-dark);
}

.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.secondary:hover {
  border-color: var(--accent);
}

.hero-note {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  margin-top: 22px;
}

.preview-panel {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.panel-topline {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  padding-bottom: 16px;
}

.panel-topline strong {
  color: var(--ink);
}

.message-card {
  background: var(--surface-soft);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: 12px 1fr;
  margin-top: 18px;
  padding: 18px;
}

.status-dot {
  background: #2c9a75;
  border-radius: 999px;
  height: 10px;
  margin-top: 7px;
  width: 10px;
}

.message-title {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.message-text {
  color: var(--muted);
  font-size: 14px;
  margin: 7px 0 0;
}

.workflow-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.workflow-list div {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 58px 1fr;
  padding: 12px;
}

.workflow-list span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.workflow-list p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.pilot-copy h2,
.signup-form h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.section-heading p,
.pilot-copy p,
.signup-form > p {
  color: var(--muted);
  font-size: 18px;
  margin: 16px 0 0;
}

.three-columns,
.feature-grid,
.fit-layout {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

.three-columns article,
.feature,
.fit-card,
.safe-list,
.avoid-list,
.numbers-card,
.signup-form {
  background: var(--surface);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 10px;
}

.three-columns article,
.feature,
.fit-card {
  padding: 24px;
}

.three-columns h3,
.feature h3,
.fit-card h3,
.safe-list h3,
.avoid-list h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.three-columns p,
.feature p,
.fit-card p {
  color: var(--muted);
  margin: 0;
}

.fit-layout {
  grid-template-columns: repeat(3, 1fr);
}

.fit-card {
  background: #fbfcfb;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature span {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 28px;
}

.safety-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
}

.safe-list,
.avoid-list {
  padding: 28px;
}

.safe-list {
  background: #f3faf6;
}

.avoid-list {
  background: #fff8ef;
}

ul {
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 10px;
}

.numbers-card {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  overflow: hidden;
  padding: 0;
}

.numbers-card div {
  background: var(--surface);
  padding: 24px;
}

.metric-label {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 9px;
}

.numbers-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.numbers-note {
  color: var(--muted);
  font-size: 15px;
  max-width: 760px;
}

.pilot-section {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: 0.82fr 1fr;
}

.pilot-copy ul {
  margin-top: 24px;
}

.signup-form {
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.signup-form label {
  color: var(--ink);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 7px;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

.signup-form textarea {
  resize: vertical;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(35, 111, 90, 0.15);
}

.hidden-field {
  left: -9999px;
  position: absolute;
}

.consent-row {
  align-items: start;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 18px 1fr;
}

.consent-row input {
  min-height: 18px;
  margin-top: 3px;
}

.consent-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.form-button {
  border: 0;
  cursor: pointer;
  width: 100%;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-status {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  min-height: 22px;
}

.form-status.success {
  color: var(--accent-dark);
}

.form-status.error {
  color: #9b2f22;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin: 40px auto 0;
  max-width: 1120px;
  padding: 28px clamp(18px, 4vw, 40px) 44px;
}

.legal-page {
  max-width: 820px;
  min-height: 100vh;
}

.legal-page h1 {
  margin-top: 2rem;
}

.legal-page h2 {
  margin-top: 2rem;
}

.legal-page p {
  line-height: 1.75;
}

@media (max-width: 900px) {
  .hero,
  .pilot-section,
  .safety-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .three-columns,
  .feature-grid,
  .fit-layout,
  .numbers-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
    position: static;
  }

  .nav {
    display: none;
  }

  .section {
    padding: 58px 18px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .three-columns,
  .feature-grid,
  .fit-layout,
  .numbers-card {
    grid-template-columns: 1fr;
  }

  .preview-panel,
  .signup-form {
    border-radius: 8px;
  }
}
