/* =========================================================
   Clause & Code — AI Client Engine  v17
   ========================================================= */

:root {
  --bg: #f6f8fc;
  --bg-2: #eef3fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-dark: #0f5f84;
  --surface-dark-2: #0b5376;
  --ink: #12314a;
  --ink-soft: #426178;
  --ink-faint: #6e879d;
  --line: rgba(18, 49, 74, 0.1);
  --line-strong: rgba(18, 49, 74, 0.16);
  --gold: #e3b037;
  --gold-strong: #d89b16;
  --blue: #2d6d8b;
  --blue-deep: #194b67;
  --mint: #dff4f8;
  --lav: #edf1ff;
  --shadow: 0 24px 60px rgba(44, 78, 108, 0.12);
  --shadow-soft: 0 14px 34px rgba(44, 78, 108, 0.09);
  --radius-xl: 42px;
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --wrap: 1220px;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(227, 176, 55, 0.16), transparent 60%),
    radial-gradient(800px 520px at 100% 8%, rgba(133, 208, 235, 0.18), transparent 58%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fc 44%, #eef3fb 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: auto;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* heading sheen on hover */
h1, h2, h3 {
  background-image: linear-gradient(100deg, var(--blue) 0%, var(--gold) 50%, var(--blue) 100%);
  background-size: 220% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
}
h1:hover, h2:hover, h3:hover {
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: headingSheen 1.6s linear infinite;
}
@keyframes headingSheen { to { background-position: 220% center; } }
::selection { background: rgba(227, 176, 55, 0.32); color: var(--ink); }

main { position: relative; padding-top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.island-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

/* ---- Buttons ---- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, var(--gold) 0%, #db9f24 100%);
  color: #18222d;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 30px rgba(227, 176, 55, 0.28);
  /* smooth slide-up only — no magnetic jitter */
  transition: transform 0.22s cubic-bezier(.22,.61,.36,1), box-shadow 0.22s ease;
  cursor: pointer;
}
.pill-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(227, 176, 55, 0.38);
}
.pill-btn:active { transform: translateY(-1px); }

.pill-btn.ghost-dark {
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1px rgba(45, 109, 139, 0.16);
}
.pill-btn.ghost-dark:hover {
  box-shadow: inset 0 0 0 1px rgba(45, 109, 139, 0.28), 0 10px 24px rgba(45,109,139,0.12);
}

.pill-btn.header-btn {
  min-height: 46px;
  padding: 12px 22px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(25, 75, 103, 0.18);
  transition: border-color 0.18s ease;
  cursor: pointer;
}
.text-link:hover { border-color: rgba(25, 75, 103, 0.42); }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(45, 109, 139, 0.12);
  color: var(--blue-deep);
  box-shadow: var(--shadow-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

section { padding: 104px 0; }


/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 14px;
  z-index: 80;
  padding: 0 16px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  isolation: isolate;
}

.site-nav .inner {
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: 88px; /* +10px from 78px */
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* transparent at top */
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: min-height 0.3s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

/* scrolled → white capsule */
.site-nav.scrolled .inner {
  min-height: 72px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-color: rgba(18, 49, 74, 0.08);
  box-shadow: 0 10px 30px rgba(20, 58, 82, 0.10);
}

.brand-badge,
.footer-brand-badge {
  display: inline-flex;
  align-items: center;
}

.brand-badge img {
  height: 44px;
  width: auto;
  transition: height 0.3s ease;
}
.site-nav.scrolled .brand-badge img { height: 36px; }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 999px;
}

/* ---- Hero ---- */
.hero-section { padding: 24px 16px 0; }

.hero-card {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: 760px;
  border-radius: 48px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch;
  /* Plain white so the white-background hero video blends into the card */
  background: #fff;
}

.hero-card::before {
  content: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 80px 32px 72px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  display: inline-block;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
  max-width: 22ch;
}

.hero-copy h1,
.section-head h2,
.problem-grid h2,
.timeline-card h2,
.invest-copy h2,
.cta-card h2,
.whyus-side p.new {
  font-size: clamp(38px, 4.6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.05;
  max-width: 26ch;
  margin-bottom: 24px;
}

.hero-copy p.lede {
  max-width: 34ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 34px;
}
.hero-copy p.lede strong { color: var(--blue-deep); }

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 34px 40px;
}

