/* ============================================================
   Faturathi — Oman E-Invoicing Landing Page
   Converted from Figma (file: Faturathi-Proposal, node 98:984)
   Tokens pulled from Figma design context.
   ============================================================ */

:root {
  /* Color tokens (from Figma) */
  --blue: #1e56f0;
  --blue-dark: #003f97;
  --blue-deep: #071a3d;
  --ink: #060f1c;
  --slate: #5a6e85;
  --border: #e2e8f0;
  --mint: #d0ffeb;
  --green: #006f43;
  --green-mid: #22c55e;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;      /* light blue section bg */
  --bg-softer: #eaf1fd;
  --navy: #1b2470;         /* Oman banner */
  --navy-2: #141a54;
  --footer: #0e1b3d;

  /* Type */
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape / shadow */
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-card: 0 18px 45px rgba(7, 26, 61, 0.08);
  --shadow-btn: 0 8px 18px rgba(30, 86, 240, 0.28);

  --container: 1272px;
}

/* Partner Program page: reuse the site shell while retaining its editorial layout. */
.partner-page {
  --teal: var(--green);
  --teal-dark: #005a36;
  --gold: var(--blue);
  --gold-light: #4b7df5;
  --sand: var(--bg-soft);
  --sand-line: var(--border);
  --paper: #fff;
  --slate: #5a6e85;
  --slate-light: #7c8da8;
  --line: var(--border);
}

