:root {
    --ink: #112a57;
    --ink-soft: #4e6488;
    --sky: #edf8f6;
    --sky-strong: #b9e5df;
    --teal: #0f8b7e;
    --teal-deep: #075f59;
    --gold: #f4b63d;
    --cream: #fff8df;
    --cream-deep: #ffe977;
    --sage: #dfead4;
    --sage-deep: #789564;
    --leaf: #2e7d54;
    --clay: #c56f42;
    --aqua: #7fd8c8;
    --peach: #ffd1a6;
    --rose: #ffd8cf;
    --lavender: #e8e1ff;
    --bluebell: #d9ecff;
    --paper: #fffdf7;
    --ink-black: #101010;
    --accent-coral: #ff6847;
    --accent-lilac: #7b63e6;
    --line: rgba(17, 42, 87, 0.12);
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --shadow: 0 24px 60px rgba(17, 42, 87, 0.12);
    --shadow-soft: 0 16px 42px rgba(17, 42, 87, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 84% 9%, rgba(15, 139, 126, 0.05), transparent 18%),
        linear-gradient(180deg, #fffefd 0%, #fffdf8 18%, #ffffff 100%);
    font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}

body.is-home {
    background:
        radial-gradient(circle at 8% 8%, rgba(255, 233, 119, 0.36), transparent 22%),
        radial-gradient(circle at 88% 12%, rgba(15, 139, 126, 0.18), transparent 20%),
        radial-gradient(circle at 12% 44%, rgba(255, 216, 207, 0.28), transparent 18%),
        radial-gradient(circle at 90% 72%, rgba(217, 236, 255, 0.32), transparent 22%),
        radial-gradient(circle at 74% 58%, rgba(223, 234, 212, 0.34), transparent 24%),
        linear-gradient(180deg, #fff9df 0%, #fffdf4 25%, #f8fcf9 58%, #ffffff 100%);
}

body.is-home[data-home-background="white"] {
    background: #ffffff;
}

.site-shell {
    overflow: clip;
}

a {
    color: inherit;
    text-decoration: none;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.wrap {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(760px, 100%);
}

.topbar {
    position: relative;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, #7867e8 0 118px, #f3f2ff 118px 100%);
    backdrop-filter: blur(10px);
}

.topbar::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 181, 29, 0.55), transparent);
}

.topbar .wrap,
.nav-row,
.topbar-links,
.hero-actions,
.footer-grid,
.two-column {
    display: flex;
    gap: 16px;
}

.topbar-left,
.topbar-right,
.social-links,
.contact-points {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-left {
    align-self: stretch;
}

.social-links {
    align-self: stretch;
    min-height: 34px;
    margin-left: calc((100vw - min(1160px, calc(100vw - 32px))) / -2);
    padding-left: max(14px, calc((100vw - min(1160px, calc(100vw - 32px))) / 2));
    padding-right: 18px;
    background: linear-gradient(135deg, #6e56e8 0%, #826df0 100%);
    box-shadow: 14px 0 30px rgba(111, 90, 232, 0.14);
}

.topbar .wrap,
.nav-row {
    align-items: center;
    justify-content: space-between;
}

.topbar .wrap {
    min-height: 34px;
    color: #3f4e73;
    font-size: 0.78rem;
    overflow: visible;
}

.topbar-note {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.social-link-glyph {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
}

.social-link-glyph svg {
    width: 14px;
    height: 14px;
}

.social-link-facebook .social-link-glyph,
.social-link-twitter .social-link-glyph {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

.social-link-facebook .social-link-glyph {
    font-size: 0.88rem;
    font-weight: 700;
}

.social-link-twitter .social-link-glyph {
    font-size: 0.78rem;
    font-weight: 700;
}

.social-link-instagram .social-link-glyph,
.social-link-x .social-link-glyph {
    font-size: 0;
}

.social-play {
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
}

.contact-point {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #3f4e73;
    font-size: 0.78rem;
    font-weight: 700;
}

.contact-point::after {
    content: "";
    order: -1;
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    background: currentColor;
    opacity: 0.86;
    -webkit-mask: var(--contact-icon) center / contain no-repeat;
    mask: var(--contact-icon) center / contain no-repeat;
}

.contact-point:first-child {
    --contact-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.5A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5v11a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 4 17.5v-11Zm2.5-.7a.7.7 0 0 0-.56.28L12 11.05l6.06-4.97a.7.7 0 0 0-.56-.28h-11Zm11.7 2.11-5.63 4.62a.9.9 0 0 1-1.14 0L5.8 7.91v9.59c0 .39.31.7.7.7h11c.39 0 .7-.31.7-.7V7.91Z'/%3E%3C/svg%3E");
}

.contact-point:nth-child(2) {
    --contact-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.2 4.4c.46-.46 1.2-.53 1.74-.16l2.1 1.42c.57.39.76 1.15.44 1.76l-.82 1.56a.9.9 0 0 0 .14 1.03l3.19 3.19a.9.9 0 0 0 1.03.14l1.56-.82c.61-.32 1.37-.13 1.76.44l1.42 2.1c.37.54.3 1.28-.16 1.74l-1.08 1.08c-.77.77-1.88 1.08-2.96.83-2.4-.56-4.76-1.9-6.78-3.92S5.42 10.41 4.86 8.01c-.25-1.08.06-2.19.83-2.96L7.2 4.4Z'/%3E%3C/svg%3E");
}

.contact-point + .contact-point {
    margin-left: 2px;
    padding-left: 10px;
    border-left: 1px solid rgba(63, 78, 115, 0.22);
}

.topbar-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    color: #334465;
    font-weight: 700;
}

.topbar-links a {
    position: relative;
    padding: 4px 0;
}

.topbar-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0.55;
    transition: transform 180ms ease;
}

.topbar-links a:hover::after,
.topbar-links a:focus-visible::after {
    transform: scaleX(1);
}

.login-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin-left: 8px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 42, 87, 0.16);
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink-black);
    box-shadow: 0 8px 18px rgba(63, 78, 115, 0.08);
    font-size: 0.8rem;
    font-weight: 800;
}

.login-link::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    width: 1px;
    height: 16px;
    background: rgba(63, 78, 115, 0.18);
    transform: translateY(-50%);
}

.login-link:hover,
.login-link:focus-visible {
    transform: translateY(-1px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 20px rgba(16, 35, 58, 0.02);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(17, 42, 87, 0.12), transparent);
}

.nav-row {
    display: grid;
    grid-template-columns: minmax(280px, 332px) minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    flex: 0 0 332px;
    min-width: 332px;
    font-weight: 700;
}

.brand strong {
    display: block;
    font-size: 0.86rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand small {
    display: block;
    color: var(--ink-soft);
    font-size: 0.59rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 54px;
    flex: 0 0 34px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
    max-width: 280px;
}

.brand-mark-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-height: none;
    margin-top: 0;
    padding: 0;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border-top: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.91rem;
    font-weight: 600;
}

.site-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 74px;
    padding: 0;
    color: var(--ink);
}

.site-nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    border-radius: 999px;
    background: rgba(16, 35, 58, 0.34);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
    color: var(--accent-coral);
}

.site-nav-link:hover::before,
.site-nav-link:focus-visible::before {
    transform: scaleX(1);
}

.nav-group {
    position: relative;
}

.nav-group-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.nav-caret {
    width: 9px;
    height: 9px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    opacity: 0.64;
    transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    min-width: 286px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(16, 35, 58, 0.08);
    border-radius: 18px;
    background: rgba(255, 252, 244, 0.99);
    box-shadow: 0 18px 36px rgba(16, 35, 58, 0.14);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
    display: grid;
    gap: 8px;
}

.nav-dropdown-link {
    padding: 10px 12px;
    border-radius: 6px;
    color: #50657f;
    font-size: 0.88rem;
    font-weight: 600;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
    background: #fff3bf;
    color: var(--ink-black);
}

.hero,
.page-hero {
    position: relative;
    padding: 28px 0 46px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 560px;
    background:
        radial-gradient(circle at 78% 20%, rgba(15, 139, 126, 0.22), transparent 17%),
        radial-gradient(circle at 20% 28%, rgba(255, 104, 71, 0.12), transparent 19%),
        radial-gradient(circle at 52% 78%, rgba(120, 149, 100, 0.14), transparent 24%),
        linear-gradient(135deg, #fff0a2 0%, #fff4bd 42%, #eef7df 100%);
    pointer-events: none;
}

body[data-hero-theme="white"] .hero::before {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf7 54%, rgba(255, 255, 255, 0) 100%);
}

body[data-hero-theme="white"].is-home {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf9 35%, #ffffff 100%);
}