.hero-video-shell {
  position: relative;
  z-index: 1;
  width: min(94%, 420px);
  aspect-ratio: 0.566 / 1;
  overflow: hidden;
  /* Frameless: no border, radius or shadow, and a white backing that matches
     both the video's own white background and the hero card behind it. */
  border-radius: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.hero-video-shell video,
.install-demo-phone video {
  width: 100%; height: 100%;
  object-fit: cover;
}

.install-demo-phone {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  background: #0e1620;
  box-shadow: 0 22px 48px rgba(13, 24, 34, 0.22), inset 0 0 0 6px rgba(255,255,255,0.18);
}

.install-demo-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  z-index: 2;
}

.hero-strip {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 24px 28px;
}

.hero-strip span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(45, 109, 139, 0.1);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-strip span b {
  color: var(--blue-deep);
  font-weight: 700;
}

/* ---- Section heads ---- */
.section-head { max-width: 820px; margin-bottom: 40px; }
.install-section .section-head { max-width: none; }
.install-section .section-head h2 { text-wrap: normal; }
.section-head h2 { font-size: clamp(34px, 4vw, 58px); margin-top: 14px; }
.section-head p { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.section-head p strong { color: var(--blue-deep); }

/* ---- Problem ---- */
.problem-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 60px;
  align-items: start;
}
.problem-grid h2 { font-size: clamp(34px, 4vw, 58px); margin-top: 16px; }
.hl { color: var(--blue); }
.hl-gold { color: var(--gold-strong); }

.problem-copy p { margin: 0 0 18px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.problem-copy .stress {
  font-size: 22px; font-weight: 700; line-height: 1.55; color: var(--ink); margin-bottom: 26px;
}
.problem-copy mark {
  color: inherit;
  background: linear-gradient(transparent 58%, rgba(227, 176, 55, 0.36) 58%);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Install ---- */
.install-section { padding: 18px 16px; }

.install-section .wrap {
  max-width: var(--wrap);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  background:
    radial-gradient(560px 220px at 0% 0%, rgba(227, 176, 55, 0.12), transparent 60%),
    radial-gradient(620px 240px at 100% 10%, rgba(92, 191, 226, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(246, 250, 255, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.install-list { display: flex; flex-direction: column; gap: 20px; }

.install-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 109, 139, 0.08);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease;
}
.install-card:hover { box-shadow: 0 34px 70px rgba(44, 78, 108, 0.20); }

.install-num {
  width: 70px; height: 70px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(45, 109, 139, 0.96), rgba(25, 75, 103, 0.96));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 14px 24px rgba(28, 74, 100, 0.18);
}

.install-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
}

.install-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.channel-tile {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(241,247,252,0.92));
  border: 1px solid rgba(45, 109, 139, 0.08);
  transition: box-shadow 0.3s ease;
}
.channel-tile:hover { box-shadow: 0 12px 30px rgba(44,78,108,0.16); }

.ch-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 10px;
}
.ch-title { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.channel-tile p { font-size: 14px; line-height: 1.55; margin: 0; }

.install-note {
  margin: 10px auto 0;
  max-width: 62ch;
  padding: 0 8px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-faint);
}

/* Expandable install cards */
.install-content { min-width: 0; }
.install-title-h { margin: 0; }
.install-title-static {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.exp-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0; margin: 0;
  background: none; border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.exp-head-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.install-title-text { font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.install-teaser { font-size: 15px; line-height: 1.5; color: var(--ink-soft); font-weight: 500; }

.exp-icon {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--mint);
  border: 1px solid rgba(45, 109, 139, 0.22);
  box-shadow: 0 2px 6px rgba(45, 109, 139, 0.12);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.exp-icon::before, .exp-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2.5px;
  border-radius: 2px;
  background: var(--blue-deep);
  transform: translate(-50%, -50%);
}
.exp-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s ease; }
.exp.open .exp-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.exp-head:hover .exp-icon { background: #c7ebf1; border-color: var(--blue); transform: scale(1.08); }
.exp-head:hover .install-title-text { color: var(--blue-deep); }
.exp.open .exp-icon { background: var(--blue); border-color: var(--blue); }
.exp.open .exp-icon::before,
.exp.open .exp-icon::after { background: #fff; }

.exp-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.exp.open .exp-panel { grid-template-rows: 1fr; }
.exp-inner { overflow: hidden; }
.exp-inner > :first-child { margin-top: 14px; }

/* Flow steps — card 04, always visible */
.flow-steps-always { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.flow-step-row {
  border: 1px solid rgba(45, 109, 139, 0.12);
  border-radius: 14px;
  background: rgba(237, 247, 252, 0.55);
  padding: 16px 18px;
}
.flow-step-row .flow-step-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: block;
  margin-bottom: 8px;
}
.flow-step-row p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---- Timeline ---- */
.timeline-section { padding: 44px 16px; }

.timeline-card {
  max-width: var(--wrap);
  margin: 0 auto;
  border-radius: 44px;
  padding: 56px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: center;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(95, 196, 232, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(242,247,253,0.92));
}

.timeline-card h2 { font-size: clamp(34px, 4vw, 56px); margin-top: 16px; }

.timeline-panel {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 109, 139, 0.08);
}
.timeline-panel p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.timeline-panel p em { font-style: normal; font-weight: 800; color: var(--ink); }

.timeline-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.timeline-tags span {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(45, 109, 139, 0.12);
  color: var(--blue-deep);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}
.timeline-tags span::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---- Why Us — redesigned ---- */
.whyus-section { padding: 104px 0; }

.whyus-head {
  max-width: 780px;
  margin-bottom: 52px;
}
.whyus-title {
  margin: 12px 0 16px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
}
.whyus-lead {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink-soft);
}

