:root {
  --navy: #0c1b33;
  --navy-2: #132844;
  --navy-3: #1b3558;
  --blue: #1a5fc4;
  --blue-d: #154a9a;
  --teal: #1aa7b8;
  --teal-2: #2ec4d4;
  --ink: #152033;
  --muted: #5b6b80;
  --line: #d7e1ec;
  --paper: #f3f6fa;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(12, 27, 51, 0.08);
  --radius: 18px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: Manrope, Inter, sans-serif; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.lede { font-size: 1.18rem; color: var(--muted); max-width: 42rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 64px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--navy-2); }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-family: inherit;
  transition: 0.2s ease;
}
.btn-primary { background: linear-gradient(90deg, var(--blue), var(--teal)); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(26,95,196,0.28); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--navy); color: #fff; }
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,27,51,0.35) 0%, rgba(12,27,51,0.82) 70%, #0c1b33 100%),
    radial-gradient(circle at 20% 20%, rgba(26,167,184,0.18), transparent 40%);
}
.hero-inner { position: relative; z-index: 1; padding: 120px 0 72px; }
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-logo {
  width: min(100%, 360px);
  height: auto;
  justify-self: end;
  background: #fff;
  padding: 28px 32px;
  border-radius: 24px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 16ch; }
.hero p { font-size: 1.2rem; max-width: 38rem; color: rgba(255,255,255,0.82); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.hero-meta strong { display: block; color: #fff; font-size: 16px; }

/* Sections */
section { padding: 88px 0; }
section[id] { scroll-margin-top: 100px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.paper { background: var(--paper); }
.navy { background: var(--navy); color: #fff; }
.navy .lede, .navy p { color: rgba(255,255,255,0.78); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
a.card:hover, .card:hover { transform: translateY(-3px); border-color: #b9cde4; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}
.card a.more { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 700; font-size: 14px; }

.icon-pill {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(26,95,196,0.12), rgba(26,167,184,0.16));
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 14px;
}

/* Workflow */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}
.step .n { font-family: Manrope, sans-serif; font-size: 28px; font-weight: 800; color: var(--teal); }
.step h4 { font-size: 1rem; margin: 8px 0 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

.media-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.grid-2 .media-frame img { height: 420px; object-position: center; }
.media-contain img { object-fit: contain; background: #fff; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill {
  background: rgba(26,95,196,0.08);
  color: var(--navy-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

/* Security */
.secure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.secure-item { padding: 22px; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.secure-item h3 { font-size: 1.05rem; }

/* Page hero */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #16345c 60%, #155a73 100%);
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.o2-heading { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.o2-heading h1, .o2-heading h2 { margin: 0; }
.o2-mark { height: 86px; width: auto; display: block; }
.page-hero .o2-mark {
  height: 108px;
  background: #fff;
  padding: 12px 14px;
  border-radius: 18px;
}
.o2-heading-sm .o2-mark { height: 72px; }
.o2-home {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}
.o2-home .o2-mark { height: 150px; }
.foot-o2 {
  height: 52px;
  width: auto;
  margin-bottom: 10px;
  background: #fff;
  padding: 6px 8px;
  border-radius: 10px;
}
.sell-head { display: flex; align-items: center; gap: 10px; }
.card img.sell-logo {
  width: auto;
  height: 36px;
  object-fit: contain;
  border-radius: 0;
  margin: 0;
  flex-shrink: 0;
}
.page-hero p { color: rgba(255,255,255,0.8); max-width: 40rem; font-size: 1.12rem; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.facts dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts dd { margin: 0 0 12px; font-weight: 600; }

.form {
  display: grid;
  gap: 14px;
  background: #fff;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy-2); }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }

footer {
  background: #081221;
  color: rgba(255,255,255,0.72);
  padding: 48px 0 28px;
  font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
footer a { color: rgba(255,255,255,0.78); }
footer a:hover { color: var(--teal-2); }
.foot-brand img {
  height: 92px;
  width: auto;
  margin-bottom: 14px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
}
.legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.cta-band {
  background: linear-gradient(90deg, var(--blue), var(--teal));
  color: #fff;
  padding: 56px 0;
}
.cta-band h2 { color: #fff; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

.check li { display: flex; gap: 10px; margin-bottom: 10px; }
.check li::before { content: "✓"; color: var(--teal); font-weight: 800; }

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0 18px;
  font-weight: 600;
}
.mobile-panel.open { display: flex; }

@media (max-width: 960px) {
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: block; }
  .grid-2, .grid-3, .grid-4, .steps, .secure-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; align-items: center; }
  .hero-inner { padding: 56px 0 40px; }
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo { justify-self: start; width: min(100%, 240px); padding: 18px 20px; }
  .grid-2 .media-frame img { height: 260px; }
  section { padding: 64px 0; }
  .brand img { height: 52px; }
  .o2-home { grid-template-columns: 1fr; }
  .o2-home .o2-mark { height: 110px; }
}
