:root {
    --blue-dark: #104A70;
    --blue-light: #61BBE1;
    --accent: #FFA722;
    --success: #16A34A;
    --slate-50: #F5F7FA;
    --slate-200: #D9E4EE;
    --slate-600: #4D5A66;
    --slate-900: #111B27;
    --bg: linear-gradient(180deg, rgba(16, 74, 112, 0.06) 0%, rgba(97, 187, 225, 0.06) 65%, rgba(255, 167, 34, 0.04) 100%);
    --surface: #ffffff;
    --border: #d8e2ec;
    --text: var(--slate-900);
    --muted: var(--slate-600);
    --radius: 12px;
    --shadow: 0 14px 38px rgba(17, 27, 39, 0.12);
    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --price-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue-dark);
}

a:hover,
a:focus {
    text-decoration: none;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 8px 18px rgba(17, 27, 39, 0.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--blue-dark);
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 8px 18px rgba(17, 27, 39, 0.08);
    background: #f3f8fd;
}

.brand-name {
    display: inline-block;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--slate-200);
    background: #f8fbff;
    color: var(--blue-dark);
    cursor: pointer;
    font-weight: 600;
    margin-left: auto;
}

.nav-toggle span {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--blue-dark);
    background: rgba(97, 187, 225, 0.16);
    border-color: rgba(16, 74, 112, 0.12);
    transform: translateY(-1px);
}

.site-nav a.is-active {
    color: var(--surface);
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    box-shadow: 0 10px 22px rgba(16, 74, 112, 0.22);
}

.site-nav a.nav-portal {
    margin-left: auto;
    color: var(--blue-light);
    border-color: rgba(97, 187, 225, 0.35);
    font-weight: 700;
}

.site-nav a.nav-portal:hover,
.site-nav a.nav-portal:focus-visible {
    color: var(--blue-dark);
    background: rgba(97, 187, 225, 0.18);
    border-color: rgba(97, 187, 225, 0.5);
}

.site-nav a.nav-portal.is-active {
    background: rgba(97, 187, 225, 0.24);
    color: var(--blue-dark);
    box-shadow: 0 10px 22px rgba(97, 187, 225, 0.2);
}

.hero {
    padding: 4.5rem 0 3rem;
    background: linear-gradient(135deg, rgba(16, 74, 112, 0.95), rgba(97, 187, 225, 0.9));
    color: var(--slate-50);
    position: relative;
    overflow: hidden;
}

.home-hero {
    background: linear-gradient(135deg, rgba(16, 74, 112, 0.95), rgba(97, 187, 225, 0.9));
}

.pricing-hero {
    background: linear-gradient(120deg, rgba(16, 74, 112, 0.96), rgba(97, 187, 225, 0.9));
    position: relative;
    isolation: isolate;
}

.pricing-hero::after {
    content: "";
    position: absolute;
    inset: 12% 6% auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.26), transparent 60%);
    filter: blur(6px);
    z-index: 0;
}

.pricing-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 0.6rem;
}

.pill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(245, 247, 250, 0.08);
    border: 1px solid rgba(245, 247, 250, 0.3);
    color: var(--slate-50);
    font-weight: 600;
}

.muted {
    color: rgba(245, 247, 250, 0.82);
    margin: 0.4rem 0 0;
}

.pricing-hero-card {
    text-align: left;
    color: var(--text);
    background: var(--surface);
    border: 1px solid rgba(16, 74, 112, 0.1);
    box-shadow: 0 16px 42px rgba(17, 27, 39, 0.16);
    border-radius: 18px;
    padding: 1.75rem;
}

