/*
   Advertise page redesign, SCD-533.
   Desktop Figma 6jVr7YbefLWCQjcGuvD59L node 3019:24274 - Mobile Qkw1rAqYvxShVppu34QlEv node 2121:13365.

   Paragraph rules carry !important because project.css sets
   "p, .p { font-size: 1rem !important; font-weight: 400 !important; line-height: 1.5rem !important }"
   on every paragraph site wide. Without matching it the body copy renders 16px/24 everywhere and
   the sections come out short of the design. That global rule cannot change until prod go-live.

   Every section is a desktop/mobile pair. The 768px gate at the bottom of this file decides which
   one renders, so both can sit on the same CMS page.
*/

:root {
    --adv-brand: #465DA6;
    --adv-brand-strong: #384A85;
    --adv-brand-light: #5E69A8;
    --adv-brand-50: #EBF1FF;
    --adv-teal: #2FB8A9;
    --adv-teal-dark: #269387;
    --adv-teal-50: #EAF8F6;
    --adv-teal-25: #F3FFFD;
    --adv-navy: #1C2542;
    --adv-navy-deep: #151C32;
    --adv-band: #384A85;
    --adv-ink: #181D27;
    --adv-ink-soft: #414651;
    --adv-muted: #535862;
    --adv-placeholder: #717680;
    --adv-line: #E9EAEB;
    --adv-border: #D5D7DA;
    --adv-surface: #F9F9F9;
    --adv-danger: #D92D20;
    --adv-danger-border: #FDA29B;
    --adv-radius: 12px;
    --adv-radius-lg: 16px;
    --adv-shadow-xs: 0 1px 2px rgba(10, 13, 18, .05);
    --adv-shadow-sm: 0 1px 3px rgba(10, 13, 18, .1), 0 1px 2px rgba(10, 13, 18, .06);
    --adv-shadow-lg: 0 12px 16px -4px rgba(10, 13, 18, .08), 0 4px 6px -2px rgba(10, 13, 18, .03);
}

/* styles.css sets `body { min-width: 1300px !important }` inside several min-width:768px blocks,
   and the layout clips overflow-x, so without this the page silently overhangs below 1300.
   The :has rule is a separate declaration on purpose: in a selector list it would take the
   body--advertise rule down with it wherever :has is unsupported. It covers the sections being
   dropped on some other CMS page, where the layout has no Advertise body class to add. */
body.body--advertise {
    min-width: 0 !important;
}

body:has(.adv-section) {
    min-width: 0 !important;
}

.adv-icon {
    width: 100%;
    height: 100%;
    display: block;
}

.adv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scoped reset. Without it the shell's max-width and its padding add up and the content column
   ends up wider than the design at 1440 and above. */
.adv-section,
.adv-modal,
.adv-section *,
.adv-section *::before,
.adv-section *::after,
.adv-modal *,
.adv-modal *::before,
.adv-modal *::after {
    box-sizing: border-box;
}

.adv-section {
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    color: var(--adv-ink);
}

.adv-shell {
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 16px;
}

.adv-heading {
    margin: 0;
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: -.02em;
    color: var(--adv-ink);
    text-align: center;
}

.adv-lead {
    margin: 20px auto 0;
    max-width: 842px;
}

.adv-lead--narrow {
    max-width: 592px;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    color: var(--adv-muted);
    text-align: center;
}

/* Buttons are redeclared here because the global button rules in project.css carry site-wide
   padding and colours that fight this design. */
.adv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.adv-btn--primary {
    background: var(--adv-brand);
    border-color: var(--adv-brand);
    color: #fff;
}

.adv-btn--primary:hover,
.adv-btn--primary:focus {
    background: var(--adv-brand-strong);
    border-color: var(--adv-brand-strong);
    color: #fff;
}

.adv-btn--light {
    background: #F5F5F5;
    border-color: #F5F5F5;
    color: var(--adv-ink-soft);
}

.adv-btn--light:hover,
.adv-btn--light:focus {
    background: #fff;
    border-color: #fff;
    color: var(--adv-ink);
}

.adv-btn--outline {
    background: #fff;
    border-color: var(--adv-border);
    color: var(--adv-ink-soft);
    box-shadow: var(--adv-shadow-xs);
}

.adv-btn--outline:hover,
.adv-btn--outline:focus {
    background: var(--adv-surface);
    color: var(--adv-ink);
}

