/* ============================================================
   NUP Site Refresh – shared layout grid, tokens and components
   Source of truth: Figma "NUP Site Refresh_EXT" (1440 frame,
   80px gutters, 1280 content width, 96px section rhythm).
   ============================================================ */

:root {
    --ac-sky: #419daf;
    --ac-deep-sky: #3d8799;
    --ac-blue: #4c9fb7;
    --ac-body: #857c7a;
    --ac-boulder: #968f8b;
    --ac-tint: #ecf5f7;
    --ac-tint-heart: #e8f4f7;
    --ac-grey-bg: #f2f1f1;
    --ac-line: #d1d6e0;
    --ac-white: #ffffff;

    --ac-font-regular: "EuclidCircularB-Regular", "Helvetica Neue", Arial, sans-serif;
    --ac-font-medium: "EuclidCircularB-Medium", "Helvetica Neue", Arial, sans-serif;
    --ac-font-semibold: "EuclidCircularB-Semibold", "Helvetica Neue", Arial, sans-serif;
    --ac-font-bold: "EuclidCircularB-Bold", "Helvetica Neue", Arial, sans-serif;
    --ac-font-display: gelo, Georgia, serif;
    --ac-font-serif: "Rokkitt", Georgia, serif;

    --ac-gutter: 80px;
    --ac-content: 1280px;
    --ac-section-y: 96px;
    --ac-radius-lg: 25px;
    --ac-radius-pill: 999px;
}

/* ---------- Grid ---------- */
.ac-section {
    position: relative;
    width: 100%;
    padding: var(--ac-section-y) var(--ac-gutter);
    box-sizing: border-box;
}
.ac-section--flush-top {
    padding-top: 0;
}
.ac-section--tint {
    background: var(--ac-tint);
}
.ac-section--white {
    background: var(--ac-white);
}
.ac-wrap {
    position: relative;
    width: 100%;
    max-width: var(--ac-content);
    margin: 0 auto;
}
.ac-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ac-stack--8 { gap: 8px; }
.ac-stack--12 { gap: 12px; }
.ac-stack--16 { gap: 16px; }
.ac-stack--20 { gap: 20px; }
.ac-stack--24 { gap: 24px; }
.ac-stack--40 { gap: 40px; }

/* ---------- Typography ---------- */
body.ac-refresh .ac-h1,
body.ac-refresh .ac-h2,
body.ac-refresh .ac-h3,
body.ac-refresh .ac-subhead,
body.ac-refresh .ac-body,
body.ac-refresh .ac-small,
body.ac-refresh .ac-xsmall {
    margin: 0;
    font-style: normal;
    letter-spacing: 0;
    word-break: break-word;
}
body.ac-refresh .ac-h1 {
    font-family: var(--ac-font-serif);
    font-weight: 400;
    font-size: 52px;
    line-height: 58px;
    color: var(--ac-deep-sky);
}
body.ac-refresh .ac-h2 {
    font-family: var(--ac-font-display);
    font-weight: 400;
    font-size: 44px;
    line-height: 50px;
    color: var(--ac-deep-sky);
}
body.ac-refresh .ac-h2--serif {
    font-family: var(--ac-font-serif);
}
body.ac-refresh .ac-h3 {
    font-family: var(--ac-font-bold);
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    color: var(--ac-deep-sky);
}
body.ac-refresh .ac-subhead {
    font-family: var(--ac-font-bold);
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: var(--ac-body);
}
body.ac-refresh .ac-body {
    font-family: var(--ac-font-regular);
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    color: var(--ac-body);
}
body.ac-refresh .ac-body--lg {
    font-size: 20px;
    line-height: 28px;
}
body.ac-refresh .ac-small {
    font-family: var(--ac-font-regular);
    font-weight: 400;
    font-size: 15px;
    line-height: 21px;
    color: var(--ac-body);
}
body.ac-refresh .ac-xsmall {
    font-family: var(--ac-font-regular);
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: var(--ac-body);
}
body.ac-refresh .ac-white { color: var(--ac-white); }
body.ac-refresh .ac-deep-sky { color: var(--ac-deep-sky); }
body.ac-refresh .ac-boulder { color: var(--ac-boulder); }
body.ac-refresh .ac-center { text-align: center; }
body.ac-refresh .ac-nowrap { white-space: nowrap; }