.billing-toggle {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 999px;
    background: rgba(16, 74, 112, 0.08);
    border: 1px solid rgba(16, 74, 112, 0.12);
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.toggle-option {
    border: none;
    background: transparent;
    color: var(--muted);
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.toggle-option.is-active {
    background: var(--surface);
    color: var(--blue-dark);
    box-shadow: 0 10px 22px rgba(16, 74, 112, 0.16);
}

.price-row {
    display: grid;
    gap: 0.15rem;
}

.price-note {
    margin: 0;
    color: var(--muted);
    font-weight: 500;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    display: grid;
    gap: 0.65rem;
}

.feature-list li {
    margin: 0;
    padding-left: 1.6rem;
    position: relative;
    color: var(--muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 10px;
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    box-shadow: 0 4px 12px rgba(16, 74, 112, 0.2);
}

.pricing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin: 0.5rem 0 1rem;
}

.assurance {
    background: linear-gradient(135deg, rgba(97, 187, 225, 0.12), rgba(255, 167, 34, 0.12));
    border: 1px solid rgba(16, 74, 112, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--muted);
    font-weight: 600;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 0.85rem;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.6rem);
    letter-spacing: -0.02em;
    font-family: var(--font);
}

.eyebrow {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(245, 247, 250, 0.85);
    margin: 0;
}

.eyebrow--portal {
    color: var(--blue-dark);
}

.lead {
    color: rgba(245, 247, 250, 0.9);
    max-width: 720px;
    margin: 0.75rem 0 0;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-image {
    display: block;
    max-width: 520px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(245, 247, 250, 0.35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    margin-left: auto;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.tagline {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

.hero .tagline,
.cta .tagline {
    color: rgba(245, 247, 250, 0.8);
}

.layout-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 2rem 0;
}

.feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 1.5rem;
}

.card {
    background: var(--surface);
    border: 1px solid rgba(16, 74, 112, 0.08);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    background: var(--surface);
    border: 1px solid rgba(16, 74, 112, 0.08);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    box-shadow: var(--shadow);
}

.feature-card h3 {
    margin: 0 0 0.25rem;
    color: var(--blue-dark);
}

.centered-content {
    text-align: left;
}

.centered-content .feature-grid {
    justify-items: start;
}

.centered-content .feature-card {
    width: min(360px, 100%);
    text-align: left;
}

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

.icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(97, 187, 225, 0.15);
    font-size: 1.25rem;
}

.card h3 {
    margin-top: 0;
    color: var(--blue-dark);
}

.section {
    padding: 2.25rem 0;
}

.problem-section {
    padding: 2.4rem 0 2.1rem;
    background: var(--slate-50);
}

.features-section {
    background: var(--surface);
}

.benefits-band {
    background: linear-gradient(120deg, rgba(16, 74, 112, 0.08), rgba(20, 107, 160, 0.14));
}

.pricing-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.section h2 {
    margin: 0 0 0.35rem;
    color: var(--blue-dark);
}

.section p.description {
    margin-top: 0;
    color: var(--muted);
}

.section .eyebrow {
    color: var(--blue-dark);
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    align-items: start;
}

.centered-grid {
    justify-items: center;
    text-align: center;
}

.centered-grid > div {
    width: min(520px, 100%);
}

.centered-grid .panel {
    text-align: left;
    width: min(520px, 100%);
}

.centered-stack {
    display: grid;
    gap: 1.25rem;
    justify-items: start;
    text-align: left;
}

.centered-stack .section-lede {
    width: min(640px, 100%);
}

.centered-stack .panel {
    width: min(720px, 100%);
}

.problem-lede {
    text-align: left;
    margin: 0 0 1.35rem;
    max-width: 100%;
    display: grid;
    gap: 0.35rem;
}

.problem-card {
    width: 100%;
    margin: 0 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.problem-kicker {
    margin: 0 0 0.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--muted);
}

.problem-pill-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.6rem;
}

.problem-pill-grid li {
    background: rgba(16, 74, 112, 0.06);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    color: var(--slate-900);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.problem-pill-grid li:hover {
    transform: translateY(-1px);
    background: rgba(16, 74, 112, 0.1);
    box-shadow: 0 10px 18px rgba(17, 27, 39, 0.08);
}

.pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(97, 187, 225, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.pill-wide {
    grid-column: span 2;
}

.problem-footnote {
    text-align: left;
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0.85rem auto 0;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.panel-title {
    margin-top: 0;
    font-weight: 700;
    color: var(--blue-dark);
}

.pill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
}

.pill-list li {
    background: rgba(16, 74, 112, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    color: var(--slate-900);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pill-list li::before {
    content: "\2713";
    color: var(--success);
    background: rgba(22, 163, 74, 0.12);
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.pill-list.inline {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.list-muted {
    color: var(--muted);
    padding-left: 1.1rem;
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.simple-table th,
.simple-table td {
    padding: 0.9rem;
    border: 1px solid var(--border);
    text-align: left;
}

.simple-table th {
    background: rgba(16, 74, 112, 0.06);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(16, 74, 112, 0.02) 0%, rgba(97, 187, 225, 0.08) 100%);
    padding: 2.75rem 0;
    margin-top: 0;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(180px, 1fr));
    gap: 1.75rem;
    align-items: start;
}

.footer-brand {
    display: grid;
    gap: 0.65rem;
    color: var(--text);
}

.brand-footer {
    color: var(--text);
}

.footer-text {
    margin: 0;
    max-width: 520px;
}

.footer-column {
    display: grid;
    gap: 0.35rem;
}

.footer-title {
    margin: 0;
    font-size: 1rem;
    color: var(--blue-dark);
    letter-spacing: 0.01em;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0;
}

.footer-nav a::before {
    content: '\203A';
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--blue-dark);
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.8rem;
    align-items: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-mini-links {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
}

.note-box {
    background: rgba(255, 167, 34, 0.12);
    border: 1px dashed rgba(255, 167, 34, 0.5);
    border-radius: var(--radius);
    padding: 1rem;
    color: var(--slate-900);
    margin-top: 1rem;
}

.section-highlight {
    background: linear-gradient(120deg, rgba(16, 74, 112, 0.08), rgba(20, 107, 160, 0.14));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.benefits-band .container {
    width: min(1200px, 92vw);
}

.benefits-simple {
    display: grid;
    gap: 1.5rem;
}

.benefit-header {
    text-align: left;
    max-width: 760px;
    margin: 0;
    display: grid;
    justify-items: start;
    gap: 0.6rem;
}

.benefit-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.benefit-simple-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.2rem;
    box-shadow: 0 10px 24px rgba(17, 27, 39, 0.08);
    display: grid;
    gap: 0.4rem;
}

.benefit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(16, 74, 112, 0.1);
    color: var(--blue-dark);
    font-weight: 700;
    letter-spacing: 0.01em;
    width: fit-content;
}

.benefit-simple-card h3 {
    margin: 0;
    letter-spacing: -0.01em;
}

.benefit-simple-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.pricing {
    text-align: center;
}

.pricing .button-row {
    justify-content: center;
}

.pricing-highlights {
    background: linear-gradient(180deg, rgba(16, 74, 112, 0.04), rgba(97, 187, 225, 0.05));
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.highlight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1.1rem;
    box-shadow: 0 12px 26px rgba(17, 27, 39, 0.08);
    display: grid;
    gap: 0.35rem;
}

.highlight-card h3 {
    margin: 0;
    letter-spacing: -0.01em;
}

.pricing-stack {
    display: grid;
    gap: 1.5rem;
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    margin: 0 auto;
}

.pricing .pricing-card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.pricing-intro {
    display: grid;
    gap: 0.35rem;
    text-align: left;
    justify-items: start;
}

.pricing-tier-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pricing-tier {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(17, 27, 39, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.pricing-tier-annual {
    background: linear-gradient(150deg, rgba(16, 74, 112, 0.1), rgba(97, 187, 225, 0.12));
    border-color: rgba(16, 74, 112, 0.38);
    box-shadow: 0 18px 44px rgba(17, 27, 39, 0.12);
}

.tier-badge {
    background: rgba(16, 74, 112, 0.12);
    color: var(--blue-dark);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid rgba(16, 74, 112, 0.18);
}

.tier-badge-subtle {
    font-size: 0.9rem;
    padding: 0.2rem 0.6rem;
}

.tier-heading {
    display: grid;
    gap: 0.9rem;
    text-align: center;
    width: 100%;
}

.pricing-tier-monthly {
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(17, 27, 39, 0.08);
}

.tier-topline {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
}

.snapshot-label {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-dark);
    margin: 0;
}

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

.savings-callout {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
}

.price-line {
    display: grid;
    gap: 0.5rem;
    justify-items: center;
}

.tier-subtext {
    min-height: 1.5rem;
}

.tier-subtext-spacer {
    visibility: hidden;
}

.savings-callout-minimal {
    min-height: 3.2rem;
    align-content: center;
}

.savings-pill {
    background: rgba(255, 167, 34, 0.15);
    color: #b55a00;
    border: 1px solid rgba(255, 167, 34, 0.45);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 0.92rem;
}

.price {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin: 0.25rem 0 0.75rem;
    color: var(--blue-dark);
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.price-figure {
    font-family: var(--price-font);
    font-weight: 700;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
}

.price .price-period {
    font-size: 1rem;
    color: var(--muted);
}

.pricing-feature-pills {
    justify-content: center;
}

.pricing-actions-centered {
    justify-content: center;
}

.tier-subtext {
    display: flex;
    justify-content: center;
    margin: 0.1rem 0 0.2rem;
}

.cta-card {
    background: linear-gradient(135deg, rgba(16, 74, 112, 0.92), rgba(97, 187, 225, 0.85));
    color: var(--slate-50);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
}

.cta .description,
.cta .eyebrow {
    color: rgba(245, 247, 250, 0.88);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cta-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0.6rem 0 0.4rem;
    display: grid;
    gap: 0.45rem;
}

.cta-bullet-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: start;
    color: rgba(245, 247, 250, 0.9);
}

.cta .icon {
    background: rgba(245, 247, 250, 0.12);
    border-radius: 50%;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(245, 247, 250, 0.25);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.65rem;
}

.trust-badges span {
    background: rgba(245, 247, 250, 0.12);
    border: 1px solid rgba(245, 247, 250, 0.4);
    color: var(--slate-50);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-weight: 600;
}

.cta-plain {
    background: #e8f2fb;
    color: var(--text);
}

.cta-plain .cta-grid {
    align-items: center;
    gap: 1.75rem;
}

.cta-plain .eyebrow {
    color: var(--blue-dark);
}

.cta-plain .description,
.cta-plain .cta-bullet-list li {
    color: var(--text);
}

.cta-plain .icon {
    background: rgba(16, 74, 112, 0.08);
    border: 1px solid var(--border);
    color: var(--blue-dark);
}

.cta-plain .trust-badges span {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--muted);
}

.cta-highlight-card {
    background: rgba(7, 44, 69, 0.6);
    border: 1px solid rgba(245, 247, 250, 0.18);
    border-radius: 16px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cta-highlight-title {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--slate-50);
}

.cta-highlight-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.metric {
    background: rgba(245, 247, 250, 0.08);
    border: 1px solid rgba(245, 247, 250, 0.12);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 0.15rem;
}

.metric-label {
    margin: 0;
    color: rgba(245, 247, 250, 0.85);
    font-weight: 600;
}

.cta-checklist {
    display: grid;
    gap: 0.75rem;
}

.check-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: start;
}

.check-title {
    margin: 0;
    font-weight: 700;
}

.check-desc {
    margin: 0.15rem 0 0;
    color: rgba(245, 247, 250, 0.85);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-50);
    border-color: rgba(245, 247, 250, 0.5);
    box-shadow: none;
    margin-top: 0.25rem;
}

.footer-mini {
    background: #fdfaf5;
    border-top: 1px solid var(--border);
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: center;
}

.footer-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: var(--muted);
}

button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    border-radius: 12px;
    border: 1px solid #e69000;
    color: var(--surface);
    background: var(--accent);
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(17, 27, 39, 0.14);
}

.btn-secondary {
    background: var(--surface);
    color: var(--blue-dark);
    border-color: var(--slate-200);
    box-shadow: none;
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 1rem;
}

label span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

input,
textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: var(--font);
}

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

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    color: var(--blue-dark);
    text-decoration: none;
}