.adv-btn--block {
    width: 100%;
}

.adv-link {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--adv-brand);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.adv-link:hover,
.adv-link:focus {
    text-decoration: underline;
    color: var(--adv-brand-strong);
}

/* ---------- hero ---------- */

.adv-hero-desktop,
.adv-hero-mobile {
    position: relative;
    overflow: hidden;
    background: var(--adv-navy-deep);
    color: #fff;
    text-align: center;
}

/* The oversized SC marks the design bleeds off the corners, drawn in CSS so they scale with the
   band instead of pinning to a fixed frame. */
.adv-hero-desktop::before,
.adv-hero-desktop::after,
.adv-hero-mobile::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(94, 105, 168, .34), rgba(21, 28, 50, 0) 68%);
    pointer-events: none;
}

.adv-hero-desktop::before {
    width: 620px;
    height: 620px;
    top: -240px;
    left: -180px;
}

.adv-hero-desktop::after {
    width: 720px;
    height: 720px;
    bottom: -320px;
    right: -200px;
}

.adv-hero-mobile::before {
    width: 420px;
    height: 420px;
    top: -170px;
    right: -160px;
}

.adv-hero-desktop__inner,
.adv-hero-mobile__inner {
    position: relative;
    z-index: 1;
}

.adv-hero-desktop__heading {
    margin: 0;
    font-size: 48px;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: -.02em;
}

.adv-hero-desktop__lead,
.adv-hero-mobile__lead {
    margin: 32px auto 0;
    max-width: 645px;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 30px !important;
    color: rgba(255, 255, 255, .82);
}

.adv-hero-desktop__actions,
.adv-hero-mobile__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* No horizontal padding here. The inner element is an .adv-shell and already carries the page
   gutter; adding 16px on top made the hero 32px narrower than every other section. */
.adv-hero-desktop {
    padding: 92px 0;
}

.adv-hero-mobile {
    padding: 51px 0 44px;
}

.adv-hero-mobile__heading {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 38px;
    letter-spacing: -.02em;
}

.adv-hero-mobile__lead {
    margin-top: 8px;
    font-size: 16px !important;
    line-height: 22px !important;
}

.adv-hero-mobile__actions {
    margin-top: 20px;
    gap: 12px;
}

.adv-hero-mobile .adv-btn {
    height: 40px;
    font-size: 14px;
    line-height: 20px;
    flex: 1 1 auto;
}

/* ---------- advertising options ---------- */

.adv-options-desktop,
.adv-options-mobile {
    background: var(--adv-surface);
    padding: 84px 0 96px;
}

.adv-options-mobile {
    padding: 48px 0 56px;
}

.adv-options__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 64px;
    align-items: stretch;
}

.adv-plan {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--adv-line);
    border-radius: var(--adv-radius-lg);
    padding: 24px;
    box-shadow: var(--adv-shadow-xs);
}

.adv-plan--featured {
    background: linear-gradient(158deg, #55659C 0%, #2A3457 46%, #141A2C 100%);
    border-color: transparent;
    color: #fff;
}

.adv-plan__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--adv-radius);
    background: var(--adv-teal-25);
    color: var(--adv-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-plan__icon .adv-icon {
    width: 28px;
    height: 28px;
}

.adv-plan--featured .adv-plan__icon {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.adv-plan__eyebrow {
    margin: 20px 0 0;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    color: var(--adv-teal);
}

.adv-plan__title {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--adv-ink);
}

.adv-plan--featured .adv-plan__title {
    color: #fff;
}

.adv-plan__meta {
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    color: var(--adv-muted);
}

.adv-plan--featured .adv-plan__meta,
.adv-plan--featured .adv-plan__price-label,
.adv-plan--featured .adv-plan__price-note,
.adv-plan--featured .adv-plan__price-secondary,
.adv-plan--featured .adv-plan__spec-label,
.adv-plan--featured .adv-plan__feature {
    color: rgba(255, 255, 255, .78);
}

.adv-plan__meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.adv-plan__rule {
    height: 1px;
    background: var(--adv-line);
    margin: 20px 0;
    border: 0;
}

.adv-plan--featured .adv-plan__rule {
    background: rgba(255, 255, 255, .18);
}

.adv-plan__price-label {
    margin: 0;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    color: var(--adv-muted);
}

.adv-plan__price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 6px;
}

.adv-plan__price {
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    letter-spacing: -.02em;
    color: var(--adv-ink);
}