body[data-hero-theme="sage"] .hero::before {
    background:
        radial-gradient(circle at 78% 20%, rgba(46, 125, 84, 0.16), transparent 18%),
        radial-gradient(circle at 16% 26%, rgba(244, 182, 61, 0.14), transparent 19%),
        linear-gradient(135deg, #f7f6df 0%, #eaf3df 48%, #dfead4 100%);
}

body[data-hero-theme="sky"] .hero::before {
    background:
        radial-gradient(circle at 78% 20%, rgba(127, 216, 200, 0.22), transparent 18%),
        radial-gradient(circle at 16% 26%, rgba(232, 225, 255, 0.22), transparent 20%),
        linear-gradient(135deg, #f4fbff 0%, #d9ecff 48%, #edf8f6 100%);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 220px;
    background:
        radial-gradient(circle at 84% 20%, rgba(134, 105, 255, 0.05), transparent 18%),
        radial-gradient(circle at 16% 18%, rgba(255, 185, 72, 0.05), transparent 20%),
        linear-gradient(180deg, rgba(255, 252, 244, 0.72), rgba(255, 255, 255, 0.22) 76%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.page-hero .wrap {
    position: relative;
    z-index: 1;
}

.page-hero .narrow {
    width: min(680px, 100%);
}

.page-hero {
    padding: 22px 0 18px;
}

.page-hero .eyebrow {
    margin-bottom: 10px;
    color: rgba(17, 42, 87, 0.5);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
}

.page-hero h1 {
    margin-bottom: 12px;
    color: rgba(16, 16, 16, 0.82);
    font-size: clamp(2.2rem, 3.7vw, 3.9rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.page-hero .hero-copy {
    max-width: 34ch;
    margin-bottom: 0;
    color: rgba(17, 42, 87, 0.8);
    font-size: 0.94rem;
    line-height: 1.55;
}

.hero-grid,
.card-grid,
.notice-grid,
.resource-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
}

.hero-copy-block {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 38px 0 16px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--ink-black);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    max-width: none;
    width: 100%;
    margin-bottom: 18px;
    color: var(--ink-black);
    font-family: "Arial Black", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
    font-size: clamp(2.4rem, 4.6vw, 4.7rem);
    line-height: 0.93;
    letter-spacing: -0.05em;
}

h2 {
    font-family: "Arial Black", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
    font-size: clamp(1.7rem, 2.6vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-copy,
.section-heading p:last-child,
.feature-card p,
.notice-card p,
.notice-meta,
.timeline-item p,
.resource-card p,
.content-card,
.site-footer p,
.site-footer li,
.site-footer a {
    color: var(--ink-soft);
}

.hero-copy {
    max-width: 54ch;
    margin-bottom: 20px;
    color: rgba(15, 36, 39, 0.84);
    font-size: 1.02rem;
    line-height: 1.58;
}

.hero-actions {
    flex-wrap: wrap;
    align-items: center;
}

.hero-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.shortcut-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(15, 139, 126, 0.18);
    border-radius: 999px;
    background: rgba(255, 253, 242, 0.88);
    box-shadow: 0 10px 24px rgba(46, 125, 84, 0.08);
    font-size: 0.88rem;
    font-weight: 700;
    color: #153d43;
}

.shortcut-pill:hover,
.shortcut-pill:focus-visible {
    color: var(--teal-deep);
    background: rgba(237, 248, 246, 0.96);
    border-color: rgba(15, 139, 126, 0.38);
    transform: translateY(-1px);
}

.latest-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--teal-deep);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-theme-switcher {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px;
    border: 1px solid rgba(15, 139, 126, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 14px 30px rgba(46, 125, 84, 0.1);
    backdrop-filter: blur(12px);
}

.hero-theme-switcher span {
    padding: 0 6px 0 10px;
    color: rgba(17, 42, 87, 0.68);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-theme-switcher button {
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #153d43;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.hero-theme-switcher button:hover,
.hero-theme-switcher button:focus-visible {
    border-color: rgba(15, 139, 126, 0.22);
    transform: translateY(-1px);
}

.hero-theme-switcher button[aria-pressed="true"] {
    background: var(--teal-deep);
    color: #fff;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(17, 42, 87, 0.12);
    box-shadow: none;
    font-weight: 700;
}

.button-primary {
    background: linear-gradient(135deg, #ff6847, #f2a33a 58%, #f5c445);
    color: white;
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(197, 111, 66, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(16, 35, 58, 0.22);
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none;
}

.button-secondary {
    background: rgba(255, 253, 244, 0.94);
    border-color: rgba(15, 139, 126, 0.18);
    color: #173b48;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: white;
    border-color: rgba(10, 124, 134, 0.22);
    transform: translateY(-1px);
}

.hero-stage,
.feature-card,
.notice-card,
.timeline-item,
.resource-card,
.content-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.is-inner-page .content-card {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 38px rgba(17, 42, 87, 0.08);
}

.rich-content {
    overflow-wrap: anywhere;
}

.rich-content table {
    width: 100%;
    margin: 22px 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 42, 87, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(17, 42, 87, 0.07);
    font-size: 0.94rem;
}

.rich-content thead th {
    background: linear-gradient(135deg, rgba(255, 218, 66, 0.52), rgba(255, 244, 189, 0.88));
    color: var(--ink-black);
}

.rich-content th,
.rich-content td {
    padding: 14px 16px;
    border-right: 1px solid rgba(17, 42, 87, 0.1);
    border-bottom: 1px solid rgba(17, 42, 87, 0.1);
    text-align: left;
    vertical-align: top;
}

.rich-content th:last-child,
.rich-content td:last-child {
    border-right: 0;
}

.rich-content tr:last-child td {
    border-bottom: 0;
}

.rich-content tbody tr:nth-child(even) td {
    background: rgba(250, 251, 255, 0.7);
}

.rich-content .table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rich-content .table-note {
    margin-top: -8px;
    color: var(--ink-muted);
    font-size: 0.9rem;
}

.rich-content .status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 124, 134, 0.1);
    color: var(--teal-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-stage {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    padding: 26px;
    border: 2px solid rgba(17, 42, 87, 0.08);
    border-radius: 34px;
    background:
        radial-gradient(circle at 78% 24%, rgba(15, 139, 126, 0.16), transparent 20%),
        radial-gradient(circle at 18% 78%, rgba(255, 104, 71, 0.14), transparent 16%),
        linear-gradient(160deg, rgba(255, 253, 238, 0.98), rgba(239, 248, 235, 0.98));
    box-shadow: 0 28px 80px rgba(46, 125, 84, 0.16);
}

.hero-stage-shape {
    position: absolute;
    pointer-events: none;
}

.hero-stage-shape-loop {
    top: 78px;
    left: 48px;
    width: 230px;
    height: 150px;
    border: 12px solid rgba(13, 47, 48, 0.92);
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 999px;
    transform: rotate(-8deg);
    opacity: 0.96;
}

.hero-stage-shape-dot {
    right: 36px;
    top: 86px;
    width: 84px;
    height: 84px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--teal), #62c2a8);
    box-shadow: 0 22px 44px rgba(15, 139, 126, 0.2);
}

.hero-stage-shape-burst {
    left: 28px;
    bottom: 84px;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background:
        radial-gradient(circle, var(--clay) 2px, transparent 3px),
        transparent;
    background-size: 16px 16px;
    transform: rotate(20deg);
}

.hero-stage-main {
    position: absolute;
    inset: 0;
    width: auto;
    z-index: 2;
}

.hero-stage-ribbon {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 10px;
    background: var(--accent-lilac);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-visual-shell {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 28px 28px 18px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 248, 246, 0.98));
    box-shadow: none;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #f3f0d8;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.035);
    animation: heroSlideShow 20s infinite;
}

.hero-slide:nth-child(1) {
    opacity: 1;
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 10s;
}

.hero-slide:nth-child(4) {
    animation-delay: 15s;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slideshow::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 38, 38, 0.02), rgba(11, 38, 38, 0.2)),
        linear-gradient(90deg, rgba(255, 238, 119, 0.18), rgba(255, 255, 255, 0.02) 45%, rgba(15, 139, 126, 0.12));
    pointer-events: none;
}

.hero-slide-dots {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: 20px;
    display: inline-flex;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 26px rgba(46, 125, 84, 0.16);
    backdrop-filter: blur(10px);
}

.hero-slide-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(17, 42, 87, 0.24);
    animation: heroSlideDot 20s infinite;
}

.hero-slide-dots span:nth-child(1) {
    background: var(--clay);
    animation-delay: 0s;
}

.hero-slide-dots span:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide-dots span:nth-child(3) {
    animation-delay: 10s;
}

.hero-slide-dots span:nth-child(4) {
    animation-delay: 15s;
}

@keyframes heroSlideShow {
    0%,
    20% {
        opacity: 1;
        transform: scale(1);
    }

    25%,
    95% {
        opacity: 0;
        transform: scale(1.035);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroSlideDot {
    0%,
    20% {
        background: var(--accent-coral);
        transform: scale(1.45);
    }

    25%,
    95% {
        background: rgba(17, 42, 87, 0.24);
        transform: scale(1);
    }

    100% {
        background: var(--accent-coral);
        transform: scale(1.45);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide-dots span {
        animation: none;
    }

    .hero-slide:first-child {
        opacity: 1;
        transform: none;
    }
}

.hero-visual-media {
    position: absolute;
    inset: 0;
}

.hero-visual-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 26, 56, 0.08), rgba(11, 26, 56, 0.36)),
        radial-gradient(circle at 82% 18%, rgba(134, 105, 255, 0.28), transparent 22%);
}

.hero-visual-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-overlay {
    position: absolute;
    z-index: 2;
    max-width: 300px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 34px rgba(17, 42, 87, 0.15);
}

.hero-visual-overlay-top {
    top: 72px;
    right: 24px;
}

.hero-visual-overlay-top span,
.hero-visual-overlay-bottom span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(17, 42, 87, 0.08);
    color: var(--ink-black);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-visual-overlay-top strong {
    display: block;
    margin-top: 12px;
    color: var(--ink-black);
    font-family: "Arial Black", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
    font-size: 1.55rem;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-visual-overlay-bottom {
    left: 24px;
    bottom: 24px;
}

.hero-visual-overlay-bottom p {
    margin: 0 0 12px;
    color: rgba(17, 42, 87, 0.9);
    font-size: 0.92rem;
    line-height: 1.45;
}

.hero-visual-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 242, 194, 0.96);
    color: var(--ink-black);
    font-size: 0.74rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(17, 42, 87, 0.14);
}

.hero-visual-chip-left {
    left: 24px;
    top: 78px;
}

.hero-visual-chip-right {
    right: 24px;
    bottom: 136px;
}

.hero-device-shell {
    position: relative;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(134, 105, 255, 0.09), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.98));
    box-shadow: 0 26px 70px rgba(17, 42, 87, 0.18);
}

.hero-device-shell::after {
    display: none;
}

.hero-device-toolbar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(17, 42, 87, 0.08);
    background: rgba(247, 249, 255, 0.92);
}

.hero-device-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(17, 42, 87, 0.2);
}

.hero-device-dot:first-child {
    background: var(--accent-coral);
}

.hero-device-dot:nth-child(2) {
    background: var(--gold);
}

.hero-device-dot:nth-child(3) {
    background: rgba(134, 105, 255, 0.72);
}

.hero-device-url {
    margin-left: auto;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17, 42, 87, 0.05);
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 700;
}

.hero-device-body {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 390px;
}

.hero-device-sidebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgba(17, 42, 87, 0.08);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(244, 247, 255, 0.84));
}

.hero-device-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    width: fit-content;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(17, 42, 87, 0.06);
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 800;
}

.hero-device-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-device-nav span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.hero-device-nav .is-active {
    background: rgba(134, 105, 255, 0.12);
    color: var(--ink);
}

.hero-device-main {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 18px 20px 18px;
}

.hero-device-intro {
    position: relative;
    z-index: 1;
}

.hero-device-intro h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: clamp(1.4rem, 1.85vw, 2rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.hero-device-intro p {
    max-width: 30ch;
    margin: 0;
    color: rgba(17, 42, 87, 0.92);
    font-size: 0.92rem;
    line-height: 1.45;
}

.hero-device-dashboard {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.9fr);
    gap: 14px;
}

.hero-device-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-device-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 237, 166, 0.55);
    color: var(--ink-black);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero-device-chart,
.hero-device-highlight {
    padding: 14px;
    border-radius: 18px;
    background: rgba(247, 249, 255, 0.95);
    border: 1px solid rgba(17, 42, 87, 0.07);
}

.hero-device-chart-label,
.hero-device-highlight-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--ink-soft);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-device-bars {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 82px;
    padding: 8px 0 2px;
}

.hero-device-bars span {
    flex: 1 1 0;
    min-width: 0;
    height: var(--bar);
    border-radius: 14px 14px 4px 4px;
    background: linear-gradient(180deg, rgba(134, 105, 255, 0.98), rgba(63, 96, 195, 0.86));
}

.hero-device-axis {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 0.67rem;
    font-weight: 700;
}

.hero-device-highlight {
    display: grid;
    align-content: start;
}

.hero-device-highlight strong {
    color: var(--ink-black);
    font-size: 0.93rem;
    line-height: 1.28;
}

.hero-device-modules {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hero-device-module {
    display: grid;
    gap: 4px;
    padding: 12px 10px;
    border-radius: 18px;
    background: rgba(245, 247, 255, 0.96);
    text-align: center;
    border: 1px solid rgba(17, 42, 87, 0.06);
}

.hero-device-module strong {
    color: var(--ink-black);
    font-size: 1.08rem;
    font-weight: 800;
}

.hero-device-module span {
    color: var(--ink-soft);
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1.25;
}

.hero-device-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
}

