/* mivobroadcast.com: the one stylesheet. Colors and font from the brand kit (Stack branding/README.md). */
@font-face { font-family: Montserrat; font-weight: 400; font-display: swap; src: url(/assets/fonts/montserrat-400.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 600; font-display: swap; src: url(/assets/fonts/montserrat-600.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 800; font-display: swap; src: url(/assets/fonts/montserrat-800.woff2) format("woff2"); }

:root {
  --navy: #0b1220;
  --navy-2: #121b2f;
  --ink: #1b2540;
  --slate: #4a5873;
  --pale: #c8d6ec;
  --blue: #2f6fed;
  --violet: #6d5dfc;
  --tint: #f3f5fc;
  --line: #dce2f0;
  --gold: #cdb07a;
  --grad: linear-gradient(100deg, var(--blue), var(--violet));
  --stripe: linear-gradient(90deg, #e02a36 0 14%, #3fc8ff 14%, #2f6fed 45%, #8b5cf6 75%, #4f46e5);
  --icon: linear-gradient(135deg, #3fc8ff, #2f6fed 50%, #8b5cf6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; padding: 10px 16px; background: #fff; color: var(--navy); border-radius: 8px; }
.skip:focus { left: 12px; }

/* The thin bar above the header: for a family looking for a service, and the sales address */
.util { background: #070c16; color: var(--pale); font-size: .8rem; }
.util-row { display: flex; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 36px; }
.util a { color: #fff; font-weight: 600; text-decoration: none; }
.util a:hover, .util a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.util-end { display: flex; gap: 22px; }
.util-end a { color: var(--pale); font-weight: 400; }
@media (max-width: 700px) { .util-end { display: none; } .util-row { justify-content: center; text-align: center; } }

/* The header: the logo, the main pages, Book a demo and Log in. Under 1180 px the pages fold into Menu (no script). */
.top { position: sticky; top: 0; z-index: 10; background: var(--navy); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--stripe); }
.top-row { position: relative; display: flex; align-items: center; gap: 16px 28px; min-height: 72px; }
.logo { flex: none; }
.logo img { width: 170px; height: 36px; }
.top-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.top-nav a { position: relative; padding: 10px 12px; border-radius: 8px; color: var(--pale); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.top-nav a:hover { color: #fff; background: rgba(200, 214, 236, .08); }
.top-nav a[aria-current] { color: #fff; }
.top-nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -15px; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); }
.nav-more { display: none; }
.top-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-toggle, .menu-btn { display: none; }
@media (max-width: 1179px) {
  .top-actions { margin-left: auto; }
  .menu-toggle { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border-radius: 10px; background: rgba(200, 214, 236, .1); color: #fff; font-size: .9rem; font-weight: 600; cursor: pointer; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
  .menu-toggle:checked ~ .top-actions .menu-btn { background: rgba(200, 214, 236, .24); }
  .menu-toggle:focus-visible ~ .top-actions .menu-btn { outline: 3px solid var(--violet); outline-offset: 2px; }
  .top-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 3px 0 0; padding: 8px 20px 20px; background: var(--navy); box-shadow: 0 18px 30px rgba(7, 12, 22, .45); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 28px; }
  .menu-toggle:checked ~ .top-nav { display: grid; }
  .top-nav a { display: flex; align-items: center; min-height: 50px; padding: 0 12px; border-radius: 0; border-bottom: 1px solid rgba(200, 214, 236, .12); font-size: 1rem; }
  .top-nav a[aria-current] { box-shadow: inset 3px 0 0 var(--gold); }
  .top-nav a[aria-current]::after { display: none; }
  .nav-more { display: flex; }
  .nav-demo { display: none; }
}
@media (max-width: 600px) {
  .btn.btn-demo { display: none; }
  .nav-demo { display: flex; color: #fff; }
}
@media (max-width: 440px) {
  .top .logo img { width: 124px; height: 26px; }
  .top-row { gap: 10px; }
  .top .btn-login, .menu-btn { padding: 0 12px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; font-weight: 600; text-align: center; text-decoration: none; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border: 1px solid rgba(200, 214, 236, .45); color: #fff; }
.btn-ghost:hover { background: rgba(200, 214, 236, .1); }
.btn-outline { border: 1px solid var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--tint); }
.btn-demo { min-height: 40px; padding: 0 18px; background: var(--grad); color: #fff; font-size: .9rem; }
.btn-demo:hover { filter: brightness(1.1); }
.btn-login { min-height: 40px; padding: 0 18px; border: 1px solid rgba(200, 214, 236, .45); color: #fff; font-size: .9rem; }
.btn-login:hover { background: rgba(200, 214, 236, .1); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
.sec { padding: clamp(56px, 8vw, 92px) 0; }
.sec-tint { background: var(--tint); }
.sec-dark { background: var(--navy); color: #fff; }
.eyebrow { margin-bottom: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.sec-dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { margin-top: 16px; max-width: 46rem; font-size: 1.08rem; color: var(--slate); }
.sec-dark .lead, .hero .lead { color: var(--pale); }
.two { display: grid; gap: 40px; align-items: center; }
@media (min-width: 920px) { .two { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* The top of the page */
.hero {
  color: #fff;
  background:
    radial-gradient(900px 520px at 80% 30%, rgba(109, 93, 252, .26), transparent 70%),
    radial-gradient(700px 420px at 8% 0, rgba(63, 200, 255, .1), transparent 70%),
    var(--navy);
}
.hero-grid { display: grid; gap: 28px; align-items: center; padding-block: clamp(44px, 7vw, 84px); }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1fr 1.14fr; gap: 36px; } }
.trust { margin-top: 26px; font-size: .9rem; color: var(--pale); }
.also { margin-top: 6px; font-size: .9rem; color: var(--pale); }
.hero-short .hero-grid { grid-template-columns: 1fr; padding-block: clamp(40px, 6vw, 68px); }

/* Service cards. One column, then two, then three (or four); a card left alone on a last row of two takes the whole row. */
.cards { display: grid; gap: 18px; margin-top: 40px; grid-template-columns: 1fr; }
.cards-flush, .help-list-flush { margin-top: 0; }
@media (min-width: 620px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards:not(.cards-4, .cards-2) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .cards:not(.cards-2) { grid-template-columns: repeat(3, 1fr); }
  .cards:not(.cards-4, .cards-2) > :last-child:nth-child(odd) { grid-column: auto; }
  .cards-4:not(.cards-2) { grid-template-columns: repeat(4, 1fr); }
}
.card { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.card p { margin-top: 8px; font-size: .95rem; color: var(--slate); }
.card .more { font-weight: 600; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; background: var(--icon); color: #fff; box-shadow: 0 6px 16px rgba(47, 111, 237, .22); }

/* At a glance, under the top of the home page */
.glance { background: var(--navy-2); color: var(--pale); }
.stats { display: grid; gap: 24px; padding-block: 34px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats p { font-size: .92rem; line-height: 1.4; }
.stats strong { display: block; margin-bottom: 4px; font-size: 2.3rem; font-weight: 800; line-height: 1; color: #fff; }

/* The home page's services, each opening its page */
.tiles { display: grid; gap: 14px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.tile:hover { border-color: var(--blue); }
.tile p { margin-top: 6px; font-size: .9rem; line-height: 1.5; color: var(--slate); }
.tile .draft-tag { margin-bottom: 8px; }

/* Words the owner hasn't settled yet, while a page is being written. A test keeps them off every page that goes public. */
.draft { background: #fff8e6; border: 2px dashed #b45309; color: #4a3b12; }
.draft-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #b45309; color: #fff; font-size: .7rem; font-weight: 800; line-height: 1.5; letter-spacing: .1em; vertical-align: middle; }
.card.draft p { color: #4a3b12; }

/* A page of plain words (Investors) */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 18px; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 10px; color: var(--slate); }
.prose .fine { margin-top: 24px; font-size: .85rem; }

/* Partners */
.partner-logo { width: auto; height: 44px; margin: 16px 0; }
.more-from { margin-top: 18px; max-width: 46rem; font-size: .95rem; color: var(--slate); }

/* Numbered steps and check lists */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps > li { position: relative; padding: 0 0 22px 56px; counter-increment: step; }
.steps > li:last-child { padding-bottom: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; }
.steps p { margin-top: 4px; color: var(--slate); font-size: .96rem; }
.subhead { margin-bottom: 20px; font-size: 1.12rem; font-weight: 800; }
.checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 3px; color: var(--blue); }
.checks strong { font-weight: 600; }
.checks span { color: var(--slate); font-size: .96rem; }
.steps.lead, .checks.lead { margin-top: 28px; }
.how-grid { display: grid; gap: 36px; margin-top: 40px; }
@media (min-width: 920px) { .how-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.how-grid-top { margin-top: 0; }
.panel { padding: 28px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.steps-row { margin-top: 32px; display: grid; gap: 22px; }
.steps-row > li { padding-bottom: 0; }
@media (min-width: 800px) { .steps-row { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* A service, minute by minute */
.timeline { display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 560px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { padding: 20px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.tl-when { display: block; margin-bottom: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.timeline p { margin-top: 4px; font-size: .92rem; color: var(--slate); }

/* Tribute scenes */
.scenes { display: grid; gap: 18px; margin: 40px 0 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.scenes figure { margin: 0; }
.scenes img { width: 100%; }
.scenes figcaption { margin-top: 12px; font-size: .92rem; color: var(--pale); }
.scenes strong { display: block; font-weight: 600; color: #fff; }

/* The phone beside the family's words */
.phone-side { display: grid; gap: 40px; align-items: start; }
.phone-side > img { justify-self: center; width: min(100%, 300px); }
@media (min-width: 920px) { .phone-side { grid-template-columns: 1fr 300px; gap: 72px; align-items: center; } }

/* The family help page */
.ways { display: grid; gap: 18px; margin-top: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ways .card p + p { margin-top: 12px; }
.ways .main-way { border: 2px solid var(--violet); }
.say { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--violet); border-radius: 0 8px 8px 0; background: var(--tint); font-size: .95rem; }
.say-label { margin-top: 14px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.ways .card .say-label { color: var(--ink); }
.note { margin-top: 24px; padding: 16px 20px; border-radius: 10px; background: var(--tint); font-size: .95rem; color: var(--slate); }
.sec-tint .note { background: #fff; border: 1px solid var(--line); }

.help-list { display: grid; gap: 12px; margin-top: 32px; align-items: start; }
@media (min-width: 920px) { .help-list { grid-template-columns: 1fr 1fr; } }
.help-list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.help-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 12px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.help-list summary::-webkit-details-marker { display: none; }
.help-list summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg) translate(-2px, -2px); }
.help-list details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.help-body { padding: 0 20px 18px; font-size: .95rem; color: var(--slate); }
.help-body ol, .help-body ul { margin: 0; padding-left: 20px; }
.help-body li + li { margin-top: 6px; }
.help-body p + ol, .help-body p + ul, .help-body ol + p, .help-body ul + p, .help-body p + p { margin-top: 10px; }
.help-body strong { font-weight: 600; color: var(--ink); }

/* Two offers side by side, at the bottom of the home page */
.band { display: grid; gap: 44px; }
@media (min-width: 920px) { .band { grid-template-columns: 1fr 1fr; gap: 64px; } }
.band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* The bottom of the page */
.foot { background: #070c16; color: var(--pale); font-size: .9rem; }
.foot::before { content: ""; display: block; height: 3px; background: var(--stripe); }
.foot-grid { display: grid; gap: 36px 28px; padding-block: 56px 40px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; max-width: 26rem; }
.foot-brand p { margin-top: 14px; line-height: 1.6; }
.foot-trust { font-size: .82rem; color: #9fb3d1; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.foot-col:last-child { grid-column: 1 / -1; }
.foot-h { margin-bottom: 4px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.foot a { color: var(--pale); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-note { font-size: .8rem; color: #9fb3d1; }
/* Tablet: three columns of links, Contact on a row under them. Desktop: the brand, three columns, then Contact. */
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-col:last-child { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
  .foot-col:last-child .foot-h { width: 100%; }
}
@media (min-width: 1100px) {
  .foot-grid { grid-template-columns: 1.3fr repeat(3, minmax(0, .8fr)) minmax(0, 1.2fr); }
  .foot-brand, .foot-col:last-child { grid-column: auto; }
  .foot-col:last-child { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-col:last-child .foot-h { width: auto; }
}
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 22px 28px; border-top: 1px solid rgba(200, 214, 236, .12); font-size: .8rem; color: #9fb3d1; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-partners { display: block; margin-top: 22px; }
.foot-partners > span:first-child { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #9fb3d1; }
.foot-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 10px; }
.foot-logos img { width: auto; height: 22px; filter: brightness(0) invert(1); opacity: .72; }
.foot-partners:hover img { opacity: 1; }

/* The page that isn't there */
.lost { min-height: 58vh; display: grid; align-content: center; }

/* The brochure's touches: a violet second line, the stat bars */
.hl { color: var(--violet); }
.hero .hl, .sec-dark .hl { color: #a99bff; }
.stats p { padding-left: 14px; border-left: 3px solid #3fc8ff; }
.stats p:nth-child(even) { border-left-color: #8b5cf6; }

/* Jump links at the top of a long page */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips a { padding: 7px 14px; border: 1px solid rgba(200, 214, 236, .35); border-radius: 999px; color: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; }
.chips a:hover { background: rgba(200, 214, 236, .12); }

/* Four steps in a row, each under a coloured rule (the flyer's How it works) */
.steps4 { display: grid; gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 620px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }
.steps4 li { padding-top: 16px; border-top: 3px solid #3fc8ff; }
.steps4 li:nth-child(2) { border-top-color: #2f6fed; }
.steps4 li:nth-child(3) { border-top-color: #6d5dfc; }
.steps4 li:nth-child(4) { border-top-color: #8b5cf6; }
.steps4 b { margin-right: 8px; font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.steps4 h3 { display: inline; }
.steps4 p { margin-top: 8px; font-size: .95rem; color: var(--slate); }

/* A card's short list */
.card ul { margin: 10px 0 0; padding-left: 18px; font-size: .92rem; color: var(--slate); }
.card li + li { margin-top: 4px; }
.card-wide { grid-column: 1 / -1; }

/* Terms, Privacy, Refunds */
.policy { max-width: 48rem; color: var(--slate); }
.policy h2 { margin: 34px 0 10px; font-size: 1.3rem; color: var(--ink); }
.policy h3 { margin: 22px 0 8px; color: var(--ink); }
.policy p, .policy ul { margin: 12px 0 0; }
.policy strong { color: var(--ink); }
.policy li + li { margin-top: 6px; }
.policy-also { max-width: 48rem; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--slate); }