.adv-plan--featured .adv-plan__price {
    color: #fff;
}

.adv-plan__price-secondary,
.adv-plan__price-note {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    color: var(--adv-muted);
}

.adv-plan__price-note {
    margin: 6px 0 0;
}

.adv-plan__cta {
    margin-top: 20px;
}

.adv-plan--featured .adv-plan__cta .adv-btn {
    background: var(--adv-brand-light);
    border-color: var(--adv-brand-light);
    color: #fff;
    box-shadow: none;
}

.adv-plan--featured .adv-plan__cta .adv-btn:hover,
.adv-plan--featured .adv-plan__cta .adv-btn:focus {
    background: var(--adv-brand);
    border-color: var(--adv-brand);
}

.adv-plan__specs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.adv-plan__spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-size: 14px;
    line-height: 22px;
}

.adv-plan__spec-label {
    color: var(--adv-muted);
}

.adv-plan__spec-value {
    font-weight: 600;
    color: var(--adv-ink);
    text-align: right;
}

.adv-plan--featured .adv-plan__spec-value {
    color: #fff;
}

.adv-plan__features {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.adv-plan__feature {
    display: flex;
    gap: 8px;
    font-size: 14px;
    line-height: 22px;
    color: var(--adv-ink-soft);
}

.adv-plan__feature-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--adv-teal);
}

.adv-plan--featured .adv-plan__feature-icon {
    color: #6FE3D2;
}

.adv-plan__footnote {
    margin: 20px 0 0;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: var(--adv-muted);
}

.adv-plan__example {
    margin-top: 20px;
    align-self: flex-start;
}

.adv-plan--featured .adv-plan__example {
    color: #C8CEE4;
}

.adv-plan--featured .adv-plan__example:hover,
.adv-plan--featured .adv-plan__example:focus {
    color: #fff;
}

/* Pushes the example link to the bottom so the three cards line up. */
.adv-plan__spacer {
    flex: 1 1 auto;
}

.adv-options-mobile .adv-options__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.adv-plan__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.adv-plan__toggle-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 14px;
    color: var(--adv-muted);
    transition: transform .2s ease;
}

.adv-plan--featured .adv-plan__toggle-icon {
    color: rgba(255, 255, 255, .78);
}

.adv-plan__head[aria-expanded="true"] .adv-plan__toggle-icon {
    transform: rotate(180deg);
}

.adv-plan__details[hidden] {
    display: none;
}

/* ---------- compare options ---------- */

.adv-compare-desktop,
.adv-compare-mobile {
    background: #fff;
    padding: 84px 0 96px;
}

.adv-compare-mobile {
    padding: 48px 0 56px;
}

.adv-compare__scroll {
    margin-top: 64px;
    overflow-x: auto;
    border: 1px solid var(--adv-line);
    border-radius: var(--adv-radius);
    background: #fff;
    box-shadow: var(--adv-shadow-xs);
}

.adv-compare__table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
    table-layout: fixed;
}

.adv-compare__table th,
.adv-compare__table td {
    padding: 24px 20px;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    line-height: 20px;
}

.adv-compare__table thead th {
    background: var(--adv-surface);
    vertical-align: top;
    padding: 20px 20px 24px;
}

.adv-compare__table thead th:first-child {
    width: 262px;
}

.adv-compare__col-title {
    display: block;
    font-weight: 600;
    color: var(--adv-ink-soft);
    margin-bottom: 12px;
}

.adv-compare__table thead .adv-btn {
    height: 36px;
    font-size: 14px;
    line-height: 20px;
    width: 100%;
}

.adv-compare__table tbody tr {
    border-top: 1px solid var(--adv-line);
}

.adv-compare__row-label {
    font-weight: 600;
    color: var(--adv-ink);
}

.adv-compare__cell {
    color: var(--adv-muted);
}

.adv-compare__cell span {
    display: block;
}

.adv-compare__cell strong {
    font-weight: 600;
    color: var(--adv-ink);
}

.adv-compare__notes {
    margin: 24px 0 0;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: var(--adv-muted);
}

.adv-compare__notes span {
    display: block;
}

.adv-tabs {
    display: flex;
    border: 1px solid var(--adv-line);
    border-radius: 10px;
    background: var(--adv-surface);
    padding: 4px;
    gap: 4px;
    margin: 40px auto 0;
    max-width: 427px;
}