.hero-device-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 234, 146, 0.5);
    color: var(--ink-black);
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-device-footer strong {
    color: var(--ink-black);
    font-size: 0.94rem;
}

.hero-stage-card {
    min-height: 360px;
    padding: 74px 24px 22px;
    border: 8px solid rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,255,0.96));
    box-shadow: 0 18px 60px rgba(17, 42, 87, 0.16);
}

.panel-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.panel-card h2 {
    max-width: none;
    margin: 10px 0 12px;
    font-size: clamp(1.5rem, 1.9vw, 2.25rem);
    line-height: 1;
}

.hero-stage-card p {
    max-width: 23ch;
    margin-bottom: 0;
    font-size: 0.96rem;
    line-height: 1.42;
}

.panel-footer {
    margin-top: 18px;
    color: var(--ink-black);
    font-weight: 700;
}

.hero-stage-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.hero-metric {
    display: grid;
    gap: 4px;
    padding: 12px 10px;
    border-radius: 16px;
    background: #f6f8ff;
    text-align: center;
}

.hero-metric strong {
    color: var(--ink-black);
    font-size: 1.05rem;
    font-weight: 800;
}

.hero-metric span {
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.panel-label,
.tag,
.status,
.timeline-item span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(16, 35, 58, 0.08);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section {
    padding: 34px 0 40px;
}

.section.alt {
    background:
        radial-gradient(circle at 8% 18%, rgba(223, 234, 212, 0.42), transparent 20%),
        radial-gradient(circle at 90% 38%, rgba(185, 229, 223, 0.28), transparent 22%),
        linear-gradient(180deg, rgba(255, 248, 218, 0.68), rgba(255, 255, 255, 0));
}

.section-heading {
    margin-bottom: 18px;
}

.section-heading.left {
    margin-bottom: 14px;
}

.notice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notice-card,
.feature-card,
.timeline-item,
.resource-card {
    transition: transform 180ms ease, box-shadow 180ms ease;
    border-radius: 28px 28px 18px 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 250, 238, 0.94));
    border-color: rgba(15, 139, 126, 0.12);
}

.feature-card,
.resource-card {
    overflow: hidden;
    padding: 0;
}

.feature-card > :not(.card-media),
.resource-card > :not(.card-media) {
    margin-left: 24px;
    margin-right: 24px;
}

.feature-card > .tag,
.resource-card > .tag,
.feature-card > h3,
.resource-card > h3,
.feature-card > p,
.resource-card > p,
.feature-card > a,
.resource-card > a {
    position: relative;
    z-index: 1;
}

.feature-card > .tag,
.resource-card > .tag {
    margin-top: 18px;
}

.feature-card > a,
.resource-card > a {
    display: inline-flex;
    margin-bottom: 22px;
}

.card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    margin: 0 0 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8efdc, #d5ece7);
}

.card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 42, 87, 0.02), rgba(17, 42, 87, 0.11)),
        radial-gradient(circle at 82% 10%, rgba(255, 233, 119, 0.22), transparent 34%);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.feature-card:hover .card-media img,
.feature-card:focus-within .card-media img,
.resource-card:hover .card-media img,
.resource-card:focus-within .card-media img {
    transform: scale(1.04);
}

.notice-card:hover,
.feature-card:hover,
.timeline-item:hover,
.resource-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 139, 126, 0.26);
    box-shadow: 0 26px 50px rgba(46, 125, 84, 0.16);
}

.card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-column {
    align-items: start;
    justify-content: space-between;
}

.two-column > * {
    flex: 1 1 0;
}

.bullet-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.9;
}

.timeline {
    display: grid;
    gap: 16px;
}

.feature-card a,
.resource-card a {
    font-weight: 700;
    color: var(--teal-deep);
}

.feature-card .tag,
.notice-card .status {
    margin-bottom: 14px;
    background: rgba(223, 234, 212, 0.7);
    color: #274f35;
}

.section-heading h2 {
    max-width: none;
    margin-bottom: 0;
}

.is-home .home-section {
    position: relative;
    padding: 30px 0 34px;
}

.is-home .home-section:nth-of-type(odd) {
    background:
        radial-gradient(circle at 92% 12%, rgba(127, 216, 200, 0.12), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(237, 248, 246, 0.22));
}

.is-home .home-section:nth-of-type(even) {
    background:
        radial-gradient(circle at 8% 22%, rgba(255, 209, 166, 0.18), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 248, 223, 0.28));
}

.is-home .home-section::before {
    content: "";
    position: absolute;
    inset: 10px auto auto 0;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(244, 182, 61, 0.12), transparent 68%);
    pointer-events: none;
}

.is-home .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.5fr);
    align-items: end;
    gap: 22px;
}

.is-home .section-heading h2 {
    color: #0f2635;
    font-size: clamp(2rem, 3.3vw, 3.55rem);
    line-height: 0.98;
}

.is-home .section-heading p:last-child {
    max-width: 42ch;
    margin: 0;
}

.is-home .notice-card,
.is-home .feature-card,
.is-home .timeline-item,
.is-home .resource-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.is-home .notice-card,
.is-home .timeline-item {
    padding-top: 26px;
}

.is-home .notice-card::before,
.is-home .feature-card::before,
.is-home .timeline-item::before,
.is-home .resource-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--sage-deep);
    opacity: 0.86;
}

.is-home .notice-card:nth-child(6n + 1)::before,
.is-home .feature-card:nth-child(6n + 1)::before,
.is-home .timeline-item:nth-child(6n + 1)::before,
.is-home .resource-card:nth-child(6n + 1)::before {
    background: #f4b63d;
}

.is-home .notice-card:nth-child(6n + 2)::before,
.is-home .feature-card:nth-child(6n + 2)::before,
.is-home .timeline-item:nth-child(6n + 2)::before,
.is-home .resource-card:nth-child(6n + 2)::before {
    background: #7fd8c8;
}

.is-home .notice-card:nth-child(6n + 3)::before,
.is-home .feature-card:nth-child(6n + 3)::before,
.is-home .timeline-item:nth-child(6n + 3)::before,
.is-home .resource-card:nth-child(6n + 3)::before {
    background: #e8e1ff;
}

.is-home .notice-card:nth-child(6n + 4)::before,
.is-home .feature-card:nth-child(6n + 4)::before,
.is-home .timeline-item:nth-child(6n + 4)::before,
.is-home .resource-card:nth-child(6n + 4)::before {
    background: #ffd1a6;
}

.is-home .notice-card:nth-child(6n + 5)::before,
.is-home .feature-card:nth-child(6n + 5)::before,
.is-home .timeline-item:nth-child(6n + 5)::before,
.is-home .resource-card:nth-child(6n + 5)::before {
    background: #d9ecff;
}

.is-home .notice-card:nth-child(6n)::before,
.is-home .feature-card:nth-child(6n)::before,
.is-home .timeline-item:nth-child(6n)::before,
.is-home .resource-card:nth-child(6n)::before {
    background: #ffd8cf;
}

.is-home .notice-card:nth-child(3n + 1),
.is-home .feature-card:nth-child(3n + 1),
.is-home .resource-card:nth-child(3n + 1) {
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 209, 166, 0.34), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 223, 0.9));
}

.is-home .notice-card:nth-child(3n + 2),
.is-home .feature-card:nth-child(3n + 2),
.is-home .resource-card:nth-child(3n + 2) {
    background:
        radial-gradient(circle at 90% 10%, rgba(127, 216, 200, 0.28), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 248, 246, 0.92));
}

.is-home .notice-card:nth-child(3n + 3),
.is-home .feature-card:nth-child(3n + 3),
.is-home .resource-card:nth-child(3n + 3) {
    background:
        radial-gradient(circle at 90% 10%, rgba(232, 225, 255, 0.36), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 232, 0.92));
}

.is-home .notice-card {
    padding: 20px;
}

.is-home .feature-card > :not(.card-media),
.is-home .resource-card > :not(.card-media) {
    margin-left: 18px;
    margin-right: 18px;
}

.is-home .feature-card > .tag,
.is-home .resource-card > .tag {
    margin-top: 18px;
}

.home-section-resources-and-pages .resource-card > h3:first-child {
    margin-top: 24px;
}

.is-home .card-media {
    aspect-ratio: 16 / 7.8;
    margin-bottom: 14px;
}

.is-home .feature-card h3,
.is-home .resource-card h3,
.is-home .notice-card h3,
.is-home .timeline-item h3 {
    color: #10243d;
    margin-top: 0;
    font-size: 1.08rem;
    line-height: 1.18;
}

.is-home .feature-card p,
.is-home .resource-card p,
.is-home .notice-card p,
.is-home .timeline-item p {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.48;
}

.is-home .feature-card > a,
.is-home .resource-card > a {
    margin-top: 6px;
    margin-bottom: 18px;
}

.home-section-trust-signals .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-section-trust-signals .timeline-item {
    background:
        radial-gradient(circle at 92% 8%, rgba(217, 236, 255, 0.32), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 248, 246, 0.95));
}

.home-section-trust-signals .timeline-item span {
    background: rgba(15, 139, 126, 0.1);
    color: var(--teal-deep);
}

.home-section-important-dates .notice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-section-important-dates .notice-card {
    border-color: rgba(244, 182, 61, 0.22);
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 209, 166, 0.38), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 220, 0.94));
}

.home-section-important-dates .notice-card .status {
    background: rgba(255, 233, 119, 0.42);
    color: #72511a;
}

.home-section-public-notices .notice-grid {
    align-items: stretch;
}

.home-section-public-notices .notice-card {
    border-top: 4px solid rgba(15, 139, 126, 0.36);
}

.home-section-public-notices .notice-card.is-breaking-notice {
    border-top-color: var(--accent-coral);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 239, 232, 0.94));
}

.home-section-assessment-pathways .feature-card:nth-child(4n + 1)::before {
    background: #ffb14f;
}

.home-section-assessment-pathways .feature-card:nth-child(4n + 2)::before {
    background: #7fd8c8;
}

.home-section-assessment-pathways .feature-card:nth-child(4n + 3)::before {
    background: #b8a9ff;
}

.home-section-assessment-pathways .feature-card:nth-child(4n + 4)::before {
    background: #91b47a;
}

