*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0d1b3e;
    --navy-mid: #1a2d5a;
    --navy-light: #1e3a6e;
    --cyan: #00c8d4;
    --cyan-glow: #17e0ec;
    --white: #ffffff;
    --off-white: #f4f6fb;
    --grey-light: #e8ecf4;
    --grey-mid: #8a96b0;
    --text-dark: #0d1b3e;
    --text-body: #374166;
    --green: #22c55e;
    --amber: #f59e0b;
    --red: #ef4444;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(13,27,62,0.10);
    --shadow-lg: 0 8px 40px rgba(13,27,62,0.16);
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
    background: var(--white);
    border-bottom: 1px solid var(--grey-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(13,27,62,0.07);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.logo-text {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.logo-badge {
    background: var(--navy);
    color: var(--cyan);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

    .nav-links a {
        text-decoration: none;
        color: var(--text-body);
        font-size: 14px;
        font-weight: 500;
        transition: color .2s;
    }

        .nav-links a:hover, .nav-links a.active {
            color: var(--navy);
        }

.nav-cta {
    background: var(--navy);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}

    .nav-cta:hover {
        background: var(--navy-light);
    }

.nav-login {
    color: var(--text-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

/* ── MOBILE NAV ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    background: none;
    border: none;
    transition: background .2s;
}

    .hamburger:hover {
        background: var(--off-white);
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--navy);
        border-radius: 2px;
        transition: all .25s;
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-light);
    box-shadow: var(--shadow-lg);
    z-index: 99;
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
}

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu a {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-body);
        padding: 12px 4px;
        border-bottom: 1px solid var(--off-white);
        text-decoration: none;
        transition: color .2s;
    }

        .mobile-menu a:last-child {
            border-bottom: none;
        }

        .mobile-menu a:hover, .mobile-menu a.active {
            color: var(--navy);
        }

    .mobile-menu .mm-cta {
        margin-top: 8px;
        background: var(--navy);
        color: var(--white);
        padding: 12px;
        border-radius: 8px;
        text-align: center;
        font-weight: 700;
        border-bottom: none;
    }

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #162548 100%);
    padding: 72px 32px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,200,212,0.12) 0%, transparent 70%);
        pointer-events: none;
    }

.breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
}

    .breadcrumb a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: var(--cyan);
        }

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,200,212,0.15);
    border: 1px solid rgba(0,200,212,0.3);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

    .hero h1 span {
        color: var(--cyan);
    }

.hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-stat {
    text-align: center;
}

    .hero-stat .num {
        font-size: 28px;
        font-weight: 800;
        color: var(--cyan);
    }

    .hero-stat .lbl {
        font-size: 12px;
        color: rgba(255,255,255,0.55);
    }

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cyan);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 20px rgba(0,200,212,0.35);
}

    .hero-cta:hover {
        background: var(--cyan-glow);
        transform: translateY(-2px);
    }

/* ── SECTION WRAPPER ── */
.section {
    padding: 80px 32px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--grey-light);
    color: var(--navy-mid);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 10px;
}

    .section-title span {
        color: var(--cyan);
    }

.section-subtitle {
    font-size: 15px;
    color: var(--grey-mid);
    margin-bottom: 40px;
}

.methodology-note {
    font-size: 12.5px;
    color: var(--grey-mid);
    line-height: 1.7;
    margin-top: -28px;
    margin-bottom: 36px;
    max-width: 760px;
    padding-left: 14px;
    border-left: 2px solid var(--grey-light);
}

    .methodology-note a {
        color: var(--navy-mid);
    }

.sources-section {
    background: var(--off-white);
    padding-top: 56px;
    padding-bottom: 56px;
}

.sources-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

    .sources-list li {
        font-size: 13.5px;
        color: var(--text-body);
        padding: 12px 16px;
        background: var(--white);
        border: 1px solid var(--grey-light);
        border-radius: 8px;
    }

    .sources-list a {
        color: var(--navy);
        text-decoration: none;
        font-weight: 600;
    }

        .sources-list a:hover {
            color: var(--cyan);
            text-decoration: underline;
        }

/* ── OVERALL CALCULATOR ── */
.calc-section {
    background: var(--white);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.calc-inputs {
}

.skill-row {
    background: var(--off-white);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.skill-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.icon-listen {
    background: rgba(0,200,212,0.12);
}

.icon-read {
    background: rgba(99,102,241,0.12);
}

.icon-write {
    background: rgba(245,158,11,0.12);
}

.icon-speak {
    background: rgba(34,197,94,0.12);
}

.skill-info {
    flex: 1;
}

    .skill-info label {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-dark);
        display: block;
        margin-bottom: 4px;
    }

    .skill-info small {
        font-size: 11px;
        color: var(--grey-mid);
    }

.skill-select {
    appearance: none;
    background: var(--white);
    border: 1.5px solid var(--grey-light);
    border-radius: 8px;
    padding: 10px 36px 10px 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    width: 90px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%238a96b0' d='M8 10L3 5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    transition: border-color .2s;
}

    .skill-select:focus {
        outline: none;
        border-color: var(--cyan);
    }

.result-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-lg);
}

.result-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.result-band {
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    color: var(--cyan);
    letter-spacing: -4px;
    margin: 16px 0;
    text-shadow: 0 0 40px rgba(0,200,212,0.4);
}

.result-description {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.result-note {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

.band-bar {
    margin: 24px 0;
}

.band-bar-track {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 99px;
    overflow: hidden;
}

.band-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--cyan) 0%, #fff 100%);
    transition: width .6s cubic-bezier(.4,0,.2,1);
}

.band-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.breakdown-item {
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 12px;
    text-align: left;
}

    .breakdown-item .b-label {
        font-size: 10px;
        color: rgba(255,255,255,0.45);
        text-transform: uppercase;
        font-weight: 600;
    }

    .breakdown-item .b-value {
        font-size: 20px;
        font-weight: 800;
        color: var(--white);
    }

.calc-cta {
    display: block;
    margin-top: 24px;
    background: var(--cyan);
    color: var(--navy);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
}

    .calc-cta:hover {
        background: var(--cyan-glow);
    }

/* ── RAW SCORE CONVERTERS ── */
.raw-section {
    background: var(--off-white);
}

.raw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.raw-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-light);
    padding: 32px;
    box-shadow: var(--shadow);
}

    .raw-card h3 {
        font-size: 18px;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 6px;
    }

    .raw-card p {
        font-size: 13px;
        color: var(--grey-mid);
        margin-bottom: 20px;
    }

.raw-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

    .raw-control select, .raw-control input[type=range] {
    }

.type-toggle {
    display: flex;
    border: 1.5px solid var(--grey-light);
    border-radius: 8px;
    overflow: hidden;
}

    .type-toggle button {
        padding: 8px 16px;
        font-size: 13px;
        font-weight: 600;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--grey-mid);
        transition: all .2s;
    }

        .type-toggle button.active {
            background: var(--navy);
            color: var(--white);
        }

