:root {
  --navy: #0d1b3d; --navy-2: #13284f; --ink: #18223a; --muted: #5d6880; --line: #e3e8f1;
  --bg: #ffffff; --soft: #f4f6fa; --silver: #c7cfdc; --accent: #3f66e0; --teal: #1fa597; --gold: #c9a24a;
  --r: 18px; --max: 1120px;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, var(--navy), var(--accent)); display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-size: 19px; }
.brand small { display: block; font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
nav.main { display: flex; gap: 22px; align-items: center; }
nav.main a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
nav.main a:hover, nav.main a[aria-current] { color: var(--accent); }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; font-size: 15px; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--navy); color: #fff; } .btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--silver); } .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 18px; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  nav.main.open { display: flex; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(63,102,224,.16), transparent 60%),
  radial-gradient(700px 380px at -10% 110%, rgba(31,165,151,.12), transparent 60%),
  linear-gradient(180deg, #f8faff, #ffffff); }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.hero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -.02em; color: var(--navy); margin: 0 0 18px; max-width: 14ch; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 58ch; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.orb.a { width: 260px; height: 260px; right: 6%; top: 18%; background: radial-gradient(circle at 30% 30%, #fff, #c8d6ff 60%, transparent 70%); animation: float 9s ease-in-out infinite; }
.orb.b { width: 140px; height: 140px; right: 26%; bottom: 8%; background: radial-gradient(circle at 30% 30%, #fff, #bfeee8 60%, transparent 70%); animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* sections */
section.block { padding: 84px 0; }
section.block.soft { background: var(--soft); }
h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.01em; color: var(--navy); margin: 0 0 12px; line-height: 1.15; }
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; box-shadow: 0 10px 30px rgba(13,27,61,.05); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(13,27,61,.10); }
.card .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: #eef2ff; }
.card h3 { margin: 4px 0 0; font-size: 20px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .more { font-weight: 700; text-decoration: none; margin-top: 4px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #fff4dc; color: #8a6312; width: max-content; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.values { display: grid; gap: 14px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value b { color: var(--navy); }
.verse { margin: 0; padding: 22px 24px; border-left: 4px solid var(--gold); background: #fbf8f1; border-radius: 0 var(--r) var(--r) 0; }
.verse blockquote { margin: 0; font-family: var(--f-display); font-size: 22px; line-height: 1.45; color: var(--navy); }
.verse figcaption { margin-top: 8px; font-weight: 700; color: var(--muted); font-size: 14px; }
.give { border-radius: 24px; padding: 40px; color: #fff; background: radial-gradient(700px 300px at 90% 0%, rgba(201,162,74,.35), transparent 60%), linear-gradient(140deg, var(--navy), #1c3a74); }
.give h2 { color: #fff; } .give p { color: #d9e2f5; }

/* contact */
form.contact { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { form.contact .row { grid-template-columns: 1fr; } }
form.contact label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
form.contact input, form.contact textarea, form.contact select { font: inherit; padding: 11px 13px; border: 1px solid var(--silver); border-radius: 10px; background: #fff; }
form.contact input:focus, form.contact textarea:focus, form.contact select:focus { outline: 3px solid rgba(63,102,224,.25); border-color: var(--accent); }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 13.5px !important; color: var(--muted); background: var(--soft); padding: 12px; border-radius: 10px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.ok { color: #13734f; font-weight: 700; } .err { color: #a3281b; font-weight: 700; }
.hp { position: absolute; left: -5000px; }

/* legal pages */
.legal { padding: 64px 0 80px; }
.legal h1 { font-family: var(--f-display); color: var(--navy); font-size: clamp(32px, 5vw, 46px); margin: 0 0 6px; }
.legal h2 { font-size: 24px; margin-top: 34px; }
.legal .updated { color: var(--muted); margin: 0 0 28px; }
.legal p, .legal li { max-width: 75ch; }
.callout { background: #eef4ff; border: 1px solid #cfdcff; border-radius: 12px; padding: 14px 16px; }

/* footer */
footer { background: var(--navy); color: #c9d3e8; padding: 48px 0 32px; font-size: 14.5px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }
footer a { color: #fff; text-decoration: none; } footer a:hover { text-decoration: underline; }
footer h4 { color: #fff; margin: 0 0 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer .fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; color: #9fb0cf; font-size: 13px; }

/* motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .orb { animation: none; } html { scroll-behavior: auto; } }
/* decorations always sit behind the words */
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 700px) { .orb.a { width: 150px; height: 150px; right: -40px; top: 10px; opacity: .35; } .orb.b { display: none; } }
/* ITAI logo + real company logos */
.brand-logo { height: 46px; width: auto; border-radius: 8px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.hero-logo { width: 100%; max-width: 440px; justify-self: end; border-radius: 24px; box-shadow: 0 24px 60px rgba(13,27,61,.12); background: #fff; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-logo { justify-self: start; max-width: 300px; } }
.card-logo { height: 56px; width: auto; max-width: 180px; object-fit: contain; object-position: left center; }
.card-logo.mark { height: 48px; }
.hero-logo { height: auto; object-fit: contain; }
.brand-logo { width: auto; }
/* header logo: the full approved logo, proportions kept, clear space */
.top .wrap { height: 88px; }
.brand-logo { height: 64px !important; width: auto !important; border-radius: 0; display: block; }
nav.main { top: 88px; }
@media (max-width: 820px) { .top .wrap { height: 72px; } .brand-logo { height: 52px !important; } nav.main { top: 72px; } }
/* founder story */
.founder-hero { padding: 72px 0 40px; }
.founder-hero .lead { font-weight: 700; color: var(--teal); }
.story .wrap { display: grid; gap: 26px; max-width: 980px; }
.story p { font-size: 18px; margin: 0 0 14px; }
.milestone { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.milestone .year { font-family: var(--f-display); font-size: 34px; font-weight: 600; color: var(--accent); line-height: 1; }
.milestone p { margin: 0; }
.octo-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.octo-story img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); background: #f6f8ff; }
@media (max-width: 860px) { .octo-story { grid-template-columns: 1fr; } .milestone { grid-template-columns: 1fr; gap: 6px; } }
/* ecosystem preview */
.eco-preview { background: linear-gradient(180deg, #f7f9fd, #fff); }
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 900px) { .eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .eco-grid { grid-template-columns: 1fr; } }
.eco-item { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.eco-item:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13,27,61,.1); }
.eco-item img { height: 44px; width: auto; max-width: 160px; object-fit: contain; object-position: left; }
.eco-ico { font-size: 30px; line-height: 44px; }
.eco-item b { color: var(--navy); font-size: 18px; }
.eco-item span:last-child { color: var(--muted); font-size: 15px; }
.eco-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.btn-big { padding: 16px 30px; font-size: 17px; border-radius: 14px; box-shadow: 0 12px 28px rgba(13,27,61,.25); }
.text-link { font-weight: 700; text-decoration: none; }
.top .wrap { height: 92px; }
.brand-logo { height: 74px !important; }
nav.main { top: 92px; }
@media (max-width: 820px) { .top .wrap { height: 74px; } .brand-logo { height: 58px !important; } nav.main { top: 74px; } }
.story .milestone + p, .story-text > p:last-child { margin-top: 18px; }
.hero-logo { max-width: 380px; }