.text-link::after {
    content: '›';
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
    transform: translateX(3px);
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    background: rgba(16, 74, 112, 0.1);
    border: 1px solid rgba(16, 74, 112, 0.12);
    color: var(--blue-dark);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(97, 187, 225, 0.08), rgba(255, 167, 34, 0.08));
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.card:hover::after,
.card:focus-within::after {
    opacity: 1;
}

.contact-hero {
    position: relative;
    overflow: hidden;
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: auto -80px -80px auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35), transparent 60%);
    filter: blur(8px);
    opacity: 0.6;
}

.contact-form-section {
    background: var(--slate-50);
    border-top: 1px solid var(--border);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

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

.contact-form .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-form .wide {
    grid-column: 1 / -1;
}

.small-print {
    font-size: 0.9rem;
}

@media (max-width: 860px) {
    .site-header .container {
        align-items: center;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0.5rem 0;
        flex-basis: 100%;
    }

    .site-nav a {
        width: 100%;
    }

    .site-nav.is-collapsed {
        display: none;
    }

    .problem-card {
        width: 100%;
    }

    .problem-pill-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

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

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .pill-wide {
        grid-column: 1 / -1;
    }

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

    .hero-visual {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 3.5rem 0 2.5rem;
    }

    .problem-section {
        padding: 2.1rem 0 1.75rem;
    }

    .problem-card {
        padding: 0;
    }

    .problem-pill-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .trust-badges {
        flex-direction: column;
    }
}

/* Navigation CTA */
.site-nav a.nav-cta {
    background: var(--accent);
    color: #3b2a00;
    border-color: #e69000;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible {
    color: #3b2a00;
    background: #e69500;
    transform: translateY(-2px);
}

.site-nav a.nav-cta.is-active {
    color: #3b2a00;
    background: #e69500;
    border-color: #cc8300;
}

/* Start & setup pages */
.start-hero {
    background: linear-gradient(120deg, rgba(16, 74, 112, 0.96), rgba(16, 74, 112, 0.85)), radial-gradient(circle at 20% 20%, rgba(97, 187, 225, 0.3), transparent 50%);
    color: #f8fbff;
}

.start-hero-compact {
    padding: 3.25rem 0;
}

.start-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(245, 247, 250, 0.22);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    color: #f8fbff;
}

