:root {
    --navy: #102c54;
    --navy-deep: #0a1f3d;
    --navy-mid: #1a3d6e;
    --steel: #5880ac;
    --steel-light: #7a9dc4;
    --steel-pale: #c5d6e8;
    --ice: #eef4f9;
    --ice-2: #f7fafc;
    --white: #ffffff;
    --ink: #1c2a3d;
    --muted: #5c6e82;
    --line: #d5e0eb;
    --shadow: 0 16px 40px rgba(16, 44, 84, 0.08);
    --radius: 14px;
    --header-h: 84px;
    --topbar-h: 38px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover {
    color: var(--steel);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--navy);
    color: #fff;
    padding: 8px 12px;
    z-index: 1000;
}

.skip-link:focus {
    top: 12px;
}

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

.topbar {
    background: var(--navy);
    color: var(--steel-pale);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    justify-content: space-between;
    align-items: center;
    min-height: var(--topbar-h);
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
}

.topbar a {
    color: var(--steel-pale);
}

.topbar a:hover {
    color: #fff;
}

.topbar svg {
    width: 14px;
    height: 14px;
    fill: var(--steel-light);
    flex-shrink: 0;
}

.topbar .sep {
    opacity: 0.55;
    margin: 0 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.section-stats {
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 24px;
}

.brand img {
    width: 198px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 10px 10px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--steel);
}

.site-nav a.is-active {
    box-shadow: inset 0 -2px 0 var(--steel);
}

.nav-cta {
    background: var(--navy) !important;
    color: #fff !important;
    border-radius: 999px;
    margin-left: 8px;
    padding: 10px 18px !important;
    box-shadow: none !important;
}

.nav-cta:hover {
    background: var(--navy-mid) !important;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 90;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    touch-action: manipulation;
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    margin: 0;
    background: var(--navy);
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }

body.nav-open .nav-toggle span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(560px, 84vh, 780px);
    background: var(--navy-deep);
    color: #fff;
}

/* One shared stage — every service visual fills this same area */
.hero-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-color: var(--navy-deep);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(100deg, rgba(8, 22, 44, 0.9) 0%, rgba(10, 31, 61, 0.78) 48%, rgba(10, 31, 61, 0.55) 100%),
        linear-gradient(180deg, rgba(8, 22, 44, 0.45) 0%, rgba(8, 22, 44, 0.2) 40%, rgba(8, 22, 44, 0.72) 100%);
    pointer-events: none;
}

/* Words stay fixed in front of every background */
.hero-foreground {
    position: relative;
    z-index: 3;
    min-height: clamp(560px, 84vh, 780px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 28px;
}

.hero-inner {
    max-width: 760px;
    padding: 110px 0 36px;
}

.hero-rail-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.hero-slide-label {
    margin: 0;
    min-width: 180px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.hero-dots::-webkit-scrollbar {
    display: none;
}

.hero-dot {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
}

.hero-dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active::before {
    width: 26px;
    background: #fff;
}

.hero-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(8, 22, 44, 0.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}

.hero-arrow svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-slide-link {
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-slide-link:hover {
    color: var(--steel-pale);
}

.hero-progress {
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.hero-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--steel-light), #fff);
}

.hero.is-playing .hero-progress-bar {
    animation: heroProgress 10s linear forwards;
}

@keyframes heroProgress {
    from { width: 0; }
    to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero.is-playing .hero-progress-bar {
        animation: none;
        width: 100%;
    }
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e8f0f8;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    line-height: 1.12;
    margin: 0 0 18px;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.hero .lede {
    font-family: "Source Serif 4", Georgia, serif;
    font-style: italic;
    font-size: 1.28rem;
    color: #f2f6fb;
    max-width: 640px;
    margin: 0 0 28px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: #fff;
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--ice);
    color: var(--navy);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(197, 214, 232, 0.45);
}

.btn-ghost:hover {
    border-color: #fff;
    color: #fff;
}

.btn-navy {
    background: var(--navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--navy-mid);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--steel);
}

.btn-outline:hover {
    background: var(--ice);
    color: var(--navy);
}

.section {
    padding: 88px 0;
}

.section-ice {
    background: var(--ice-2);
}

.section-head {
    margin-bottom: 36px;
    max-width: 720px;
}

.kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin: 0 0 10px;
}

.kicker::before {
    content: "";
    width: 6px;
    height: 22px;
    background: var(--navy);
}

.section h2,
.page-hero h1 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--navy);
}

