:root {
    --ink-900: #0d1b33;
    --ink-800: #1a3159;
    --ink-700: #294878;
    --slate-600: #4a5d7d;
    --slate-500: #64748b;
    --line: #d9e3f3;
    --paper: #f4f8ff;
    --white: #ffffff;
    --brand: #0e7490;
    --brand-strong: #155e75;
    --accent: #f59e0b;
    --danger-bg: #fee2e2;
    --danger-text: #991b1b;
    --success-bg: #dcfce7;
    --success-text: #166534;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink-900);
    background: radial-gradient(circle at 15% 8%, #e6efff 0%, rgba(230, 239, 255, 0) 40%),
        radial-gradient(circle at 82% 88%, #d7f7f4 0%, rgba(215, 247, 244, 0) 36%),
        var(--paper);
    line-height: 1.6;
}

a {
    color: #1d4ed8;
}

.wrap {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.atmo {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(70px);
    opacity: 0.22;
}

.atmo-top {
    top: -180px;
    right: -120px;
    background: #38bdf8;
}

.atmo-bottom {
    bottom: -200px;
    left: -120px;
    background: #14b8a6;
}

.site-header,
.main-shell,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    background: linear-gradient(100deg, #0b1730, #122646 55%, #19355f);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 13px;
    background: linear-gradient(135deg, #14b8a6, #0ea5e9);
    color: #f8fafc;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-nav a {
    color: #dbeafe;
    text-decoration: none;
    font-weight: 600;
}

.top-nav a:last-child {
    background: rgba(245, 158, 11, 0.95);
    color: #0d1b33;
    border-radius: 10px;
    padding: 8px 12px;
}

.main-shell {
    padding: 28px 0 12px;
}

.hero {
    margin-bottom: 18px;
}

.home-hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 22px;
    align-items: center;
}

.hero-copy h1 {
    margin: 0 0 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    line-height: 1.1;
}

.hero-copy p {
    margin: 0;
    color: var(--ink-800);
    max-width: 58ch;
}

.eyebrow {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-strong);
}

.hero-points {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-points span {
    background: #eaf2ff;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-700);
}

.hero-media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(14, 23, 48, 0.2);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #d7e4f7;
    box-shadow: 0 12px 26px rgba(13, 27, 51, 0.08);
    margin-bottom: 16px;
}

.intro-card {
    background: linear-gradient(180deg, #f7fbff, #edf6ff);
}

.product-card h2 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 1.62rem;
    font-family: "Space Grotesk", sans-serif;
}

.product-card h2 a {
    text-decoration: none;
    color: var(--ink-800);
}

.product-card h2 a:hover {
    color: #1d4ed8;
}

.card-art,
.product-art,
.legal-art {
    width: 100%;
    border-radius: 12px;
}

.btn,
button {
    background: linear-gradient(135deg, #0e7490, #1d4ed8);
    color: var(--white);
    border: 0;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover,
button:hover {
    filter: brightness(1.05);
}

.product-hero-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    align-items: center;
}

.lead {
    font-size: 1.05rem;
    color: var(--ink-800);
}

.steps-list {
    margin: 0;
    padding-left: 20px;
}

.steps-list li {
    margin-bottom: 8px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.inline-badges {
    margin: 14px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inline-badges span {
    border: 1px solid #b9e6de;
    background: #ecfdf9;
    color: #115e59;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
}

.octopus-stats {
    background: linear-gradient(145deg, #f4fbff, #e7f2ff);
}

.stats-inline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stats-inline-grid > div {
    background: #ffffff;
    border: 1px solid #d6e7fb;
    border-radius: 12px;
    padding: 12px;
}

.stats-inline-grid h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--ink-800);
}

.stats-inline-grid p {
    margin: 0;
    color: var(--slate-600);
    font-size: 14px;
}

.page-octopus .product-hero-card {
    background: linear-gradient(155deg, #f8fdff 0%, #e7f6ff 52%, #e8f7f3 100%);
    border-color: #cfe5f8;
}

.legal-content {
    margin-top: 12px;
    font-size: 1.02rem;
}

.narrow {
    max-width: 520px;
    margin: 24px auto;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    margin: 6px 0 12px;
    border: 1px solid #c5d4ea;
    border-radius: 8px;
    font: inherit;
    background: #fbfdff;
}

label {
    font-weight: 600;
}

.error-box {
    background: var(--danger-bg);
    color: var(--danger-text);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 14px;
}

.muted {
    color: var(--slate-500);
}

.success-box {
    background: var(--success-bg);
    color: var(--success-text);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 14px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.inline-form {
    display: inline;
    margin-left: 8px;
}

.btn-link {
    background: transparent;
    color: #1d4ed8;
    border: 0;
    padding: 0;
    font: inherit;
    text-decoration: underline;
}

.form-grid {
    max-width: 760px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding: 16px 0 24px;
    color: var(--slate-600);
    font-size: 14px;
}

.site-footer a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.section-head h1 {
    margin: 0;
}

.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.admin-action {
    display: block;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, #f8fbff, #eef5ff);
    border: 1px solid #d8e6fb;
    border-radius: 12px;
    padding: 14px;
}

.admin-action h3 {
    margin: 0 0 6px;
    color: var(--ink-800);
}

.admin-action p {
    margin: 0;
    color: var(--slate-600);
    font-size: 14px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.field-help {
    margin-top: -8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--slate-500);
}

h3 {
    margin-bottom: 6px;
}

@media (max-width: 860px) {
    .home-hero,
    .product-hero-card {
        grid-template-columns: 1fr;
    }

    .stats-inline-grid {
        grid-template-columns: 1fr;
    }

    .site-header .wrap {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===================================================================
   OCTOPUS ENERGY LANDING PAGE
   =================================================================== */

body.page-octopus {
    background: #ffffff;
}

body.page-octopus .atmo-top,
body.page-octopus .atmo-bottom {
    display: none;
}

.oct-layout {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 24px;
}

/* Hero */
.oct-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    background: linear-gradient(135deg, #1b1f3b 0%, #2c1f52 100%);
    color: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    margin-bottom: 20px;
}

.oct-reviewed-tag {
    font-size: 12px;
    font-weight: 700;
    color: #b4a8dc;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.oct-headline {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin: 0 0 16px;
    color: #fff;
}

.oct-headline-credit {
    color: #ff6bac;
    display: block;
}

.oct-intro {
    font-size: 1.04rem;
    color: #c8d2f0;
    max-width: 52ch;
    margin: 0 0 22px;
    line-height: 1.65;
}

.oct-intro strong {
    color: #fff;
}

.oct-cta-btn {
    display: inline-block;
    background: #e53779;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: filter 0.15s;
}

.oct-cta-btn:hover {
    filter: brightness(1.1);
    color: #fff;
}

.oct-tcsmall {
    font-size: 12px;
    color: #7a87b0;
    margin: 10px 0 0;
}

/* Award ring */
.oct-hero-award {
    text-align: center;
    color: #c8d2f0;
    font-size: 13px;
    flex-shrink: 0;
}

.oct-hero-award p {
    margin: 12px 0 0;
    line-height: 1.6;
}

.oct-hero-award strong {
    color: #fff;
}

.oct-award-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #e53779;
    background: rgba(229, 55, 121, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.oct-award-amount {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff6bac;
    line-height: 1;
    display: block;
}

.oct-award-label {
    font-size: 11px;
    color: #b4a8dc;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 3px;
}

/* Steps */
.oct-steps-card {
    margin-bottom: 16px;
}

.oct-steps-intro {
    color: var(--slate-600);
    margin-top: -4px;
}

.oct-steps {
    margin: 22px 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.oct-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.oct-step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e53779, #b01d54);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: grid;
    place-items: center;
    font-family: "Space Grotesk", sans-serif;
    margin-top: 2px;
}

.oct-step-body h3 {
    margin: 0 0 4px;
    color: var(--ink-800);
    font-size: 1.02rem;
}

.oct-step-body p {
    margin: 0;
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.oct-steps-cta {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

/* Why switch */
.oct-why-grid {
    margin-bottom: 16px;
}

.oct-why-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.oct-why-item {
    background: #fdf8ff;
    border: 1px solid #e6d8f5;
    border-radius: 12px;
    padding: 18px 16px;
}

.oct-why-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: block;
}

.oct-why-item h3 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: var(--ink-800);
}

.oct-why-item p {
    margin: 0;
    font-size: 13px;
    color: var(--slate-600);
    line-height: 1.55;
}

/* FAQ accordion */
.oct-faq {
    margin-bottom: 16px;
}

.oct-faq-item {
    border-bottom: 1px solid var(--line);
}

.oct-faq-item:last-of-type {
    border-bottom: none;
}

.oct-faq-item summary {
    padding: 14px 4px;
    cursor: pointer;
    font-weight: 600;
    color: var(--ink-800);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    gap: 12px;
}

.oct-faq-item summary::-webkit-details-marker {
    display: none;
}

.oct-faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: #e53779;
    font-weight: 700;
    flex-shrink: 0;
}

.oct-faq-item[open] summary::after {
    content: '\2212';
}

.oct-faq-item p {
    margin: 0 0 16px;
    color: var(--slate-600);
    padding: 0 4px;
    line-height: 1.65;
}

/* Disclaimer */
.oct-not-affiliated {
    text-align: center;
    font-size: 13px;
    color: var(--slate-500);
    margin: 4px 0 24px;
    padding: 0 20px;
}

@media (max-width: 680px) {
    .oct-hero {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }

    .oct-hero-award {
        display: none;
    }

    .oct-headline-credit {
        display: inline;
    }

    .oct-why-items {
        grid-template-columns: 1fr;
    }
}
