/* otp.systems v5 - clean cinematic redesign */

:root {
  --bg: #071114;
  --bg-2: #0d1b20;
  --text: #0e171b;
  --muted: #5a686d;
  --line: #d9e3e1;
  --paper: #ffffff;
  --soft: #f3f7f5;
  --teal: #10a6a8;
  --mint: #9ff0cf;
  --amber: #f0a43a;
  --blue: #4d8ed4;
  --max: 1180px;
  --r: 18px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.02; letter-spacing: 0; }
h1 { font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 850; max-width: 900px; }
h2 { font-size: clamp(2rem, 4vw, 4.4rem); font-weight: 820; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.7rem); font-weight: 780; }

.wrap { width: min(100%, var(--max)); margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 20, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 850; }
.logo-badge { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex: none; }
.logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { font-size: 1.28rem; line-height: 1; }
.brand-text small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.58);
  font-size: .62rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.68);
  font-weight: 750;
  font-size: .92rem;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.11); color: #fff; }
.main-nav .nav-cta { margin-left: 8px; background: #fff; color: var(--bg); }
.main-nav .nav-cta:hover, .main-nav .nav-cta.active { background: var(--mint); color: var(--bg); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.08); }
.nav-toggle span { display: block; height: 2px; width: 20px; margin: 5px auto; background: #fff; }

section { padding: clamp(72px, 9vw, 128px) 0; }
.bg-soft { background: var(--soft); }
.bg-night { background: var(--bg); color: #fff; }
.bg-night p { color: rgba(235,247,245,.7); }

.hero-cinematic {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 0;
  overflow: hidden;
  background: var(--bg);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 54%, rgba(159,240,207,.18), transparent 34%),
    linear-gradient(90deg, rgba(7,17,20,.97) 0%, rgba(7,17,20,.84) 34%, rgba(7,17,20,.28) 68%, rgba(7,17,20,.62) 100%),
    linear-gradient(180deg, rgba(7,17,20,.08) 0%, rgba(7,17,20,.88) 100%);
}
.hero-stage {
  position: relative;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 148px;
}
.hero-copy { max-width: 720px; }
.hero-copy .lede {
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(1.1rem, 1.55vw, 1.36rem);
  color: rgba(238,247,245,.84);
}

.hero-cinematic h1 {
  font-size: clamp(3.4rem, 5.7vw, 6.1rem);
  line-height: .98;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.hero .eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(159,240,207,.35);
  border-radius: 999px;
  background: rgba(159,240,207,.12);
  color: var(--mint);
}
.hero .eyebrow::before { display: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
}
.btn-primary { background: var(--mint); color: var(--bg); }
.btn-primary:hover { background: #c0ffe4; }
.btn-secondary { background: var(--bg); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
section:not(.bg-night):not(.hero) .btn-ghost { background: #fff; border-color: var(--line); color: var(--text); }

.hero-dock {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.hero-dock div { padding: 20px 24px; background: rgba(7,17,20,.58); }
.hero-dock strong { display: block; color: #fff; margin-bottom: 4px; }
.hero-dock span { display: block; color: rgba(230,244,241,.72); font-size: .86rem; }

.section-head { max-width: 820px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .lede { font-size: 1.1rem; }

.kicker-grid, .split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 28px; align-items: stretch; }
.big-claim {
  position: relative;
  min-height: 560px;
  padding: clamp(34px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
  color: #fff;
}
.big-claim::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/otp-platform-ecosystem.png") center / cover no-repeat;
  opacity: .36;
}
.big-claim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,20,.1), rgba(7,17,20,.92));
}
.big-claim > * { position: relative; z-index: 1; }
.big-claim h2 { color: #fff; max-width: 840px; }
.big-claim p { color: rgba(235,247,245,.76); max-width: 740px; font-size: 1.08rem; }
.big-claim .eyebrow { color: var(--mint); }

.source-visual {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px -42px rgba(7,17,20,.7);
}
.source-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.source-visual figcaption { padding: 18px 20px 20px; }
.source-visual strong { display: block; margin-bottom: 4px; color: var(--text); }
.source-visual span { color: var(--muted); font-size: .92rem; }

.platform-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.rail-step {
  min-height: 168px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.rail-step strong { display: block; color: #fff; margin-bottom: 8px; font-size: 1.18rem; }
.rail-step span { color: rgba(235,247,245,.72); }
.rail-plus { color: var(--mint); font-size: 1.7rem; font-weight: 900; text-align: center; }

.visual-grid, .grid { display: grid; gap: 24px; }
.visual-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card, .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 52px -42px rgba(7,17,20,.7);
}
.card h3, .panel h3 { color: var(--text); }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.premium-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,17,20,0) 0%, rgba(7,17,20,.9) 70%),
    var(--image) center / cover no-repeat;
  overflow: hidden;
}
.premium-card h3 { color: #fff; }
.premium-card p { color: rgba(235,247,245,.78); }

.mini-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(159,240,207,.16);
  color: var(--mint);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
section:not(.bg-night) .card:not(.premium-card) .mini-label,
section:not(.bg-night) .mini-label:not(.on-dark) { background: #e9f8f3; color: #087169; }
.mini-label.amber { background: rgba(240,164,58,.18); color: #ffd59a; }
.mini-label.blue { background: rgba(77,142,212,.18); color: #b7d8ff; }

.spec-list { display: grid; gap: 0; }
.spec-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.spec-item:last-child { border-bottom: 0; }
.spec-item::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 999px; background: var(--teal); }
.spec-item strong { display: block; color: var(--text); }
.spec-item span { color: var(--muted); font-size: .92rem; }

.proof {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.bg-night .proof { background: rgba(255,255,255,.06); }
.proof-top { padding: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.proof-top h3 { color: inherit; font-size: clamp(1.8rem, 3vw, 3rem); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-cell { padding: 24px 32px; border-right: 1px solid rgba(255,255,255,.1); }
.proof-cell:last-child { border-right: 0; }
.proof-cell strong { display: block; color: inherit; margin-bottom: 5px; }
.proof-cell span { color: rgba(235,247,245,.7); }

.cta-band {
  padding: clamp(34px, 6vw, 64px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(16,166,168,.2), rgba(159,240,207,.08)),
    var(--bg);
  color: #fff;
}
.cta-band h2 { color: #fff; max-width: 860px; }
.cta-band p { color: rgba(235,247,245,.75); max-width: 760px; font-size: 1.08rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
thead th { background: var(--bg); color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
td.center, th.center { text-align: center; }
.check { color: var(--teal); font-weight: 900; }
.cross { color: #aeb9bc; font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; }
.contact-list { display: grid; gap: 12px; }
.contact-item { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.contact-item strong { display: block; margin-bottom: 5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; }
.contact-item a, .contact-item span { color: var(--text); font-weight: 800; }
.form-card { padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; margin-bottom: 6px; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}
.form-field textarea { min-height: 128px; resize: vertical; }
.form-note, .small { font-size: .84rem; color: var(--muted); }
.form-success { color: #087169; font-weight: 850; }

.site-footer {
  background: #071114;
  color: rgba(235,247,245,.66);
  padding: 58px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; font-weight: 850; }
.footer-grid h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid a { display: block; margin-bottom: 9px; color: rgba(235,247,245,.68); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 24px; font-size: .84rem; }
.legal { display: inline-flex; gap: 18px; }

.legal-content { max-width: 820px; }
.legal-content h2 { margin-top: 36px; font-size: 1.5rem; }
.legal-content h3 { margin-top: 24px; font-size: 1.08rem; }
.callout { padding: 18px 20px; border-left: 4px solid var(--amber); background: #fff6e5; border-radius: 0 14px 14px 0; color: #4a3618; }
.mt-0 { margin-top: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

@media (max-width: 980px) {
  .kicker-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .visual-grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-rail { grid-template-columns: 1fr; }
  .rail-plus { transform: rotate(90deg); }
  .hero-dock { position: relative; left: auto; bottom: auto; transform: none; margin: -96px auto 28px; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .site-header .wrap { height: 68px; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .main-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: #071114;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .main-nav .nav-cta { margin-left: 0; }
  .hero-cinematic { min-height: auto; }
  .hero-bg { object-position: 64% center; }
  .hero-stage { min-height: 720px; padding-top: 48px; padding-bottom: 128px; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.8rem); }
  .hero-dock { grid-template-columns: 1fr; margin-top: -112px; }
  .grid-2, .grid-3, .grid-4, .visual-grid, .proof-grid { grid-template-columns: 1fr; }
  .proof-cell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .proof-cell:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* v6 product landing */

.home-v6 {
  background: #f4f7f5;
}

.home-v6 .site-header {
  background: rgba(8, 15, 18, .9);
}

.v6-hero {
  position: relative;
  padding: 88px 0 34px;
  min-height: calc(100vh - 72px);
  background: #080f12;
  color: #fff;
  overflow: hidden;
}

.v6-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(159,240,207,.18), transparent 28%),
    radial-gradient(circle at 24% 78%, rgba(16,166,168,.16), transparent 32%),
    linear-gradient(135deg, #080f12 0%, #0f2329 52%, #071114 100%);
}

.v6-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 58px;
  align-items: center;
  min-height: 620px;
}

.v6-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.1rem, 6.2vw, 6.7rem);
  line-height: .92;
  letter-spacing: 0;
  text-wrap: balance;
}

.v6-copy p {
  max-width: 590px;
  margin-top: 28px;
  color: rgba(235,247,245,.78);
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
}

.v6-pill {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(159,240,207,.34);
  border-radius: 999px;
  color: #9ff0cf;
  background: rgba(159,240,207,.1);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v6-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.v6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
}

.v6-btn.primary {
  background: #9ff0cf;
  color: #071114;
}

.v6-btn.secondary {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

.v6-btn.dark {
  background: #071114;
  color: #fff;
}

.v6-device {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 34px 90px -50px rgba(0,0,0,.9);
}

.v6-device img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.v6-device::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7,17,20,.88) 100%);
}

.v6-device-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.v6-device-caption strong {
  color: #fff;
  font-size: 1.28rem;
}

.v6-device-caption span {
  max-width: 280px;
  color: rgba(235,247,245,.74);
  font-size: .9rem;
  text-align: right;
}

.v6-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.v6-strip div {
  padding: 22px;
  background: rgba(255,255,255,.06);
}

.v6-strip strong {
  display: block;
  color: #fff;
  margin-bottom: 5px;
}

.v6-strip span {
  color: rgba(235,247,245,.68);
  font-size: .88rem;
}

.v6-section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.v6-white {
  background: #f4f7f5;
}

.v6-dark {
  background: #071114;
  color: #fff;
}

.v6-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.v6-intro h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: .95;
  text-wrap: balance;
}

.v6-intro p {
  margin: 0 0 8px;
  color: #5b696d;
  font-size: 1.08rem;
}

.v6-dark .v6-intro p {
  color: rgba(235,247,245,.7);
}

.v6-kicker {
  display: block;
  margin-bottom: 16px;
  color: #0b7778;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.v6-dark .v6-kicker {
  color: #9ff0cf;
}

.v6-bento {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 22px;
}

.v6-bento article {
  border-radius: 28px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 26px 70px -54px rgba(7,17,20,.8);
}

.v6-bento article span,
.v6-bento-large span {
  display: block;
  margin-bottom: 12px;
  color: #0b7778;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v6-bento article h3 {
  margin-bottom: 12px;
}

.v6-bento-large {
  grid-row: span 2;
  padding: 0 !important;
  overflow: hidden;
}

.v6-bento-large img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.v6-bento-large div {
  padding: 30px;
}

.v6-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.v6-flow div {
  min-height: 210px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
}

.v6-flow strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.2rem;
}

.v6-flow span {
  color: rgba(235,247,245,.68);
}

.v6-showcase {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 28px;
  align-items: stretch;
}

.v6-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 38px;
  border-radius: 28px;
  background: #fff;
}

.v6-showcase-copy h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: .98;
}

.v6-showcase > img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 28px;
}

.home-v6 .cta-band {
  border-radius: 28px;
}

@media (max-width: 980px) {
  .v6-hero-grid,
  .v6-intro,
  .v6-bento,
  .v6-showcase {
    grid-template-columns: 1fr;
  }

  .v6-flow,
  .v6-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .v6-device img,
  .v6-showcase > img,
  .v6-showcase-copy {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .v6-hero {
    padding-top: 56px;
  }

  .v6-hero-grid {
    min-height: auto;
    gap: 34px;
  }

  .v6-copy h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .v6-strip,
  .v6-flow {
    grid-template-columns: 1fr;
  }

  .v6-device-caption {
    display: block;
  }

  .v6-device-caption span {
    display: block;
    margin-top: 6px;
    text-align: left;
  }

  .v6-bento article,
  .v6-showcase-copy {
    padding: 24px;
    border-radius: 20px;
  }

  .v6-bento-large img,
  .v6-showcase > img {
    border-radius: 20px;
  }
}

/* Stable OTP brand correction */

:root {
  --bg: #005b86;
  --bg-2: #0078a8;
  --text: #10212a;
  --muted: #536671;
  --line: #d8e7ed;
  --soft: #f1f8fb;
  --teal: #008fbd;
  --mint: #b8ecff;
  --blue: #0078b8;
}

.home-v6 {
  background: #f7fbfd;
}

.home-v6 .site-header,
.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(0, 91, 134, .14);
  box-shadow: 0 10px 28px rgba(0, 91, 134, .08);
}

.brand {
  color: #063c5a;
}

.brand-text small {
  color: #557381;
}

.main-nav a {
  color: #40545f;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(0, 120, 184, .1);
  color: #005b86;
}

.main-nav .nav-cta {
  background: #005b86;
  color: #fff;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.active {
  background: #0078b8;
  color: #fff;
}

.nav-toggle {
  border-color: rgba(0, 91, 134, .2);
  background: rgba(0, 120, 184, .08);
}

.nav-toggle span {
  background: #005b86;
}

.v6-hero {
  min-height: auto;
  padding: clamp(64px, 7vw, 96px) 0 clamp(34px, 5vw, 58px);
  background: linear-gradient(135deg, #f8fcfe 0%, #e8f6fb 52%, #d9f0f8 100%);
  color: #10212a;
}

.v6-hero-bg {
  background:
    radial-gradient(circle at 76% 18%, rgba(0, 144, 190, .16), transparent 32%),
    radial-gradient(circle at 12% 82%, rgba(0, 91, 134, .12), transparent 34%);
}

.v6-hero-grid {
  grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr);
  min-height: 560px;
  gap: clamp(32px, 5vw, 64px);
}

.v6-copy h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 4.25vw, 4.55rem);
  line-height: 1.06;
  font-weight: 820;
}

.v6-copy p {
  max-width: 660px;
  color: #415d6a;
  font-size: clamp(1.02rem, 1.22vw, 1.18rem);
}

.v6-pill {
  border-color: rgba(0, 120, 184, .28);
  color: #005b86;
  background: rgba(0, 120, 184, .09);
}

.v6-btn.primary {
  background: #0078b8;
  color: #fff;
}

.v6-btn.primary:hover {
  background: #006395;
}

.v6-btn.secondary {
  color: #005b86;
  border-color: rgba(0, 91, 134, .24);
  background: rgba(255, 255, 255, .68);
}

.v6-btn.dark {
  background: #005b86;
  color: #fff;
}

.v6-device {
  border-radius: 18px;
  border: 1px solid rgba(0, 91, 134, .18);
  background: #fff;
  box-shadow: 0 28px 70px -42px rgba(0, 91, 134, .45);
}

.v6-device img {
  min-height: 430px;
}

.v6-device::after {
  background: linear-gradient(180deg, transparent 55%, rgba(0, 48, 72, .76) 100%);
}

.v6-strip {
  margin-top: 0;
  border-color: rgba(0, 91, 134, .14);
  background: #fff;
  box-shadow: 0 20px 52px -44px rgba(0, 91, 134, .55);
}

.v6-strip div {
  background: #fff;
}

.v6-strip strong {
  color: #063c5a;
}

.v6-strip span {
  color: #60747e;
}

.v6-section {
  padding: clamp(66px, 8vw, 112px) 0;
}

.v6-white {
  background: #f7fbfd;
}

.v6-dark {
  background: linear-gradient(135deg, #005b86 0%, #0078a8 100%);
  color: #fff;
}

.v6-intro h2 {
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  line-height: 1.04;
}

.v6-kicker,
.v6-bento article span,
.v6-bento-large span {
  color: #0078b8;
}

.v6-dark .v6-kicker {
  color: #b8ecff;
}

.v6-bento article,
.v6-showcase-copy {
  border: 1px solid rgba(0, 91, 134, .12);
  border-radius: 18px;
  box-shadow: 0 24px 58px -48px rgba(0, 91, 134, .48);
}

.v6-bento-large img,
.v6-showcase > img {
  border-radius: 18px;
}

.v6-flow div {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
}

.home-v6 .cta-band {
  border-radius: 18px;
  background: linear-gradient(135deg, #005b86, #008fbd);
}

@media (max-width: 980px) {
  .v6-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .v6-copy h1 {
    max-width: 780px;
  }
}

@media (max-width: 720px) {
  .v6-copy h1 {
    font-size: clamp(2.35rem, 10vw, 3.35rem);
  }

  .v6-device img,
  .v6-showcase > img,
  .v6-showcase-copy {
    min-height: 320px;
  }
}

/* Footer brand alignment */

.site-footer {
  background:
    linear-gradient(180deg, #ffffff 0%, #f0f8fc 100%);
  color: #536671;
  padding: 54px 0 26px;
  border-top: 1px solid rgba(0, 91, 134, .14);
}

.footer-grid {
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 91, 134, .14);
}

.footer-brand {
  color: #063c5a;
  margin-bottom: 12px;
}

.footer-brand .logo-badge {
  box-shadow: 0 12px 30px -20px rgba(0, 91, 134, .75);
}

.footer-grid p {
  max-width: 360px;
  color: #5a707b;
}

.footer-grid h4 {
  color: #005b86;
  margin-bottom: 14px;
  font-size: .78rem;
}

.footer-grid a {
  width: fit-content;
  margin-bottom: 10px;
  color: #405965;
  font-weight: 700;
}

.footer-grid a:hover {
  color: #0078b8;
}

.footer-bottom {
  color: #6a7b83;
  align-items: center;
}

.footer-bottom a {
  color: #005b86;
  font-weight: 800;
}

.footer-bottom a:hover {
  color: #0078b8;
}

@media (max-width: 720px) {
  .site-footer {
    padding-top: 42px;
  }

  .footer-grid {
    gap: 22px;
  }
}

/* OTP design system refinement */

:root {
  --bg: #081320;
  --bg-2: #102033;
  --text: #081320;
  --muted: #596673;
  --line: #e4e7ec;
  --paper: #ffffff;
  --soft: #f2f4f7;
  --teal: #0052cc;
  --mint: #d8e8ff;
  --blue: #0052cc;
  --r: 10px;
}

body,
.home-v6 {
  background: #fff;
  color: var(--text);
}

h1,
h2,
h3,
h4 {
  color: var(--text);
}

.site-header,
.home-v6 .site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

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

.brand-logo {
  width: 188px;
  height: auto;
}

.logo-badge {
  border-radius: 6px;
}

.main-nav a {
  border-radius: 8px;
  color: #4b5563;
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a.active {
  background: #eef4ff;
  color: #0052cc;
}

.main-nav .nav-cta {
  background: #0052cc;
  color: #fff;
  border-radius: 8px;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.active {
  background: #003d99;
  color: #fff;
}

.v6-hero {
  padding: clamp(72px, 8vw, 112px) 0 clamp(44px, 6vw, 72px);
  background: #fff;
  color: var(--text);
}

.v6-hero-bg {
  background:
    linear-gradient(90deg, rgba(0, 82, 204, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 82, 204, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: .8;
}

.v6-hero-grid {
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  min-height: 500px;
}

.v6-copy h1 {
  max-width: 680px;
  font-size: clamp(2.45rem, 3.85vw, 4.15rem);
  line-height: 1.08;
  font-weight: 760;
}

.v6-copy p {
  max-width: 640px;
  color: #4b5563;
  font-size: 1.08rem;
}

.v6-pill {
  padding: 7px 10px;
  border-radius: 6px;
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #0052cc;
  letter-spacing: .08em;
}

.v6-actions {
  margin-top: 26px;
}

.v6-btn,
.btn {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 750;
}

.v6-btn.primary,
.btn-primary {
  background: #0052cc;
  color: #fff;
}

.v6-btn.primary:hover,
.btn-primary:hover {
  background: #003d99;
}

.v6-btn.secondary,
.btn-ghost {
  background: #fff;
  border-color: #cbd5e1;
  color: #081320;
}

.v6-btn.dark,
.btn-secondary {
  background: #081320;
  color: #fff;
}

.otp-architecture {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 56px 1.16fr 56px 1fr;
  align-items: center;
  min-height: 380px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
}

.arch-node,
.arch-core,
.arch-stack div {
  border: 1px solid var(--line);
  background: #fff;
}

.arch-node {
  display: grid;
  place-items: center;
  min-height: 132px;
  border-radius: 10px;
}

.arch-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  border: 2px solid #0052cc;
  border-radius: 999px;
  text-align: center;
}

.arch-core::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid #d8e8ff;
  border-radius: inherit;
}

.arch-node span,
.arch-core span,
.arch-stack span {
  display: block;
  color: #0052cc;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.arch-node strong,
.arch-core strong {
  position: relative;
  margin-top: 8px;
  color: #081320;
}

.arch-line {
  height: 2px;
  background: #0052cc;
}

.arch-stack {
  display: grid;
  gap: 10px;
}

.arch-stack div {
  padding: 14px 16px;
  border-radius: 8px;
}

.v6-device,
.source-visual,
.card,
.panel,
.v6-bento article,
.v6-showcase-copy {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}

.v6-device img,
.v6-showcase > img,
.v6-bento-large img {
  border-radius: 10px;
}

.v6-section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.v6-white,
.bg-soft {
  background: #f2f4f7;
}

.v6-dark,
.bg-night {
  background: #081320;
  color: #fff;
}

.v6-dark h2,
.v6-dark h3,
.bg-night h2,
.bg-night h3 {
  color: #fff;
}

.v6-flow div {
  border-color: rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
}

.v6-intro h2,
.v6-showcase-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.35rem);
  line-height: 1.08;
  font-weight: 740;
}

.v6-kicker,
.v6-bento article span,
.v6-bento-large span {
  color: #0052cc;
}

.v6-dark .v6-kicker {
  color: #8bb8ff;
}

.v6-strip {
  border-radius: 10px;
  box-shadow: none;
}

.home-v6 .cta-band {
  border-radius: 10px;
  background: #081320;
}

.site-footer {
  background: #081320;
  color: rgba(255, 255, 255, .68);
  border-top: 0;
}

.footer-grid {
  border-bottom-color: rgba(255, 255, 255, .12);
}

.footer-brand,
.footer-grid h4 {
  color: #fff;
}

.footer-logo {
  width: 210px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .94;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255, 255, 255, .68);
}

.footer-grid a:hover,
.footer-bottom a,
.footer-bottom a:hover {
  color: #8bb8ff;
}

@media (max-width: 980px) {
  .v6-hero-grid,
  .otp-architecture {
    grid-template-columns: 1fr;
  }

  .arch-line {
    width: 2px;
    height: 38px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .v6-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.05rem);
  }

  .otp-architecture {
    padding: 22px;
  }

  .brand-logo {
    width: 156px;
  }

  .footer-logo {
    width: 184px;
  }
}

/* OTP visual board alignment */

body,
.home-v6 {
  background: #081320;
}

.site-header,
.home-v6 .site-header {
  padding: 18px 0 0;
  background: #081320;
  border-bottom: 0;
}

.site-header .wrap {
  height: 82px;
  padding: 0 22px 0 28px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px 12px 0 0;
  background: #fff;
}

.brand-logo {
  width: 178px;
}

.main-nav {
  gap: 12px;
}

.main-nav a {
  padding: 9px 10px;
  background: transparent;
  color: #081320;
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  background: transparent;
  color: #0052cc;
}

.main-nav .nav-cta {
  padding: 10px 14px;
  background: #0052cc;
  color: #fff;
  border-radius: 6px;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.active {
  background: #0044aa;
  color: #fff;
}

.v6-hero {
  padding: clamp(70px, 8vw, 110px) 0 0;
  background:
    radial-gradient(circle at 68% 44%, rgba(0, 82, 204, .22), transparent 28%),
    radial-gradient(circle at 82% 15%, rgba(255, 255, 255, .07), transparent 24%),
    #081320;
  color: #fff;
}

.v6-hero-bg {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 67% 45%, #000 0%, transparent 62%);
  opacity: .9;
}

.v6-hero-grid {
  min-height: 500px;
  padding-bottom: 54px;
}

.v6-copy h1 {
  color: #fff;
  max-width: 660px;
  font-size: clamp(2.35rem, 3.55vw, 3.9rem);
  line-height: 1.09;
  text-transform: none;
}

.v6-copy p {
  max-width: 590px;
  color: rgba(255, 255, 255, .82);
}

.v6-pill {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #8bb8ff;
}

.v6-btn.primary {
  background: #0052cc;
  color: #fff;
}

.v6-btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.otp-architecture {
  min-height: 390px;
  padding: clamp(24px, 3vw, 40px);
  border-color: rgba(255, 255, 255, .12);
  background:
    radial-gradient(circle at center, rgba(0, 82, 204, .22), transparent 52%),
    rgba(255, 255, 255, .035);
}

.arch-node,
.arch-core,
.arch-stack div {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .045);
}

.arch-node strong,
.arch-core strong {
  color: #fff;
}

.arch-node span,
.arch-core span,
.arch-stack span {
  color: #8bb8ff;
}

.arch-core {
  border-color: #fff;
  box-shadow:
    inset -18px 0 0 -8px #0052cc,
    0 0 0 10px rgba(255, 255, 255, .02);
}

.arch-core::before {
  border-color: rgba(255, 255, 255, .2);
}

.arch-line {
  background: rgba(255, 255, 255, .68);
}

.v6-strip {
  border-radius: 0;
  border: 0;
  border-top: 1px solid #e4e7ec;
  border-bottom: 1px solid #e4e7ec;
}

.v6-strip div {
  padding: 26px 22px;
  border-right: 1px solid #e4e7ec;
}

.v6-strip div:last-child {
  border-right: 0;
}

.v6-white,
.bg-soft {
  background: #fff;
}

.v6-section:nth-of-type(even),
.bg-soft {
  background: #f2f4f7;
}

.v6-bento article,
.v6-showcase-copy,
.card,
.panel,
.source-visual {
  border-radius: 8px;
}

.v6-bento-large img,
.v6-showcase > img,
.v6-device img {
  border-radius: 8px;
}

.footer-logo {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  filter: none;
}

@media (max-width: 980px) {
  .site-header .wrap {
    border-radius: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 0;
  }

  .site-header .wrap {
    height: 72px;
  }

  .brand-logo {
    width: 148px;
  }
}