.home-section-resources-and-pages .resource-card::before {
    background: var(--bluebell);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 5px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(16, 35, 58, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(16, 35, 58, 0.08);
    color: var(--ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.menu-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-label {
    margin-left: 6px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background: #fff;
    border-color: rgba(10, 124, 134, 0.18);
    transform: translateY(-1px);
}

.site-footer {
    position: relative;
    margin-top: 44px;
    padding: 56px 0 0;
    background: #171b2b;
    color: rgba(255, 255, 255, 0.88);
}

.site-footer .wrap {
    width: min(1620px, calc(100% - 120px));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr 0.98fr 1.22fr;
    align-items: start;
    gap: 56px;
}

.footer-column h4 {
    margin-bottom: 28px;
    color: #fff;
    font-size: 1.07rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.9;
}

.site-footer li {
    margin: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a,
.site-footer li,
.site-footer p {
    color: rgba(235, 237, 250, 0.9);
    font-size: 0.99rem;
    line-height: 1.75;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #ffffff;
}

@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-copy-block {
        max-width: none;
        padding-bottom: 0;
    }

    .hero-stage {
        min-height: 460px;
    }

    .hero-stage-main {
        inset: 0;
        width: auto;
    }

    .hero-visual-overlay-top {
        top: 64px;
        right: 18px;
        max-width: 250px;
    }

    .hero-visual-overlay-bottom {
        left: 18px;
        bottom: 18px;
        max-width: 260px;
    }

    .hero-copy-block {
        max-width: 760px;
    }

    .hero-device-intro p {
        max-width: 32ch;
    }

    .nav-row {
        grid-template-columns: minmax(240px, 272px) minmax(0, 1fr);
        column-gap: 20px;
    }

    .brand {
        flex: 0 0 272px;
        min-width: 272px;
        gap: 7px;
    }

    .brand strong {
        font-size: 0.8rem;
    }

    .brand small {
        font-size: 0.54rem;
        letter-spacing: 0.12em;
    }

    .brand-copy {
        max-width: 228px;
    }

    .site-nav {
        gap: 16px;
        font-size: 0.86rem;
    }

    .site-nav-link {
        min-height: 66px;
    }

    .nav-row {
        min-height: 66px;
    }
}

.footer-newsletter {
    padding-left: 8px;
}

.newsletter-input {
    width: 100%;
    min-height: 86px;
    padding: 0 28px;
    border: 0;
    border-radius: 0;
    background: #64637d;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.82);
}

.newsletter-input:focus {
    outline: 2px solid rgba(255, 196, 73, 0.4);
    outline-offset: 0;
}

.newsletter-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    color: #ffc53d;
    font-size: 1.02rem;
    font-weight: 800;
}

.newsletter-link span {
    font-size: 1.22rem;
    line-height: 1;
}

.newsletter-link:hover,
.newsletter-link:focus-visible {
    transform: translateY(-1px);
    color: #ffd56d;
}

.footer-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 44px;
}

.footer-trust-badge {
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-trust-badge strong {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: 0.04em;
}

.footer-trust-badge small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
}

.footer-trust-badge-nsat {
    border-color: rgba(255, 197, 61, 0.28);
    background: linear-gradient(180deg, rgba(255, 197, 61, 0.14), rgba(255, 197, 61, 0.04));
}

.footer-trust-badge-nlso {
    border-color: rgba(127, 216, 200, 0.28);
    background: linear-gradient(180deg, rgba(127, 216, 200, 0.14), rgba(127, 216, 200, 0.04));
}

.footer-trust-badge-sai {
    border-color: rgba(232, 225, 255, 0.28);
    background: linear-gradient(180deg, rgba(232, 225, 255, 0.14), rgba(232, 225, 255, 0.04));
}

.footer-trust-badge-secure {
    border-color: rgba(255, 104, 71, 0.28);
    background: linear-gradient(180deg, rgba(255, 104, 71, 0.14), rgba(255, 104, 71, 0.04));
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    max-width: none;
    margin-top: 58px;
    padding: 20px 0 22px;
    border-top: 0;
    background: #403f97;
    box-shadow: 0 0 0 100vmax #403f97;
    clip-path: inset(0 -100vmax);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-align: center;
    flex-wrap: wrap;
}

.footer-bottom > * {
    max-width: min(1160px, calc(100vw - 32px));
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

.footer-bottom a {
    font-weight: 800;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 25;
}

.back-to-top-frame {
    display: inline-grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 18px rgba(16, 35, 58, 0.2);
}

.back-to-top-pill {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #ff6f42;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.rich-content {
    margin-bottom: 18px;
    line-height: 1.8;
    color: var(--ink-soft);
}

.notice-actions,
.notice-detail-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.notice-actions {
    margin-top: 16px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.article-card {
    position: relative;
    display: grid;
    border: 1px solid rgba(16, 35, 58, 0.08);
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 8%, rgba(232, 225, 255, 0.32), transparent 26%),
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 54px rgba(46, 125, 84, 0.1);
}

.article-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 5px;
    background: var(--gold);
}

.article-card:nth-child(4n + 1)::before {
    background: #ffd1a6;
}

.article-card:nth-child(4n + 2)::before {
    background: #7fd8c8;
}

.article-card:nth-child(4n + 3)::before {
    background: #e8e1ff;
}

.article-card:nth-child(4n + 4)::before {
    background: #d9ecff;
}

.article-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bluebell), var(--lavender));
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.article-card:hover .article-card-image img,
.article-card:focus-within .article-card-image img {
    transform: scale(1.04);
}

.article-card-body {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
    padding: 22px;
}

.article-card-body h2,
.article-card-body h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.16;
}

.article-card-body p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.72;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.article-featured-image {
    margin-bottom: 20px;
    border-radius: 24px;
    overflow: hidden;
}

.article-featured-image img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.article-detail-card {
    padding: 28px;
}

.social-updates-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.social-update-card {
    overflow: hidden;
    border: 1px solid rgba(17, 42, 87, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 54px rgba(17, 42, 87, 0.09);
}

.social-video-frame {
    aspect-ratio: 16 / 10;
    background: #101828;
}

.social-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.social-instagram-preview {
    display: grid;
    place-items: center;
    min-height: 190px;
    padding: 22px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 233, 119, 0.5), transparent 22%),
        radial-gradient(circle at 82% 14%, rgba(255, 104, 71, 0.28), transparent 24%),
        linear-gradient(135deg, #fff8df, #edf8f6);
}

.social-instagram-preview p {
    max-width: 22ch;
    margin: 0;
    color: var(--ink-soft);
}

.social-instagram-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff6847, #f4b63d);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.social-update-body {
    display: grid;
    gap: 10px;
    padding: 18px 20px 22px;
}

.social-update-body h3 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.18;
}

.social-update-body a {
    color: var(--teal-deep);
    font-weight: 800;
}

.article-excerpt {
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-actions {
    margin-top: 24px;
}

.winner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.winner-grid-featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.winner-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(17, 42, 87, 0.1);
    border-radius: 30px;
    background:
        radial-gradient(circle at 84% 10%, rgba(255, 233, 119, 0.38), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 255, 250, 0.92));
    box-shadow: 0 24px 52px rgba(17, 42, 87, 0.1);
}

.winner-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--gold);
}

.winner-card:nth-child(4n + 1)::before {
    background: #f4b63d;
}

.winner-card:nth-child(4n + 2)::before {
    background: #7fd8c8;
}

.winner-card:nth-child(4n + 3)::before {
    background: #ffd1a6;
}

.winner-card:nth-child(4n + 4)::before {
    background: #dfead4;
}

.winner-photo {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    margin: 16px 16px 0;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 24%),
        linear-gradient(135deg, #fff0a2, #edf8f6);
}

.winner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.winner-photo span {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--teal-deep);
    font-family: "Arial Black", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
    font-size: 2.1rem;
    box-shadow: 0 16px 34px rgba(17, 42, 87, 0.12);
}

.winner-card:hover .winner-photo img,
.winner-card:focus-within .winner-photo img {
    transform: scale(1.04);
}

.winner-card-body {
    display: grid;
    gap: 10px;
    padding: 18px 20px 22px;
}

.winner-card-body h3 {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.1;
}

.winner-card-body p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

.winner-card-body strong {
    color: var(--teal-deep);
    font-size: 0.9rem;
}

.winner-badge,
.winner-score,
.winner-year-strip a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.winner-badge {
    background: rgba(244, 182, 61, 0.22);
    color: #6d4b00;
}

.winner-score {
    background: rgba(15, 139, 126, 0.12);
    color: var(--teal-deep);
}

.winner-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.winner-card-large .winner-card-body {
    gap: 12px;
    padding: 20px 22px 24px;
}