.step-list {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.5rem;
}

.plan-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.2rem;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.plan-card {
    display: grid;
    gap: 0.5rem;
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #f8fbff;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 10px 24px rgba(17, 27, 39, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover,
.plan-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(16, 74, 112, 0.14);
    border-color: rgba(16, 74, 112, 0.18);
}

.plan-card-accent {
    background: linear-gradient(120deg, rgba(97, 187, 225, 0.14), rgba(255, 167, 34, 0.14));
    border-color: rgba(16, 74, 112, 0.22);
}

.plan-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.plan-label {
    font-weight: 800;
    color: var(--blue-dark);
}

.plan-price {
    font-weight: 800;
    font-size: 1.35rem;
}

.plan-period {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.plan-action {
    font-weight: 700;
    color: var(--blue-dark);
}

.form-card {
    background: #0f2031;
    border-color: rgba(97, 187, 225, 0.32);
}

.setup-form {
    display: grid;
    gap: 0.75rem;
}

.setup-form label {
    display: grid;
    gap: 0.35rem;
    color: #0f1b2a;
    font-weight: 600;
}

.setup-form input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid #cbd6e5;
    background: #f8fbff;
    color: #0f1b2a;
}

.setup-form textarea,
.setup-form select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid #cbd6e5;
    background: #f8fbff;
    color: #0f1b2a;
}

.setup-form input::placeholder {
    color: #5c6a7c;
}