.muted {
    color: var(--muted);
    margin: 0;
}

[id] {
    scroll-margin-top: 120px;
}

.page-hero {
    background:
        linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #1b416f);
    color: #fff;
    padding: 64px 0 56px;
}

.page-hero h1 {
    color: #fff;
}

.page-hero .muted {
    color: var(--steel-pale);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    background: var(--ice);
    border: 1px solid var(--line);
}

.stat {
    padding: 28px 18px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--navy);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.stat span {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--steel);
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.prose p + p {
    margin-top: 16px;
}

.purpose-grid,
.card-grid,
.values,
.why-grid,
.contact-grid,
.team-grid,
.site-grid {
    display: grid;
    gap: 20px;
}

.purpose-grid {
    grid-template-columns: 1fr 1fr;
}

.purpose-card h3,
.service-card h3,
.system-card h3,
.team-card h3 {
    margin: 0;
}

.purpose-card h3,
.service-card .card-head {
    background: var(--navy);
    color: #fff;
    padding: 14px 18px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-card .card-head {
    background: var(--navy);
    color: #fff;
    padding: 18px 22px;
}

.team-card .card-head h3 {
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.purpose-card:nth-child(2) h3,
.service-card:nth-child(even) .card-head,
.values li:nth-child(even) {
    background: var(--steel);
}

.team-card .bio {
    margin: 0;
    padding: 22px;
    background: var(--ice);
}

.team-card .bio p {
    margin: 0;
}

.team-card .bio p + p {
    margin-top: 14px;
}

.purpose-card p,
.service-card p {
    margin: 0;
    padding: 20px 18px;
    background: var(--ice);
    min-height: 140px;
}

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

.service-card,
.system-card,
.site-card,
.why-card,
.team-card,
.contact-panel,
.purpose-card {
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-card p,
.system-card p,
.why-card p,
.site-card p {
    color: var(--muted);
}

.values {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
}

.values li {
    list-style: none;
    background: var(--navy);
    color: #fff;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.16em;
    padding: 22px 10px;
}

.why-grid {
    grid-template-columns: repeat(2, 1fr);
}

.why-card,
.system-card,
.site-card,
.contact-panel {
    padding: 24px;
}

.why-card strong,
.system-card h3,
.site-card h3 {
    display: block;
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ice);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-band {
    background: var(--navy-mid);
    color: #fff;
    padding: 56px 0;
}

.cta-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cta-band h2 {
    color: #fff;
    margin: 0 0 8px;
}

.cta-band p {
    margin: 0;
    color: var(--steel-pale);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.system-card[hidden],
.site-card[hidden] {
    display: none;
}

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

.site-card a {
    font-weight: 700;
    word-break: break-all;
}

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

.live-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.live-card[hidden] {
    display: none;
}

.live-preview {
    position: relative;
    background: #d7e2ee;
}

.live-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    background: var(--navy);
    color: #d5e4f2;
    font-size: 0.75rem;
    font-style: normal;
}

.live-chrome span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.live-chrome em {
    margin-left: 8px;
    font-style: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-frame {
    height: 220px;
    overflow: hidden;
    background: #fff;
}

.live-frame iframe {
    width: 400%;
    height: 880px;
    border: 0;
    transform: scale(0.25);
    transform-origin: top left;
    pointer-events: none;
}

.live-frame-empty {
    display: grid;
    place-items: center;
    color: var(--muted);
    padding: 24px;
}

.live-frame-empty p {
    margin: 0;
}

.live-open {
    position: absolute;
    inset: 36px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px;
    color: transparent;
    background: linear-gradient(to top, rgba(16, 44, 84, 0.55), transparent 46%);
}

.live-open:hover,
.live-open:focus-visible {
    color: #fff;
    font-weight: 700;
}

.live-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 20px;
}

.live-body h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.15rem;
}

.live-body p {
    margin: 0;
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-pill.is-active {
    background: #e5f6ec;
    color: #146c36;
}

.status-pill.is-construction {
    background: #fff4d8;
    color: #8a5a00;
}

.status-pill.is-decommissioned {
    background: #eef1f4;
    color: #5c6b7a;
}

.team-grid {
    grid-template-columns: 1fr;
}

.team-card .meta {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel-pale);
    font-weight: 600;
}

.contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
}

.form-row {
    margin-bottom: 16px;
}

label {
    display: block;
    font-weight: 700;
    font-size: 0.86rem;
    margin-bottom: 6px;
    color: var(--navy);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--steel);
    border-color: var(--steel);
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.alert-success {
    background: #e8f6ee;
    color: #14532d;
}

.alert-error {
    background: #fdecec;
    color: #7f1d1d;
}

.map-frame {
    margin-top: 16px;
    border: 1px solid var(--line);
    min-height: 220px;
    background: var(--ice);
}

.map-frame iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

.site-footer {
    background: var(--navy);
    color: var(--steel-pale);
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-logo img {
    width: 210px;
    height: auto;
}

.footer-brand p {
    margin: 12px 0 0;
    font-size: 0.92rem;
}

.footer-tagline {
    color: #fff;
    font-weight: 600;
}

.site-footer h2 {
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 8px 0 16px;
}

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

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

.site-footer a {
    color: var(--steel-pale);
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(197, 214, 232, 0.18);
    padding: 18px 0 32px;
    font-size: 0.82rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-tagline {
    color: var(--steel-pale);
    text-align: center;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.92;
}

.footer-credit img {
    height: 36px;
    width: auto;
    max-width: none;
}

.footer-credit:hover {
    opacity: 1;
}

.pricing-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.currency-tabs {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: var(--ice);
    border: 1px solid var(--line);
}

.currency-tab {
    min-width: 88px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.currency-tab.is-active {
    background: var(--navy);
    color: #fff;
}

.pricing-note {
    margin: 0;
    color: var(--muted);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 18px 20px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--steel);
}

.plan-card.is-featured {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-8px);
}

.plan-card.is-featured:hover {
    transform: translateY(-12px);
}

.plan-card.is-entry {
    border-color: var(--steel);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 16px;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--steel);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-card.is-featured .plan-badge {
    background: #fff;
    color: var(--navy);
}

.plan-card h2 {
    margin: 8px 0 4px;
    color: var(--navy);
    font-size: 1.35rem;
}

.plan-card.is-featured h2,
.plan-card.is-featured .plan-tagline,
.plan-card.is-featured .plan-best,
.plan-card.is-featured .plan-price,
.plan-card.is-featured .plan-features {
    color: #fff;
}

.plan-tagline,
.plan-best {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.plan-price {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.plan-price small {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--steel);
    text-transform: uppercase;
}

.plan-card.is-featured .plan-price small {
    color: var(--steel-pale);
}

.price-from {
    display: block;
    font-style: italic;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--steel);
    font-family: "Source Serif 4", Georgia, serif;
}

.plan-card.is-featured .price-from {
    color: var(--steel-pale);
}

.plan-features {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    flex: 1;
}

.plan-features li {
    position: relative;
    padding: 7px 0 7px 18px;
    font-size: 0.88rem;
    border-top: 1px solid var(--line);
}

.plan-card.is-featured .plan-features li {
    border-top-color: rgba(197, 214, 232, 0.2);
}

.plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--steel);
}