.winner-card blockquote {
    margin: 2px 0 0;
    padding-left: 10px;
    border-left: 3px solid rgba(244, 182, 61, 0.7);
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

.winner-year-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.winner-year-strip a {
    border: 1px solid rgba(15, 139, 126, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: var(--teal-deep);
}

.winner-year-strip a:hover,
.winner-year-strip a:focus-visible {
    background: var(--teal-deep);
    color: #fff;
}

.winner-year-group + .winner-year-group {
    margin-top: 52px;
}

.empty-winners-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.breaking-ticker {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 10px 16px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 88% 50%, rgba(255, 233, 119, 0.2), transparent 22%),
        linear-gradient(90deg, #b81f27, #d85a34 52%, #e59d38);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(184, 31, 39, 0.18);
}

.breaking-ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.breaking-ticker-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.breaking-ticker-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.breaking-ticker-track {
    position: relative;
    overflow: hidden;
}

.breaking-ticker-items {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    min-width: max-content;
    animation: breakingTicker 28s linear infinite;
}

.breaking-ticker:hover .breaking-ticker-items,
.breaking-ticker:focus-within .breaking-ticker-items {
    animation-play-state: paused;
}

.breaking-ticker-link {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0.96;
}

.breaking-ticker-link:hover,
.breaking-ticker-link:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

.is-breaking-notice {
    border-color: rgba(189, 49, 49, 0.22);
    background: linear-gradient(180deg, rgba(255, 242, 242, 0.98), rgba(255, 255, 255, 0.98));
    box-shadow: 0 28px 60px rgba(189, 49, 49, 0.12);
}

.is-breaking-notice .status,
.is-breaking-badge {
    background: #c7392f;
    color: #fff;
}

.builder-section .section-heading p:last-child,
.builder-callout .rich-content,
.builder-split .rich-content {
    color: var(--ink-soft);
}

.builder-soft .content-card,
.builder-soft .resource-card {
    background: rgba(255, 255, 255, 0.92);
}

.builder-accent .content-card,
.builder-accent .resource-card {
    background: linear-gradient(180deg, rgba(223, 243, 255, 0.9), rgba(255, 255, 255, 0.96));
}

.builder-dark .content-card,
.builder-dark .resource-card {
    background: linear-gradient(180deg, rgba(22, 48, 77, 0.96), rgba(28, 59, 89, 0.96));
    color: #fff;
}

.builder-dark .rich-content,
.builder-dark .resource-card p,
.builder-dark .resource-card a,
.builder-dark .eyebrow {
    color: rgba(255, 255, 255, 0.84);
}

.builder-callout {
    display: grid;
    gap: 14px;
}

.builder-section {
    position: relative;
}

.builder-section .resource-card {
    border-radius: 28px 28px 18px 28px;
}

.builder-callout {
    gap: 18px;
    padding: 30px;
}

.builder-callout .button {
    width: fit-content;
}

.builder-split .content-card,
.builder-callout {
    box-shadow: 0 22px 54px rgba(17, 42, 87, 0.1);
}

.section-media {
    margin: 0 0 24px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(17, 42, 74, 0.12);
}

.section-media img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.section-media-compact {
    margin-bottom: 18px;
}

.section-media-compact img {
    max-height: 280px;
}

@media (max-width: 1120px) {
    .winner-grid,
    .winner-grid-featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .is-home .section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-section-trust-signals .timeline,
    .home-section-important-dates .notice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .hero-grid,
    .notice-grid,
    .card-grid,
    .article-grid,
    .social-updates-grid,
    .resource-grid,
    .two-column,
    .footer-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .breaking-ticker {
        grid-template-columns: 1fr;
        gap: 10px;
        border-radius: 24px;
    }

    .nav-row,
    .topbar .wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 12px 0;
    }

    .nav-row {
        gap: 10px;
    }

    .topbar-left,
    .topbar-right,
    .contact-points {
        flex-wrap: wrap;
    }

    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        max-height: 0;
        margin-top: 0;
        padding: 0 10px;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        border-top: 0;
        border-radius: 24px;
        background:
            linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(255, 250, 235, 0.96)),
            linear-gradient(135deg, rgba(255, 109, 75, 0.03), rgba(242, 181, 29, 0.08));
        box-shadow: 0 18px 40px rgba(16, 35, 58, 0.14);
        transition:
            max-height 280ms ease,
            opacity 180ms ease,
            transform 220ms ease,
            padding 220ms ease,
            margin-top 220ms ease;
    }

    .site-header.is-menu-open .site-nav {
        max-height: 80vh;
        margin-top: 6px;
        padding: 12px 10px 14px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .brand {
        flex: 0 0 100%;
        min-width: 0;
    }

    .menu-toggle {
        display: inline-flex;
        align-self: flex-end;
    }

    .site-header.is-menu-open .menu-toggle {
        background: #ffffff;
        border-color: rgba(242, 181, 29, 0.35);
        box-shadow: 0 12px 28px rgba(16, 35, 58, 0.12);
    }

    .hero {
        padding-top: 12px;
    }

    .hero-stage {
        min-height: 360px;
        padding: 16px;
    }

    .hero-stage-main {
        inset: 0;
        width: auto;
    }

    .hero-visual-shell,
    .hero-device-shell {
        border-width: 7px;
        border-radius: 24px;
    }

    .hero-visual-shell {
        height: 100%;
        min-height: 0;
    }

    .hero-visual-overlay {
        max-width: 220px;
        padding: 14px;
    }

    .hero-visual-overlay-top {
        top: 54px;
        right: 14px;
    }

    .hero-visual-overlay-bottom {
        left: 14px;
        bottom: 14px;
    }

    .hero-visual-overlay-top strong {
        font-size: 1.2rem;
    }

    .hero-visual-chip-left,
    .hero-visual-chip-right {
        display: none;
    }

    .hero-device-toolbar {
        padding: 12px 14px;
    }

    .hero-device-url {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-device-body {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-device-sidebar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }

    .hero-device-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-device-nav span {
        padding: 8px 10px;
    }

    .hero-device-main {
        padding: 16px;
        gap: 14px;
    }

    .hero-device-main::before {
        left: 16px;
        top: 16px;
        width: 100px;
        height: 70px;
    }

    .hero-device-intro h2 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    .hero-device-intro p {
        max-width: none;
        font-size: 0.88rem;
    }

    .hero-device-dashboard {
        grid-template-columns: 1fr;
    }

    .hero-device-strip {
        gap: 6px;
    }

    .hero-device-bars {
        height: 68px;
    }

    .hero-device-modules {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-stage-shape-loop {
        top: 48px;
        left: 12px;
        width: 150px;
        height: 96px;
        border-width: 9px;
    }

    .hero-stage-shape-dot {
        right: 18px;
        top: 58px;
        width: 58px;
        height: 58px;
    }

    .hero-stage-shape-burst {
        left: 10px;
        bottom: 56px;
        width: 62px;
        height: 62px;
        background-size: 13px 13px;
    }

    .site-header.is-menu-open .menu-toggle-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.is-menu-open .menu-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .menu-toggle-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav-link {
        min-height: 54px;
        width: 100%;
        justify-content: space-between;
        padding: 0 16px;
        border-radius: 16px;
    }

    .nav-group {
        width: 100%;
    }

    .nav-group-toggle {
        width: 100%;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid rgba(16, 35, 58, 0.07);
        box-shadow: 0 8px 20px rgba(16, 35, 58, 0.05);
    }

    .site-nav > .site-nav-link {
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid rgba(16, 35, 58, 0.07);
        box-shadow: 0 8px 20px rgba(16, 35, 58, 0.05);
    }

    .site-nav > .site-nav-link::before,
    .nav-group-toggle::before {
        display: none;
    }

    .nav-dropdown {
        position: static;
        min-width: 0;
        margin: 6px 8px 10px 10px;
        padding: 10px 0 4px 16px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        border-left: 2px solid rgba(10, 124, 134, 0.14);
    }

    .nav-group:hover .nav-dropdown,
    .nav-group:focus-within .nav-dropdown {
        display: none;
    }

    .nav-group.is-open .nav-dropdown {
        display: grid;
    }

    .nav-group.is-open .nav-caret {
        transform: rotate(225deg) translateY(2px);
    }

    .nav-dropdown-link {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 0.84rem;
    }

    .nav-dropdown-link:hover,
    .nav-dropdown-link:focus-visible {
        background: rgba(10, 124, 134, 0.08);
        color: var(--teal-deep);
    }

    .hero,
    .page-hero {
        padding-top: 60px;
    }

    .hero-panel,
    .footer-column {
        border-radius: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-newsletter {
        padding-left: 0;
    }

    .site-footer .wrap {
        width: min(100% - 40px, 1160px);
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(100% - 24px, 1160px);
    }

    .topbar {
        display: none;
    }

    .topbar-links,
    .hero-actions {
        gap: 10px;
    }

    .site-nav {
        padding-left: 8px;
        padding-right: 8px;
    }

    .hero-theme-switcher {
        width: 100%;
        border-radius: 22px;
    }

    .hero-theme-switcher span {
        flex-basis: 100%;
        padding-left: 4px;
    }

    .hero-theme-switcher button {
        flex: 1 1 72px;
    }

    h1 {
        max-width: none;
        font-size: clamp(2.05rem, 11vw, 3.15rem);
    }

    h2 {
        font-size: clamp(1.45rem, 8vw, 2rem);
    }

    .hero-copy {
        font-size: 0.96rem;
    }

    .hero-stage {
        min-height: 320px;
    }

    .hero-stage-ribbon {
        left: 16px;
    }

    .hero-visual-shell {
        height: 100%;
        min-height: 0;
    }

    .hero-visual-overlay {
        max-width: 190px;
    }

    .hero-visual-overlay-top strong {
        font-size: 1rem;
    }

    .hero-visual-overlay-bottom p {
        font-size: 0.82rem;
    }

    .hero-device-pill {
        min-height: 32px;
        padding: 0 14px;
    }

    .hero-device-modules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-device-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-device-badge,
    .hero-device-footer strong {
        font-size: 0.76rem;
    }

    .section-heading h2 {
        max-width: none;
    }

    .is-home .home-section {
        padding: 24px 0 28px;
    }

    .is-home .section-heading h2 {
        font-size: clamp(1.7rem, 9vw, 2.35rem);
        line-height: 1.02;
    }

    .home-section-trust-signals .timeline,
    .home-section-important-dates .notice-grid {
        grid-template-columns: 1fr;
    }

    .winner-grid,
    .winner-grid-featured,
    .social-updates-grid {
        grid-template-columns: 1fr;
    }

    .winner-photo {
        aspect-ratio: 16 / 10;
    }

    .is-home .card-media {
        aspect-ratio: 16 / 8.5;
    }

    .menu-toggle {
        min-height: 40px;
        padding: 0 12px;
    }

    .menu-toggle-label {
        font-size: 0.8rem;
    }

    .site-nav-link {
        min-height: 52px;
        padding: 0 14px;
    }

    .nav-dropdown {
        margin-left: 6px;
        margin-right: 6px;
        padding-left: 12px;
    }

    .nav-dropdown-link {
        min-height: 40px;
        padding: 8px 10px;
    }

    .button {
        width: 100%;
        justify-content: center;
    }

    .breaking-ticker-link {
        font-size: 0.88rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .newsletter-input {
        min-height: 72px;
    }

    .footer-trust-badges {
        gap: 22px;
        margin-top: 36px;
    }

    .back-to-top {
        right: 12px;
        bottom: 12px;
    }

    .back-to-top-frame {
        width: 58px;
        height: 58px;
    }

    .back-to-top-pill {
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
    }
}

@keyframes breakingTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.store-category-grid,
.product-grid,
.product-gallery-grid,
.product-variant-grid {
    display: grid;
    gap: 1.5rem;
}

.store-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.store-category-card,
.product-card,
.product-variant-card {
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.store-category-card img,
.product-card-image img,
.product-featured-image img,
.product-gallery-grid img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.store-category-card img,
.product-card-image img,
.product-featured-image img {
    aspect-ratio: 16 / 10;
}

.store-category-card-body,
.product-card-body {
    padding: 1.4rem 1.4rem 1.5rem;
}

.store-category-card-body h3,
.product-card-body h3 {
    margin: 0 0 0.7rem;
    font-size: 1.3rem;
}

.store-category-card-body p,
.product-card-body p {
    margin: 0 0 1rem;
    color: #475569;
}

.store-category-card-body a,
.product-card-footer a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card-image {
    display: block;
}

.product-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.product-card-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.product-card-actions form {
    margin: 0;
}

.product-card-actions button,
.cart-remove-button {
    border: 0;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0;
}

.product-price-inline,
.product-price-stack {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.product-price-inline strong,
.product-price-stack strong,
.variant-price {
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 800;
}

.product-price-inline span,
.product-price-stack span,
.variant-compare {
    color: #64748b;
}

.shop-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.75rem;
}

.shop-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.shop-filter-chip.is-active,
.shop-filter-chip:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.75rem;
    align-items: start;
}

.product-detail-card {
    display: grid;
    gap: 1.25rem;
}

.add-to-cart-form,
.checkout-form {
    display: grid;
    gap: 1rem;
}

.add-to-cart-form label,
.checkout-form label,
.cart-quantity {
    display: grid;
    gap: 0.42rem;
    color: var(--ink);
    font-weight: 700;
}

.add-to-cart-form input,
.add-to-cart-form select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.cart-quantity input {
    width: 100%;
    border: 1px solid rgba(17, 42, 87, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font: inherit;
    padding: 0.82rem 0.95rem;
}

.checkout-form small,
.form-error {
    color: #be123c;
    font-weight: 700;
}

.product-meta-list {
    margin: 0;
    padding-left: 1.2rem;
    color: #334155;
    display: grid;
    gap: 0.45rem;
}

.product-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.product-gallery-grid img {
    aspect-ratio: 1 / 1;
    border-radius: 1.25rem;
}

.product-subsection-heading {
    margin-top: 3rem;
}

.product-variant-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-variant-card {
    padding: 1.5rem;
}

.product-variant-card.is-default {
    border-color: rgba(15, 118, 110, 0.32);
    box-shadow: 0 24px 50px rgba(15, 118, 110, 0.12);
}

.product-variant-card h3 {
    margin: 0 0 0.65rem;
}

.cart-alert {
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 20px;
    background: rgba(240, 253, 250, 0.94);
    color: #115e59;
    font-weight: 800;
}

.cart-alert.is-error {
    border-color: rgba(190, 18, 60, 0.18);
    background: rgba(255, 241, 242, 0.95);
    color: #9f1239;
}

.payment-card {
    display: grid;
    gap: 1rem;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
    gap: 1.5rem;
    align-items: start;
}

.cart-empty-card {
    text-align: center;
}

.cart-items {
    display: grid;
    gap: 1rem;
}

.cart-line {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto 96px auto auto;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(17, 42, 87, 0.1);
}

.cart-line:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cart-line-image img {
    width: 92px;
    height: 76px;
    border-radius: 18px;
    object-fit: cover;
}

.cart-line-main h3 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
}

.cart-line-main p {
    margin: 0 0 0.45rem;
    color: var(--ink-soft);
}

.cart-line-price,
.cart-line-total {
    white-space: nowrap;
}

.cart-summary-card {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 1rem;
}

.cart-totals {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.cart-totals div,
.checkout-summary-lines div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(17, 42, 87, 0.1);
}

.cart-totals dt,
.cart-totals dd {
    margin: 0;
}

.cart-total-row {
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 900;
}

.checkout-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.checkout-consent {
    grid-template-columns: auto 1fr;
    align-items: start;
}

.checkout-consent input {
    width: auto;
    margin-top: 0.25rem;
}

.checkout-summary-lines {
    display: grid;
    gap: 0.75rem;
}

.checkout-summary-lines small {
    display: block;
    color: var(--ink-soft);
    font-weight: 500;
}

.coupon-form {
    display: grid;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.coupon-form label {
    display: grid;
    gap: 0.42rem;
    font-weight: 700;
}

.invoice-section {
    padding-top: 2.5rem;
}

.invoice-card {
    background: #fff;
}

.invoice-header,
.invoice-meta-grid {
    display: grid;
    gap: 1rem;
}

.invoice-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    margin-bottom: 1.5rem;
}

.invoice-header h1 {
    margin-bottom: 0.4rem;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.invoice-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.4rem;
}

.invoice-meta-grid p {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.invoice-totals {
    margin-left: auto;
    width: min(100%, 420px);
}

@media print {
    .topbar,
    .site-header,
    .site-footer,
    .back-to-top,
    .no-print {
        display: none !important;
    }

    body,
    .site-shell,
    .section,
    .section.alt {
        background: #fff !important;
    }

    .wrap,
    .narrow {
        width: 100% !important;
    }

    .content-card,
    .invoice-card {
        border: 0 !important;
        box-shadow: none !important;
    }
}

@media (max-width: 1120px) {
    .store-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid,
    .product-variant-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .store-category-grid,
    .product-grid,
    .product-variant-grid,
    .product-gallery-grid {
        grid-template-columns: 1fr;
    }

    .product-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-card-actions {
        justify-content: flex-start;
    }

    .cart-line {
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: start;
    }

    .cart-line-image img {
        width: 72px;
        height: 64px;
    }

    .cart-line-price,
    .cart-quantity,
    .cart-line-total,
    .cart-remove-button {
        grid-column: 2;
    }

    .checkout-field-grid {
        grid-template-columns: 1fr;
    }
}

.contact-page-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
    gap: 2.6rem;
    align-items: start;
}

.contact-sidebar-card {
    padding: 2rem 2rem 2.1rem;
    background: linear-gradient(180deg, rgba(233, 240, 255, 0.92), rgba(244, 247, 255, 0.96));
    color: var(--ink-soft);
    border: 1px solid rgba(17, 42, 87, 0.08);
}

.contact-sidebar-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
}

.contact-sidebar-divider {
    width: 100%;
    height: 1px;
    margin: 1.45rem 0 1.6rem;
    background: rgba(255, 255, 255, 0.9);
}

.contact-sidebar-block + .contact-sidebar-block {
    margin-top: 1.35rem;
}

.contact-sidebar-block h3 {
    margin: 0 0 0.45rem;
    color: var(--ink);
    font-size: 0.95rem;
}

.contact-sidebar-block a,
.contact-sidebar-block address,
.contact-hours-copy p {
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.55;
    text-decoration: none;
}

.contact-sidebar-block address {
    display: grid;
    gap: 0.1rem;
    margin: 0;
    font-style: normal;
}

.contact-hours-copy p {
    margin: 0 0 0.35rem;
}

.contact-icon-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.contact-icon-row a {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.contact-form-panel {
    display: grid;
    gap: 1.2rem;
}

.contact-form-heading {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-form-heading-bar {
    width: 6px;
    min-height: 72px;
    background: var(--gold);
}

.contact-form-heading h1 {
    max-width: none;
    width: 100%;
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.6rem, 3vw, 2.7rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.contact-wordpress-form {
    display: grid;
    gap: 1.15rem;
}

.contact-honeypot-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.contact-form-row-single {
    grid-template-columns: 1fr;
}

.contact-wordpress-form label {
    display: grid;
    gap: 0.45rem;
}

.contact-wordpress-form label span,
.contact-captcha-row label {
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 600;
}

.contact-wordpress-form label em {
    color: var(--gold);
    font-style: normal;
}

.contact-wordpress-form input,
.contact-wordpress-form select,
.contact-wordpress-form textarea {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: rgba(242, 244, 250, 0.96);
    color: var(--ink);
    font: inherit;
}

.contact-wordpress-form input,
.contact-wordpress-form select {
    min-height: 56px;
    padding: 0 1rem;
}

.contact-wordpress-form textarea {
    min-height: 170px;
    padding: 0.95rem 1rem;
    resize: vertical;
}

.contact-wordpress-form input::placeholder,
.contact-wordpress-form textarea::placeholder {
    color: #6e7f9d;
}

.contact-phone-input {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: stretch;
    background: #f2f2f7;
}

.contact-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(17, 42, 87, 0.12);
    color: var(--ink-soft);
    font-size: 1rem;
}

.contact-phone-input input {
    background: transparent;
}

.contact-policy-row {
    display: flex;
    justify-content: center;
    margin-top: -0.1rem;
}

.contact-policy-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ink-soft);
}

.contact-policy-check input {
    width: 16px;
    height: 16px;
    min-height: 18px;
    margin: 0;
}

.contact-policy-check span {
    font-size: 0.82rem;
    text-align: center;
}

.contact-captcha-row {
    display: grid;
    grid-template-columns: auto minmax(220px, 360px);
    align-items: center;
    gap: 0.8rem;
}

.contact-captcha-row input {
    min-height: 38px;
    padding: 0 0.85rem;
    border: 1px solid rgba(17, 42, 87, 0.35);
    background: #fff;
}

.contact-submit-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.15rem;
}

.contact-submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 58px;
    padding: 0 1.7rem;
    border: 0;
    background: linear-gradient(135deg, var(--gold), #ee9e12);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
}

.contact-submit-button:hover,
.contact-submit-button:focus-visible {
    background: linear-gradient(135deg, #e5aa18, #df8f0d);
}

.public-flash {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1.1rem;
}

.public-flash-success {
    background: #e9f9ef;
    color: #166534;
}

.public-flash-error {
    background: #fff1f1;
    color: #991b1b;
}

.public-flash-error ul {
    margin: 0.65rem 0 0 1rem;
}

@media (max-width: 1120px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .contact-page-section {
        padding-top: 2.25rem;
    }

    .contact-page-grid {
        gap: 1.5rem;
    }

    .contact-sidebar-card {
        padding: 1.5rem 1.1rem 1.6rem;
    }

    .contact-form-heading {
        gap: 0.8rem;
    }

    .contact-form-heading-bar {
        min-height: 58px;
    }

    .contact-form-row,
    .contact-captcha-row {
        grid-template-columns: 1fr;
    }

    .contact-wordpress-form input,
    .contact-wordpress-form select {
        min-height: 52px;
    }

    .contact-phone-input {
        grid-template-columns: 60px 1fr;
    }

    .contact-policy-row {
        justify-content: flex-start;
    }

    .contact-policy-check span {
        text-align: left;
    }
}

.newsletter-form {
    display: grid;
    gap: 0.95rem;
}

.newsletter-link {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.newsletter-flash {
    margin-top: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.newsletter-flash-success {
    background: rgba(22, 101, 52, 0.18);
    color: #dafce7;
}

.newsletter-flash-error {
    background: rgba(153, 27, 27, 0.22);
    color: #ffe5e5;
}






.syllabus-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    align-items: stretch;
}

.syllabus-intro-card h2,
.syllabus-facts-card h2,
.syllabus-other-card h2 {
    margin-top: 0;
}

.syllabus-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.syllabus-facts-grid div {
    padding: 16px;
    border: 1px solid rgba(17, 42, 87, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 248, 223, 0.9), rgba(255, 255, 255, 0.96));
}

.syllabus-facts-grid strong,
.syllabus-facts-grid span {
    display: block;
}

.syllabus-facts-grid strong {
    color: var(--ink-black);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.syllabus-facts-grid span {
    margin-top: 6px;
    color: var(--ink-soft);
    line-height: 1.45;
}

.syllabus-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.syllabus-topic-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    min-height: 176px;
    padding: 20px;
    border: 1px solid rgba(17, 42, 87, 0.1);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(17, 42, 87, 0.07);
}

.syllabus-topic-number {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 15px;
    background: var(--cream-deep);
    color: var(--ink-black);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.syllabus-topic-card h3 {
    margin: 2px 0 8px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.22;
}

.syllabus-topic-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.58;
}

.syllabus-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.syllabus-link-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(17, 42, 87, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    font-weight: 900;
}

.syllabus-link-pill:hover,
.syllabus-link-pill:focus-visible {
    border-color: rgba(255, 104, 71, 0.45);
    background: rgba(255, 248, 223, 0.95);
    color: var(--accent-coral);
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .syllabus-layout,
    .syllabus-topic-grid {
        grid-template-columns: 1fr;
    }

    .syllabus-topic-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .syllabus-facts-grid {
        grid-template-columns: 1fr;
    }

    .syllabus-topic-card {
        grid-template-columns: 1fr;
    }
}

.syllabus-topic-card-list {
    min-height: 240px;
}

.syllabus-mini-list {
    margin: 0;
    padding-left: 18px;
    color: var(--ink-soft);
    line-height: 1.65;
    font-size: 0.92rem;
}

.syllabus-mini-list li + li {
    margin-top: 6px;
}

.syllabus-link-pill.is-active {
    border-color: rgba(255, 104, 71, 0.48);
    background: var(--accent-coral);
    color: #ffffff;
}

.syllabus-index-card {
    min-height: 260px;
}

.syllabus-index-card .tag {
    margin-bottom: 14px;
}

/* Mobile navigation reliability pass - 2026-06-25 */
@media (max-width: 960px) {
    .nav-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 12px;
        min-height: 70px;
        padding: 8px 0;
    }

    .nav-row .brand {
        grid-column: 1;
        width: auto;
        min-width: 0;
        flex: 0 1 auto;
        padding: 4px 0;
    }

    .nav-row .brand-copy {
        min-width: 0;
    }

    .nav-row .brand strong,
    .nav-row .brand small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .menu-toggle {
        position: relative;
        grid-column: 2;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
        align-self: center;
        min-width: 102px;
        min-height: 44px;
        padding: 0 15px 0 45px;
        border: 1px solid rgba(17, 42, 87, 0.14);
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 8px 22px rgba(17, 42, 87, 0.1);
    }

    .menu-toggle-line {
        position: absolute;
        left: 15px;
        width: 21px;
        height: 2px;
        margin: 0;
        border-radius: 999px;
        background: currentColor;
        transform-origin: center;
        transition: top 180ms ease, transform 180ms ease, opacity 140ms ease;
    }

    .menu-toggle-line:nth-child(1) {
        top: 14px;
    }

    .menu-toggle-line:nth-child(2) {
        top: 21px;
    }

    .menu-toggle-line:nth-child(3) {
        top: 28px;
    }

    .site-header.is-menu-open .menu-toggle-line:nth-child(1) {
        top: 21px;
        transform: rotate(45deg);
    }

    .site-header.is-menu-open .menu-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .menu-toggle-line:nth-child(3) {
        top: 21px;
        transform: rotate(-45deg);
    }

    .site-nav {
        grid-column: 1 / -1;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0 8px;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
    }

    .site-header.is-menu-open .site-nav {
        max-height: calc(100dvh - 96px);
        margin-top: 4px;
        padding: 10px 8px 14px;
        overflow-x: hidden;
        overflow-y: auto;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        overscroll-behavior: contain;
    }

    .site-nav-link,
    .nav-group-toggle {
        min-height: 50px;
        padding: 0 15px;
    }

    .nav-dropdown,
    .nav-group:hover .nav-dropdown,
    .nav-group:focus-within .nav-dropdown {
        position: static;
        display: none !important;
        width: auto;
        min-width: 0;
        max-height: none;
        margin: 5px 8px 10px;
        padding: 6px;
        overflow: visible;
        border: 1px solid rgba(17, 42, 87, 0.08);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .nav-group.is-open > .nav-dropdown,
    .nav-group.is-open:hover > .nav-dropdown,
    .nav-group.is-open:focus-within > .nav-dropdown {
        display: grid !important;
        gap: 3px;
    }

    .nav-dropdown-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 9px 12px;
        border-radius: 10px;
        color: var(--ink);
        line-height: 1.3;
    }

    .nav-group.is-open .nav-group-toggle {
        border-color: rgba(15, 139, 126, 0.2);
        background: rgba(237, 248, 246, 0.96);
        color: var(--teal-deep);
    }

    .nav-group.is-open .nav-caret {
        transform: rotate(225deg) translateY(2px);
    }
}

@media (max-width: 640px) {
    .nav-row {
        min-height: 66px;
    }

    .nav-row .brand {
        gap: 7px;
    }

    .nav-row .brand-mark {
        width: 30px;
        height: 48px;
        flex-basis: 30px;
    }

    .nav-row .brand strong {
        font-size: 0.76rem;
    }

    .nav-row .brand small {
        font-size: 0.5rem;
    }

    .menu-toggle {
        min-width: 46px;
        width: 46px;
        min-height: 44px;
        padding: 0;
        justify-content: center;
    }

    .menu-toggle-line {
        left: 12px;
    }

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

    .site-header.is-menu-open .site-nav {
        max-height: calc(100dvh - 82px);
    }
}
/* Keep expanded mobile dropdowns from shrinking later menu items. */
@media (max-width: 960px) {
    .site-header.is-menu-open .site-nav {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        scrollbar-width: thin;
        scrollbar-color: rgba(17, 42, 87, 0.28) transparent;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav > .site-nav-link,
    .site-nav > .nav-group {
        flex: 0 0 auto;
    }

    .site-nav > .site-nav-link {
        min-height: 50px;
    }

    .site-nav > .nav-group > .nav-group-toggle {
        min-height: 50px;
        flex: none;
    }

    .site-nav::-webkit-scrollbar {
        width: 5px;
    }

    .site-nav::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(17, 42, 87, 0.24);
    }

    .nav-group.is-open > .nav-dropdown {
        flex: none;
    }
}
/* Mobile utility bar collapses while the primary navigation remains sticky. */
@media (max-width: 640px) {
    .site-header {
        position: sticky;
        top: 0;
    }

    .topbar {
        display: block;
        max-height: 230px;
        overflow: hidden;
        border-bottom-color: rgba(17, 42, 87, 0.1);
        background: #f3f2ff;
        opacity: 1;
        transition: max-height 240ms ease, opacity 160ms ease, border-color 160ms ease;
    }

    .topbar .wrap {
        width: min(100% - 36px, 1160px);
        min-height: 0;
        padding: 14px 0 13px;
        gap: 12px;
    }

    .topbar-left,
    .topbar-right {
        width: 100%;
    }

    .topbar-left {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .social-links {
        width: 100%;
        min-height: 22px;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
        gap: 18px;
        background: transparent;
        box-shadow: none;
    }

    .social-link {
        width: 22px;
        height: 22px;
        color: #364b8d;
    }

    .social-link-glyph {
        width: 18px;
        height: 18px;
    }

    .contact-points {
        width: 100%;
        justify-content: space-between;
        gap: 10px 18px;
    }

    .contact-point {
        font-size: 0.75rem;
    }

    .contact-point + .contact-point {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .topbar-right {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }

    .topbar-links {
        justify-content: flex-start;
        gap: 7px 14px;
        font-size: 0.76rem;
    }

    .login-link {
        min-height: 28px;
        margin-left: auto;
        padding: 0 12px;
        flex: 0 0 auto;
    }

    .login-link::before {
        display: none;
    }

    .site-header.is-compact .topbar {
        max-height: 0;
        border-bottom-color: transparent;
        opacity: 0;
        pointer-events: none;
    }

    .site-header:not(.is-compact).is-menu-open .site-nav {
        max-height: calc(100dvh - 220px);
    }
}
/* Compact mobile header with utility actions inside the menu. */
.mobile-menu-utility {
    display: none;
}

@media (max-width: 640px) {
    .topbar {
        display: none;
    }

    .site-header.is-menu-open .site-nav,
    .site-header:not(.is-compact).is-menu-open .site-nav {
        max-height: calc(100dvh - 82px);
    }

    .mobile-menu-utility {
        display: grid;
        flex: 0 0 auto;
        gap: 12px;
        margin-top: 4px;
        padding: 16px;
        border: 1px solid rgba(17, 42, 87, 0.09);
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(237, 248, 246, 0.98), rgba(243, 242, 255, 0.98));
    }

    .mobile-menu-utility-title {
        color: var(--ink-soft);
        font-size: 0.68rem;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .mobile-menu-contact {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .mobile-menu-contact a {
        color: var(--ink);
        font-size: 0.78rem;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .mobile-menu-quick-links {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .mobile-menu-quick-links a {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 0 11px;
        border: 1px solid rgba(17, 42, 87, 0.1);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.84);
        color: var(--ink);
        font-size: 0.72rem;
        font-weight: 800;
    }

    .mobile-menu-utility-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-top: 10px;
        border-top: 1px solid rgba(17, 42, 87, 0.09);
    }

    .mobile-menu-socials {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .mobile-menu-socials a {
        display: inline-grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border-radius: 50%;
        background: #ffffff;
        color: #42508d;
        font-size: 0.65rem;
        font-weight: 900;
        box-shadow: 0 5px 14px rgba(17, 42, 87, 0.08);
    }

    .mobile-menu-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 15px;
        border-radius: 999px;
        background: var(--ink);
        color: #ffffff;
        font-size: 0.76rem;
        font-weight: 900;
    }
}
/* Olympiad brochures library */
.brochure-library-section {
    padding-top: 20px;
}

.brochure-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(17, 42, 87, 0.11);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    -webkit-overflow-scrolling: touch;
}

.brochure-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    text-align: left;
}

.brochure-table th,
.brochure-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(17, 42, 87, 0.09);
    vertical-align: middle;
}

.brochure-table th {
    background: #fff4c4;
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brochure-table tbody tr:last-child td {
    border-bottom: 0;
}

.brochure-table tbody tr:hover td {
    background: rgba(237, 248, 246, 0.58);
}

.brochure-table td:nth-child(1) {
    width: 25%;
}

.brochure-table td:nth-child(2),
.brochure-table td:nth-child(4) {
    white-space: nowrap;
}

.brochure-table td:nth-child(3) {
    color: var(--ink-soft);
    line-height: 1.55;
}

.brochure-featured-label {
    display: inline-flex;
    margin: 7px 0 0 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--cream-deep);
    color: var(--ink-black);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brochure-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--teal-deep);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
    white-space: nowrap;
}

.brochure-action:hover,
.brochure-action:focus-visible {
    background: var(--ink);
    color: #ffffff;
    transform: translateY(-1px);
}

.brochure-empty-state {
    max-width: 760px;
    margin: 0 auto;
}

.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;
}