.adv-tab {
    flex: 1 1 0;
    min-width: 0;
    border: 0;
    background: transparent;
    border-radius: 8px;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--adv-placeholder);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adv-tab[aria-selected="true"] {
    background: #fff;
    color: var(--adv-ink);
    font-weight: 600;
    box-shadow: var(--adv-shadow-sm);
}

.adv-compare-mobile__panel[hidden] {
    display: none;
}

.adv-compare-mobile__rows {
    margin-top: 8px;
}

.adv-compare-mobile__row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--adv-line);
    align-items: center;
}

.adv-compare-mobile__row-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--adv-ink);
}

.adv-compare-mobile__row-value {
    font-size: 14px;
    line-height: 22px;
    color: var(--adv-muted);
}

.adv-compare-mobile__row-value span {
    display: block;
}

.adv-compare-mobile__row-value strong {
    font-weight: 600;
    color: var(--adv-ink);
}

.adv-compare-mobile__cta {
    margin-top: 24px;
}

/* ---------- why advertise with us ---------- */

.adv-why-desktop,
.adv-why-mobile {
    position: relative;
    overflow: hidden;
    background: var(--adv-band);
    color: #fff;
}

/* The pale diagonal wedge the design lays over the lower left of the band. */
.adv-why-desktop::after,
.adv-why-mobile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .07) 24%,
        rgba(255, 255, 255, 0) 34%);
    pointer-events: none;
}

.adv-why-desktop {
    padding: 96px 0;
}

.adv-why-mobile {
    padding: 32px 0 48px;
}

/* 700 + 112 + 404 = 1216, the shell content width. Figma 3061:34938 puts the art at x=924. */
.adv-why-desktop__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 700px) minmax(0, 404px);
    gap: 112px;
    align-items: center;
}

.adv-why__heading {
    margin: 0;
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: -.02em;
    color: #fff;
}

.adv-why__points {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.adv-why__point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.adv-why__check {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-why__check .adv-icon {
    width: 20px;
    height: 20px;
}

.adv-why__text {
    margin: 0;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    color: #fff;
}

.adv-why__cta {
    margin-top: 32px;
    height: 44px;
}

.adv-why__art {
    position: relative;
    z-index: 1;
}

.adv-why__art img {
    display: block;
    width: 100%;
    height: auto;
}

.adv-why-mobile__inner {
    position: relative;
    z-index: 1;
}

/* Figma node 2121:20810 says Heading/4, 20/28, same as every other mobile heading. */
.adv-why-mobile .adv-why__heading {
    font-size: 20px;
    line-height: 28px;
}

.adv-why-mobile .adv-why__points {
    margin-top: 24px;
    gap: 20px;
}

.adv-why-mobile .adv-why__check {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
}

.adv-why-mobile .adv-why__check .adv-icon {
    width: 13px;
    height: 13px;
}

.adv-why-mobile .adv-why__point {
    gap: 12px;
}

.adv-why-mobile .adv-why__text {
    font-size: 14px !important;
    line-height: 20px !important;
}

.adv-why-mobile .adv-why__cta {
    height: 40px;
    width: 100%;
}

.adv-why-mobile .adv-why__art {
    margin-top: 24px;
}

/* ---------- who you'll reach ---------- */

.adv-reach-desktop,
.adv-reach-mobile {
    background: #fff;
    padding: 84px 0;
}

.adv-reach-mobile {
    padding: 48px 0 56px;
}

.adv-reach__panels {
    margin-top: 32px;
}

.adv-reach__panel[hidden] {
    display: none;
}

.adv-reach-desktop__grid {
    display: grid;
    grid-template-columns: minmax(0, 697fr) minmax(0, 487fr);
    gap: 32px;
    align-items: start;
}

.adv-card {
    border: 1px solid var(--adv-line);
    border-radius: var(--adv-radius);
    background: #fff;
    overflow: hidden;
}

.adv-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--adv-surface);
    border-bottom: 1px solid var(--adv-line);
    min-height: 48px;
}

.adv-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--adv-ink);
}

.adv-card__body {
    padding: 24px;
}

.adv-card__see-all {
    margin-left: auto;
}

.adv-tip {
    position: relative;
    display: inline-flex;
}

.adv-tip__button {
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--adv-placeholder);
    cursor: pointer;
    display: block;
}

