:root {
  --petrol: #183e3b;
  --petrol-deep: #102f2c;
  --sage: #b8c994;
  --sage-light: #d8e3bb;
  --warm: #f5f1e8;
  --ink: #142724;
  --grey: #8a9a8f;
  --line: rgba(24, 62, 59, 0.18);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.skip-link {
  position: fixed; z-index: 100; top: 12px; right: 12px; padding: 10px 16px;
  background: white; color: var(--petrol); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: fixed; z-index: 50; inset: 0 0 auto 0; height: 86px;
  padding: 0 max(5vw, 28px); display: flex; align-items: center; gap: 52px;
  color: var(--warm); border-bottom: 1px solid rgba(245,241,232,.16);
  transition: background .3s ease, height .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { height: 70px; background: rgba(16,47,44,.9); backdrop-filter: blur(15px); }
.brand { margin-left: auto; width: 124px; padding: 5px 10px; border-radius: 999px; background: rgba(16,47,44,.72); }
.brand img { width: 100%; height: 38px; object-fit: contain; object-position: right center; }
.site-header nav { display: flex; gap: 34px; font-size: 14px; }
.site-header nav a { opacity: .75; transition: opacity .2s ease; }
.site-header nav a:hover { opacity: 1; }
.language-toggle {
  width: 42px; height: 42px; border: 1px solid rgba(245,241,232,.4); border-radius: 50%;
  color: var(--warm); background: transparent; cursor: pointer; font: 600 11px "Manrope", sans-serif;
  transition: background .2s ease, color .2s ease;
}
.language-toggle:hover { background: var(--sage); color: var(--petrol); }
.header-cta { border: 1px solid rgba(245,241,232,.65); border-radius: 999px; padding: 10px 18px; font-size: 13px; }

.hero {
  position: relative; min-height: 100svh; overflow: hidden; display: grid;
  grid-template-columns: 56% 44%; background: var(--petrol); color: var(--warm);
}
.hero-pattern { grid-column: 1; background: url("./assets/vita-pattern.jpg") center/cover no-repeat; min-height: 100svh; }
.hero-copy {
  grid-column: 2; grid-row: 1; align-self: center; padding: 150px clamp(40px,7vw,110px) 90px 50px;
}
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--sage); font-size: 13px; letter-spacing: .04em; }
.eyebrow > span:first-child { display: block; flex: 0 0 44px; width: 44px; height: 1px; background: currentColor; }
.hero h1 { margin: 26px 0 24px; font-size: clamp(58px,7.2vw,112px); line-height: .98; letter-spacing: -.05em; font-weight: 500; }
.hero h1 em { color: var(--sage); font-style: normal; }
.hero-copy > p { max-width: 540px; color: rgba(245,241,232,.74); font-size: clamp(18px,1.5vw,23px); line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 25px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.button-light { background: var(--warm); color: var(--petrol); }
.text-link { font-size: 15px; color: var(--sage-light); }
.text-link > span:last-child { display: inline-block; margin-inline-start: 6px; }
.hero-stamp {
  position: absolute; left: 40px; bottom: 36px; width: 130px; height: 130px;
  border: 1px solid rgba(24,62,59,.5); border-radius: 50%; display: grid; place-content: center;
  text-align: center; color: var(--petrol); background: rgba(245,241,232,.55); backdrop-filter: blur(6px);
}
.hero-stamp span { font: 600 25px "Manrope", sans-serif; letter-spacing: .18em; }
.hero-stamp small { font: 500 7px "Manrope", sans-serif; letter-spacing: .19em; margin-top: 5px; }

.section-pad { max-width: var(--max); margin: 0 auto; padding: 120px 38px; }
.section-index { font: 500 12px "IBM Plex Sans Arabic", sans-serif; color: var(--grey); letter-spacing: .04em; margin-bottom: 55px; }
.manifesto-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 10vw; }
.manifesto h2, .system h2 { margin: 0; font-size: clamp(48px,6vw,88px); line-height: 1.18; letter-spacing: -.045em; font-weight: 500; }
.manifesto h2 span { color: var(--grey); }
.manifesto-copy > p { margin: 6px 0 54px; font-size: 21px; line-height: 1.95; color: #425a55; }
.values { border-top: 1px solid var(--line); }
.values > div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.values b { color: var(--petrol); }
.values span { color: #62726e; }

.product-story { min-height: 820px; display: grid; grid-template-columns: 58% 42%; background: var(--petrol-deep); color: var(--warm); }
.product-photo { position: relative; min-height: 760px; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.photo-label { position: absolute; right: 28px; bottom: 24px; padding: 9px 13px; background: rgba(245,241,232,.86); color: var(--petrol); font: 600 10px "Manrope", sans-serif; letter-spacing: .12em; }
.product-copy { align-self: center; padding: 90px clamp(40px,7vw,110px); }
.product-copy .section-index { color: var(--sage); margin-bottom: 34px; }
.product-copy h2 { font-size: clamp(48px,5.2vw,78px); line-height: 1.15; font-weight: 500; margin: 0 0 28px; }
.product-copy > p { color: rgba(245,241,232,.72); line-height: 1.9; font-size: 18px; }
.product-copy ul { list-style: none; padding: 0; margin: 38px 0 22px; border-top: 1px solid rgba(245,241,232,.18); }
.product-copy li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(245,241,232,.18); }
.product-copy li > span:first-child { color: var(--sage); font: 500 11px "Manrope", sans-serif; }
.product-copy .product-note { color: var(--sage); font-size: 12px; }

.quote-band { min-height: 380px; padding: 78px 7vw; display: grid; grid-template-columns: 1fr 180px 1fr; align-items: center; background: var(--sage); }
.quote-band p { margin: 0; font: 400 clamp(38px,4.7vw,72px)/1.14 "Manrope", sans-serif; letter-spacing: -.04em; direction: ltr; }
.quote-band .arabic-quote { font-family: "IBM Plex Sans Arabic", sans-serif; direction: rtl; text-align: right; }
.pulse-line { height: 150px; display: grid; place-content: center; }
.pulse-line span { display: block; width: 1px; height: 110px; background: rgba(24,62,59,.35); }

.system-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: 10vw; align-items: end; margin-bottom: 62px; }
.system-head p { font-size: 21px; line-height: 1.9; color: #4a615c; margin: 0 0 8px; }
.system-image { position: relative; border-radius: 3px; overflow: hidden; background: #ddd; }
.system-image img { width: 100%; aspect-ratio: 2.05/1; object-fit: cover; }
.image-tag { position: absolute; left: 0; bottom: 0; min-width: 220px; padding: 20px 26px; background: var(--petrol); color: var(--warm); display: grid; gap: 5px; }
.image-tag small { font: 500 9px "Manrope", sans-serif; letter-spacing: .15em; color: var(--sage); }

.why-vita { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding-top: 20px; }
.why-card { min-height: 330px; border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; }
.why-card.featured { background: var(--petrol); color: var(--warm); }
.card-number { margin-bottom: auto; font: 500 11px "Manrope", sans-serif; color: var(--grey); }
.featured .card-number { color: var(--sage); }
.why-card h3 { font-size: 27px; margin: 0 0 14px; }
.why-card p { margin: 0; line-height: 1.75; color: #61736e; }
.featured p { color: rgba(245,241,232,.68); }

.waitlist { min-height: 720px; display: grid; grid-template-columns: 50% 50%; background: var(--petrol); color: var(--warm); }
.waitlist-art { background: url("./assets/vita-pattern.jpg") center/cover no-repeat; }
.waitlist-copy { padding: 110px clamp(42px,7vw,110px); align-self: center; }
.eyebrow.light { color: var(--sage); }
.waitlist h2 { margin: 25px 0 20px; font-size: clamp(54px,6.2vw,90px); line-height: 1.12; font-weight: 500; letter-spacing: -.04em; }
.waitlist-copy > p { color: rgba(245,241,232,.72); font-size: 19px; }
form { display: flex; border-bottom: 1px solid rgba(245,241,232,.48); margin-top: 42px; }
form input { flex: 1; min-width: 0; padding: 16px 0; color: var(--warm); background: transparent; border: 0; outline: 0; }
form input::placeholder { color: rgba(245,241,232,.48); }
form button { color: var(--petrol); background: var(--sage); border: 0; padding: 10px 22px; cursor: pointer; font-weight: 600; }
.form-message { min-height: 24px; margin: 14px 0 0; color: var(--sage) !important; font-size: 14px !important; }
.preview-note { display: block; margin-top: 18px; color: rgba(245,241,232,.38); font-size: 10px; }

footer { padding: 50px max(5vw,28px) 28px; background: var(--petrol-deep); color: var(--warm); }
footer > img { width: 140px; height: 46px; object-fit: contain; object-position: right; }
footer > p { margin: 32px 0 30px; font-size: 25px; color: var(--sage); }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 40px; font-size: 14px; }
.legal-links a { color: rgba(245,241,232,.72); border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.legal-links a:hover { color: var(--warm); border-color: var(--sage); }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(245,241,232,.14); color: rgba(245,241,232,.5); font: 500 10px "Manrope", sans-serif; letter-spacing: .11em; direction: ltr; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

html[dir="ltr"] body { font-family: "Manrope", "IBM Plex Sans Arabic", system-ui, sans-serif; }
html[dir="ltr"] .brand { margin-left: 0; margin-right: auto; }
html[dir="ltr"] .hero-copy { padding: 150px 50px 90px clamp(40px,7vw,110px); }
html[dir="ltr"] .hero h1 { letter-spacing: -.065em; }
html[dir="ltr"] .arabic-quote { direction: ltr; text-align: left; font-family: "Manrope", sans-serif; }
html[dir="ltr"] .footer-meta { direction: ltr; }

@media (max-width: 1100px) {
  .site-header nav { display: none; }
}

@media (max-width: 900px) {
  .site-header { gap: 18px; }
  .language-toggle { width: 38px; height: 38px; flex: 0 0 auto; }
  .header-cta { font-size: 11px; padding: 9px 13px; }
  .brand { width: 104px; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { order: 1; width: 100%; min-height: 670px; padding: 135px 28px 70px; }
  html[dir="ltr"] .hero-copy { padding: 135px 28px 70px; }
  .hero-pattern { order: 2; width: 100%; min-height: 480px; }
  .hero h1 { font-size: clamp(58px,18vw,82px); }
  .hero-copy > p { max-width: 560px; font-size: 17px; }
  .hero-stamp { display: none; }
  .section-pad { padding: 85px 24px; }
  .manifesto-grid, .system-head { grid-template-columns: 1fr; gap: 44px; }
  .product-story { grid-template-columns: 1fr; }
  .product-photo { min-height: 520px; }
  .product-copy { padding: 74px 28px 82px; }
  .quote-band { grid-template-columns: 1fr; gap: 48px; padding: 72px 28px; }
  .pulse-line { display: none; }
  .why-vita { grid-template-columns: 1fr; }
  .why-card { min-height: 260px; }
  .waitlist { grid-template-columns: 1fr; }
  .waitlist-art { min-height: 430px; }
  .waitlist-copy { padding: 80px 28px; }
}

@media (max-width: 520px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .manifesto h2, .system h2 { font-size: 45px; }
  .product-photo { min-height: 400px; }
  .system-image img { aspect-ratio: 1/1.05; }
  .image-tag { min-width: 185px; }
  form { flex-direction: column; border: 0; gap: 10px; }
  form input { border-bottom: 1px solid rgba(245,241,232,.48); }
  form button { min-height: 50px; }
  .footer-meta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
