:root {
    --navy: #06152b;
    --navy-2: #0b2344;
    --orange: #ff6b13;
    --blue: #1f7aff;
    --text: #111827;
    --muted: #667085;
    --border: #d9e2ef;
    --bg: #f5f7fb;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(90deg, #031024, #071a33);
    color: white;
    padding: 18px 0;
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo-ball {
    font-size: 34px;
}

.logo strong {
    display: block;
    font-size: 28px;
    letter-spacing: -1px;
}

.logo strong span {
    color: var(--orange);
}

.logo small {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 42%, rgba(255,255,255,0.15) 100%),
        linear-gradient(135deg, #eaf4ff, #ffffff 45%, #b8dcff);
    padding: 30px 0 90px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.eyebrow {
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 0.95;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero p {
    max-width: 560px;
    font-size: 20px;
    line-height: 1.6;
}

.hero-art {
    position: relative;
    height: 360px;
}

.hoop {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 250px;
    height: 200px;
}

.backboard {
    width: 145px;
    height: 95px;
    border: 10px solid #1b2b44;
    background: rgba(255,255,255,0.6);
    margin-left: 70px;
    box-shadow: 0 18px 35px rgba(0,0,0,0.2);
}

.rim {
    width: 95px;
    height: 16px;
    border: 6px solid var(--orange);
    border-radius: 50%;
    position: absolute;
    top: 95px;
    left: 65px;
    background: transparent;
}

.net {
    position: absolute;
    top: 112px;
    left: 88px;
    width: 48px;
    height: 70px;
    border-left: 3px solid white;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: skewX(-8deg);
}

.jumper {
    position: absolute;
    left: 120px;
    bottom: 85px;
    font-size: 110px;
    transform: rotate(-18deg);
    filter: drop-shadow(0 20px 18px rgba(0,0,0,0.25));
}

.page-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    margin-top: -55px;
    position: relative;
    z-index: 2;
}

.card,
.tips-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(6, 21, 43, 0.08);
    overflow: hidden;
}

.card-header {
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
}

.card-header.dark {
    background: linear-gradient(90deg, var(--navy), var(--navy-2));
    color: white;
}

.card-header h2 {
    margin: 0;
    font-size: 22px;
    text-transform: uppercase;
}

.card-body {
    padding: 28px;
}

label {
    display: block;
    font-weight: 800;
    margin: 18px 0 8px;
}

.input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.input-wrap input {
    width: 100%;
    padding: 14px;
    border: none;
    font-size: 16px;
    outline: none;
}

.input-wrap select {
    min-width: 120px;
    padding: 14px 12px;
    border: none;
    border-left: 1px solid #cbd5e1;
    background: #f8fbff;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    outline: none;
}

.input-wrap span {
    padding: 0 14px;
    font-weight: 800;
}

.hint {
    margin: 7px 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.primary-btn,
.secondary-btn {
    width: 100%;
    border-radius: 8px;
    padding: 16px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 16px;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(90deg, #ff7a18, #ff5a00);
    color: white;
    border: none;
    margin-top: 10px;
}

.secondary-btn {
    background: white;
    color: var(--blue);
    border: 2px solid var(--blue);
    margin-top: 14px;
}

.result-box {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.result-box h3 {
    margin-top: 0;
    text-transform: uppercase;
}

.big-result {
    display: flex;
    align-items: baseline;
    gap: 12px;
    color: var(--orange);
}

.big-result span {
    font-size: 78px;
    line-height: 1;
    font-weight: 900;
}

.big-result small {
    font-size: 20px;
    color: var(--navy);
    text-transform: uppercase;
    font-weight: 900;
}

.speed-category {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.speed-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.speed-result-item {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
}

.speed-result-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--muted);
}

.speed-result-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
    color: var(--navy);
}

.speed-result-value span {
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    color: var(--orange);
}

.speed-result-value small {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.broad-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.broad-results-grid .speed-result-item {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.broad-results-grid .speed-result-value {
    flex-wrap: wrap;
    align-items: baseline;
    overflow-wrap: anywhere;
}

.broad-results-grid .speed-result-value span {
    font-size: 30px;
}

.broad-results-grid .speed-result-value small {
    font-size: 14px;
}

.broad-category-value {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.3;
    color: var(--navy);
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.info-card {
    padding-bottom: 18px;
}

.measure-section {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 20px;
    padding: 28px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.measure-section h3 {
    color: var(--blue);
    text-transform: uppercase;
    margin-top: 0;
}

.measure-section p {
    line-height: 1.6;
}

.measurement-visual {
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d9e2ef;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.measurement-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* IMPORTANT: keeps full image visible */
    padding: 10px;
}

.measurement-visual {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.person {
    position: absolute;
    bottom: 18px;
    left: 72px;
    width: 44px;
    height: 125px;
    background: #111827;
    border-radius: 22px 22px 8px 8px;
}

.person::before {
    content: "";
    position: absolute;
    top: -35px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: #d49a6a;
    border-radius: 50%;
}

.person::after {
    content: "";
    position: absolute;
    bottom: -48px;
    left: 5px;
    width: 34px;
    height: 50px;
    border-left: 8px solid #111827;
    border-right: 8px solid #111827;
}

.person.reaching::before {
    top: -35px;
}

.person.reaching {
    height: 115px;
}

.person.reaching::after {
    content: "";
}

.person.reaching {
    box-shadow: 12px -90px 0 -7px #111827;
}

.measure-line {
    position: absolute;
    right: 52px;
    top: 25px;
    bottom: 22px;
    border-right: 3px dashed var(--blue);
}

.measure-line::before,
.measure-line::after {
    content: "";
    position: absolute;
    right: -9px;
    width: 16px;
    border-top: 3px solid var(--blue);
}

.measure-line::before {
    top: 0;
}

.measure-line::after {
    bottom: 0;
}

.measurement-visual span {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    max-width: 80px;
    text-align: center;
}

.calculation-note {
    margin: 28px;
    padding: 24px;
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: 12px;
    line-height: 1.6;
}

.tips-card {
    margin-top: 24px;
    margin-bottom: 40px;
    padding: 28px;
}

.tips-card h2 {
    margin-top: 0;
    text-transform: uppercase;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.tips-grid strong {
    color: var(--navy);
    text-transform: uppercase;
}

.tips-grid p {
    color: var(--muted);
    line-height: 1.5;
}

.chart-section,
.faq-section {
    margin-top: 24px;
    margin-bottom: 40px;
}

.table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(6, 21, 43, 0.08);
}

.calc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.calc-table th,
.calc-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.calc-table th {
    background: linear-gradient(90deg, var(--navy), var(--navy-2));
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.calc-table tbody tr:nth-child(even) {
    background: #f8fbff;
}

.one-rep-table-wrap {
    overflow-x: visible;
}

.one-rep-table {
    min-width: 0;
    table-layout: fixed;
}

.one-rep-table th,
.one-rep-table td {
    padding: 12px 14px;
    font-size: 14px;
    word-break: break-word;
}

.one-rep-table th:first-child,
.one-rep-table td:first-child {
    width: 45%;
}

.one-rep-table th:last-child,
.one-rep-table td:last-child {
    width: 55%;
}

.result-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.result-stat {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
}

.result-stat span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.result-stat strong {
    display: block;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.25;
    word-break: break-word;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(6, 21, 43, 0.08);
    padding: 22px 24px;
}

.faq-item h3 {
    margin: 0 0 10px;
    color: var(--navy);
    text-transform: uppercase;
    font-size: 18px;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.site-footer {
    background: linear-gradient(90deg, #031024, #071a33);
    color: white;
    padding: 30px 0;
}

.footer-logo strong {
    font-size: 22px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 900px) {
    .header-inner,
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid,
    .page-grid,
    .measure-section,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 45px 0 70px;
    }

    .hero-art {
        height: 260px;
    }

    .hoop {
        right: 10px;
        transform: scale(0.8);
    }

    .jumper {
        left: 30px;
        font-size: 82px;
    }

    .page-grid {
        margin-top: -35px;
    }

    .measure-section {
        padding: 22px;
    }

    .speed-results-grid {
        grid-template-columns: 1fr;
    }

    .broad-results-grid {
        grid-template-columns: 1fr;
    }
}

.hero-art {
    position: relative;
    height: 420px;
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 40%, rgba(255,255,255,0.1) 100%);
}

.tip-item {
    text-align: center;
    padding: 10px;
}

.tip-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef5ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e2ef;
}

.tip-icon svg {
    width: 28px;
    height: 28px;
    fill: #1f7aff;
}

.tip-item strong {
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: #06152b;
}

.tip-item p {
    font-size: 14px;
    color: #667085;
}

.dual-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.select-wrap select {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    outline: none;
}

.home-hero {
    padding-bottom: 72px;
}

.home-hero-grid {
    gap: 36px;
}

.home-hero-content {
    max-width: 640px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-actions .hero-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
}

.home-hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-panel {
    width: min(100%, 460px);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(217, 226, 239, 0.9);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(6, 21, 43, 0.12);
    backdrop-filter: blur(10px);
}

.hero-panel-label {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--orange);
}

.home-hero-panel img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.hero-panel-copy {
    display: grid;
    gap: 4px;
    margin-top: 14px;
}

.hero-panel-copy strong {
    font-size: 18px;
    color: var(--navy);
}

.hero-panel-copy span {
    color: var(--muted);
    line-height: 1.5;
}

.intro-section,
.featured-calculator-section,
.category-section,
.cta-section,
.privacy-section {
    margin-top: 36px;
}

.section-heading {
    max-width: 760px;
}

.section-heading-left {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    color: var(--navy);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 17px;
}

.feature-strip {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-item,
.category-card,
.cta-card,
.featured-calculator-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(6, 21, 43, 0.08);
}

.feature-item {
    padding: 24px;
}

.feature-item strong {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-item p,
.category-card p,
.cta-card p,
.featured-calculator-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.featured-calculator-card {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    overflow: hidden;
}

.featured-calculator-copy {
    padding: 30px;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-calculator-copy h3,
.category-card h3,
.cta-card h2 {
    margin: 0 0 12px;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.featured-calculator-copy h3 {
    font-size: clamp(28px, 3vw, 40px);
}

.featured-link {
    width: auto;
    display: inline-flex;
    margin-top: 24px;
    min-width: 220px;
}

.featured-calculator-visual {
    background:
        linear-gradient(180deg, rgba(6, 21, 43, 0.05), rgba(255, 255, 255, 0.05)),
        linear-gradient(135deg, #eaf4ff, #ffffff 48%, #b8dcff);
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-calculator-visual img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(6, 21, 43, 0.14);
}

.category-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    padding: 24px;
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef5ff, #ffffff);
    border: 1px solid #d9e2ef;
    color: var(--blue);
    font-weight: 900;
    font-size: 22px;
}

.category-card h3 {
    font-size: 22px;
}

.category-card a,
.coming-soon-link {
    display: inline-flex;
    margin-top: 18px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.category-card a {
    color: var(--blue);
}

.coming-soon-link {
    color: var(--muted);
}

.cta-card {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        linear-gradient(135deg, rgba(6, 21, 43, 0.03), rgba(255, 255, 255, 0.95)),
        var(--white);
}

.cta-card h2 {
    font-size: clamp(28px, 3vw, 42px);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.privacy-hero {
    padding-bottom: 66px;
}

.privacy-hero-grid {
    gap: 28px;
}

.privacy-hero-content {
    max-width: 700px;
}

.privacy-hero-panel {
    width: min(100%, 460px);
    padding: 26px;
    border-radius: 24px;
    border: 1px solid rgba(217, 226, 239, 0.92);
    background:
        radial-gradient(circle at top left, rgba(255, 107, 19, 0.16), transparent 26%),
        radial-gradient(circle at bottom right, rgba(31, 122, 255, 0.16), transparent 28%),
        linear-gradient(135deg, #ffffff, #eef5ff 48%, #ffffff);
    box-shadow: 0 24px 60px rgba(6, 21, 43, 0.12);
}

.privacy-hero-panel strong {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-size: 22px;
}

.privacy-hero-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
}

.privacy-summary {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.privacy-summary-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(217, 226, 239, 0.9);
}

.privacy-summary-item span {
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef5ff;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    flex: 0 0 auto;
}

.privacy-summary-item small {
    display: block;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

.policy-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.policy-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(6, 21, 43, 0.08);
}

.policy-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: -0.4px;
    font-size: 20px;
}

.policy-card p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.75;
    font-size: 16px;
}

.policy-card p:last-child {
    margin-bottom: 0;
}

.policy-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.policy-list li + li {
    margin-top: 8px;
}

.policy-callout {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 19, 0.08), rgba(31, 122, 255, 0.06));
    border: 1px solid rgba(217, 226, 239, 0.9);
    color: var(--navy);
    line-height: 1.7;
}

.fitness-disclaimer {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(31, 122, 255, 0.06), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(217, 226, 239, 0.95);
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

.fitness-disclaimer strong {
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.contact-section {
    margin-top: 36px;
}

.contact-hero-grid {
    grid-template-columns: 1fr;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 20px;
    align-items: start;
}

.contact-form-card,
.contact-sidebar {
    display: grid;
    gap: 16px;
}

.contact-form-card {
    padding: 28px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 20px 45px rgba(6, 21, 43, 0.08);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    margin: 0;
    color: var(--navy);
    font-size: 14px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
    outline: none;
}

.form-field textarea {
    resize: vertical;
    min-height: 170px;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(31, 122, 255, 0.6);
    box-shadow: 0 0 0 4px rgba(31, 122, 255, 0.09);
}

.captcha-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 220px);
    gap: 12px;
    align-items: center;
}

.captcha-question {
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef5ff, #ffffff);
    border: 1px solid #d9e2ef;
    color: var(--navy);
    font-weight: 800;
}

.field-error {
    color: #c0392b;
    font-size: 13px;
    line-height: 1.5;
}

.status-message {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    line-height: 1.6;
}

.status-success {
    background: rgba(32, 163, 107, 0.08);
    border-color: rgba(32, 163, 107, 0.18);
    color: #1f7a4d;
}

.status-error {
    background: rgba(224, 74, 74, 0.08);
    border-color: rgba(224, 74, 74, 0.18);
    color: #a93b3b;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.form-actions .primary-btn {
    width: auto;
    min-width: 190px;
}

.form-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-help-card h3 {
    margin: 0 0 10px;
}

.contact-help-card p {
    margin: 0;
}

.not-found-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
}

.not-found-panel {
    width: 100%;
}

.not-found-panel a {
    color: var(--blue);
    font-weight: 800;
}

.not-found-cta {
    align-items: flex-start;
}

.cta-actions .primary-btn,
.cta-actions .secondary-btn {
    width: auto;
    min-width: 230px;
}

@media (max-width: 900px) {
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .hero-btn,
    .cta-actions .primary-btn,
    .cta-actions .secondary-btn,
    .featured-link {
        width: 100%;
        min-width: 0;
    }

    .feature-strip,
    .category-grid,
    .featured-calculator-card,
    .cta-card,
    .policy-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout,
    .form-grid,
    .captcha-row {
        grid-template-columns: 1fr;
    }

    .cta-card {
        display: grid;
    }

    .home-hero-panel img {
        height: 260px;
    }

    .privacy-hero-panel {
        width: 100%;
    }

    .contact-hero-grid {
        grid-template-columns: 1fr;
    }

    .not-found-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        align-items: stretch;
    }

    .form-actions .primary-btn {
        width: 100%;
    }
}

.hero.calculators-hero {
    padding-bottom: 72px;
}

.calculators-hero-grid {
    gap: 36px;
}

.calculators-hero-content {
    max-width: 650px;
}

.calculators-hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculators-hero-panel {
    position: relative;
    width: min(100%, 460px);
    min-height: 360px;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 22%),
        radial-gradient(circle at 80% 25%, rgba(255, 107, 19, 0.22), transparent 24%),
        linear-gradient(135deg, #eaf4ff, #ffffff 50%, #c2dcff);
    border: 1px solid rgba(217, 226, 239, 0.9);
    box-shadow: 0 24px 60px rgba(6, 21, 43, 0.12);
    overflow: hidden;
}

.calculators-hero-panel p {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    margin: 0;
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.calculators-hero-badge {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
    width: 110px;
    height: 110px;
    border-radius: 24px;
    background: rgba(6, 21, 43, 0.96);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(6, 21, 43, 0.2);
}

.calculators-hero-badge span {
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.calculators-hero-badge small {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    margin-top: 4px;
}

.calculators-orbit {
    position: absolute;
    border: 2px solid rgba(31, 122, 255, 0.18);
    border-radius: 50%;
}

.calculators-orbit-a {
    width: 240px;
    height: 240px;
    right: -60px;
    top: 24px;
}

.calculators-orbit-b {
    width: 180px;
    height: 180px;
    right: 20px;
    bottom: 38px;
}

.calculators-orbit-c {
    width: 120px;
    height: 120px;
    right: 120px;
    top: 126px;
    border-color: rgba(255, 107, 19, 0.18);
}

.calculators-intro,
.calculators-cta {
    margin-top: 34px;
}

.calculator-category-block {
    margin-top: 34px;
}

.category-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.category-header h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.category-header > p {
    max-width: 360px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.calc-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(6, 21, 43, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.calc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px rgba(6, 21, 43, 0.13);
    border-color: rgba(31, 122, 255, 0.26);
}

.calc-visual {
    position: relative;
    aspect-ratio: 1 / 0.72;
    border-radius: 16px;
    margin-bottom: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8), transparent 18%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.55));
    border: 1px solid rgba(217, 226, 239, 0.9);
}

.calc-visual::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08));
}

.calc-visual svg {
    position: relative;
    width: 72%;
    height: 72%;
    fill: none;
    stroke: currentColor;
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    z-index: 1;
}

.calc-visual img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}

.calc-visual-basketball {
    color: #ff6b13;
    background: linear-gradient(135deg, #fff1e7, #ffffff);
}

.calc-visual-football {
    color: #1f7aff;
    background: linear-gradient(135deg, #eaf4ff, #ffffff);
}

.calc-visual-baseball {
    color: #e04a4a;
    background: linear-gradient(135deg, #fff0f0, #ffffff);
}

.calc-visual-fitness {
    color: #20a36b;
    background: linear-gradient(135deg, #e8fbf2, #ffffff);
}

.calc-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: -0.4px;
}

.calc-card p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.6;
}

.calc-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff7a18, #ff5a00);
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
}

.calc-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.calc-button[href="#"] {
    background: linear-gradient(90deg, #d7dfeb, #cdd6e4);
    color: #475467;
}

.calc-button[href="#"]:hover {
    filter: none;
}

.calculators-cta-card {
    background:
        linear-gradient(135deg, rgba(6, 21, 43, 0.03), rgba(255, 255, 255, 0.95)),
        var(--white);
}

.calculator-preview-section {
    margin-top: 34px;
}

.calculator-preview-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.preview-card,
.hero-image-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(6, 21, 43, 0.08);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.preview-card:hover,
.hero-image-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px rgba(6, 21, 43, 0.13);
    border-color: rgba(31, 122, 255, 0.26);
}

.preview-card img,
.hero-image-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.preview-card img {
    aspect-ratio: 4 / 3;
}

.hero-image-card img {
    aspect-ratio: 4 / 3;
}

.preview-card-body,
.hero-image-card-body {
    padding: 22px;
    display: grid;
    gap: 10px;
}

.preview-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.preview-card h3,
.hero-image-card strong {
    margin: 0;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: -0.4px;
}

.preview-card h3 {
    font-size: 22px;
}

.hero-image-card strong {
    font-size: 20px;
}

.preview-card p,
.hero-image-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.preview-link {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blue);
}

.preview-link-muted {
    color: var(--muted);
}

.related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .calculator-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-header {
        align-items: start;
        flex-direction: column;
    }

    .calculator-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .broad-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .calculators-hero-panel {
        min-height: 300px;
    }

    .calculators-hero-panel p {
        font-size: 16px;
    }

    .calculators-hero-badge {
        width: 92px;
        height: 92px;
    }

    .calculators-hero-badge span {
        font-size: 30px;
    }

    .calculator-preview-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-card img {
        aspect-ratio: 16 / 10;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .policy-card {
        padding: 22px;
    }
}