.whyus-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.whyus-pillar {
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(45, 109, 139, 0.09);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.28s ease, transform 0.22s cubic-bezier(.22,.61,.36,1);
}
.whyus-pillar:hover {
  box-shadow: 0 28px 56px rgba(44, 78, 108, 0.18);
  transform: translateY(-3px);
}

.whyus-pillar.tint-amber {
  background: linear-gradient(160deg, rgba(227, 176, 55, 0.14), rgba(255, 255, 255, 0.5));
  border-color: rgba(227, 176, 55, 0.26);
}
.whyus-pillar.tint-teal {
  background: linear-gradient(160deg, rgba(43, 140, 130, 0.13), rgba(255, 255, 255, 0.5));
  border-color: rgba(43, 140, 130, 0.24);
}
.whyus-pillar.tint-gray {
  background: linear-gradient(160deg, rgba(18, 49, 74, 0.07), rgba(255, 255, 255, 0.5));
  border-color: rgba(18, 49, 74, 0.13);
}

.whyus-pillar-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(45, 109, 139, 0.12), rgba(25, 75, 103, 0.08));
  border: 1px solid rgba(45, 109, 139, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  margin: 0 auto 20px;
}

.whyus-pillar.tint-amber .whyus-pillar-icon {
  background: linear-gradient(180deg, rgba(227, 176, 55, 0.24), rgba(227, 176, 55, 0.1));
  border-color: rgba(227, 176, 55, 0.34);
  color: var(--gold-strong);
}
.whyus-pillar.tint-teal .whyus-pillar-icon {
  background: linear-gradient(180deg, rgba(43, 140, 130, 0.22), rgba(43, 140, 130, 0.09));
  border-color: rgba(43, 140, 130, 0.32);
  color: #1f6b63;
}
.whyus-pillar.tint-gray .whyus-pillar-icon {
  background: linear-gradient(180deg, rgba(18, 49, 74, 0.11), rgba(18, 49, 74, 0.04));
  border-color: rgba(18, 49, 74, 0.16);
  color: var(--ink-soft);
}

.whyus-pillar h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.whyus-pillar p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.whyus-compare-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 30px 36px;
  border-radius: 28px;
  background:
    radial-gradient(520px 200px at 0% 0%, rgba(227, 176, 55, 0.12), transparent 58%),
    radial-gradient(420px 180px at 100% 0%, rgba(93, 191, 227, 0.12), transparent 56%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 109, 139, 0.08);
  box-shadow: var(--shadow-soft);
}

.whyus-strip-then,
.whyus-strip-now { display: flex; flex-direction: column; gap: 8px; }
.whyus-strip-now { text-align: right; }

.whyus-strip-divider {
  font-size: 26px;
  color: var(--gold-strong);
  font-weight: 800;
  flex: none;
  padding: 0 8px;
}

.whyus-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.whyus-compare-strip p {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.strike { text-decoration: line-through; color: var(--ink-faint); }

/* ---- FAQ ---- */
.faq-section { padding: 44px 0 60px; }

.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item { padding: 0; overflow: hidden; transition: box-shadow 0.3s ease; }
.faq-item:hover { box-shadow: 0 28px 60px rgba(44, 78, 108, 0.18); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(45, 109, 139, 0.1);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--blue-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }

.faq-answer { padding: 0 30px 26px; }
.faq-answer p { margin: 0; max-width: 74ch; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }

/* ---- CTA ---- */
.cta-section { padding: 44px 16px 0; }

.cta-card {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  border-radius: 48px;
  padding: 66px 54px;
  text-align: center;
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(95, 196, 232, 0.18), transparent 60%),
    radial-gradient(520px 240px at 0% 0%, rgba(227, 176, 55, 0.16), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(239,245,251,0.92));
}