.adv-tip__bubble {
    position: absolute;
    top: calc(100% + 8px);
    left: -8px;
    z-index: 5;
    width: 326px;
    max-width: 78vw;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--adv-line);
    border-radius: 8px;
    box-shadow: var(--adv-shadow-lg);
    text-align: left;
}

.adv-tip__bubble[hidden] {
    display: none;
}

.adv-tip__bubble strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--adv-ink);
}

.adv-tip__bubble p {
    margin: 4px 0 0;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: var(--adv-muted);
}

.adv-figure {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.adv-figure__value {
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: -.02em;
    color: var(--adv-brand);
}

.adv-figure__label {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--adv-muted);
}

.adv-map {
    margin-top: 16px;
}

.adv-map img {
    display: block;
    width: 100%;
    height: auto;
}

.adv-map__scale {
    margin-top: 16px;
}

.adv-map__bar {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7C8AC4 0%, #E9ECF7 100%);
}

.adv-map__legend {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 14px;
    line-height: 20px;
    color: var(--adv-muted);
}

.adv-charts {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.adv-chart img {
    display: block;
    width: 100%;
    height: auto;
}

.adv-contributors {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.adv-contributors__as-of {
    margin: 0 0 12px;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: var(--adv-muted);
}

.adv-contributor {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.adv-contributor__avatar {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: block;
    background: var(--adv-brand-50);
}

.adv-contributor__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.adv-contributor__initial {
    display: flex;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--adv-brand);
}

.adv-contributor__verified {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 18px;
    height: 18px;
}

.adv-contributor__body {
    min-width: 0;
}

.adv-contributor__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--adv-ink);
    text-decoration: none;
}

.adv-contributor__name:hover,
.adv-contributor__name:focus {
    text-decoration: underline;
}

.adv-contributor__org {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 0;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    color: var(--adv-ink-soft);
}

.adv-contributor__org .adv-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: var(--adv-brand);
}

.adv-contributor__role {
    margin: 2px 0 0;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    color: var(--adv-placeholder);
}

.adv-contributors__empty,
.adv-contributors__loading {
    margin: 0;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: var(--adv-muted);
}

.adv-reach-mobile__stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.adv-reach-mobile .adv-figure__value {
    font-size: 30px;
    line-height: 38px;
}

/* ---------- why it works ---------- */

.adv-works-desktop,
.adv-works-mobile {
    background: var(--adv-surface);
    padding: 84px 0;
}

.adv-works-mobile {
    padding: 48px 0 52px;
}

.adv-works__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 64px;
    align-items: stretch;
}

.adv-works-mobile .adv-works__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.adv-proof {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--adv-line);
    border-radius: var(--adv-radius);
    padding: 24px;
    box-shadow: var(--adv-shadow-xs);
}

.adv-works-mobile .adv-proof {
    padding: 16px;
    gap: 16px;
}

.adv-proof__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--adv-brand-50);
    color: var(--adv-brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-proof__icon .adv-icon {
    width: 28px;
    height: 28px;
}

.adv-works-mobile .adv-proof__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
}

.adv-works-mobile .adv-proof__icon .adv-icon {
    width: 22px;
    height: 22px;
}

.adv-proof__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--adv-teal-50);
    color: var(--adv-teal-dark);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.adv-proof__figure {
    margin: 16px 0 0;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 38px !important;
    letter-spacing: -.02em;
    color: var(--adv-brand);
}

.adv-works-mobile .adv-proof__figure {
    font-size: 24px !important;
    line-height: 32px !important;
    margin-top: 8px;
}

.adv-proof__body {
    margin: 16px 0 0;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    color: var(--adv-ink-soft);
}

.adv-works-mobile .adv-proof__body {
    margin-top: 8px;
    font-size: 14px !important;
    line-height: 20px !important;
}

/* ---------- closing CTA ---------- */

.adv-cta-desktop,
.adv-cta-mobile {
    background: var(--adv-navy);
    color: #fff;
    padding: 96px 0;
}

.adv-cta-mobile {
    padding: 48px 0;
}

/* The CTA band sits on an 80px page gutter, not the 112px the other sections use, so its content
   column is 1280 wide: 661 + 114 + 505. Figma 3073:12055. */
.adv-cta-desktop__inner {
    display: grid;
    grid-template-columns: minmax(0, 661px) minmax(0, 505px);
    gap: 114px;
    align-items: center;
}