@media (max-width: 640px) {
    .brochure-table th,
    .brochure-table td {
        padding: 14px 16px;
    }
}
/* Final brand heading color pass */
:root {
    --brand-heading-navy: #06224a;
    --brand-heading-deep: #0b2f5f;
}

h1,
h2,
h3,
.page-hero h1,
.page-hero h2,
.section-heading h2,
.is-home .section-heading h2,
.article-card-body h2,
.resource-card h2,
.product-card h2,
.page-content h2,
.page-section h2,
.contact-form-heading h1,
.contact-sidebar-card h2,
.syllabus-intro-card h2,
.syllabus-facts-card h2,
.syllabus-other-card h2,
.winners-hero h1,
.brochure-page-hero h1 {
    color: var(--brand-heading-navy) !important;
}

.page-hero .eyebrow,
.section-heading .eyebrow,
.eyebrow {
    color: var(--teal-deep) !important;
}

.hero-copy,
.page-hero .hero-copy,
.section-heading p {
    color: #36506f;
}

/* Wider admin-managed page body cards for readable tables */
.is-inner-page .section > .wrap.narrow:has(.rich-content),
.is-inner-page .section > .wrap.narrow:has(.content-card > .rich-content) {
    width: min(1120px, calc(100% - 32px));
}

.is-inner-page .section > .wrap.narrow:has(.rich-content) .content-card {
    padding: clamp(24px, 3.2vw, 42px);
}

