:root {
  --navy: #071f4b;
  --navy-2: #0b3474;
  --cyan: #00b7b6;
  --cyan-soft: #dff8f6;
  --red: #ff3926;
  --ink: #14213a;
  --muted: #60708b;
  --line: #dce5f1;
  --paper: #ffffff;
  --wash: #f4f8fc;
  --shadow: 0 24px 70px rgba(7, 31, 75, 0.13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] { font-family: Arial, "Segoe UI", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -80px; z-index: 99; padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 5, 14, .96);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; width: 236px; text-decoration: none; }
.brand img { width: 100%; height: 56px; object-fit: contain; object-position: left center; }
body[dir="rtl"] .brand img { object-position: right center; }
.main-nav { display: flex; align-items: center; gap: 24px; margin-inline-start: auto; }
.main-nav a { color: #bfcbe0; font-size: .94rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: #7ee7e2; }
.language-switch { display: flex; gap: 4px; padding: 4px; background: rgba(255,255,255,.09); border-radius: 999px; }
.language-button { min-width: 42px; padding: 7px 10px; border: 0; border-radius: 999px; color: #bfcbe0; background: transparent; font-weight: 800; cursor: pointer; }
.language-button[aria-pressed="true"] { color: var(--navy); background: #fff; }

.hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: linear-gradient(140deg, #fafdff 0%, #eef8fb 52%, #f8fbff 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero::before { width: 440px; height: 440px; inset: -240px auto auto -160px; background: rgba(0, 183, 182, .12); }
.hero::after { width: 500px; height: 500px; inset: auto -280px -300px auto; background: rgba(11, 52, 116, .12); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 12px; color: var(--navy-2); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
body[dir="rtl"] .eyebrow { letter-spacing: .03em; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(2.6rem, 5.7vw, 5rem); }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.5vw, 3.3rem); }
h3 { margin-bottom: 12px; font-size: 1.26rem; }
.hero-lead { max-width: 730px; margin: 0; color: #42536e; font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid var(--navy); border-radius: 12px; font-weight: 850; text-decoration: none; }
.button.primary { color: #fff; background: var(--navy); box-shadow: 0 12px 24px rgba(7, 31, 75, .16); }
.button.primary:hover { background: var(--navy-2); }
.button.secondary { color: var(--navy); background: rgba(255, 255, 255, .76); }
.stage-note { display: inline-block; margin: 24px 0 0; padding-inline-start: 16px; border-inline-start: 3px solid var(--red); color: #5f6d81; font-size: .92rem; }

.assurance-card { padding: 26px; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 900; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(0, 183, 182, .12); }
.mini-flow { display: grid; gap: 0; margin: 0; padding: 10px 0 0; list-style: none; }
.mini-flow li { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center; padding: 16px 0; }
.mini-flow li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 24px; bottom: -8px; width: 2px; height: 20px; background: var(--line); }
.step-number { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #bfe7e6; border-radius: 14px; color: var(--navy-2); background: var(--cyan-soft); font-size: .8rem; font-weight: 900; }
.mini-flow strong, .mini-flow small { display: block; }
.mini-flow strong { color: var(--navy); font-size: 1rem; }
.mini-flow small { margin-top: 2px; color: var(--muted); font-size: .88rem; }

.section { padding: 92px 0; }
.section-heading { max-width: 840px; }
.section-heading > p:last-child, .stage-grid > div > p:last-child { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 28px; border-radius: 13px; color: #fff; background: var(--navy); font-size: 1.4rem; font-weight: 900; }

.proof { color: #fff; background: var(--navy); }
.proof-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 68px; }
.proof .eyebrow { color: #7ee7e2; }
.proof h2 { color: #fff; }
.proof .section-heading > p:last-child { color: #bdcbe0; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.metric { min-height: 175px; padding: 28px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 18px; background: rgba(255, 255, 255, .055); }
.metric strong { display: block; color: #fff; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1; }
.metric span { display: block; margin-top: 16px; color: #bdcbe0; font-size: .92rem; }

.stage { background: var(--wash); }
.stage-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 72px; align-items: center; }
.boundary-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 50px rgba(7, 31, 75, .08); }
.boundary-panel ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.boundary-panel li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.boundary-panel span { color: var(--navy-2); font-size: .8rem; font-weight: 900; letter-spacing: .05em; }
.boundary-panel em { color: var(--muted); font-size: .92rem; font-style: normal; }

.contact { padding-top: 70px; }
.contact-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; padding: 48px; border-radius: var(--radius); background: linear-gradient(135deg, #e9fbfa, #f5f9ff); }
.contact-card p { color: var(--muted); }
.founder { padding: 24px; border-inline-start: 1px solid #bfd7e7; }
.founder span, .founder strong, .founder small { display: block; }
.founder span { color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.founder strong { margin-top: 8px; color: var(--navy); font-size: 1.5rem; }
.founder small { color: var(--navy-2); font-size: 1rem; }
.founder p { margin-bottom: 0; font-size: .88rem; }

.site-footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--navy-2); font-weight: 800; }

.legal-page { min-height: 100vh; background: var(--wash); }
.legal-wrap { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.legal-card { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 55px rgba(7,31,75,.08); }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card .back { display: inline-block; margin-bottom: 28px; color: var(--navy-2); font-weight: 800; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { padding-top: 70px; }
  .hero-grid, .proof-layout, .stage-grid, .contact-card { grid-template-columns: 1fr; gap: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .contact-card { padding: 34px; }
  .founder { padding: 24px 0 0; border-inline-start: 0; border-top: 1px solid #bfd7e7; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand { width: 180px; }
  .brand img { height: 48px; }
  .language-button { min-width: 38px; padding-inline: 8px; }
  .hero { padding: 54px 0 62px; }
  h1 { font-size: 2.55rem; }
  .section { padding: 68px 0; }
  .metrics { grid-template-columns: 1fr; }
  .metric { min-height: 145px; }
  .boundary-panel li { grid-template-columns: 84px 1fr; }
  .contact-card, .legal-card { padding: 26px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