.slider-wrap {
    width: 100%;
}

    .slider-wrap input[type=range] {
        width: 100%;
        height: 6px;
        appearance: none;
        background: var(--grey-light);
        border-radius: 99px;
        outline: none;
        cursor: pointer;
    }

        .slider-wrap input[type=range]::-webkit-slider-thumb {
            appearance: none;
            width: 22px;
            height: 22px;
            background: var(--cyan);
            border-radius: 50%;
            border: 3px solid var(--white);
            box-shadow: 0 2px 8px rgba(0,200,212,0.4);
            cursor: pointer;
        }

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--grey-mid);
    margin-top: 6px;
}

.raw-result {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius);
    padding: 20px 24px;
}

.raw-result-band {
    font-size: 48px;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
}

.raw-result-info .r-correct {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.raw-result-info .r-desc {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

/* ── HOW SCORING WORKS ── */
.scoring-section {
    background: var(--white);
}

.scoring-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1.5px solid var(--grey-light);
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--grey-mid);
    cursor: pointer;
    transition: all .2s;
}

    .tab-btn.active {
        background: var(--navy);
        color: var(--white);
        border-color: var(--navy);
    }

    .tab-btn:hover:not(.active) {
        border-color: var(--navy);
        color: var(--navy);
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.scoring-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--grey-light);
}

    .scoring-card h3 {
        font-size: 20px;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 8px;
    }

    .scoring-card .intro {
        font-size: 15px;
        color: var(--text-body);
        margin-bottom: 28px;
        line-height: 1.7;
    }

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.criterion {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    border-left: 4px solid var(--cyan);
    box-shadow: var(--shadow);
}

    .criterion h4 {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 6px;
    }

    .criterion p {
        font-size: 13px;
        color: var(--text-body);
        line-height: 1.6;
    }

    .criterion .weight {
        font-size: 11px;
        font-weight: 700;
        color: var(--cyan);
        text-transform: uppercase;
        margin-top: 8px;
    }

.info-box {
    background: rgba(0,200,212,0.08);
    border: 1px solid rgba(0,200,212,0.2);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.6;
}

    .info-box strong {
        color: var(--navy);
    }