.is-inner-page .rich-content {
    overflow-wrap: normal;
    word-break: normal;
}

.is-inner-page .rich-content table {
    min-width: 860px;
    table-layout: auto;
}

.is-inner-page .rich-content table th,
.is-inner-page .rich-content table td {
    min-width: 150px;
    overflow-wrap: normal;
    word-break: normal;
}

.is-inner-page .rich-content table th:first-child,
.is-inner-page .rich-content table td:first-child {
    min-width: 180px;
}

.is-inner-page .rich-content table th:nth-child(2),
.is-inner-page .rich-content table td:nth-child(2) {
    min-width: 280px;
}

.is-inner-page .rich-content table th:nth-child(3),
.is-inner-page .rich-content table td:nth-child(3) {
    min-width: 320px;
}

@media (max-width: 900px) {
    .is-inner-page .section > .wrap.narrow:has(.rich-content),
    .is-inner-page .section > .wrap.narrow:has(.content-card > .rich-content) {
        width: min(100% - 24px, 1120px);
    }

    .is-inner-page .rich-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Contact page polish pass */
.contact-hero-section {
    padding: clamp(2rem, 4vw, 4rem) 0 0;
}

.contact-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
    padding: clamp(1.6rem, 3vw, 2.6rem);
    border: 1px solid rgba(17, 42, 87, 0.1);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 218, 66, 0.24), transparent 32%),
        radial-gradient(circle at 100% 25%, rgba(15, 139, 126, 0.14), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f4fbfa 100%);
    box-shadow: 0 20px 55px rgba(17, 42, 87, 0.08);
}

