:root {
  --navy: #071b31;
  --navy-2: #0d2a45;
  --teal: #04bbb8;
  --teal-soft: #a7f2eb;
  --ink: #102237;
  --paper: #f3f8f8;
  --muted: #64758a;
  --line: #cbd9dc;
  --max: 1180px;
}

* { 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", sans-serif; line-height: 1.55; }
a { color: inherit; }
button { font: inherit; }

.site-header { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; letter-spacing: .045em; white-space: nowrap; }
.brand img { display: block; object-fit: contain; }
.header-actions, .language-switcher { display: flex; align-items: center; gap: .45rem; }
.language-switcher { font-size: .8rem; color: var(--muted); }
.language-switcher button { padding: .35rem .2rem; border: 0; color: inherit; background: transparent; cursor: pointer; }
.language-switcher button[aria-pressed="true"] { color: var(--navy); font-weight: 800; }
.text-link { color: var(--navy); font-size: .9rem; font-weight: 750; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.hero { position: relative; overflow: hidden; min-height: min(680px, calc(100vh - 86px)); padding: clamp(5rem, 13vw, 11rem) max(1rem, calc((100vw - var(--max)) / 2)); color: #f5ffff; background: radial-gradient(circle at 86% 12%, #0d807f 0, rgba(13,128,127,.18) 19%, transparent 40%), linear-gradient(125deg, var(--navy) 0%, #082641 100%); }
.hero::after { content: ""; position: absolute; inset: auto -10rem -12rem auto; width: 34rem; height: 34rem; border: 1px solid rgba(167,242,235,.3); border-radius: 50%; }
.hero > * { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1rem; color: var(--teal); font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.hero h1, h2 { margin: 0; font-weight: 780; letter-spacing: -.045em; line-height: 1.02; }
.hero h1 { max-width: 760px; font-size: clamp(3rem, 7.5vw, 6.5rem); }
.hero-copy { max-width: 610px; margin: 1.5rem 0 2.2rem; color: #cbe0ea; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid var(--teal); border-radius: 2px; background: var(--teal); color: #042024; font-size: .86rem; font-weight: 850; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: #42d7cc; }
.hero-line { width: min(420px, 58vw); height: 1px; margin-top: 5.5rem; background: linear-gradient(90deg, var(--teal), transparent); }

.section { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.capabilities { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-intro { max-width: 700px; }
h2 { font-size: clamp(2.25rem, 5vw, 4.55rem); }
.section-intro > p:last-child, .coming-soon p, .contact p { max-width: 650px; color: var(--muted); font-size: 1.05rem; }
.capability-grid { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 3.5rem; border: 1px solid var(--line); background: var(--line); }
.capability-card { min-height: 250px; padding: 1.65rem; background: var(--paper); transition: background .2s ease; }
.capability-card:hover { background: #e8f8f6; }
.card-number { color: var(--teal); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; font-weight: 800; }
.capability-card h3 { margin: 2.8rem 0 .65rem; font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.15; }
.capability-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.coming-soon { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 6vw, 4.5rem); color: #f7ffff; background: var(--navy-2); }
.coming-soon h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
.coming-soon p { color: #c0d6e1; }
.coming-pill { flex: 0 0 auto; padding: .55rem .9rem; border: 1px solid rgba(167,242,235,.55); border-radius: 999px; color: var(--teal-soft); font-size: .8rem; font-weight: 750; }

.contact { margin-top: clamp(4.5rem, 10vw, 8rem); margin-bottom: clamp(4.5rem, 10vw, 8rem); padding: clamp(2rem, 6vw, 5rem); background: var(--teal); }
.contact .eyebrow { color: var(--navy); }
.contact p { color: #08454c; }
.button-light { margin-top: 1rem; border-color: var(--navy); background: var(--navy); color: #f8ffff; }
.button-light:hover { background: #123b58; }

.site-footer { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: 1.6rem 0 2.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.brand-footer { color: var(--ink); }
.site-footer p { margin: 0; }

:focus-visible { outline: 3px solid #f4be42; outline-offset: 4px; }
[dir="rtl"] .hero, [dir="rtl"] .section-intro, [dir="rtl"] .capability-card, [dir="rtl"] .contact { text-align: right; }
[dir="rtl"] .hero-line { background: linear-gradient(270deg, var(--teal), transparent); }
[lang="he"] body { font-family: Arial, "Noto Sans Hebrew", "Segoe UI", sans-serif; }
[lang="he"] .eyebrow { font-size: .95rem; font-weight: 800; letter-spacing: .035em; }
[lang="he"] .button { font-size: 1rem; letter-spacing: 0; }
[lang="he"] .eyebrow, [lang="he"] .button { font-family: Tahoma, Arial, sans-serif; }
[lang="he"] .language-switcher { font-family: Tahoma, Arial, sans-serif; font-size: .9rem; }

@media (min-width: 720px) {
  .site-header { width: min(var(--max), calc(100% - 4rem)); }
  .section, .site-footer { width: min(var(--max), calc(100% - 4rem)); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-card { padding: 2.1rem; }
}

@media (max-width: 560px) {
  .site-header { min-height: 75px; }
  .brand img { width: 42px; height: 42px; }
  .brand { font-size: .87rem; }
  .text-link { display: none; }
  .coming-soon { align-items: flex-start; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