.form-errors,
.form-success {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.form-errors {
    background: rgba(255, 167, 34, 0.12);
    border: 1px solid rgba(255, 167, 34, 0.45);
    color: #ffdcb3;
}

.form-errors ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.form-success {
    background: rgba(99, 191, 104, 0.12);
    border: 1px solid rgba(99, 191, 104, 0.5);
    color: #d6f5dc;
}

.aircraft-row__actions {
    display: flex;
    align-items: flex-end;
}

.remove-aircraft-btn {
    align-self: stretch;
    border-radius: 10px;
    border: 1px solid #d6dfe9;
    background: #fff3f0;
    color: #c23a2b;
    font-weight: 700;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.remove-aircraft-btn:hover,
.remove-aircraft-btn:focus-visible {
    background: #ffe5de;
    border-color: #e7b1a9;
    color: #a72e1d;
}

.form-footer {
    margin: 0;
    color: #d4e7f6;
}

/* Checkout */
.checkout-hero {
    background: linear-gradient(135deg, rgba(16, 74, 112, 0.95), rgba(97, 187, 225, 0.85));
    color: #f8fbff;
}

.checkout-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(245, 247, 250, 0.3);
    border-radius: 16px;
    padding: 1.35rem;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
    color: #f8fbff;
    display: grid;
    gap: 0.75rem;
}

.checkout-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.plan-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(245, 247, 250, 0.12);
    border: 1px solid rgba(245, 247, 250, 0.4);
}

.checkout-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.return-hero {
    background: linear-gradient(135deg, rgba(16, 74, 112, 0.94), rgba(20, 107, 160, 0.92));
}

/* Portal login */
body.portal-login-page {
    background: linear-gradient(135deg, rgba(16, 74, 112, 0.72), rgba(97, 187, 225, 0.7));
    color: var(--slate-50);
}

.portal-login-page main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.portal-login-page .site-header,
.portal-login-page .site-footer {
    display: none;
}

.portal-login {
    position: relative;
    width: min(1200px, 96vw);
}

.portal-login__background {
    position: absolute;
    inset: -80px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.14), transparent 40%),
        linear-gradient(135deg, rgba(16, 74, 112, 0.2), rgba(97, 187, 225, 0.2));
    background-size: cover;
    filter: blur(12px);
    opacity: 0.9;
    z-index: 0;
}

.portal-login__shell {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.portal-login__card {
    background: #ffffff;
    color: var(--text);
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 22px 48px rgba(17, 27, 39, 0.24);
    padding: 2rem;
    width: min(520px, 100%);
}

.portal-login__header {
    margin-bottom: 1.5rem;
}

.portal-login__header h1 {
    margin: 0.35rem 0 0.35rem;
    color: var(--blue-dark);
}

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

.portal-login__form {
    display: grid;
    gap: 0.9rem;
}

.auth-alert {
    margin: 0 0 0.5rem;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-weight: 600;
    border: 1px solid #fca5a5;
}

.auth-alert--success {
    background: #ecfdf3;
    border-color: #86efac;
    color: #166534;
}

.portal-login__form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--text);
}

.portal-login__form input {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f9fbff;
    font: inherit;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-login__form input:focus-visible {
    outline: none;
    border-color: rgba(16, 74, 112, 0.55);
    box-shadow: 0 0 0 3px rgba(97, 187, 225, 0.35);
}

.portal-login__form .btn {
    width: 100%;
    justify-content: center;
}

.portal-login__form .fine-print {
    margin: 0;
    color: var(--muted);
    text-align: center;
}

/* Portal theme */
body.portal-theme {
    background: #f5f7fa;
    color: var(--text);
}

.portal-app {
    margin: 0;
    min-height: 100vh;
    background: #f5f7fa;
    color: var(--text);
}

.portal-app__header {
    background: linear-gradient(135deg, rgba(16, 74, 112, 0.72), rgba(97, 187, 225, 0.7));
    color: #f8fbff;
    border-bottom: 1px solid rgba(245, 247, 250, 0.35);
    position: sticky;
    top: 0;
    z-index: 12;
    box-shadow: 0 8px 18px rgba(16, 74, 112, 0.16);
}

.portal-app__header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.portal-nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(248, 251, 255, 0.35);
    background: rgba(248, 251, 255, 0.14);
    color: #f8fbff;
    cursor: pointer;
    font-weight: 600;
    margin-left: auto;
}

.portal-nav-toggle span {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.portal-nav-toggle span::before,
.portal-nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease;
}

.portal-nav-toggle span::before { top: -6px; }
.portal-nav-toggle span::after { top: 6px; }

.portal-nav-toggle[aria-expanded="true"] span {
    background: transparent;
}

.portal-nav-toggle[aria-expanded="true"] span::before {
    transform: translateY(6px) rotate(45deg);
}

.portal-nav-toggle[aria-expanded="true"] span::after {
    transform: translateY(-6px) rotate(-45deg);
}

.portal-app__brand {
    color: var(--blue-dark);
}

.portal-app__brand .brand-name {
    color: inherit;
}

.portal-app__brand-mark {
    background: #f3f8fd;
    border-radius: 12px;
    padding: 0;
    width: 44px;
    height: 44px;
    box-shadow: 0 8px 18px rgba(17, 27, 39, 0.08);
}

.portal-app__nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: auto;
    background: transparent;
    padding: 0;
}