.cta-card h2 { font-size: clamp(34px, 4vw, 54px); margin: 0 auto 18px; max-width: 18ch; }
.cta-card p { margin: 0 auto 30px; max-width: 46ch; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.cta-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---- Footer ---- */
.site-footer {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding: 32px 22px 0;
  border-top: 1px solid var(--line);
}

.footer-main { margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

.footer-logo-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-links { display: flex; align-items: center; gap: 24px; }

.footer-brand-badge img {
  height: 40px;
  width: auto;
}

.footer-lang {
  /* language switch sitting under logo */
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(18, 49, 74, 0.07);
}

.footer-copy {
  margin: 0;
  color: var(--ink-faint);
  font-size: 13.5px;
}

.footer-tag {
  margin: 0;
  color: var(--ink-faint);
  font-size: 13.5px;
  text-align: right;
}

/* ---- Lang switch ---- */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 49, 74, 0.12);
}
.lang-opt {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: 'IBM Plex Sans Arabic', var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 11px;
  min-width: 34px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang-opt:hover { color: var(--ink); }
.lang-opt.is-active { background: var(--blue); color: #fff; }
.lang-opt:focus-visible { outline: 2px solid rgba(45,109,139,0.6); outline-offset: 2px; }

/* ---- Contact page ---- */
.contact-page { padding: 26px 16px 44px; }
.contact-shell { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 24px; }
.contact-hero, .contact-grid, .contact-note { border-radius: 40px; padding: 44px; }
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(95, 196, 232, 0.16), transparent 58%),
    radial-gradient(420px 180px at 0% 0%, rgba(227, 176, 55, 0.14), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(241,247,253,0.92));
}
.contact-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.contact-hero p { margin: 0; max-width: 34ch; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.contact-hero-art { display: flex; justify-content: center; }
.contact-hero-art img { max-height: 260px; width: auto; object-fit: contain; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: rgba(255, 255, 255, 0.76);
}
.contact-option {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(45, 109, 139, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.3s ease;
}
.contact-option:hover { box-shadow: 0 20px 44px rgba(44,78,108,0.18); }
.contact-option .small-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.contact-option h3 { margin: 0; font-size: 24px; line-height: 1.08; font-weight: 800; }
.contact-option p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.contact-link { font-size: 15px; font-weight: 800; color: var(--blue-deep); word-break: break-word; }
.contact-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  background: rgba(255,255,255,0.78);
}
.contact-note h2 { margin: 12px 0 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }
.contact-note p, .contact-note li { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.contact-note ul { margin: 0; padding-left: 20px; }

/* ---- Blog index ---- */
.blog-page { padding: 26px 16px 60px; }
.blog-shell { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 56px; }
.blog-hero { border-radius: 40px; padding: 44px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(95, 196, 232, 0.16), transparent 58%),
    radial-gradient(420px 180px at 0% 0%, rgba(227, 176, 55, 0.14), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(241,247,253,0.92));
}
.blog-hero h1 { margin: 14px 0 12px; font-size: clamp(34px, 4vw, 54px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; }
.blog-hero p { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }

/* Each reading-journey group gets its own labeled section instead of
   one undifferentiated grid — start here, then problem, then solution,
   then proof, with the interactive tool called out on its own. */
.blog-section { display: grid; gap: 16px; padding: 0; }
.blog-section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.blog-section-head h2 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-deep); font-family: var(--mono); }
.blog-section-head p { margin: 0; font-size: 14px; color: var(--ink-faint); }

.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.blog-grid.is-single { grid-template-columns: 1fr; }
@media (min-width: 1000px) {
  .blog-grid.is-triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.blog-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(45, 109, 139, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.3s ease, transform 0.22s cubic-bezier(.22,.61,.36,1);
}
.blog-card:hover { box-shadow: 0 20px 44px rgba(44,78,108,0.18); transform: translateY(-2px); }
.blog-card.is-pillar { background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(241,247,253,0.92)); border-color: rgba(227, 176, 55, 0.35); }
.blog-card .small-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
}
.blog-card .small-label.pillar { color: var(--gold-strong); }
.blog-card h3 { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 800; }
.blog-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.blog-card .text-link { margin-top: auto; }

/* Featured tool card — the checklist is an interactive scoring tool,
   not just another article, so it gets a distinct full-width treatment. */