.plan-card .btn {
    width: 100%;
}

.plan-card.is-featured .btn-navy {
    background: #fff;
    color: var(--navy);
}

.plan-card.is-featured .btn-navy:hover {
    background: var(--ice);
    color: var(--navy);
}

.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: #fff;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.compare-table th,
.compare-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

.compare-table thead th {
    background: var(--navy);
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.compare-table tbody th {
    color: var(--navy);
    font-weight: 700;
    background: var(--ice-2);
}

.compare-table .is-featured {
    background: rgba(88, 128, 172, 0.12);
    font-weight: 700;
}

.plain-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.plain-list li + li {
    margin-top: 8px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list-wide {
    max-width: 820px;
}

.faq-item {
    border: 1px solid var(--line);
    background: #fff;
}

.faq-item summary {
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 700;
    color: var(--navy);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--steel);
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    margin: 0;
    padding: 0 18px 16px;
    color: var(--muted);
}

/* Default view: UGX + annual */
.is-usd,
.is-monthly {
    display: none !important;
}

/* Currency only (annual remains default). Plain .is-usd spans (web, design, systems hosting) must show too. */
body.currency-usd:not(.billing-monthly) .is-ugx,
body.currency-usd:not(.billing-monthly) .is-usd.is-monthly {
    display: none !important;
}

body.currency-usd:not(.billing-monthly) .is-usd:not(.is-monthly) {
    display: inline !important;
}

/* Billing only (UGX remains default) */
body.billing-monthly:not(.currency-usd) .is-usd,
body.billing-monthly:not(.currency-usd) .is-ugx.is-annual {
    display: none !important;
}

body.billing-monthly:not(.currency-usd) .is-ugx.is-monthly {
    display: inline !important;
}

/* Both USD + monthly. Period-less USD (annual-only pages) still shows. */
body.currency-usd.billing-monthly .is-ugx,
body.currency-usd.billing-monthly .is-usd.is-annual {
    display: none !important;
}

body.currency-usd.billing-monthly .is-usd.is-monthly,
body.currency-usd.billing-monthly .is-usd:not(.is-annual):not(.is-monthly) {
    display: inline !important;
}

/* Period labels (/ year, / month) without currency classes */
body.billing-monthly .plan-price > small.is-annual,
body.billing-monthly .pricing-note > .is-annual {
    display: none !important;
}

body.billing-monthly .plan-price > small.is-monthly {
    display: inline !important;
}

.embed-panel {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 720px;
}

.embed-panel iframe {
    display: block;
    width: 100%;
    min-height: 720px;
    background: #fff;
}

.pricing-toolbar-stack {
    align-items: flex-start;
}

.pricing-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.billing-tab {
    min-width: 96px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.billing-tab.is-active {
    background: var(--navy);
    color: #fff;
}

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

.plan-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.plan-specs span {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--ice);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.plan-card.is-featured .plan-specs span {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.compare-table tr.is-featured-row th,
.compare-table tr.is-featured-row td {
    background: rgba(88, 128, 172, 0.12);
    font-weight: 700;
}

@media (max-width: 1280px) {
    .site-header {
        z-index: 200;
        backdrop-filter: none;
    }

    .header-inner {
        position: static;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        position: absolute;
        z-index: 210;
        left: 0;
        right: 0;
        top: 100%;
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 28px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 40px rgba(16, 44, 84, 0.16);
    }

    body.nav-open .site-nav {
        display: flex;
    }

    body.nav-open {
        overflow: hidden;
    }

    .site-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 12px 8px;
        font-size: 1.02rem;
        border-bottom: 1px solid var(--line);
        white-space: normal;
    }

    .site-nav a.is-active {
        box-shadow: none;
        color: var(--steel);
    }

    .nav-cta {
        margin: 14px 0 0;
        text-align: center;
        justify-content: center;
        border-bottom: 0;
    }

}

@media (max-width: 1280px) {
    .plan-grid,
    .plan-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1281px) {
    .header-inner.container {
        width: min(1600px, calc(100% - 24px));
    }

    .brand img {
        width: 156px;
    }

    .site-nav {
        gap: 0;
    }

    .site-nav a {
        font-size: calc(0.74rem + 2px);
        padding: 10px 8px;
    }

    .nav-cta {
        margin-left: 6px;
        padding: 10px 14px !important;
    }
}

@media (max-width: 980px) {
    .stats,
    .card-grid,
    .site-grid,
    .live-grid,
    .split,
    .contact-grid,
    .footer-grid,
    .plan-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat:nth-child(2n) {
        border-right: 0;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .purpose-grid,
    .card-grid,
    .why-grid,
    .system-grid,
    .site-grid,
    .live-grid,
    .split,
    .contact-grid,
    .footer-grid,
    .values,
    .plan-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat,
    .stat:nth-child(2n) {
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .stat:first-child {
        border-top: 0;
    }

    .topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .hero,
    .hero-foreground {
        min-height: 0;
        height: calc(100dvh - 168px);
        max-height: calc(100dvh - 168px);
    }

    .hero-foreground {
        justify-content: flex-end;
        padding-bottom: 88px;
        overflow: hidden;
    }

    .hero-inner {
        padding-top: 20px;
        padding-bottom: 12px;
    }

    .hero .eyebrow {
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }

    .hero .lede {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .hero-actions .btn {
        flex: 1 1 140px;
    }

    .hero-rail-inner {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        grid-template-areas:
            "label label label"
            "prev dots next"
            "link link link";
        align-items: center;
        gap: 8px 6px;
    }

    .hero-slide-label {
        grid-area: label;
        width: auto;
        min-width: 0;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .hero-nav {
        display: contents;
    }

    #hero-prev { grid-area: prev; }
    .hero-dots { grid-area: dots; justify-content: center; }
    #hero-next { grid-area: next; }

    .hero-slide-link {
        grid-area: link;
        justify-self: start;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .section {
        padding: 64px 0;
    }

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

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(16, 44, 84, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.wa-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 32px rgba(16, 44, 84, 0.28);
    color: #fff;
}

@media (max-width: 760px) {
    .wa-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}