.portal-app__nav a {
    color: rgba(248, 251, 255, 0.86);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

.portal-app__nav a:hover,
.portal-app__nav a:focus-visible {
    color: #f8fbff;
    background: rgba(248, 251, 255, 0.18);
    border-color: rgba(248, 251, 255, 0.28);
    transform: translateY(-1px);
    outline: none;
}

.portal-app__nav a.is-active {
    color: #f8fbff;
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    box-shadow: 0 10px 22px rgba(16, 74, 112, 0.22);
}

.portal-app__header .brand,
.portal-app__header .brand-name,
.portal-app__header .portal-app__brand,
.portal-app__header .portal-app__brand .brand-name {
    color: #f8fbff;
}

.portal-app__nav.is-collapsed {
    display: none;
}

.portal-app__logout {
    background: transparent;
}

.portal-app__main {
    padding-bottom: 3rem;
}

.portal-blank {
    padding: 2rem 0;
}

.portal-blank h1 {
    margin: 0 0 0.5rem;
}

.portal-section {
    padding: 2.2rem 0;
}

.portal-section--hero {
    background: linear-gradient(140deg, rgba(16, 74, 112, 0.08), rgba(10, 79, 152, 0.08));
    border-bottom: 1px solid var(--border);
}

.portal-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    align-items: center;
}

.portal-section__content h1 {
    margin: 0.1rem 0 0.5rem;
}

.portal-section__aside {
    justify-self: end;
    width: min(360px, 100%);
}

.portal-hero-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.portal-hero-badge {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(16, 74, 112, 0.12);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 24px rgba(17, 27, 39, 0.08);
}

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

.badge-value {
    margin: 0;
    font-weight: 800;
    color: var(--blue-dark);
}

.portal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem 1.25rem;
    box-shadow: 0 14px 30px rgba(17, 27, 39, 0.1);
    display: grid;
    gap: 0.75rem;
}

.portal-card--checklist ul {
    margin: 0.2rem 0 0.4rem;
}

.portal-card--checklist li + li {
    margin-top: 0.35rem;
}

.portal-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.portal-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 0.95rem;
}

.status-pill--draft {
    background: rgba(16, 74, 112, 0.08);
    color: var(--blue-dark);
    border-color: rgba(16, 74, 112, 0.22);
}

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

.portal-form-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.portal-form-grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.portal-textarea textarea {
    min-height: 120px;
}

.portal-switches {
    display: grid;
    gap: 0.65rem;
}

.switch {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(17, 27, 39, 0.06);
    background: linear-gradient(180deg, rgba(16, 74, 112, 0.04), rgba(255, 255, 255, 0.9));
}

.switch input {
    accent-color: var(--accent);
}

.switch-slider {
    width: 46px;
    height: 26px;
    background: #dfe6ee;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
    border: 1px solid var(--border);
}

.switch-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(17, 27, 39, 0.1);
    transition: transform 0.2s ease;
}

.switch input:checked + .switch-slider {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.switch input:checked + .switch-slider::after {
    transform: translateX(18px);
}

.portal-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.portal-card--summary {
    position: sticky;
    top: 2rem;
}

.portal-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
    color: var(--blue-dark);
}

.portal-checklist span {
    color: var(--blue-dark);
    font-weight: 800;
    margin-right: 0.35rem;
}

.portal-checklist--compact {
    gap: 0.45rem;
}

.portal-summary-callout {
    padding: 0.85rem;
    border-radius: 12px;
    background: rgba(16, 74, 112, 0.06);
    border: 1px solid rgba(16, 74, 112, 0.12);
}

select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: var(--font);
    background: var(--surface);
}

@media (max-width: 960px) {
    .portal-columns {
        grid-template-columns: 1fr;
    }

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

.portal-dashboard-welcome {
    padding: 1.5rem 0 1rem;
}

.portal-dashboard-welcome__inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.portal-dashboard-welcome__greeting {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #0f1b2a;
}

.portal-dashboard-welcome__subline {
    margin: 0;
    font-size: 1rem;
    color: #4a5a6a;
}

.portal-app__hero {
    padding: 2.5rem 0 2rem;
    color: #0f1b2a;
}

.setup-hero {
    text-align: center;
}

.setup-hero__content {
    max-width: 860px;
    margin: 0 auto;
}

.portal-app__hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    align-items: start;
}

.portal-app__quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 0.5rem;
}

.portal-app__status-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    color: var(--muted);
    display: grid;
    gap: 0.4rem;
}

.portal-app__status-list--inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.35rem 1rem;
}

.portal-app__widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.portal-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.portal-summary-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 6px 14px rgba(17, 27, 39, 0.08);
    display: grid;
    gap: 0.35rem;
}

.portal-summary-card__label {
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.portal-summary-card__link {
    color: var(--blue-dark);
    font-weight: 600;
    text-decoration: none;
}

.portal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem 1.25rem;
    box-shadow: 0 14px 30px rgba(17, 27, 39, 0.1);
    display: grid;
    gap: 0.75rem;
}

.portal-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.portal-card__link {
    font-weight: 600;
    color: var(--blue-dark);
    text-decoration: none;
}

/* Dashboard additions */
.portal-summary-card--stacked {
    gap: 0.5rem;
}