.blog-feature {
  padding: 36px;
  border-radius: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: linear-gradient(120deg, rgba(227, 176, 55, 0.12), rgba(95, 196, 232, 0.1));
  border: 1px solid rgba(227, 176, 55, 0.35);
  transition: box-shadow 0.3s ease, transform 0.22s cubic-bezier(.22,.61,.36,1);
}
.blog-feature:hover { box-shadow: 0 20px 44px rgba(44,78,108,0.18); transform: translateY(-2px); }
.blog-feature-icon {
  width: 56px; height: 56px; border-radius: 18px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: #18222d; font-size: 24px; font-weight: 800;
}
.blog-feature-body h3 { margin: 6px 0 8px; font-size: 24px; line-height: 1.15; font-weight: 800; }
.blog-feature-body p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 60ch; }
.blog-feature .pill-btn { flex-shrink: 0; }

/* Not-yet-written posts stay linked (so nothing 404s) but read as
   drafts rather than finished articles, so a visitor isn't surprised
   by placeholder text. */
.blog-card.is-draft { opacity: 0.55; }
.blog-card.is-draft:hover { opacity: 0.85; }
.blog-card .draft-badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); background: rgba(110, 135, 157, 0.12); border-radius: 999px;
  padding: 3px 10px; margin-left: auto;
}

/* ---- Blog post ---- */
.post-page { padding: 26px 16px 60px; }
.post-shell { max-width: 780px; margin: 0 auto; display: grid; gap: 24px; }
.post-hero { border-radius: 40px; padding: 44px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(95, 196, 232, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(241,247,253,0.92));
}
.post-hero h1 { margin: 14px 0 12px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.post-hero .post-meta { margin: 0; font-size: 14px; color: var(--ink-faint); font-family: var(--mono); }

.post-body { padding: 44px; border-radius: 40px; background: rgba(255,255,255,0.82); }
.post-body p { margin: 0 0 20px; font-size: 17px; line-height: 1.75; color: var(--ink-soft); }

/* Long-form headings: readable, not the marketing-page sheen/hover effect —
   too much motion across 6+ headings in one article. */
.post-body h2, .post-body h3 {
  background-image: none;
  -webkit-text-fill-color: initial;
  color: var(--ink);
}
.post-body h2:hover, .post-body h3:hover { animation: none; color: var(--ink); }
.post-body h2 { margin: 44px 0 16px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 800; }
.post-body h2:first-of-type { margin-top: 0; }
.post-body h3 { margin: 28px 0 14px; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.3; font-weight: 800; color: var(--blue-deep); }

.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.post-body li { margin-bottom: 8px; }
.post-body li > strong:first-child { color: var(--ink); }

.post-body a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(45, 109, 139, 0.4); font-weight: 600; }
.post-body a:hover { text-decoration-color: var(--blue-deep); }

.post-body blockquote {
  margin: 24px 0;
  padding: 20px 26px;
  border-left: 3px solid var(--gold);
  background: rgba(227, 176, 55, 0.08);
  border-radius: 0 16px 16px 0;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--ink);
}
.post-body blockquote p { margin: 0; font-size: inherit; color: inherit; }

.post-callout {
  margin: 0 0 24px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(241,247,253,0.9));
  border: 1px solid rgba(227, 176, 55, 0.3);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.post-callout strong { color: var(--blue-deep); }

.post-byline { margin: 0; font-size: 13px; font-family: var(--mono); color: var(--ink-faint); display: flex; gap: 10px; flex-wrap: wrap; }
.post-byline .dot::before { content: "·"; margin-right: 10px; }

.post-table-wrap { overflow-x: auto; margin: 0 0 20px; border-radius: 18px; border: 1px solid rgba(45, 109, 139, 0.12); }
.post-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-table th, .post-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid rgba(45, 109, 139, 0.1); }
.post-table th { background: rgba(45, 109, 139, 0.06); font-weight: 800; color: var(--ink); }
.post-table td { color: var(--ink-soft); }
.post-table tr:last-child td { border-bottom: none; }

.post-cta { margin-top: 8px; padding: 32px; border-radius: 28px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(241,247,253,0.92)); border: 1px solid rgba(227, 176, 55, 0.3); }
.post-cta p { margin: 0 0 18px; color: var(--ink-soft); }

.post-related { padding: 32px 44px; border-radius: 28px; background: rgba(255,255,255,0.76); }
.post-related h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.post-related p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.post-related ul { margin: 0; padding-left: 20px; }
.post-related li { margin-bottom: 8px; font-size: 15px; }