.adv-cta__heading {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 58px;
    letter-spacing: -.02em;
    color: #fff;
}

.adv-cta-mobile .adv-cta__heading {
    font-size: 26px;
    line-height: 32px;
}

.adv-cta__lead {
    margin: 24px 0 0;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 27px !important;
    color: rgba(255, 255, 255, .74);
}

.adv-cta-mobile .adv-cta__lead {
    margin-top: 14px;
    font-size: 14px !important;
    line-height: 22px !important;
}

.adv-contact {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border-radius: var(--adv-radius-lg);
    background: rgba(255, 255, 255, .06);
}

.adv-cta-mobile .adv-contact {
    margin-top: 30px;
    padding: 12px;
    gap: 12px;
}

.adv-contact__qr {
    flex: 0 0 138px;
    width: 138px;
    height: 138px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.adv-cta-mobile .adv-contact__qr {
    flex-basis: 112px;
    width: 112px;
    height: 112px;
}

.adv-contact__qr img {
    display: block;
    width: 100%;
    height: 100%;
}

.adv-contact__title {
    margin: 0;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 32px !important;
    color: #fff;
}

.adv-cta-mobile .adv-contact__title {
    font-size: 18px !important;
    line-height: 24px !important;
}

.adv-contact__rows {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.adv-contact__row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    word-break: break-word;
}

.adv-cta-mobile .adv-contact__row {
    font-size: 12px;
    line-height: 18px;
}

.adv-contact__row:hover,
.adv-contact__row:focus {
    color: #fff;
    text-decoration: underline;
}

.adv-contact__row .adv-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--adv-brand-light);
}

.adv-cta-mobile .adv-contact__row .adv-icon {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
}

/* ---------- modals ----------
   Deliberately not a desktop/mobile pair: the markup is identical in both designs and only the
   presentation differs, so rendering it twice would duplicate the form and its field ids. */

.adv-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(16, 24, 40, .7);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.adv-modal[hidden] {
    display: none;
}

.adv-modal__dialog {
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #fff;
    border-radius: var(--adv-radius);
    box-shadow: var(--adv-shadow-lg);
    padding: 24px;
}

.adv-modal--wide .adv-modal__dialog {
    max-width: 780px;
}

.adv-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.adv-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--adv-ink);
}

.adv-modal__close {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--adv-placeholder);
    cursor: pointer;
    margin-top: 4px;
}

.adv-modal__close:hover,
.adv-modal__close:focus {
    color: var(--adv-ink);
}

.adv-modal__plan {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    background: var(--adv-surface);
}

.adv-modal__plan[hidden] {
    display: none;
}

.adv-modal__plan-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--adv-line);
    color: var(--adv-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-modal__plan-icon .adv-icon {
    width: 18px;
    height: 18px;
}

.adv-modal__plan-eyebrow {
    margin: 0;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    color: var(--adv-teal);
}

.adv-modal__plan-title {
    margin: 0;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    color: var(--adv-ink);
}

.adv-field {
    margin-top: 16px;
}

.adv-field__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--adv-ink-soft);
}

.adv-field__control {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1px solid var(--adv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--adv-shadow-xs);
}

.adv-field__control input,
.adv-field__control select {
    border: 0;
    background: transparent;
    font-size: 16px;
    line-height: 24px;
    color: var(--adv-ink);
    padding: 10px 14px;
    min-width: 0;
    width: 100%;
    outline: none;
    font-family: inherit;
}

.adv-field__control input::placeholder {
    color: var(--adv-placeholder);
}

.adv-field__control:focus-within {
    border-color: var(--adv-brand);
    box-shadow: 0 0 0 4px rgba(70, 93, 166, .18);
}

.adv-field__country {
    flex: 0 0 auto;
    width: auto;
    max-width: 96px;
    padding-right: 4px !important;
    color: var(--adv-ink) !important;
    cursor: pointer;
}

.adv-field__error-icon {
    display: none;
    align-items: center;
    padding-right: 12px;
    color: var(--adv-danger);
    flex: 0 0 auto;
}

.adv-field__error-icon .adv-icon {
    width: 16px;
    height: 16px;
}

.adv-field__message {
    margin: 6px 0 0;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: var(--adv-danger);
    display: none;
}

.adv-field.is-invalid .adv-field__control {
    border-color: var(--adv-danger-border);
}