.portal-summary-card__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.portal-summary-card__heading {
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.portal-summary-card__value {
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.portal-summary-card__value--large {
    font-size: 1.8rem;
    line-height: 1.2;
}

.portal-summary-card__value--alert {
    color: #b42318;
}

.portal-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #e7eef5;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.9rem;
}

.portal-status-pill--alert {
    background: #fef2f2;
    color: #b42318;
    border: 1px solid #fecdd3;
}

.portal-status-pill--open {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.portal-status-pill--closed {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #86efac;
}

.portal-dashboard-prompts {
    padding: 0.75rem 0 0.25rem;
}

.portal-dashboard-prompts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.portal-inline-tip {
    border: 1px solid var(--border);
    border-left: 5px solid var(--blue-dark);
    background: #f8fbff;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    box-shadow: 0 6px 16px rgba(17, 27, 39, 0.08);
}

.portal-inline-tip__content {
    display: grid;
    gap: 0.2rem;
}

.portal-inline-tip__title {
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

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

.portal-inline-tip__actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.portal-inline-tip__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--blue-dark);
    color: var(--blue-dark);
    font-weight: 700;
    text-decoration: none;
    background: rgba(16, 74, 112, 0.04);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.portal-inline-tip__link:hover,
.portal-inline-tip__link:focus-visible {
    background: rgba(16, 74, 112, 0.12);
    box-shadow: 0 10px 18px rgba(16, 74, 112, 0.18);
}

.portal-inline-tip__close {
    border: none;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.portal-inline-tip__close:hover,
.portal-inline-tip__close:focus-visible {
    color: var(--blue-dark);
}

.portal-defect-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.portal-defect-list__item {
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid var(--border);
}

.portal-defect-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.portal-defect-list__main {
    display: grid;
    gap: 0.2rem;
}

.portal-defect-list__title {
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.portal-defect-list__meta {
    margin: 0;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.portal-card__list {
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.portal-app__panels {
    padding: 1rem 0 0.5rem;
}

.portal-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.portal-panel-grid--stacked {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.setup-layout {
    max-width: 900px;
    margin: 0 auto;
}

.portal-panel {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: 0 6px 16px rgba(17, 27, 39, 0.08);
}

.portal-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.portal-account {
    padding: 2rem 0 3rem;
}

.portal-account__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    align-items: start;
}

.portal-account__list {
    padding-left: 1.1rem;
    color: var(--muted);
}

.portal-account__card {
    background: rgba(16, 74, 112, 0.82);
    color: #eaf6ff;
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 18px 38px rgba(17, 27, 39, 0.24);
    display: grid;
    gap: 0.9rem;
}

.portal-account__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.portal-account__row--stacked {
    align-items: flex-start;
}

.portal-account__row h3 {
    margin: 0;
    color: #fff;
}

.portal-account__row .muted {
    margin: 0.1rem 0 0;
    color: rgba(234, 246, 255, 0.82);
}

.portal-account__card .btn-tertiary {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot {
    display: inline-flex;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.28);
}

.dot-success { background: #22c55e; }
.dot-warning { background: #f59e0b; }
.dot-info { background: #61bbe1; }

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.pill {
    background: rgba(16, 74, 112, 0.08);
    border: 1px solid rgba(16, 74, 112, 0.15);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
    color: var(--blue-dark);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(16, 74, 112, 0.12);
    color: var(--blue-dark);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.badge-subtle {
    background: rgba(97, 187, 225, 0.16);
    color: var(--blue-dark);
}

.badge-warning {
    background: rgba(255, 167, 34, 0.18);
    color: #a05a00;
}

/* Admin portal */
.admin-login-page {
    background: radial-gradient(circle at 20% 20%, rgba(16, 74, 112, 0.08), transparent 25%),
        radial-gradient(circle at 80% 10%, rgba(97, 187, 225, 0.12), transparent 22%),
        linear-gradient(135deg, #0f1b2a, #1d3c58);
    min-height: 100vh;
    color: #eaf6ff;
    margin: 0;
}

.admin-login {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1.5rem;
}

.admin-login__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 2rem;
    max-width: 540px;
    width: min(90vw, 540px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.admin-login__header h1 {
    color: #fff;
    margin: 0 0 0.4rem;
}

.admin-login__header .lead {
    color: rgba(234, 246, 255, 0.82);
    margin-top: 0;
}

.admin-login__form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.admin-login__form label span {
    display: block;
    margin-bottom: 0.2rem;
    color: rgba(234, 246, 255, 0.9);
    font-weight: 600;
}

.admin-login__form input,
.admin-login__form select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(12, 26, 39, 0.6);
    color: #eaf6ff;
    padding: 0.75rem 0.9rem;
}

.admin-login__form input:focus,
.admin-login__form select:focus {
    outline: 2px solid rgba(97, 187, 225, 0.5);
}

.admin-app {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #f4fbff 0%, #f8fafc 100%);
    color: #0f1b2a;
}

.admin-app__header {
    background: #0f1b2a;
    color: #eaf6ff;
    box-shadow: 0 10px 26px rgba(17, 27, 39, 0.24);
}

.admin-app__header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.admin-app__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.admin-app__brand-mark {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 6px;
}

.admin-app__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.76);
    margin: 0 0 0.25rem;
}

.admin-app__meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pill-ghost {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #eaf6ff;
}

.pill-warning {
    background: rgba(255, 167, 34, 0.14);
    border-color: rgba(255, 167, 34, 0.3);
    color: #a05a00;
}

.admin-app__main {
    padding-bottom: 3rem;
}

.admin-hero {
    padding: 2.6rem 0;
}

.admin-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.admin-hero__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 1rem 0 0.5rem;
}

.admin-hero__checks {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    color: var(--muted);
    display: grid;
    gap: 0.4rem;
}

.admin-hero__panel {
    background: #0f1b2a;
    color: #eaf6ff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 36px rgba(15, 27, 45, 0.25);
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.admin-metric strong {
    display: block;
    font-size: 2rem;
    color: #fff;
}

.admin-audit {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-panels {
    padding: 1rem 0 0;
}

.admin-panels__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.1rem;
}

.admin-panel {
    background: #ffffff;
    border: 1px solid #e6eef5;
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 12px 24px rgba(12, 42, 68, 0.06);
    display: grid;
    gap: 0.9rem;
}

.admin-panel--wide {
    grid-column: 1 / -1;
}

.admin-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.admin-panel__header h2,
.admin-panel__header h3 {
    margin: 0.2rem 0 0;
}

.admin-panel__link {
    font-weight: 700;
    text-decoration: none;
    color: var(--blue-dark);
}

.admin-form {
    display: grid;
    gap: 0.9rem;
}

.admin-form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.admin-form__row--stacked {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.admin-form label span {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #0f1b2a;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d3deea;
    padding: 0.75rem 0.9rem;
    background: #f8fbff;
}

.admin-checkbox-group {
    display: grid;
    gap: 0.25rem;
    padding: 0.6rem;
    border: 1px dashed #d3deea;
    border-radius: 10px;
    background: #fdfefe;
}

.admin-form__actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.admin-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.admin-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.75rem;
    border: 1px solid #e6eef5;
    border-radius: 10px;
}

.admin-queue {
    display: grid;
    gap: 0.7rem;
}

.admin-queue__item {
    border: 1px solid #e6eef5;
    border-radius: 10px;
    padding: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-queue__actions {
    display: flex;
    gap: 0.45rem;
}

.admin-operations {
    padding: 1rem 0 2rem;
}

.admin-operations__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.1rem;
}

.admin-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.admin-timeline li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: center;
}

.admin-documents {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.admin-documents li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.8rem;
    border: 1px solid #e6eef5;
    border-radius: 10px;
}

@media (max-width: 860px) {
    .admin-app__header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-hero__panel {
        order: -1;
    }

    .admin-queue__item,
    .admin-documents li,
    .admin-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

@media (max-width: 860px) {
    .portal-app__header-row {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .portal-nav-toggle {
        display: inline-flex;
    }

    .portal-app__nav {
        width: 100%;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        order: 3;
        padding: 0.5rem 0;
        gap: 0.25rem;
    }

    .portal-app__nav a {
        width: 100%;
    }

    .portal-dashboard-welcome {
        padding: 1.25rem 0 0.85rem;
    }

    .portal-dashboard-welcome__greeting {
        font-size: 1.3rem;
    }
}

.portal-theme .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 10px 24px rgba(17, 27, 39, 0.12);
    backdrop-filter: blur(6px);
}

.portal-theme .brand,
.portal-theme .brand-name {
    color: var(--blue-dark);
}

.portal-theme .site-nav a {
    color: var(--muted);
}

.portal-theme .site-nav a:hover,
.portal-theme .site-nav a:focus-visible {
    color: var(--blue-dark);
    background: rgba(97, 187, 225, 0.14);
    border-color: rgba(97, 187, 225, 0.24);
}

.portal-theme .site-nav a.is-active {
    background: rgba(16, 74, 112, 0.08);
    color: var(--blue-dark);
}

.portal-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #f8fbff, #fff8f0);
    color: var(--text);
}

.portal-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.portal-preview {
    display: grid;
    gap: 0.75rem;
}

.preview-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 14px 32px rgba(17, 27, 39, 0.12);
}

.preview-card ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.portal-section {
    padding: 2.5rem 0 3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.portal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    color: var(--text);
    box-shadow: 0 12px 30px rgba(17, 27, 39, 0.12);
}

.portal-card h2 {
    margin-top: 0;
    color: var(--blue-dark);
}

.portal-note {
    background: rgba(97, 187, 225, 0.18);
    color: var(--blue-dark);
    border-color: rgba(97, 187, 225, 0.45);
    margin-top: 1.25rem;
}

@media (max-width: 860px) {
    .site-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav a.nav-portal {
        margin-left: 0;
    }

    .site-nav a.nav-cta {
        text-align: center;
    }

    .portal-hero {
        padding: 3rem 0 2.5rem;
    }
}