.blog-back { padding: 4px 0; }

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-feature { grid-template-columns: auto 1fr; }
  .blog-feature .pill-btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .blog-hero, .post-hero, .post-body, .post-related { padding: 28px 22px; border-radius: 28px; }
  .post-cta { padding: 24px; }
  .blog-feature { padding: 24px; grid-template-columns: 1fr; text-align: center; }
  .blog-feature-icon { margin: 0 auto; }
  .blog-shell { gap: 40px; }
}

/* ---- Calendar modal ---- */
.cal-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.cal-modal.open { display: block; }
.cal-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(9, 24, 36, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cal-modal-dialog {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 94vw);
  height: min(760px, 90vh);
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(9, 24, 36, 0.35);
  display: flex;
  flex-direction: column;
}
.cal-modal-close {
  position: absolute; top: 10px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border: none; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink); font-size: 26px; line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(9, 24, 36, 0.18);
}
.cal-modal-close:hover { background: #fff; }
.cal-modal-langs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  padding: 16px 64px 14px 20px;
  border-bottom: 1px solid rgba(18, 49, 74, 0.08);
  background: rgba(223, 244, 248, 0.55);
}
.cal-langs-label { font-size: 13px; font-weight: 700; color: var(--blue-deep); }
.cal-lang-group {
  display: inline-flex; gap: 4px; padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(18, 49, 74, 0.1);
}
.cal-lang {
  border: none; background: transparent; color: var(--ink-soft);
  border-radius: 999px; padding: 9px 20px;
  font-size: 14px; font-weight: 700; font-family: var(--sans);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.cal-lang:hover { color: var(--ink); }
.cal-lang.is-active { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(45, 109, 139, 0.3); }
.cal-modal-body { flex: 1; min-height: 0; }
.cal-modal-body iframe { width: 100%; height: 100%; border: none; display: block; }

/* ---- Scroll progress ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  z-index: 300; pointer-events: none;
}

/* ---- Hero entrance ---- */
.has-js .hero-kicker,
.has-js .hero-copy h1,
.has-js .hero-copy .lede,
.has-js .hero-ctas,
.has-js .hero-strip,
.has-js .hero-video-shell {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
}
.has-js .hero-video-shell { transform: translateY(20px) scale(.98); }
.has-js .hero-kicker { transition-delay: .05s; }
.has-js .hero-copy h1 { transition-delay: .13s; }
.has-js .hero-copy .lede { transition-delay: .22s; }
.has-js .hero-ctas { transition-delay: .32s; }
.has-js .hero-strip { transition-delay: .44s; }
.has-js .hero-video-shell { transition-delay: .18s; }
.has-js.loaded .hero-kicker,
.has-js.loaded .hero-copy h1,
.has-js.loaded .hero-copy .lede,
.has-js.loaded .hero-ctas,
.has-js.loaded .hero-strip,
.has-js.loaded .hero-video-shell { opacity: 1; transform: none; }

/* ---- Scroll reveal ---- */
.has-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.has-js .reveal.is-in { opacity: 1; transform: none; }

/* ---- Button shine sweep ---- */
.pill-btn { position: relative; overflow: hidden; }
.pill-btn::after {
  content: "";
  position: absolute; top: 0; left: -85%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
  pointer-events: none;
}
.pill-btn:hover::after { left: 150%; }
.pill-btn:focus-visible,
.text-link:focus-visible,
.nav-item:focus-visible { outline: 3px solid rgba(45, 109, 139, 0.55); outline-offset: 3px; }

/* ---- Hero aurora ---- */
/* Disabled: the hero card is plain white so the video blends seamlessly. */
.hero-card::after {
  content: none;
}

/* FAQ answer reveal */
.faq-item[open] .faq-answer { animation: faqReveal .35s ease; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Connected flow rows slide in */
.flow-row { position: relative; }
.has-js .flow-row {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .5s ease, transform .5s ease;
}
.has-js .flow-rows.is-in .flow-row { opacity: 1; transform: none; }
.has-js .flow-rows.is-in .flow-row:nth-child(1) { transition-delay: .10s; }
.has-js .flow-rows.is-in .flow-row:nth-child(2) { transition-delay: .28s; }
.has-js .flow-rows.is-in .flow-row:nth-child(3) { transition-delay: .46s; }
.has-js .flow-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -13px;
  width: 2px;
  height: 13px;
  background: linear-gradient(180deg, var(--gold), rgba(227, 176, 55, 0.2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s ease;
}
.has-js .flow-rows.is-in .flow-row:nth-child(1)::after { transition-delay: .30s; }
.has-js .flow-rows.is-in .flow-row:nth-child(2)::after { transition-delay: .48s; }
.has-js .flow-rows.is-in .flow-row:not(:last-child)::after { transform: scaleY(1); }

/* RTL */
.nav-right { display: flex; align-items: center; gap: 12px; }
[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'Hanken Grotesk', system-ui, sans-serif; }
[dir="rtl"] .eyebrow,
[dir="rtl"] .flow-step-label,
[dir="rtl"] .whyus-label,
[dir="rtl"] .tag,
[dir="rtl"] .timeline-tags span,
[dir="rtl"] .cal-lang { font-family: 'IBM Plex Sans Arabic', var(--sans); letter-spacing: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
[dir="rtl"] .hero-copy { padding: 92px 64px 84px 28px; }
[dir="rtl"] .footer-tag { text-align: left; }
[dir="rtl"] .exp-head { text-align: right; }
[dir="rtl"] .whyus-strip-now { text-align: left; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .hero-card,
  .timeline-card,
  .contact-hero,
  .contact-note,
  .problem-grid { grid-template-columns: 1fr; }

  /* reset hero card height so it doesn't force extra white space */
  .hero-card { min-height: 0; }

  /* copy stacks first, video below */
  .hero-copy { order: 1; padding: 64px 48px 32px; text-align: center; }
  .hero-kicker, .hero-copy h1, .hero-copy p.lede { margin-left: auto; margin-right: auto; }
  .hero-visual { order: 2; min-height: 0; padding: 0 48px 52px; }

  /* video: centered, generous width */
  .hero-video-shell { width: min(72%, 340px); margin: 0 auto; }

  .problem-grid { gap: 32px; }

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

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  section { padding: 72px 0; }
  .wrap { padding: 0 20px; }

  .site-nav { top: 10px; padding: 0 12px; }
  .site-nav .inner { min-height: 70px; padding: 10px 14px 10px 18px; }
  .brand-badge img { height: 34px; }
  .nav-right { gap: 8px; }
  .header-lang.lang-switch { padding: 2px; gap: 1px; }
  .header-lang .lang-opt { padding: 5px 8px; min-width: 28px; font-size: 11px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; cursor: pointer; }

  .site-nav.open .nav-links {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(18, 49, 74, 0.10);
    box-shadow: 0 24px 38px rgba(20, 58, 82, 0.14);
  }

  /* card radius scale down */
  .hero-card,
  .cta-card,
  .timeline-card,
  .contact-hero,
  .contact-grid,
  .contact-note,
  .install-section .wrap { border-radius: 24px; }

  .whyus-compare-strip { border-radius: 20px; }

  /* hero layout */
  .hero-copy { padding: 52px 32px 24px; }
  .hero-visual { padding: 0 32px 44px; }
  .hero-video-shell { width: min(66%, 280px); }

  .hero-copy h1,
  .section-head h2,
  .problem-grid h2,
  .timeline-card h2,
  .cta-card h2,
  .contact-hero h1 { font-size: clamp(28px, 7.5vw, 48px); }

  .problem-copy .stress { font-size: 19px; }
  .problem-grid { gap: 36px; }

  /* install */
  .install-section { padding: 12px 14px; }
  .install-section .wrap { padding: 36px 24px; }
  .install-card { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
  .install-num { width: 54px; height: 54px; font-size: 19px; border-radius: 14px; }
  .install-title-text { font-size: 18px; }
  .channel-grid { grid-template-columns: 1fr; }

  /* timeline */
  .timeline-section { padding: 36px 14px; }
  .timeline-card { padding: 36px 28px; gap: 28px; }

  /* why us */
  .whyus-section { padding: 72px 0; }
  .whyus-pillars { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .whyus-pillar { padding: 26px 22px; }
  .whyus-compare-strip { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
  .whyus-strip-now { text-align: left; }
  .whyus-strip-divider { display: none; }

  /* faq */
  .faq-section { padding: 36px 0 44px; }

  /* cta */
  .cta-section { padding: 36px 14px 0; }
  .cta-card { padding: 48px 28px; }
  .cta-ctas, .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .pill-btn, .cta-ctas .pill-btn { width: 100%; justify-content: center; }
  .hero-ctas .text-link { align-self: center; width: auto; }

  /* footer */
  .site-footer { padding-left: 12px; padding-right: 12px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
  .footer-tag { text-align: center; }

  .contact-option { padding: 20px; }

  [dir="rtl"] .hero-copy { padding-left: 32px; padding-right: 32px; }
}

/* tablet: keep hero side by side like desktop, just shorter */
@media (min-width: 621px) and (max-width: 1100px) {
  .hero-card { grid-template-columns: 1.1fr 0.9fr; min-height: 0; }
  .hero-copy { order: 0; padding: 44px 24px 40px 36px; }
  .hero-visual { order: 0; padding: 24px 24px 24px 0; min-height: 0; }
  .hero-video-shell { width: min(88%, 210px); }
  .hero-kicker { font-size: 13px; margin-bottom: 12px; }
  .hero-copy h1 { font-size: clamp(22px, 3.2vw, 32px); margin-bottom: 14px; }
  .hero-copy p.lede { font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
  .hero-ctas { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .hero-ctas .pill-btn { width: auto; }
}

@media (max-width: 620px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }

  .site-nav { top: 8px; padding: 0 10px; }
  .site-nav .inner { min-height: 62px; padding: 8px 12px 8px 14px; }
  .brand-badge img { height: 28px; }
  .nav-right { gap: 6px; }
  .pill-btn.header-btn { padding: 10px 16px; font-size: 13px; }

  /* section side padding (for sections that have their own padding-left/right) */
  .hero-section { padding: 12px 10px 0; }
  .install-section { padding: 10px 10px; }
  .timeline-section { padding: 28px 10px; }
  .whyus-section { padding: 56px 0; }
  .faq-section { padding: 28px 0 40px; }
  .cta-section { padding: 28px 10px 0; }

  /* hero */
  .hero-copy { padding: 36px 22px 20px; }
  .hero-visual { padding: 0 22px 36px; }

  /* Stacked layout only: the video file carries ~8.8% empty white at the top,
     which the old dark frame used to contain. Frameless, that void reads as a
     gap between the CTAs and the artwork. Shorten the shell by exactly that
     amount and anchor the video to the bottom, so `object-fit: cover` trims the
     empty strip and the artwork starts right under the CTAs. Nothing of the
     picture is lost and the box stays clear of the buttons. */
  .hero-video-shell {
    width: min(74%, 220px);
    aspect-ratio: 0.566 / 0.9116;
  }
  .hero-video-shell video { object-position: center bottom; }
  .hero-strip { gap: 10px; padding: 6px 16px 12px; }
  .hero-strip span { font-size: 10px; padding: 8px 12px; }
  .hero-kicker { font-size: 13.5px; }
  .hero-copy h1 { font-size: clamp(26px, 8vw, 38px); }
  .hero-copy p.lede { font-size: 16px; }

  /* install */
  .install-section .wrap { padding: 28px 18px; border-radius: 20px; }
  .install-card { padding: 18px; }
  .install-num { width: 46px; height: 46px; font-size: 16px; border-radius: 12px; }
  .section-head h2 { font-size: clamp(24px, 7.5vw, 38px); }
  .section-head p { font-size: 16px; }

  /* timeline */
  .timeline-card { padding: 28px 20px; }
  .timeline-tags { grid-template-columns: 1fr; }
  .timeline-tags span { min-height: 42px; font-size: 13px; }

  /* why us */
  .whyus-head { margin-bottom: 36px; }
  .whyus-pillars { grid-template-columns: 1fr; gap: 12px; }
  .whyus-pillar { padding: 22px 18px; }
  .whyus-pillar h3 { font-size: 16px; }
  .whyus-compare-strip { padding: 20px 16px; }
  .whyus-compare-strip p { font-size: 17px; }

  /* faq */
  .faq-item summary { font-size: 15px; padding: 16px 18px; }
  .faq-answer { padding: 0 18px 18px; }
  .faq-answer p { font-size: 15px; }

  /* cta */
  .cta-card { padding: 36px 20px; border-radius: 24px; }
  .cta-card h2 { font-size: clamp(26px, 7.5vw, 40px); }
  .cta-card p { font-size: 16px; }

  /* footer */
  .footer-brand-badge img { height: 30px; }
  .footer-bottom { gap: 6px; }
  .footer-copy, .footer-tag { font-size: 12px; }

  .cal-modal-dialog { width: 100vw; height: 100vh; border-radius: 0; top: 0; left: 0; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .has-js .reveal,
  .has-js .hero-kicker,
  .has-js .hero-copy h1,
  .has-js .hero-copy .lede,
  .has-js .hero-ctas,
  .has-js .hero-strip,
  .has-js .hero-video-shell,
  .has-js .flow-row { opacity: 1 !important; transform: none !important; }
  body { cursor: auto; }
}

@media (hover: none) {
  /* touch devices: restore normal cursor, hide custom */
  body { cursor: auto; }
  a, button { cursor: pointer; }
}