/* Inline ® sits on the baseline at 64.5% of the parent size (Figma). */
body.ac-refresh .ac-reg {
    font-size: 0.645em;
    line-height: 0;
    vertical-align: baseline;
    position: static;
    top: auto;
}
/* Small caps-ish AM/PM (12px inside 17px copy). */
body.ac-refresh .ac-meridiem {
    font-size: 12px;
    line-height: inherit;
}
body.ac-refresh strong,
body.ac-refresh .ac-strong {
    font-family: var(--ac-font-bold);
    font-weight: 700;
}
body.ac-refresh .ac-medium {
    font-family: var(--ac-font-medium);
    font-weight: 500;
}
body.ac-refresh .ac-link,
body.ac-refresh a.ac-link {
    color: inherit;
    text-decoration: underline;
    text-underline-position: from-font;
}
body.ac-refresh a.ac-link:hover {
    color: var(--ac-deep-sky);
}

/* ---------- Buttons (Figma "Button": pill, 49px default) ---------- */
body.ac-refresh .ac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 49px;
    padding: 12px 24px;
    border-radius: var(--ac-radius-pill);
    border: 0;
    background: var(--ac-sky);
    color: var(--ac-white);
    font-family: var(--ac-font-bold);
    font-weight: 700;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: 0.65px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
body.ac-refresh .ac-btn:hover,
body.ac-refresh .ac-btn:focus {
    background: var(--ac-deep-sky);
    color: var(--ac-white);
    text-decoration: none;
}
body.ac-refresh .ac-btn--inverse {
    border: 1px solid var(--ac-sky);
    background: var(--ac-white);
    color: var(--ac-deep-sky);
}
body.ac-refresh .ac-btn--inverse:hover,
body.ac-refresh .ac-btn--inverse:focus {
    background: var(--ac-tint);
    border-color: var(--ac-sky);
    color: var(--ac-deep-sky);
}
body.ac-refresh .ac-btn--auto {
    height: auto;
    white-space: nowrap;
}
body.ac-refresh .ac-btn--block {
    width: 100%;
}

/* ---------- Heart bullet list ---------- */
body.ac-refresh .ac-heart-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.ac-refresh .ac-heart-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--ac-font-regular);
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    color: var(--ac-body);
}
body.ac-refresh .ac-heart-list li::before {
    content: "";
    flex: 0 0 12px;
    width: 12px;
    height: 24px;
    background: url("/nuplazid/images/heart-bullet-sky.svg") no-repeat 0 0;
    background-size: 12px 24px;
}
body.ac-refresh .ac-heart-list--white li {
    color: var(--ac-white);
}
body.ac-refresh .ac-heart-list--white li::before {
    background-image: url("/nuplazid/images/heart-bullet-white.svg");
}

/* ---------- Teal card (Figma "card-body" on sky) ---------- */
body.ac-refresh .ac-card-sky {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    padding: 24px;
    border-radius: var(--ac-radius-lg);
    background: var(--ac-sky);
    color: var(--ac-white);
    box-sizing: border-box;
}
body.ac-refresh .ac-card-sky--32 {
    padding: 32px;
}

/* ---------- Icon header (28px sky circle + 14px glyph) ---------- */
body.ac-refresh .ac-icon-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
body.ac-refresh .ac-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: var(--ac-radius-pill);
    background: var(--ac-sky);
}
body.ac-refresh .ac-icon-circle img {
    display: block;
    width: 14px;
    height: 14px;
}

/* ---------- CTA Banner (Figma 664:3068 / DTC) ---------- */
body.ac-refresh .ac-cta-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    padding: 64px;
    background: var(--ac-sky);
    overflow: hidden;
    box-sizing: border-box;
}
body.ac-refresh .ac-cta-banner__heart {
    position: absolute;
    /* Figma 664:3087: x=845, y=53.113 within the 1440px banner.
       Anchor to the centered content, allowing wider screens to reveal it. */
    left: calc(50% + 125px);
    top: -10.88671875px;
    z-index: 0;
    width: 644px;
    max-width: none; /* Override the global responsive image constraint. */
    height: 602.451599px;
    pointer-events: none;
}
body.ac-refresh .ac-cta-content {
        align-items: center;
        gap: 24px;
        display: inline-flex;

        border-radius: 16px;
        padding: 24px 16px 16px 16px;
        position: relative;
        width: 100%;
        justify-content: center;
        top: 20px;
    }
