:root {
  --brand-red-1: #8f1725;
  --brand-red-2: #c93443;
  --brand-red-3: #f06b62;
  --cream: #fff8f2;
  --cream-2: #fff1e8;
  --ink: #171113;
  --muted: #6e6265;
  --soft: #f7eee9;
  --card: #ffffff;
  --border: rgba(143, 23, 37, .12);
  --ring: rgba(201, 52, 67, .22);
  --shadow: 0 22px 70px rgba(63, 22, 25, .10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(240, 107, 98, .22), transparent 34rem),
    linear-gradient(180deg, var(--cream), #fff 38%, #fff8f3 100%);
}
a { color: inherit; }
.sticky { position: sticky; top: 0; z-index: 40; }
.nav {
  background: rgba(255, 248, 242, .88);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 104px;
  padding: .9rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 174px; max-height: 82px; height: auto; }
.links { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; }
.links a {
  color: #39272b;
  font-size: .94rem;
  font-weight: 700;
  padding: .68rem .82rem;
  border-radius: 999px;
}
.links a:hover, .links a:focus { background: rgba(143, 23, 37, .08); outline: none; }
.links .nav-cta { background: var(--ink); color: #fff; padding-inline: 1rem; }
.links .nav-cta:hover, .links .nav-cta:focus { background: var(--brand-red-1); }
.nav-toggle { display: none; }
.header { position: relative; overflow: hidden; }
.header:before {
  content: "";
  position: absolute; inset: 0 0 auto auto;
  width: 44rem; height: 44rem;
  background: radial-gradient(circle, rgba(143, 23, 37, .12), transparent 64%);
  transform: translate(18%, -30%);
  pointer-events: none;
}
.hero {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5.4rem 0 4.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 .9rem;
  padding: .42rem .68rem;
  border: 1px solid rgba(143, 23, 37, .16);
  border-radius: 999px;
  background: rgba(255,255,255,.64);
  color: var(--brand-red-1);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.hero h1, .section h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.15rem, 7vw, 6.6rem);
}
.lede {
  max-width: 43rem;
  margin: 1.25rem 0 0;
  color: #4f4245;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.58;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .85rem 1.12rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand-red-1);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(143, 23, 37, .22);
}
.cta:hover, .btn:hover { background: #73101d; }
.cta.secondary, .btn.ghost {
  background: rgba(255,255,255,.74);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: none;
}
.cta.secondary:hover, .btn.ghost:hover { background: #fff; border-color: rgba(143, 23, 37, .25); }
.microcopy { color: var(--muted); margin: .9rem 0 0; font-size: .95rem; }
.hero-card {
  position: relative;
  background: linear-gradient(180deg, #fff, #fff8f4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.hero-card:after {
  content:"";
  position:absolute; inset:auto 1.2rem -1.2rem 1.2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(143, 23, 37, .08);
  filter: blur(12px);
  z-index: -1;
}
.hero-card-top { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-weight: 700; font-size: .9rem; }
.status-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--brand-red-1); box-shadow: 0 0 0 5px rgba(143,23,37,.12); }
.hero-card h3 { font-size: 1.8rem; line-height: 1.08; letter-spacing: -.035em; margin: 1.1rem 0; }
.mini-stack { display: grid; gap: .65rem; }
.mini-stack div {
  display: grid; gap: .15rem;
  padding: .9rem;
  border: 1px solid rgba(143,23,37,.11);
  border-radius: 16px;
  background: #fff;
}
.mini-stack span { color: var(--muted); font-size: .94rem; }
.price-callout { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); }
.price-callout strong { color: var(--ink); font-size: 1.4rem; }
.section { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 4.2rem 0; scroll-margin-top: 112px; }
.section h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
.centered { text-align: center; margin-inline: auto; max-width: 760px; }
.centered .section-kicker { margin-inline: auto; }
.muted, .prose { color: var(--muted); }
.prose { font-size: 1.06rem; line-height: 1.72; }
.prose p:first-child { margin-top: 0; }
.split-card, .migration-card, .quote-card, .contact-grid {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}
.split-card {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 2rem;
  padding: clamp(1.3rem, 4vw, 3rem);
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 44px rgba(63,22,25,.06);
}
.price-card.featured { background: #fff; border-color: rgba(143, 23, 37, .34); box-shadow: var(--shadow); transform: translateY(-10px); }
.plan-label { width: fit-content; padding: .34rem .62rem; border-radius: 999px; background: var(--soft); color: var(--brand-red-1); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.price-card h3 { margin: 1rem 0 .4rem; font-size: 1.35rem; letter-spacing: -.025em; }
.price { margin: .3rem 0 .55rem; color: var(--muted); }
.price strong { color: var(--ink); font-size: 2.4rem; letter-spacing: -.055em; }
.price-card ul { list-style: none; margin: 1.1rem 0 1.3rem; padding: 0; display: grid; gap: .7rem; }
.price-card li { position: relative; padding-left: 1.55rem; color: #42383b; }
.price-card li:before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-red-1); font-weight: 900; }
.price-card .btn { margin-top: auto; width: 100%; }
.pricing-note { max-width: 760px; margin: 1.3rem auto 0; color: var(--muted); text-align: center; font-size: .95rem; line-height: 1.6; }
.migration-card { display: grid; grid-template-columns: 1fr 360px; align-items: center; gap: 2rem; padding: clamp(1.3rem, 4vw, 3rem); background: linear-gradient(135deg, #3a1218, var(--brand-red-1)); color: #fff; }
.migration-card .section-kicker { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.18); }
.migration-card p { color: rgba(255,255,255,.82); line-height: 1.7; }
.migration-panel { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 22px; padding: 1.25rem; }
.fee { font-size: 3.1rem; font-weight: 900; letter-spacing: -.06em; }
.waived { margin: .8rem 0 0; padding: .8rem; background: rgba(255,255,255,.11); border-radius: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.step { padding: 1.35rem; border: 1px solid var(--border); border-radius: 22px; background: #fff; }
.step span { color: var(--brand-red-1); font-weight: 900; font-size: .8rem; letter-spacing: .08em; }
.step h3 { margin: .8rem 0 .45rem; font-size: 1.45rem; }
.step p { color: var(--muted); line-height: 1.62; margin-bottom: 0; }
.quote-card { padding: clamp(1.4rem, 5vw, 3.4rem); text-align: center; background: linear-gradient(180deg, #fff, var(--cream-2)); }
.quote-card p { max-width: 780px; margin: 0 auto; font-size: clamp(1.7rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 850; }
.quote-card span { display: block; margin-top: 1rem; color: var(--muted); }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 2rem; }
.channel-card { text-decoration: none; display: grid; gap: .55rem; padding: 1.1rem; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.82); min-height: 150px; }
.channel-card strong { font-size: 1.1rem; }
.channel-card span { color: var(--muted); line-height: 1.5; }
.channel-card.active { border-color: rgba(143, 23, 37, .36); background: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 2rem; padding: clamp(1.2rem, 4vw, 2.4rem); align-items: start; }
.contact-points { display: grid; gap: .8rem; margin-top: 1.2rem; color: var(--muted); line-height: 1.55; }
.contact-card { display: grid; gap: .92rem; padding: 1.2rem; border: 1px solid var(--border); border-radius: 22px; background: #fff; }
label { display: block; margin-bottom: .35rem; font-weight: 800; font-size: .92rem; }
input, textarea {
  width: 100%;
  padding: .86rem .92rem;
  border-radius: 13px;
  border: 1px solid rgba(23,17,19,.13);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
input:focus, textarea:focus { outline: 4px solid var(--ring); border-color: var(--brand-red-2); }
textarea { min-height: 150px; resize: vertical; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.consent label { margin: 0; font-weight: 500; }
.consent input { width: auto; margin-top: .22rem; }
.form-footnote { margin: 0; color: var(--muted); font-size: .88rem; }
footer { width: min(1160px, calc(100% - 32px)); margin: 2rem auto 4rem; color: #7d7174; font-size: .95rem; }
footer a { color: var(--brand-red-1); }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #222; color: #fff; padding: 15px; text-align: center; font-size: 14px; display: none; z-index: 9999; }
.cookie-banner a { color: #4da6ff; text-decoration: underline; }
.cookie-banner button { margin-left: 15px; padding: 6px 12px; background: #4da6ff; color: white; border: none; border-radius: 3px; cursor: pointer; }
@media (max-width: 980px) {
  .hero, .split-card, .migration-card, .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid, .steps { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { max-width: 11ch; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 96px; }
  .nav-inner { min-height: auto; padding: .75rem 0; align-items: flex-start; }
  .brand img { width: 150px; max-height: 70px; }
  .nav-toggle { display: inline-flex; align-items:center; justify-content:center; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); padding: .6rem .8rem; font-weight: 800; }
  .links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: .6rem; }
  .nav.open .links { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .links a { background: rgba(255,255,255,.72); }
  .hero { padding: 3.2rem 0 3rem; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-actions { flex-direction: column; }
  .cta { width: 100%; }
  .channel-grid { grid-template-columns: 1fr; }
}


/* Revised logo visibility */
.brand img{ opacity: 1; filter: none; }
.nav{ border-bottom: 1px solid rgba(0,0,0,.06); }

.legal{max-width:980px;margin:0 auto;padding:2rem 0 4rem}.legal h1{font-size:clamp(2.4rem,6vw,5rem);line-height:.95;letter-spacing:-.06em;color:var(--ink);margin:.4rem 0 1.4rem}.legal h2{font-size:clamp(1.8rem,4vw,3.4rem);line-height:1;letter-spacing:-.055em;color:var(--ink);margin:2rem 0 .8rem}.legal h3{color:var(--ink);margin:1.4rem 0 .4rem}.legal p,.legal li{color:#342b2e}.legal ul{padding-left:1.25rem}.legal .updated{color:var(--muted);font-weight:700;margin-bottom:1rem}.legal .note{border:1px solid var(--border);background:rgba(255,255,255,.72);border-radius:18px;padding:1rem}


/* === Mail v3 polish === */
html{ scroll-padding-top:132px; }
[id]{ scroll-margin-top:132px; }
.nav-inner{ min-height:112px; padding:1rem 0; }
.brand img{ width:154px; max-height:84px; padding:.25rem 0; }
.status-dot{ background:var(--brand-red-1)!important; box-shadow:0 0 0 5px rgba(143,23,37,.12)!important; }
.cookie-banner{ position:fixed; z-index:9999; right:18px; bottom:18px; max-width:420px; padding:1rem; border-radius:20px; background:#171113; color:#fff; box-shadow:0 22px 70px rgba(0,0,0,.22); }
.cookie-banner p{ margin:.2rem 0 .85rem; color:rgba(255,255,255,.86); line-height:1.45; }
.cookie-banner button{ background:var(--brand-red-1); color:#fff; border:0; border-radius:999px; padding:.75rem 1rem; font-weight:900; cursor:pointer; }
@media (max-width:760px){
  html{ scroll-padding-top:104px; }
  [id]{ scroll-margin-top:104px; }
  .nav-inner{ min-height:92px; align-items:center; }
  .brand img{ width:132px; max-height:70px; }
  .nav.open .links{ gap:.35rem; padding:.75rem 0 0; }
  .nav.open .links a{ min-height:46px; display:flex; align-items:center; padding:.72rem .95rem; }
  .hero{ padding-top:3.8rem; }
  .cookie-banner{ left:14px; right:14px; bottom:14px; }
}


/* Parent brand blue palette */
:root{
  --opm-blue:#1f4f8f;
  --opm-blue-dark:#15365f;
  --opm-soft-blue:#eef4fb;
}

body.home,
.home-page{
  background:var(--opm-soft-blue);
}

.hero,
.hero-section{
  background:linear-gradient(to bottom, #eef4fb 0%, #ffffff 100%);
}

.primary-btn,
.button-primary{
  background:var(--opm-blue);
  border-color:var(--opm-blue);
}

.primary-btn:hover,
.button-primary:hover{
  background:var(--opm-blue-dark);
}

.navbar,
header{
  background:rgba(255,255,255,.92);
}

/* preserve Mail section warmth */
.mail-page,
.mail-section{
  background:#fffaf7;
}


/* ===== OPM parent brand redesign ===== */

body{
  background:#f4f7fb;
}

/* remove vertical seam feeling */
.hero,
.hero-section,
main,
section{
  background-image:none !important;
  box-shadow:none !important;
}

/* homepage identity */
.home-page .hero,
body.home .hero,
body.homepage .hero{
  background:#edf3fb !important;
  border-radius:0;
  padding-top:80px;
  padding-bottom:90px;
}

/* cleaner broad brand palette */
:root{
  --opm-blue:#2b5d95;
  --opm-blue-dark:#183b61;
  --opm-soft:#edf3fb;
}

header,
.navbar{
  background:#fbf7f2 !important;
}

/* homepage logo tint support */
.home-page .logo img,
body.home .logo img{
  filter:hue-rotate(190deg) saturate(80%);
}

/* hero composition */
.hero-grid,
.hero-content{
  align-items:start !important;
}

.hero-card,
.support-card{
  margin-top:10px !important;
}

/* calmer homepage buttons */
.primary-btn,
.button-primary{
  background:var(--opm-blue) !important;
  border-color:var(--opm-blue) !important;
}

.primary-btn:hover,
.button-primary:hover{
  background:var(--opm-blue-dark) !important;
}

/* less productized homepage feel */
.home-page .card,
body.home .card{
  border-radius:24px;
}

/* preserve mail product styling */
.mail-page,
.mail-page body,
body.mail{
  background:#fffaf7 !important;
}

/* mobile cleanup */
@media(max-width:768px){

  .hero{
    padding-top:48px !important;
  }

  .hero-card,
  .support-card{
    margin-top:32px !important;
  }

  .logo img{
    max-height:72px;
  }
}


/* =========================================================
   SURGICAL FINAL FIX — Mail hero alignment
   ========================================================= */

.header .hero{
  align-items:start !important;
}

.header .hero .hero-card{
  margin-top:0 !important;
  transform:translateY(-2.25rem) !important;
  align-self:start !important;
}

@media (max-width:980px){
  .header .hero .hero-card{
    transform:none !important;
    margin-top:.25rem !important;
  }
}

.eyebrow{
  max-width:100% !important;
}

@media (max-width:760px){
  .hero h1{
    font-size:clamp(2.65rem, 12.4vw, 4.15rem) !important;
    line-height:.97 !important;
    letter-spacing:-.052em !important;
  }
}


/* === final refinement pass === */
html{ scroll-padding-top:120px; }
[id], .section{ scroll-margin-top:120px !important; }
.hero{ padding-top:4.8rem; padding-bottom:4rem; align-items:start; }
.hero h1{ font-size:clamp(2.9rem,6.2vw,5.7rem); line-height:.94; max-width:8.6ch; }
.hero .lede{ max-width:38rem; font-size:1.14rem; }
.hero-card{ margin-top:0 !important; box-shadow:0 18px 46px rgba(63,22,25,.08); }
.eyebrow{ max-width:fit-content; }
@media (max-width:760px){
 html{ scroll-padding-top:96px; }
 [id], .section{ scroll-margin-top:96px !important; }
 .hero{ padding-top:3rem; padding-bottom:2.6rem; }
 .hero h1{ font-size:clamp(2.5rem,13vw,4.2rem); max-width:9ch; line-height:.95; }
 .hero .lede{ font-size:1.04rem; line-height:1.6; }
}


/* =========================================================
FINAL POLISH PASS
========================================================= */

/* consistent anchor spacing */
section[id],
div[id]{
  scroll-margin-top:110px;
}

@media (max-width:760px){
  section[id],
  div[id]{
    scroll-margin-top:84px;
  }
}

/* calmer hero scale */
body:has(.parent-header) .hero h1,
body:has(.parent-header) .root-hero h1{
  font-size:clamp(2.8rem,5.2vw,4.75rem) !important;
  line-height:.97 !important;
}

body:has(.parent-header) .hero,
body:has(.parent-header) .root-hero{
  padding-top:clamp(2.5rem,4vw,4rem) !important;
  padding-bottom:clamp(2.8rem,4.5vw,4.5rem) !important;
}

/* softer buttons */
.cta,
.btn{
  box-shadow:0 4px 12px rgba(0,0,0,.08) !important;
}

/* calmer cards */
.hero-card,
.service-card,
.channel-card,
.pricing-card{
  box-shadow:0 10px 28px rgba(15,23,42,.06) !important;
  border-radius:20px !important;
}

/* homepage hero card positioning */
body:has(.parent-header) .hero-card,
body:has(.parent-header) .parent-hero-card{
  margin-top:1.5rem !important;
  padding:1.4rem !important;
}

/* tighten section spacing */
.section,
section{
  padding-top:clamp(3.2rem,5vw,5rem) !important;
  padding-bottom:clamp(3.2rem,5vw,5rem) !important;
}

/* tighter card grids */
.service-grid,
.channel-grid,
.pricing-grid{
  gap:1.15rem !important;
}

/* stronger readable text */
.service-card p,
.channel-card p,
.hero-card p{
  color:rgba(15,23,42,.82) !important;
}

/* mail hero refinement */
body:not(:has(.parent-header)) .hero h1{
  font-size:clamp(2.9rem,5.5vw,5rem) !important;
  line-height:.96 !important;
}

body:not(:has(.parent-header)) .hero{
  padding-top:clamp(2.4rem,4vw,4rem) !important;
  padding-bottom:clamp(2.6rem,4vw,4.2rem) !important;
}

body:not(:has(.parent-header)) .hero-card{
  margin-top:1.2rem !important;
  max-width:390px !important;
}

/* footer cleanup */
footer{
  border-top:1px solid rgba(15,23,42,.08) !important;
  margin-top:2rem !important;
}

footer p{
  color:rgba(15,23,42,.62) !important;
}

/* mobile polish */
@media (max-width:760px){

  body:has(.parent-header) .hero h1,
  body:has(.parent-header) .root-hero h1{
    font-size:clamp(2.25rem,9vw,3.3rem) !important;
    line-height:1 !important;
  }

  body:not(:has(.parent-header)) .hero h1{
    font-size:clamp(2.2rem,9vw,3.25rem) !important;
  }

  .hero-card{
    max-width:100% !important;
  }

  .hero-actions{
    gap:.8rem !important;
  }

  .service-card,
  .channel-card,
  .pricing-card{
    border-radius:18px !important;
  }
}