.partner-page .hero {
  background: radial-gradient(900px 430px at 85% 0%, rgba(27, 177, 117, .24), transparent 62%), linear-gradient(135deg, #071d4d 0%, #0b2f72 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 88px 0 60px;
}

.partner-page .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.partner-page .hero h1 { max-width: none; margin-inline: 0; color: #fff; text-align: left; font-size: clamp(2rem, 4vw, 3rem); }
.partner-page .hero p.lead { color: #d5e1f1; font-size: 1.08rem; max-width: 52ch; }
.partner-page .hero .eyebrow { margin-inline: 0; color: #d8e8ff; }
.partner-page .hero .eyebrow::before { background: #5ed5a2; }
.partner-page .partner-breadcrumb { display: flex; gap: 9px; align-items: center; margin-bottom: 18px; color: #c8d9ef; font-size: .86rem; }
.partner-page .partner-breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.partner-page .partner-breadcrumb a:hover { color: #8ee8bd; }
.partner-page .btn-gold { background: var(--blue); color: #fff; }
.partner-page .btn-gold:hover { background: var(--blue-dark); }
.partner-page .partner-phone { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 10px; }
.partner-page .partner-phone-field { width: 100%; }
.partner-page .partner-phone .country-code { min-width: 0; }
.partner-page .partner-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.partner-page .form-submit:disabled { cursor: wait; opacity: .7; transform: none; }
.partner-page .form-success.error { background: #fff1f0; border-color: #ffc8c3; color: #a52b24; }
.partner-page .optional-label { color: #71839d; font-weight: 500; }
.partner-page .who .model-head { max-width: 760px; }
.partner-page .persona-card { border-top: 4px solid var(--blue); }
.partner-page .persona-media { display: none; }
.partner-page .persona-tag { color: var(--blue-dark); font-size: .78rem; }
.partner-page .sector-services { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); list-style: none; }
.partner-page .sector-services li { position: relative; margin: 8px 0; padding-left: 22px; color: #344b68; font-size: .9rem; }
.partner-page .sector-services li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.partner-page .footer__faturathi-logo { box-sizing: content-box; height: 48px; padding: 5px 8px; border-radius: 8px; background: #fff; }
.partner-page header.nav { background: rgba(10, 37, 64, .97); border-bottom-color: rgba(255, 255, 255, .12); }
.partner-page header.nav .nav__links a { color: #fff; }
.partner-page header.nav .nav__links a:hover,
.partner-page header.nav .nav__links a[aria-current="page"] { color: #8ee8bd; }
.partner-page header.nav .nav__toggle span { background: #fff; }

@media (max-width: 940px) {
  .partner-page .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .partner-page .partner-phone { grid-template-columns: 118px minmax(0, 1fr); }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Shared bits ---------- */
.ico { width: 16px; height: 16px; flex: 0 0 auto; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px;
  padding: 15px 28px; border-radius: var(--r-md);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(30, 86, 240, 0.34); }
.btn--ghost {
  background: #fff; color: #0a1124; font-weight: 600;
  border: 1px solid var(--border); padding: 15px 24px;
}
.btn--ghost:hover { border-color: #c4cfdd; transform: translateY(-2px); }
.btn--sm { padding: 11px 22px; font-size: 15px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue-deep);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-mid); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint); color: var(--green);
  font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 20px; white-space: nowrap;
}

.pill {
  display: inline-block; background: #e5edff; color: var(--blue);
  font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px;
}

.text-blue { color: var(--blue); }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 12px;
}

.section-head { text-align: center; max-width: 900px; margin: 0 auto 64px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-head p { margin-top: 20px; color: var(--slate); font-size: 17px; max-width: 720px; margin-inline: auto; }
.section-head .pill { margin-bottom: 20px; }

.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--green-mid); }

/* generic progress bar */
.bar {
  display: block; height: 6px; border-radius: 999px; background: #eef1f6; overflow: hidden;
}
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--green-mid); }
.bar--green { background: #86efac !important; }
.bar--amber { background: #fcd34d !important; }
.bar--blue  { background: var(--blue) !important; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .float-card { transition: none !important; animation: none !important; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo { height: 40px; width: auto; }
.nav__logo-fallback { font-weight: 800; font-size: 24px; color: #17a34a; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: #1f2937; }
.nav__links a { transition: color .15s ease; }
.nav__links a:hover { color: var(--blue); }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 88px 0 110px; }
.hero__rings { position: absolute; inset: 0; pointer-events: none; }
.hero__rings i {
  position: absolute; border: 1px solid rgba(30, 86, 240, .07); border-radius: 50%;
  left: 55%; top: 40%; translate: -50% -50%;
}
.hero__rings i:nth-child(1) { width: 1180px; height: 1180px; }
.hero__rings i:nth-child(2) { width: 830px;  height: 830px; }
.hero__rings i:nth-child(3) { width: 500px;  height: 500px; }

.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.hero__title {
  font-size: clamp(38px, 5vw, 56px); font-weight: 800; line-height: 1.14;
  letter-spacing: -0.015em; margin: 24px 0 16px; max-width: 660px;
}
.hero__lead { color: var(--slate); font-size: 16px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }

.hero__visual { position: relative; min-height: 520px; }
.hero__panel {
  position: absolute; right: 0; top: 40px;
  width: 78%; height: 84%;
  background: linear-gradient(160deg, #d9fbe9, #c4f4de);
  border-radius: var(--r-xl);
}
.hero__person {
  position: absolute; right: -4%; bottom: 0; width: 108%; max-width: none;
  object-fit: contain; object-position: bottom;
}
.hero__person.is-missing { display: none; }

.float-card {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 14px 34px rgba(7, 26, 61, .14);
  font-size: 12px; font-weight: 600; color: var(--ink);
  animation: floaty 5s ease-in-out infinite;
}
.float-card__icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
}
.float-card__icon svg { width: 20px; height: 20px; }
.float-card__icon--blue { background: #e5edff; color: var(--blue); }
.float-card__icon--green { background: var(--mint); color: var(--green); }
.float-card--create   { left: -4px; top: 8%; }
.float-card--exchange { right: -6px; top: 4%; flex-direction: row; animation-delay: 1.4s; }
.float-card--compliant{ left: -12px; bottom: 12%; animation-delay: 2.6s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ============================================================
   INTRO (light blue) + value cards
   ============================================================ */
.intro { background: var(--bg-softer); padding: 110px 0 120px; }
.intro__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: #fff; border-radius: var(--r-lg); padding: 14px 14px 32px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(7, 26, 61, .12); }
.card__media {
  border-radius: 14px; overflow: hidden; aspect-ratio: 386 / 245;
  background: linear-gradient(140deg, #dfe9fb, #c9dbf7); margin-bottom: 26px;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media.is-missing img { display: none; }
.card h3 { font-size: 20px; font-weight: 700; padding: 0 18px; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 15px; padding: 0 18px; }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integrations { position: relative; padding: 120px 0; overflow: hidden; }
.logo-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  max-width: 1208px; margin: 0 auto;
}
.logo-tile {
  position: relative;
  background: #fff; border: 1px solid #eef1f6; border-radius: var(--r-md);
  min-height: 92px; display: grid; place-items: center; padding: 16px 22px;
  box-shadow: 0 6px 18px rgba(7, 26, 61, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7, 26, 61, .1); }
.logo-tile img { max-height: 46px; width: auto; object-fit: contain; }
/* text fallback when a logo image is missing (added via JS) */
.logo-tile.is-missing img { display: none; }
.logo-tile.is-missing::after {
  content: attr(data-name);
  font-weight: 700; font-size: 16px; color: #33415c; text-align: center;
}

/* ============================================================
   OMAN BANNER (navy)
   ============================================================ */
.oman { padding: 40px 0 120px; }
.oman__panel {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #232f8a 0%, var(--navy) 45%, var(--navy-2) 100%);
  border-radius: var(--r-lg); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 560px; padding: 64px;
}
.oman__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 420px at 82% 30%, rgba(255, 255, 255, .07), transparent 70%),
    radial-gradient(360px 360px at 60% 85%, rgba(255, 255, 255, .05), transparent 70%);
}
.badge-outline {
  display: inline-block; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 16px; margin-bottom: 26px;
}
.oman__content { position: relative; z-index: 2; }
.oman__content h2 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.12;
  letter-spacing: -0.01em;
}
.oman__content p { margin: 18px 0 30px; color: rgba(255, 255, 255, .82); max-width: 460px; }

.oman__visual { position: relative; z-index: 1; min-height: 440px; }
.oman__person {
  position: absolute; right: -64px; bottom: -64px;
  width: 120%; max-width: none; object-fit: contain; object-position: bottom right;
}
.oman__person.is-missing { display: none; }

.oman__ui {
  position: absolute; z-index: 3; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.oman__ui--passed {
  left: 4%; top: 2%; background: #fff; color: var(--ink);
  padding: 16px 18px; width: 240px; display: grid; gap: 8px;
}
.oman__ui--passed strong { font-size: 15px; }
.oman__ui--passed small { color: var(--slate); font-size: 12px; }
.oman__ui--new {
  right: 4%; top: 60%; background: #14161f; color: #fff;
  padding: 18px 20px; display: grid; gap: 10px; justify-items: start;
  font-size: 14px; font-weight: 600;
}
.oman__plus {
  width: 36px; height: 36px; border-radius: 10px; background: #fff; color: #14161f;
  display: grid; place-items: center; font-size: 22px; font-weight: 700;
}

/* ============================================================
   FEATURES (How it works)
   ============================================================ */
.features { padding: 130px 0; background: #fbfcff; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 88px;
  align-items: center; margin-bottom: 110px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row__text h3 {
  font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.2;
  letter-spacing: -0.01em; margin-bottom: 18px;
}
.feature-row__text > p:last-child { color: var(--slate); font-size: 16px; }

.mockup {
  background: #fff; border: 1px solid #eef1f6; border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 24px;
}
.mockup__head {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 15px; margin-bottom: 18px;
}
.mockup__dots { display: inline-flex; gap: 6px; }
.mockup__dots i { width: 7px; height: 7px; border-radius: 50%; background: #d7dee9; }
.mockup__dots i:first-child { background: #ef4444; }
.mockup__dots i:last-child { background: var(--green-mid); }

/* invoice status rows */
.inv-row {
  display: grid; grid-template-columns: 34px 1fr auto auto;
  align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 12px; margin-bottom: 10px; background: #fff;
}
.inv-row--ok { background: #f0fdf5; border-color: #bbe9c8; }
.inv-row--warn { background: #fff8ef; border-color: #f5d7a8; }
.inv-row--pending { border-color: #c7d6f8; }
.inv-row__avatar {
  width: 34px; height: 34px; border-radius: 9px; background: #e7ebf2; color: #475569;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.inv-row__avatar--green { background: #157347; color: #fff; }
.inv-row__avatar--amber { background: var(--amber); color: #fff; }
.inv-row__meta { display: grid; gap: 2px; min-width: 0; }
.inv-row__meta strong { font-size: 13.5px; line-height: 1.35; }
.inv-row__meta em { font-style: normal; font-size: 12px; color: var(--slate); }
.inv-row__amt { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.tag {
  font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.tag--green { background: #d5f5df; color: #157347; }
.tag--amber { background: #fdeccd; color: #b45309; }
.tag--blue  { background: #e3ebfd; color: var(--blue); }

.mockup__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; gap: 12px; flex-wrap: wrap;
}
.mockup__note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); }
.mockup__btns { display: inline-flex; gap: 10px; }
.mini-btn {
  border: 1px solid var(--border); border-radius: 9px; padding: 9px 16px;
  font-size: 13px; font-weight: 600;
}
.mini-btn--primary { background: #10357c; color: #fff; border-color: #10357c; }

/* validation rows */
.val-row {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 12px;
  padding: 10px 0; border-bottom: 1px solid #f1f4f9;
}
.val-row:last-child { border-bottom: 0; }
.val-row > span:first-child { font-weight: 600; font-size: 14px; }
.val-row em.ok { font-style: normal; font-size: 13px; color: #157347; font-weight: 600; }
.val-row .bar { grid-column: 1 / -1; }

/* exchange workflow steps */
.step-row {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px;
  border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 12px;
}
.step-row__icon {
  width: 40px; height: 40px; border-radius: 10px; color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.step-row__icon--blue { background: var(--blue); }
.step-row__icon--green { background: #157347; }
.step-row__meta small {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 3px;
}
.step-row__meta strong { font-size: 14px; }
.step-row__date { font-size: 13px; color: var(--slate); white-space: nowrap; }
.step-row--progress { grid-template-columns: 1fr; text-align: center; gap: 14px; border-style: dashed; }
.step-row--progress strong { font-size: 14px; color: var(--slate); }

/* ============================================================
   5-STEP FLOW
   ============================================================ */
.flow { background: var(--bg-softer); padding: 120px 0; }
.flow__grid {
  display: grid; grid-template-columns: 297px 1fr 1fr; grid-auto-rows: minmax(215px, auto);
  gap: 20px;
}
.flow-card {
  position: relative; border-radius: var(--r-lg); padding: 28px;
  overflow: hidden; color: #fff; min-height: 215px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(150deg, #33415c, #1f2a44);
}
.flow-card--photo { padding: 0; }
.flow-card__img { width: 100%; height: 100%; min-height: 215px; object-fit: cover; border-radius: inherit; }
/* keep steps 2-5 in reading order in the 3-column desktop grid */
.flow__grid .flow-card--photo:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.flow__grid .flow-card--photo:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.flow__grid .flow-card--photo:nth-of-type(4) { grid-column: 2; grid-row: 2; }
.flow__grid .flow-card--photo:nth-of-type(5) { grid-column: 3; grid-row: 2; }
.flow-card--light {
  grid-row: span 2; background: #fff; color: var(--ink);
  justify-content: flex-start;
}
.flow-card__num {
  position: absolute; top: 24px; left: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--blue); font-weight: 700; font-size: 16px;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.flow-card--light .flow-card__num { position: static; margin-bottom: 40px; background: #e5edff; box-shadow: none; }
.flow-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.flow-card p { font-size: 13.5px; opacity: .92; max-width: 240px; }
.flow-card--light p { color: var(--slate); opacity: 1; }
.flow-card__logos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  align-items: center; margin: 22px 0;
}
.flow-card__logos img { max-height: 26px; width: auto; margin: 0 auto; object-fit: contain; }
.flow-card--light small { color: var(--slate); font-size: 12.5px; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits { background: var(--bg-soft); padding: 130px 0; }
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.benefits__head h2 {
  font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em;
}
.benefits__head p { margin: 22px 0 34px; color: var(--slate); max-width: 440px; }
.benefits__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.benefit {
  background: #fff; border-radius: var(--r-lg); padding: 30px 26px;
  box-shadow: 0 10px 28px rgba(7, 26, 61, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(7, 26, 61, .1); }
.benefit__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 20px; color: #fff;
}
.benefit__icon svg { width: 24px; height: 24px; }
.benefit__icon--green { background: #16a34a; }
.benefit__icon--blue { background: var(--blue); }
.benefit__icon--purple { background: var(--purple); }
.benefit__icon--amber { background: var(--amber); }
.benefit h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.benefit p { color: var(--slate); font-size: 14px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 130px 0; background: #fbfcff; }
.faq__card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 24px 40px; max-width: 1278px; margin: 0 auto;
}
.faq__item { border-bottom: 1px solid #eef1f6; }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  width: 100%; display: grid; grid-template-columns: 28px 1fr 32px;
  align-items: center; gap: 14px; text-align: left; padding: 28px 12px;
}
.faq__num {
  width: 28px; height: 28px; border-radius: 8px; background: #eef3ff; color: var(--blue);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.faq__question { font-size: 17px; font-weight: 700; }
.faq__toggle {
  position: relative; width: 32px; height: 32px; border-radius: 50%;
  background: #eef3ff; transition: background .2s ease;
}
.faq__toggle::before, .faq__toggle::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--blue); border-radius: 2px; transition: transform .25s ease, background .2s ease;
}
.faq__toggle::before { width: 12px; height: 2px; }
.faq__toggle::after { width: 2px; height: 12px; }
.faq__item.is-open .faq__toggle { background: var(--blue-deep); }
.faq__item.is-open .faq__toggle::before,
.faq__item.is-open .faq__toggle::after { background: #fff; }
.faq__item.is-open .faq__toggle::after { transform: rotate(90deg); }

.faq__a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease;
}
.faq__a > p {
  overflow: hidden; margin: 0 44px 0 54px; color: var(--slate); font-size: 15px;
  border-left: 3px solid #cdd9f5; padding-left: 16px;
}
.faq__item.is-open { background: #f6f8fd; border-radius: 14px; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > p { padding-bottom: 28px; }

.faq__cta { text-align: center; margin-top: 88px; }
.faq__cta h3 { font-size: 20px; font-weight: 800; }
.faq__cta p { color: var(--slate); margin: 8px 0 24px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg-soft); padding: 120px 0; }
.testimonials__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: #fff; border: 1px solid #eef1f6; border-radius: var(--r-lg);
  padding: 32px; box-shadow: 0 10px 28px rgba(7, 26, 61, .05);
}
.tcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.tcard__avatar {
  width: 46px; height: 46px; border-radius: 50%; background: #e7edf8; color: #33518f;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.tcard__head strong { display: block; font-size: 16px; }
.tcard__head small { color: var(--slate); font-size: 13px; }
.tcard blockquote { margin: 0 0 20px; color: #33415c; font-size: 15px; line-height: 1.7; }
.tcard__stars { color: var(--amber); letter-spacing: 4px; font-size: 15px; }

.testimonials__dots { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.testimonials__dots button {
  width: 8px; height: 8px; border-radius: 999px; background: #b9c8e8; padding: 0;
  transition: width .2s ease, background .2s ease;
}
.testimonials__dots button.is-active { width: 22px; background: var(--blue-deep); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { padding: 130px 0; text-align: center; }
.final-cta h2 {
  font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.012em; color: var(--blue-deep); margin: 24px 0 20px;
}
.final-cta > .container > p { color: var(--slate); max-width: 640px; margin: 0 auto; }

.pipeline {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin: 56px 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.pipeline__label--blue { color: var(--blue); }
.pipeline__label--navy { color: var(--blue-deep); }
.pipeline__label--green { color: #16a34a; }
.pipeline__line {
  width: 80px; height: 0; border-top: 2px dashed #c3cfe4;
}
.pipeline__node {
  width: 26px; height: 26px; border-radius: 50%; background: #fef3c7;
  display: grid; place-items: center; font-size: 12px;
}
.pipeline__node--green { background: #dcfce7; color: #16a34a; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--footer); color: #c6d2e6; padding: 72px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, auto); gap: 56px;
  padding-bottom: 56px;
}
.footer__logos { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.footer__logos img { max-height: 56px; width: auto; }
.footer__brand p { max-width: 260px; font-size: 14px; }
.footer__meta { font-size: 12.5px; color: #7e93b8; margin-top: 8px; }
.footer__col { display: grid; gap: 12px; align-content: start; font-size: 14px; }
.footer__col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #7e93b8; margin-bottom: 6px;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 24px 0 28px; font-size: 13px; color: #8fa3c4;
}

/* ============================================================
   SHARED SUBPAGES / TECHNICAL ARCHITECTURE
   ============================================================ */
.subpage-hero {
  padding: 92px 0 76px;
  text-align: center;
  background: var(--bg-soft);
}
.subpage-hero h1,
.architecture-page .section-head h1 {
  color: var(--blue-deep);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.025em;
}
.subpage-hero p {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--slate);
  font-size: 17px;
}
.arch-kicker {
  display: block;
  margin-bottom: 14px;
  color: #008a55;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.arch-section { padding: 112px 0; }
.arch-section--soft { background: var(--bg-soft); }
.architecture-page .section-head { margin-bottom: 54px; }
.architecture-page .section-head h2 { color: var(--blue-deep); }
.architecture-page .section-head h1 + p { margin-top: 18px; }

.corner-flow {
  display: grid;
  grid-template-columns: 1fr 50px 1fr 50px 1fr 50px 1fr;
  align-items: center;
  gap: 10px;
  padding: 42px;
  border: 1px solid #d8e3f2;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.corner-card {
  min-height: 154px;
  padding: 24px 18px;
  border: 1px solid #bfd7ff;
  border-radius: 20px;
  text-align: center;
  background: #fff;
}
.corner-card small,
.roadmap-card small { color: #008a55; font-weight: 800; }
.corner-card h2 { margin-top: 12px; color: var(--blue-deep); font-size: 16px; }
.corner-card p { margin-top: 9px; color: var(--slate); font-size: 13px; line-height: 1.55; }
.corner-arrow { position: relative; height: 2px; background: var(--blue); }
.corner-arrow::after { content: ""; position: absolute; top: -5px; right: -1px; border-left: 9px solid var(--blue); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.corner-card--ota { grid-column: 3 / 6; min-height: 138px; border-color: #d9c7ff; background: #fbf9ff; }
.architecture-visual { padding: 18px; border: 1px solid #d8e3f2; border-radius: 28px; background: #fff; box-shadow: var(--shadow-card); }
.architecture-visual img { width: 100%; border-radius: 18px; }

.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.challenge-card,
.roadmap-card {
  padding: 24px;
  border: 1px solid #cddcf0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 26, 61, .055);
}
.challenge-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #c9dcff; border-radius: 11px; color: var(--blue); background: #f4f8ff; font-size: 12px; font-weight: 800; }
.challenge-card h3,
.roadmap-card h3 { margin-top: 16px; color: var(--blue-deep); font-size: 16px; }
.challenge-card p,
.roadmap-card p { margin-top: 9px; color: var(--slate); font-size: 13px; }
.roadmap-head { margin-top: 112px !important; }
.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Contact page */
.contact-section { padding: 92px 0 112px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.contact-info h2 { color: var(--blue-deep); font-size: 32px; line-height: 1.15; }
.contact-info > p { margin-top: 18px; color: var(--slate); }
.contact-company { margin-top: 28px; padding: 24px; border-radius: 18px; background: var(--bg-soft); }
.contact-company h3 { color: var(--blue-deep); font-size: 17px; }
.contact-company p { margin-top: 10px; color: var(--slate); font-size: 14px; }
.contact-company a,
.contact-architecture { color: var(--blue); font-weight: 700; }
.contact-architecture { display: inline-block; margin-top: 24px; font-size: 14px; }
.contact-form-card { padding: 34px; border: 1px solid var(--border); border-radius: 24px; background: #fff; box-shadow: var(--shadow-card); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: var(--blue-deep); font-size: 13px; font-weight: 700; }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; padding: 14px 15px; border: 1px solid #d8e1ee; border-radius: 11px; color: var(--ink); background: #fff; font: inherit; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 3px solid rgba(30, 86, 240, .13); border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .phone-group { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 7px; }
.contact-form .country-code { min-width: 0; padding-inline: 8px; }
.contact-form .btn { justify-content: center; }
.status { min-height: 20px; color: var(--slate); font-size: 13px; font-weight: 700; }
.status.ok { color: #157347; }
.status.err { color: #c0392b; }
.honeypot { position: absolute; left: -9999px; }

/* Downloads page */
.download-section { padding: 92px 0 112px; }
.download-card { display: grid; grid-template-columns: 74px 1fr auto; gap: 24px; align-items: center; padding: 30px; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-card); }
.download-icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 20px; color: var(--blue); background: #eaf1ff; font-size: 34px; }
.download-card h2 { color: var(--blue-deep); font-size: 25px; }
.download-card p { margin-top: 5px; color: var(--slate); }
.download-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.download-tags span { padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fafcff; color: var(--blue-deep); font-size: 12px; font-weight: 700; }
.download-action { display: grid; gap: 8px; text-align: center; }
.download-action small { color: var(--slate); }
.download-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.download-features article { padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-soft); }
.download-features h3 { color: var(--blue-deep); font-size: 16px; }
.download-features p { margin-top: 8px; color: var(--slate); font-size: 13px; }
.download-gallery-head { margin-top: 112px; }
.download-gallery { display: grid; gap: 28px; }
.download-gallery figure { padding: 12px; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-card); }
.download-gallery img { width: 100%; border-radius: 15px; }
.download-gallery figcaption { padding: 13px 8px 5px; color: var(--slate); font-size: 13px; }

@media (max-width: 1080px) {
  .corner-flow { grid-template-columns: 1fr 34px 1fr; }
  .corner-card--ota { grid-column: 1 / -1; }
  .corner-flow .corner-card:nth-of-type(3) { grid-column: 1; }
  .corner-flow .corner-card:nth-of-type(4) { grid-column: 3; }
  .challenge-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .arch-section, .contact-section, .download-section { padding: 72px 0; }
  .corner-flow { grid-template-columns: 1fr; padding: 22px; }
  .corner-arrow { width: 2px; height: 30px; margin: 0 auto; }
  .corner-arrow::after { top: auto; right: -5px; bottom: -1px; border-top: 9px solid var(--blue); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 0; }
  .corner-flow .corner-card:nth-of-type(3), .corner-flow .corner-card:nth-of-type(4), .corner-card--ota { grid-column: auto; }
  .challenge-grid, .roadmap-grid, .contact-layout, .download-features { grid-template-columns: 1fr; }
  .roadmap-head, .download-gallery-head { margin-top: 76px !important; }
  .form-row { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .download-action { text-align: left; justify-items: start; }
}

@media (max-width: 460px) {
  .contact-form .phone-group { grid-template-columns: 104px minmax(0, 1fr); }
  .contact-form-card { padding: 22px 18px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 460px; max-width: 560px; margin-inline: auto; width: 100%; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .oman__panel { grid-template-columns: 1fr; padding: 48px 36px 0; min-height: 0; }
  .oman__visual { min-height: 380px; }
  .oman__person { position: relative; right: auto; bottom: 0; width: 100%; margin: 24px auto 0; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row--flip .feature-row__text { order: -1; }
  .flow__grid { grid-template-columns: 1fr 1fr; }
  .flow-card--light { grid-row: auto; grid-column: 1 / -1; }
  .flow__grid .flow-card--photo { grid-column: auto; grid-row: auto; }
  .benefits__grid { grid-template-columns: 1fr; }
  .testimonials__row { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; z-index: 40;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px; display: none;
  }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid #f1f4f9; }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn { display: none; }

  .hero { padding: 56px 0 72px; }
  .hero__visual { min-height: 380px; }
  .float-card--create { left: 0; }
  .float-card--compliant { left: 0; }
  .float-card--exchange { right: 0; }

  .intro, .integrations, .features, .flow, .benefits, .faq, .testimonials, .final-cta { padding: 80px 0; }
  .intro__cards { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .flow__grid { grid-template-columns: 1fr; }
  .benefits__cards { grid-template-columns: 1fr; }
  .faq__card { padding: 8px 18px; }
  .faq__question { font-size: 15px; }
  .faq__a > p { margin: 0 12px 0 42px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .oman__ui--new { right: 4%; }
}

/* ============================================================
   BOOK A DEMO / CONTACT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 15, 28, .55);
  display: none; align-items: center; justify-content: center;
  padding: 32px 16px;
}
.modal-overlay.is-open { display: flex; }
body.modal-open { overflow: hidden; }

.modal {
  position: relative; background: #fff; border-radius: 28px;
  width: min(1040px, 100%); max-height: 90vh; overflow-y: auto;
  box-shadow: 0 30px 80px rgba(6, 15, 28, .35);
  padding: 40px;
}
.modal__close {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: #f1f4f9; display: grid; place-items: center; color: var(--ink);
  cursor: pointer; transition: background .15s ease;
}
.modal__close:hover { background: #e5e9f0; }
.modal__close svg { width: 16px; height: 16px; }

.modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.modal__left h2 { font-size: 28px; font-weight: 800; line-height: 1.2; color: var(--blue-deep); max-width: 380px; }
.modal__left > p { margin-top: 14px; color: var(--slate); font-size: 15px; }

.modal__book { margin-top: 28px; border: 1px solid var(--border); border-radius: 20px; padding: 20px; background: #fbfcff; }
.modal__book h3 { font-size: 16px; font-weight: 800; }
.modal__booksub { display: block; margin: 4px 0 16px; color: var(--slate); font-size: 13px; }
.modal__book .calendly-inline-widget { border-radius: 14px; overflow: hidden; }

.modal__company { margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: var(--bg-softer); }
.modal__company h4 { font-size: 14px; font-weight: 800; color: var(--blue-deep); }
.modal__company p { margin-top: 6px; font-size: 13px; color: var(--slate); line-height: 1.7; }

.modal__right form { display: grid; gap: 14px; }
.modal__right label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.modal__right input, .modal__right textarea, .modal__right select {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--border);
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
.modal__right textarea { min-height: 100px; resize: vertical; }
.modal__right input:focus, .modal__right textarea:focus, .modal__right select:focus {
  outline: 3px solid rgba(30, 86, 240, .14); border-color: var(--blue);
}
.modal__right .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal__right .phone-group { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 6px; }
.modal__right .country-code {
  min-width: 0; padding-left: 6px; padding-right: 2px; font-size: 12.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.modal__right button[type="submit"] { width: 100%; justify-content: center; margin-top: 4px; }
.modal__status { font-size: 13px; font-weight: 700; min-height: 18px; }
.modal__status.ok { color: #157347; }
.modal__status.err { color: #c0392b; }

@media (max-width: 900px) {
  .modal__grid { grid-template-columns: 1fr; gap: 28px; }
  .modal { padding: 28px 20px; border-radius: 20px; }
}
@media (max-width: 480px) {
  .modal__right .field-row, .modal__right .phone-group { grid-template-columns: 1fr; }
}