body.ac-refresh .ac-cta-banner__inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    max-width: var(--ac-content);
    margin: 0 auto;
}
body.ac-refresh .ac-cta-banner__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 721px;
    max-width: 100%;
    flex: 0 0 auto;
}
body.ac-refresh .ac-cta-banner__cta {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 40px;
    flex: 0 0 auto;
}
body.ac-refresh .ac-cta-banner__phone,
body.ac-refresh .ac-cta-banner .ac-phone-info {
    position: relative;
    z-index: 1;
}
body.ac-refresh .ac-cta-banner__phone {
    display: block;
    width: 43.661453px;
    height: 45.062092px;
    flex: 0 0 auto;
}
body.ac-refresh .ac-cta-banner .ac-phone-info {
    width: 234px;
}
body.ac-refresh .ac-cta-banner .ac-meridiem {
    line-height: 0; /* Small AM/PM text must not expand the 24px line box. */
}
body.ac-refresh .ac-cta-banner__text .ac-btn {
    width: 141px;
}
body.ac-refresh .ac-phone-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    white-space: nowrap;
    color: var(--ac-body);
}
body.ac-refresh .ac-phone-info__number {
    font-family: var(--ac-font-bold);
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    color: var(--ac-body);
    margin: 0;
}
body.ac-refresh .ac-phone-info__number a {
    color: inherit;
    text-decoration: none;
}

/* ---------- ISI Block (Figma 664:3103 / Audience=DTC) ---------- */
body.ac-refresh .ac-isi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    background: var(--ac-white);
    border-top: 1px solid var(--ac-line);
    border-bottom: 1px solid var(--ac-line);
}
/* Neutralise legacy #isi rules (p margins, li padding, colors). */
body.ac-refresh #isi.ac-isi p,
body.ac-refresh #isi.ac-isi ul,
body.ac-refresh #isi.ac-isi li {
    margin: 0;
    padding: 0;
    background: none;
}
body.ac-refresh #isi.ac-isi .ac-isi__box {
    padding: 24px;
    background: var(--ac-grey-bg);
}
body.ac-refresh #isi.ac-isi .ac-isi__bar {
    padding: 16px var(--ac-gutter);
}
body.ac-refresh #isi.ac-isi .ac-isi__content {
    padding: 0 var(--ac-gutter) 48px;
}
body.ac-refresh .ac-isi__bar {
    width: 100%;
    padding: 16px var(--ac-gutter);
    background: var(--ac-body);
    box-sizing: border-box;
}
body.ac-refresh .ac-isi__bar-inner {
    max-width: var(--ac-content);
    margin: 0 auto;
}
body.ac-refresh .ac-isi__title {
    margin: 0;
    font-family: var(--ac-font-regular);
    font-weight: 400;
    font-size: 17px;
    line-height: 23.12px;
    color: var(--ac-white);
}
body.ac-refresh .ac-isi__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: calc(var(--ac-content) + 2 * var(--ac-gutter));
    padding: 0 var(--ac-gutter) 48px;
    box-sizing: border-box;
}
body.ac-refresh .ac-isi__section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
body.ac-refresh .ac-isi__section--16 {
    gap: 16px;
}
body.ac-refresh .ac-isi__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
body.ac-refresh .ac-isi__group--24 {
    gap: 24px;
}
body.ac-refresh .ac-isi__heading {
    margin: 0;
    font-family: var(--ac-font-medium);
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: var(--ac-blue);
    width: 100%;
}
body.ac-refresh .ac-isi__heading--inline {
    display: inline;
    width: auto;
}
body.ac-refresh .ac-isi__copy {
    margin: 0;
    font-family: var(--ac-font-regular);
    font-weight: 400;
    font-size: 17px;
    line-height: 23px;
    color: var(--ac-body);
    width: 100%;
}
body.ac-refresh .ac-isi__copy--24 {
    line-height: 24px;
}
body.ac-refresh .ac-isi__lead {
    font-family: var(--ac-font-medium);
    font-weight: 500;
    color: var(--ac-blue);
}
body.ac-refresh .ac-isi__box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 24px;
    background: var(--ac-grey-bg);
    box-sizing: border-box;
}
body.ac-refresh .ac-isi__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.ac-refresh .ac-isi__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--ac-font-regular);
    font-weight: 400;
    font-size: 17px;
    line-height: 23.12px;
    color: var(--ac-body);
}
body.ac-refresh .ac-isi__item::before {
    content: "\2022";
    flex: 0 0 auto;
    font-family: var(--ac-font-bold);
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: var(--ac-body);
    white-space: nowrap;
}
body.ac-refresh .ac-isi__item > span {
    flex: 1 1 0;
    min-width: 1px;
}
body.ac-refresh .ac-isi__box .ac-isi__item {
    font-family: var(--ac-font-bold);
    font-weight: 700;
}
body.ac-refresh .ac-isi a {
    color: inherit;
    text-decoration: underline;
    text-underline-position: from-font;
}