.band-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    font-size: 13px;
    border-radius: var(--radius);
    overflow: hidden;
}

    .band-table th {
        background: var(--navy);
        color: var(--white);
        padding: 12px 16px;
        text-align: left;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .band-table td {
        padding: 11px 16px;
        border-bottom: 1px solid var(--grey-light);
        color: var(--text-body);
    }

    .band-table tr:last-child td {
        border-bottom: none;
    }

    .band-table tr:nth-child(even) td {
        background: var(--off-white);
    }

.band-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

/* ── BAND DESCRIPTOR TABLE ── */
.band-descriptor-section {
    background: var(--off-white);
}

.descriptor-table-wrap {
    overflow-x: auto;
}

.descriptor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .descriptor-table th {
        background: var(--navy);
        color: var(--white);
        padding: 14px 18px;
        text-align: left;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .descriptor-table td {
        padding: 13px 18px;
        border-bottom: 1px solid var(--grey-light);
        color: var(--text-body);
        background: var(--white);
        vertical-align: top;
    }

    .descriptor-table tr:last-child td {
        border-bottom: none;
    }

.band-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
}

.band-color-9 {
    background: #22c55e22;
}

.band-color-8 {
    background: #22c55e18;
}

.band-color-7 {
    background: #84cc1618;
}

.band-color-6 {
    background: #f59e0b18;
}

.band-color-5 {
    background: #f9731618;
}

.band-color-4 {
    background: #ef444418;
}

/* ── FAQ ── */
.faq-section {
    background: var(--white);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1.5px solid var(--grey-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .2s;
}

    .faq-q:hover {
        background: var(--off-white);
    }

    .faq-q .icon {
        font-size: 18px;
        color: var(--grey-mid);
        transition: transform .3s;
    }

.faq-item.open .faq-q .icon {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease;
}

.faq-item.open .faq-a {
    padding: 0 24px 18px;
    max-height: 200px;
}

.faq-a p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ── CTA BANNER ── */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 72px 32px;
    text-align: center;
}

    .cta-banner h2 {
        font-size: 32px;
        font-weight: 900;
        color: var(--white);
        margin-bottom: 12px;
        letter-spacing: -0.8px;
    }

        .cta-banner h2 span {
            color: var(--cyan);
        }

    .cta-banner p {
        font-size: 16px;
        color: rgba(255,255,255,0.65);
        margin-bottom: 32px;
    }

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--cyan);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 20px rgba(0,200,212,0.35);
}

    .btn-primary:hover {
        background: var(--cyan-glow);
        transform: translateY(-2px);
    }

.btn-outline {
    border: 2px solid rgba(255,255,255,0.25);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

    .btn-outline:hover {
        border-color: var(--cyan);
        color: var(--cyan);
    }


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .calc-grid, .raw-grid, .criteria-grid, .band-breakdown {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .nav-login {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 52px 20px 60px;
    }

    .section {
        padding: 60px 20px;
    }

    .result-card {
        position: static;
    }

    .hero-stats {
        gap: 24px;
    }

    .reading-tables-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .band-table {
        font-size: 12px;
    }

        .band-table th, .band-table td {
            padding: 9px 10px;
        }

    .nav-cta {
        padding: 9px 14px;
        font-size: 13px;
    }

    .nav-inner {
        padding: 0 16px;
        gap: 10px;
    }
}

/* ── UTILITY ── */
.text-cyan {
    color: var(--cyan);
}

.mt-4 {
    margin-top: 16px;
}

.divider {
    height: 1px;
    background: var(--grey-light);
    margin: 32px 0;
}

/* ── SHARE BUTTON ── */
.share-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    min-height: 56px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff;
    box-shadow: 0 12px 30px rgba(13,27,62,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    z-index: 999;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

    .share-fab:hover {
        background: var(--navy-mid);
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(13,27,62,0.34);
    }

    .share-fab .icon {
        font-size: 20px;
        line-height: 1;
    }

    .share-fab .label {
        white-space: nowrap;
    }

    .share-fab:focus-visible, .share-close:focus-visible, .share-option:focus-visible, .share-copy:focus-visible {
        outline: 3px solid rgba(0,200,212,0.35);
        outline-offset: 2px;
    }

.share-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8,15,30,0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 1000;
}

    .share-backdrop.open {
        opacity: 1;
        visibility: visible;
    }

.share-sheet {
    position: fixed;
    right: 18px;
    bottom: 86px;
    width: min(360px, calc(100vw - 24px));
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(13,27,62,0.18);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 1001;
}

    .share-sheet.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.share-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

    .share-head h3 {
        font-size: 18px;
        color: var(--navy);
        margin-bottom: 4px;
    }

    .share-head p {
        font-size: 14px;
        color: var(--grey-mid);
        line-height: 1.6;
    }

.share-close {
    border: none;
    background: var(--off-white);
    color: var(--grey-mid);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 18px;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--grey-light);
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--white);
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
    font-family: inherit;
    font-size: 14px;
}

    .share-option:hover, .share-copy:hover {
        border-color: var(--cyan);
        background: #f8fdff;
        transform: translateY(-1px);
    }

.share-copy {
    width: 100%;
    margin-top: 12px;
    border: 1px solid var(--grey-light);
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--off-white);
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
    font-family: inherit;
    font-size: 14px;
}

.share-status {
    margin-top: 10px;
    font-size: 13px;
    color: var(--grey-mid);
    min-height: 18px;
}

@media (max-width: 600px) {
    .share-fab {
        min-height: 52px;
        right: 14px;
        bottom: 14px;
        padding: 0 16px;
        font-size: 14px;
        gap: 8px;
    }

    .share-sheet {
        right: 12px;
        bottom: 76px;
        width: calc(100vw - 24px);
        padding: 18px;
    }

    .share-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 430px) {
    .share-fab .label {
        display: none;
    }

    .share-fab {
        width: 52px;
        min-width: 52px;
        padding: 0;
        border-radius: 50%;
    }
}