.contact-hero-card h1 {
    max-width: 780px;
    margin: 0;
    color: var(--brand-heading-navy, var(--ink));
    font-size: clamp(2.4rem, 6vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
}

.contact-hero-card p:not(.eyebrow) {
    max-width: 760px;
    margin: 1rem 0 0;
    color: #36506f;
    font-size: 1.02rem;
    line-height: 1.75;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.contact-hero-actions a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border: 1px solid rgba(17, 42, 87, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(17, 42, 87, 0.06);
}

.contact-hero-actions a:first-child {
    background: var(--ink);
    color: #fff;
}

.contact-page-section {
    padding-top: 2rem;
}

.contact-page-grid {
    grid-template-columns: minmax(300px, 0.36fr) minmax(0, 0.64fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-sidebar-card,
.contact-form-panel {
    border: 1px solid rgba(17, 42, 87, 0.1);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(17, 42, 87, 0.08);
}

.contact-sidebar-card {
    position: sticky;
    top: 118px;
    padding: clamp(1.35rem, 2vw, 1.8rem);
    color: var(--ink);
}

.contact-sidebar-intro h2,
.contact-form-heading h2 {
    margin: 0;
    color: var(--brand-heading-navy, var(--ink));
    font-size: clamp(1.45rem, 2.4vw, 2.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.contact-sidebar-intro p:not(.eyebrow),
.contact-form-heading p:not(.eyebrow) {
    margin: 0.75rem 0 0;
    color: #526987;
    font-size: 0.95rem;
    line-height: 1.65;
}

.contact-method-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.25rem 0;
}

.contact-method-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid rgba(17, 42, 87, 0.09);
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #fffdf5 0%, #f6fbff 100%);
}

.contact-method-card:hover,
.contact-method-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(15, 139, 126, 0.28);
    box-shadow: 0 14px 28px rgba(17, 42, 87, 0.08);
}

.contact-method-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    font-size: 0.85rem;
    font-weight: 900;
}

.contact-method-card strong,
.contact-method-card small {
    display: block;
}

.contact-method-card strong {
    color: var(--ink);
    font-size: 0.92rem;
}

.contact-method-card small {
    margin-top: 0.2rem;
    color: #526987;
    font-size: 0.86rem;
}

.contact-info-panel {
    padding: 1rem;
    border: 1px solid rgba(17, 42, 87, 0.08);
    border-radius: 1.15rem;
    background: #f8fbff;
}

.contact-sidebar-block + .contact-sidebar-block {
    margin-top: 0.85rem;
}

.contact-sidebar-block h3 {
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-sidebar-block address,
.contact-hours-copy p {
    font-size: 0.86rem;
}

.contact-icon-row a {
    display: inline-flex;
    min-width: 38px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 0.74rem;
    box-shadow: inset 0 0 0 1px rgba(17, 42, 87, 0.1);
}

.contact-form-panel {
    padding: clamp(1.35rem, 3vw, 2.4rem);
}

.contact-form-heading {
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.contact-form-heading-bar {
    width: 5px;
    min-height: auto;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold), var(--teal));
}

.contact-wordpress-form {
    gap: 1rem;
}

.contact-wordpress-form label span,
.contact-captcha-row label {
    color: #233d63;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.contact-wordpress-form input,
.contact-wordpress-form select,
.contact-wordpress-form textarea {
    border: 1px solid rgba(17, 42, 87, 0.1);
    border-radius: 1rem;
    background: #f7f9fc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-wordpress-form input:focus,
.contact-wordpress-form select:focus,
.contact-wordpress-form textarea:focus {
    outline: 0;
    border-color: rgba(15, 139, 126, 0.55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 139, 126, 0.1);
}

.contact-wordpress-form input,
.contact-wordpress-form select {
    min-height: 48px;
    padding: 0 0.95rem;
}

.contact-wordpress-form textarea {
    min-height: 145px;
    padding: 0.9rem 0.95rem;
}

.contact-phone-input {
    grid-template-columns: 54px 1fr;
    border: 1px solid rgba(17, 42, 87, 0.1);
    border-radius: 1rem;
    background: #f7f9fc;
    overflow: hidden;
}

.contact-phone-input:focus-within {
    border-color: rgba(15, 139, 126, 0.55);
    box-shadow: 0 0 0 4px rgba(15, 139, 126, 0.1);
}

.contact-phone-icon {
    border-right: 1px solid rgba(17, 42, 87, 0.1);
    color: var(--teal-deep);
    font-size: 0.78rem;
    font-weight: 900;
}

.contact-phone-input input {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-form-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(17, 42, 87, 0.08);
    border-radius: 1.1rem;
    background: #fffdf5;
}

.contact-policy-row {
    justify-content: flex-start;
}

.contact-policy-check {
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
    gap: 0.6rem;
}

.contact-policy-check input {
    flex: 0 0 auto;
    accent-color: var(--teal);
}

.contact-policy-check span {
    color: #526987;
    font-size: 0.84rem;
    text-align: left;
}

.contact-captcha-row {
    display: grid;
    grid-template-columns: auto 120px;
    gap: 0.65rem;
    align-items: center;
}

.contact-captcha-row input {
    min-height: 42px;
    border-radius: 0.8rem;
}

.contact-submit-button {
    min-height: 50px;
    padding: 0 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-coral), #f5a524);
    box-shadow: 0 16px 28px rgba(255, 104, 71, 0.22);
}

@media (max-width: 1120px) {
    .contact-sidebar-card {
        position: static;
    }
}

@media (max-width: 820px) {
    .contact-hero-card,
    .contact-page-grid,
    .contact-form-footer {
        grid-template-columns: 1fr;
    }

    .contact-hero-actions {
        justify-content: flex-start;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-captcha-row {
        grid-template-columns: 1fr;
    }

    .contact-captcha-row input {
        max-width: 220px;
    }
}

@media (max-width: 560px) {
    .contact-hero-section {
        padding-top: 1.25rem;
    }

    .contact-hero-card,
    .contact-sidebar-card,
    .contact-form-panel {
        border-radius: 1.35rem;
    }

    .contact-hero-card h1 {
        font-size: clamp(2.3rem, 16vw, 4rem);
    }
}

/* Focused homepage polish pass: simpler hero, tighter sections, more visual cards. */
.hero-theme-switcher {
    display: none !important;
}

.is-home .hero {
    padding: clamp(20px, 3vw, 38px) 0 clamp(34px, 4.8vw, 66px);
}

.is-home .hero::before {
    height: clamp(520px, 64vw, 740px);
    opacity: 0.94;
}

.is-home .hero-grid {
    gap: clamp(26px, 4vw, 58px);
}

.is-home .hero-copy-block {
    padding-top: clamp(18px, 2.8vw, 34px);
}

.is-home .hero-copy {
    max-width: 58ch;
    margin-bottom: 18px;
}

.is-home .hero-actions {
    gap: 12px;
}

.is-home .hero-shortcuts {
    gap: 8px;
    margin-top: 14px;
}

.is-home .shortcut-pill {
    min-height: 34px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.82);
}

.is-home .latest-link {
    margin-top: 14px;
}

.is-home .section {
    padding: clamp(26px, 4.2vw, 56px) 0;
}

.is-home .home-section + .home-section {
    margin-top: 0;
}

.is-home .section-heading {
    margin-bottom: clamp(18px, 2.4vw, 28px);
}

.is-home .section-heading h2 {
    max-width: 12.5ch;
}

.is-home .section-heading p:last-child {
    font-size: 0.96rem;
    line-height: 1.62;
}

.home-card-visual {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 22px 18px 12px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.72), transparent 30%),
        linear-gradient(135deg, #ffe274, #ffb24d);
    box-shadow: 0 16px 30px rgba(244, 182, 61, 0.22);
    color: #10243d;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.home-card-visual-notice,
.home-card-visual-date {
    width: auto;
    min-width: 58px;
    height: 38px;
    margin-top: 20px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
}

.home-card-visual-notice {
    background: linear-gradient(135deg, #fff0a2, #ffcf6a);
}

.home-card-visual-date {
    background: linear-gradient(135deg, #dff5ef, #8bd9ca);
    box-shadow: 0 16px 30px rgba(15, 139, 126, 0.16);
}

.home-card-visual-resource {
    background: linear-gradient(135deg, #e7f0ff, #bcd8ff);
    box-shadow: 0 16px 30px rgba(80, 125, 191, 0.16);
}

.is-home .feature-card,
.is-home .resource-card,
.is-home .notice-card,
.is-home .timeline-item,
.is-home .winner-card,
.is-home .article-card,
.is-home .social-update-card {
    box-shadow: 0 18px 42px rgba(16, 35, 58, 0.08);
}

.is-home .feature-card:hover,
.is-home .resource-card:hover,
.is-home .notice-card:hover,
.is-home .timeline-item:hover,
.is-home .winner-card:hover,
.is-home .article-card:hover,
.is-home .social-update-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(16, 35, 58, 0.12);
}

.is-home .feature-card > .home-card-visual + .tag,
.is-home .resource-card > .home-card-visual + h3 {
    margin-top: 2px;
}

.is-home .notice-card .home-card-visual + .status {
    margin-top: 0;
}

.is-home .card-grid,
.is-home .notice-grid,
.is-home .resource-grid,
.is-home .article-grid,
.is-home .winner-grid,
.is-home .social-updates-grid {
    gap: clamp(16px, 2.2vw, 24px);
}

.home-section-important-dates .notice-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.home-section-public-notices .notice-card p,
.home-section-important-dates .notice-card p,
.home-section-assessment-pathways .feature-card p,
.home-section-resources-and-pages .resource-card p {
    -webkit-line-clamp: 2;
}

@media (max-width: 920px) {
    .is-home .section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .is-home .section-heading h2 {
        max-width: 15ch;
    }
}

@media (max-width: 640px) {
    .is-home .hero {
        padding-top: 18px;
    }

    .is-home .hero-copy-block {
        padding-top: 10px;
    }

    .is-home .hero-actions .button {
        width: 100%;
        justify-content: center;
    }

    .is-home .shortcut-pill {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }

    .home-card-visual {
        width: 50px;
        height: 50px;
        margin: 18px 16px 10px;
        border-radius: 17px;
        font-size: 1.08rem;
    }

    .home-card-visual-notice,
    .home-card-visual-date {
        width: auto;
        min-width: 52px;
        height: 34px;
        font-size: 0.78rem;
    }
}