/* ---------- Site Footer overrides (Figma 664:2893) ---------- */
body.ac-refresh footer.container-fluid {
    background: var(--ac-tint);
    padding: 64px var(--ac-gutter) !important;
    border: 0;
}
body.ac-refresh footer .container {
    width: 100%;
    max-width: var(--ac-content) !important; /* app.css forces .container to 1200px */
    margin: 0 auto;
    padding: 0;
}
body.ac-refresh footer .row {
    margin: 0;
}
body.ac-refresh footer .spacer-medium,
body.ac-refresh footer .spacer-small {
    display: none;
}
body.ac-refresh footer .col-md-9 {
    flex: 0 0 920px;
    max-width: 920px;
    padding: 0;
}
body.ac-refresh footer .col-md-3 {
    flex: 1 1 0;
    max-width: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
body.ac-refresh footer p,
body.ac-refresh footer .col-md-9 > p,
body.ac-refresh footer .col-md-9 > div > p {
    font-family: var(--ac-font-regular);
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: var(--ac-body);
    margin: 0;
    padding: 0;
}
/* ©/trademark line */
body.ac-refresh footer .col-md-9 > p:nth-last-of-type(2) {
    padding-top: 25px;
}
/* "All rights reserved…" line */
body.ac-refresh footer .col-md-9 > p:last-of-type {
    padding-top: 17px;
}
body.ac-refresh footer p.links {
    padding-top: 17px;
    font-size: 17px;
    line-height: 24px;
    color: var(--ac-body);
}
body.ac-refresh footer p.links a,
body.ac-refresh footer p.links a span {
    font-family: var(--ac-font-regular);
    font-size: 17px;
    line-height: 24px;
    color: var(--ac-blue);
    text-decoration: none;
}
body.ac-refresh footer p.links a:hover span {
    text-decoration: underline;
}
body.ac-refresh footer p.links .divider {
    color: var(--ac-body);
    letter-spacing: 0.22px;
    padding: 0 9px;
}
body.ac-refresh footer p.links .privacy-icon {
    width: 36.5px;
    height: 17px;
    vertical-align: -2px;
    margin-right: 4px;
    color: var(--ac-blue);
}
body.ac-refresh footer .col-md-3 .footer-logo {
    display: block;
    width: 162px;
    height: auto;
}
body.ac-refresh footer .col-md-3 p,
body.ac-refresh footer .col-md-3 div {
    font-family: var(--ac-font-regular);
    font-size: 11px;
    line-height: 14px;
    color: var(--ac-body);
    text-align: right;
    margin: 0;
}
body.ac-refresh footer .col-md-3 p {
    padding: 8.5px 0 0;
}


/* ---------- Header tweaks for the refresh ---------- */
body.ac-refresh header.header-dtc {
    border-bottom: 1px solid var(--ac-line);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    :root {
        --ac-gutter: 40px;
        --ac-section-y: 72px;
    }
    body.ac-refresh footer .col-md-9 {
        flex: 1 1 0;
        max-width: none;
    }
    body.ac-refresh .ac-cta-banner {
        padding: 40px 20px 20px 20px;
    }
    body.ac-refresh .ac-cta-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        /* gap: 24px; */
    }
    body.ac-refresh .ac-cta-banner__text {
        width: 100%;
    }
    body.ac-refresh .ac-cta-banner__cta {
        position: relative;
        align-self: center;
        padding: 24px 0;
        width: 100%;
    }
    body.ac-refresh .ac-cta-banner__heart {
        /* left: 50%;
        top: -24px;
        transform: translateX(-50%); */
        display: none;
    }
    body.ac-refresh .ac-cta-banner__text .ac-btn {
        width: 100%;
    }
    body.ac-refresh .ac-cta-content {
        background: var(--surface-tint);
        top: 0px;
    }
}
@media (max-width: 991px) {
    :root {
        --ac-gutter: 24px;
        --ac-section-y: 56px;
    }
    body.ac-refresh .ac-h1 { font-size: 40px; line-height: 46px; }
    body.ac-refresh .ac-h2 { font-size: 34px; line-height: 40px; }
    body.ac-refresh footer .row {
        flex-direction: column;
    }
    body.ac-refresh footer .col-md-3 {
        align-items: flex-start;
        padding-top: 24px;
    }
    body.ac-refresh footer .col-md-3 p,
    body.ac-refresh footer .col-md-3 div {
        text-align: left;
    }
}