.adv-field.is-invalid .adv-field__control:focus-within {
    box-shadow: 0 0 0 4px rgba(217, 45, 32, .14);
}

.adv-field.is-invalid .adv-field__error-icon {
    display: flex;
}

.adv-field.is-invalid .adv-field__message {
    display: block;
}

.adv-modal__submit {
    margin-top: 24px;
    height: 44px;
}

.adv-modal__form-error {
    margin: 16px 0 0;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: var(--adv-danger);
}

.adv-modal__form-error[hidden] {
    display: none;
}

.adv-modal__success-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--adv-teal-50);
    color: var(--adv-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-modal__success-icon .adv-icon {
    width: 22px;
    height: 22px;
}

.adv-modal__success-title {
    margin: 20px 0 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--adv-ink);
}

.adv-modal__success-body {
    margin: 8px 0 0;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: var(--adv-muted);
}

.adv-modal__example-image {
    margin-top: 20px;
}

.adv-modal__example-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ---------- narrower desktop widths ----------
   The desktop variant renders from 769px up, so the grids have to hold at 769 to 1280 as well as
   at 1440 and wider. */

@media (min-width: 769px) {
    .adv-shell {
        padding: 0 clamp(24px, 7.8vw, 112px);
        max-width: 1440px;
    }

    /* The CTA band keeps its own 80px gutter, so its content column is 1280 not 1216. */
    .adv-cta-desktop__inner {
        padding: 0 clamp(24px, 5.56vw, 80px);
    }
}

/* The compare table drops to a 860px floor here so it still fits at 1024, a real laptop width.
   The 960px base floor started scrolling at about 1140. */
@media (min-width: 769px) and (max-width: 1279px) {
    .adv-compare__table {
        min-width: 860px;
    }

    .adv-compare__table th,
    .adv-compare__table td {
        padding: 20px 12px;
    }

    .adv-compare__table thead th {
        padding: 16px 12px 20px;
    }

    .adv-compare__table thead th:first-child {
        width: 210px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .adv-options__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .adv-why-desktop__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
        gap: 32px;
    }

    .adv-cta-desktop__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .adv-cta__heading {
        font-size: 36px;
        line-height: 44px;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .adv-options__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .adv-reach-desktop__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .adv-works__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .adv-why-desktop__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .adv-why__art {
        max-width: 340px;
    }
}

/* Bottom sheet presentation for the dialogs on small screens. */
@media (max-width: 768px) {
    .adv-modal {
        align-items: flex-end;
        padding: 0;
    }

    .adv-modal__dialog {
        max-width: none;
        max-height: 92vh;
        border-radius: var(--adv-radius-lg) var(--adv-radius-lg) 0 0;
        padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    }

    .adv-modal--wide .adv-modal__dialog {
        max-width: none;
    }
}

/* ---------- mobile type and controls ----------
   Section headings and leads are shared classes, so the mobile sizes belong here rather than on
   each -mobile block. Heading/4 20/28 bold and Base/Regular 14/22, Figma Qkw1rAqYvxShVppu34QlEv
   node 2134:36424. */
@media (max-width: 768px) {
    .adv-heading {
        font-size: 20px;
        font-weight: 700;
        line-height: 28px;
        letter-spacing: 0;
    }

    .adv-lead,
    .adv-lead--narrow {
        margin-top: 12px;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 22px !important;
        color: #595959;
        text-align: center;
    }

    /* Tabs size to their labels the way the design does (Figma 2121:20350 is 141/94/123, not
       three equal thirds), and wrap rather than crop when the strip runs out of room. */
    .adv-tabs {
        padding: 3px;
        gap: 3px;
    }

    .adv-tab {
        flex: 1 1 auto;
        padding: 10px 6px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* ---------- viewport gate ----------
   Last in the file on purpose. Single-class selectors, same specificity as the section rules
   above, so the cascade only hides the other variant if these come after them. */

@media (max-width: 768px) {
    .adv-hero-desktop,
    .adv-options-desktop,
    .adv-compare-desktop,
    .adv-why-desktop,
    .adv-reach-desktop,
    .adv-works-desktop,
    .adv-cta-desktop {
        display: none;
    }
}

@media (min-width: 769px) {
    .adv-hero-mobile,
    .adv-options-mobile,
    .adv-compare-mobile,
    .adv-why-mobile,
    .adv-reach-mobile,
    .adv-works-mobile,
    .adv-cta-mobile {
        display: none;
    }
}
