/* ════════════════════════════════════════════════════════════════════════════
   ACT Score Calculator skin — CSS VERBATIM from Subash's act-score-calculator.html
   comp (lines 66–1491). ALL rules scoped under body.single-calculator so nothing leaks into
   the Bricks header / footer chrome. Do NOT re-skin — fixes go through the comp first.
   Loaded on single `calculator` with slug `act-score-calculator` by
   includes/calculator_styles.php (per-slug enqueue).

   SCOPING: comp :root{--token} → body.single-calculator{--token} (NOT :root). The bare
   body{} rule is scoped to body.single-calculator{}. html{} and @keyframes global.
   @media inner selectors scoped. See the GRE-to-GMAT skin (same conventions).
   ════════════════════════════════════════════════════════════════════════════ */

/* ===== RESET & BRAND VARIABLES ===== */
body.single-calculator *, body.single-calculator *::before, body.single-calculator *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* tokens defined on the scoped body (not :root) so var(--*) resolves for the
   calc content via inheritance, without clashing with Bricks' own :root vars. */
body.single-calculator {
    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Brand Colors */
    --primary: #3b5bff;
    --secondary: #cc00cc;
    --bg-dark: #13217c;
    --hero-bg: #13217c;
    --primary-hover: #13217c;
    --secondary-hover: #A60066;
    --white: #ffffff;
    --bg-light: #e6ebff;
    --bg-mid: #a0aeff;
    --text-dark: #333333;
    --text-black: #333333;
    --text-gray: #808080;
    --border: #a0aeff;
    --success: #10b981;
    --radius: 20px;

    /* Typography Scale */
    --h1-size: 42px;
    --h1-line: 56px;
    --h1-weight: 600;

    --h2-size: 36px;
    --h2-line: 48px;
    --h2-weight: 600;

    --h3-size: 24px;
    --h3-line: 34px;
    --h3-weight: 600;

    --h4-size: 26px;
    --h4-line: 34px;
    --h4-weight: 600;

    --h5-size: 22px;
    --h5-line: 30px;
    --h5-weight: 500;

    --body1-size: 20px;
    --body1-line: 32px;
    --body1-weight: 400;

    --body2-size: 18px;
    --body2-line: 29px;
    --body2-weight: 400;

    --body3-size: 16px;
    --body3-line: 26px;
    --body3-weight: 400;
}

body.single-calculator {
    font-family: var(--font-body);
    font-size: var(--body3-size);
    line-height: 1.6;
    font-weight: var(--body3-weight);
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
body.single-calculator h1,
body.single-calculator h2,
body.single-calculator h3,
body.single-calculator h4,
body.single-calculator h5,
body.single-calculator h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

body.single-calculator h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line);
    font-weight: var(--h1-weight);
}

body.single-calculator h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line);
    font-weight: var(--h2-weight);
    color: var(--primary);
}

body.single-calculator h3 {
    font-size: var(--h3-size);
    line-height: var(--h3-line);
    font-weight: var(--h3-weight);
}

body.single-calculator h4 {
    font-size: var(--h4-size);
    line-height: var(--h4-line);
    font-weight: var(--h4-weight);
}

body.single-calculator h5 {
    font-size: var(--h5-size);
    line-height: var(--h5-line);
    font-weight: var(--h5-weight);
}

body.single-calculator p {
    margin-bottom: 0.75rem;
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    font-weight: var(--body2-weight);
    font-family: var(--font-body);
}

body.single-calculator a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

body.single-calculator a:hover {
    color: var(--secondary);
}

body.single-calculator .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

body.single-calculator .section {
    padding: 40px 0;
}

body.single-calculator .text-center {
    text-align: center;
}

/* ===== HERO SECTION ===== */
body.single-calculator .hero {
    background: var(--hero-bg);
    color: var(--white);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

body.single-calculator .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

body.single-calculator .hero h1 {
    color: var(--white);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease;
    text-align: center;
}

body.single-calculator .hero p {
    color: #fffdfe;
    font-size: var(--body1-size);
    line-height: var(--body1-line);
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 0;
    animation: fadeInUp 1s ease;
    max-width: 800px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CALCULATOR SECTION ===== */
body.single-calculator .calculator-section {
    padding: 40px 0;
    background: #e6ebff;
}

body.single-calculator .calculator-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}

body.single-calculator .calculator-wrapper.results-active {
    grid-template-columns: 1fr;
}

body.single-calculator .calculator-wrapper.results-active .discount-sidebar {
    display: none;
}

body.single-calculator .calculator-card,
body.single-calculator .discount-sidebar {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.single-calculator .calculator-wrapper.results-active .calculator-card {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

body.single-calculator .discount-sidebar {
    background: #13217c;
    color: var(--white);
    position: sticky;
    top: 20px;
    align-self: start;
    text-align: center;
}

body.single-calculator .calculator-header {
    text-align: center;
    margin-bottom: 24px;
}

body.single-calculator .calculator-header h2 {
    font-size: 28px;
    line-height: 40px;
    color: var(--primary);
    margin-bottom: 8px;
    text-align: center;
}

body.single-calculator .calculator-header p {
    color: var(--text-gray);
    font-size: var(--body3-size);
    line-height: var(--body3-line);
    margin-bottom: 0;
}

body.single-calculator .calculator-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

body.single-calculator .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.single-calculator .form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.single-calculator .label-icon {
    width: 26px;
    height: 26px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

body.single-calculator .form-group input {
    width: 100%;
    height: 60px;
    padding: 12px 16px;
    border: 2px solid var(--bg-mid);
    border-radius: 10px;
    font-size: var(--body3-size);
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: #fffdfe;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
}

body.single-calculator .form-group input:focus {
    outline: none;
    border-color: var(--bg-mid);
    background: var(--bg-light);
}

body.single-calculator .input-hint {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-gray);
}

/* ===== BUTTONS ===== */
body.single-calculator .button-group {
    grid-column: 1 / -1;
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

body.single-calculator .calc-btn,
body.single-calculator .reset-btn {
    flex: 1;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--body3-size);
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.single-calculator .calc-btn {
    max-height: 80px;
    background: var(--primary);
    color: var(--white);
    border: none;
    text-align: center;
}

body.single-calculator .calc-btn:hover {
    background: var(--primary-hover);
}

body.single-calculator .reset-btn {
    height: 48px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    text-align: center;
}

body.single-calculator .reset-btn:hover {
    background: var(--primary);
    color: #fffdfe;
}

/* ===== RESULT SECTION ===== */
body.single-calculator .result-wrapper {
    margin-top: 20px;
    display: none;
    animation: slideIn 0.6s ease;
    width: 100%;
}

body.single-calculator .result-wrapper.show {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

body.single-calculator .results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

body.single-calculator .overall-score-card {
    background: #13217c;
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

body.single-calculator .overall-score-card h3 {
    color: var(--white);
    font-size: var(--h5-size);
    line-height: var(--h5-line);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    text-align: center;
}

body.single-calculator .score-display {
    position: relative;
    z-index: 2;
}

body.single-calculator .score-value {
    font-size: 52px;
    font-weight: 600;
    font-family: var(--font-heading);
    line-height: 1.1;
    margin: 8px 0;
    color: var(--hero-bg);
}

body.single-calculator .overall-score-card .score-value {
    color: var(--white);
}

body.single-calculator .score-label {
    font-size: var(--body3-size);
    line-height: var(--body3-line);
    opacity: 0.95;
    font-weight: 500;
    margin-top: 4px;
}

body.single-calculator .sat-alternative-card {
    background: var(--secondary);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.single-calculator .sat-alternative-card h3 {
    color: var(--white);
    font-size: var(--h5-size);
    line-height: var(--h5-line);
    margin-bottom: 10px;
    text-align: center;
}

body.single-calculator .sat-alternative-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body3-size);
    line-height: var(--body3-line);
    margin-bottom: 12px;
}

body.single-calculator .sat-stat {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 6px;
}

body.single-calculator .combined-result-card {
    background: var(--bg-light);
    padding: 24px 20px;
    border-radius: 20px;
    text-align: center;
    width: 100%;
}

body.single-calculator .result-icon {
    font-size: 38px;
    margin-bottom: 8px;
    display: block;
}

body.single-calculator .combined-result-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

body.single-calculator .combined-result-card p {
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: var(--body3-line);
    text-align: center;
}

body.single-calculator .cta-highlight {
    background: #13217c;
    padding: 14px;
    border-radius: 10px;
    color: var(--white);
    margin-bottom: 12px;
    text-align: center;
}

body.single-calculator .cta-highlight p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body3-size);
    line-height: var(--body3-line);
    margin-bottom: 0;
    font-weight: 500;
    text-align: center;
}

/* ===== CTA BUTTONS ===== */
body.single-calculator .cta-btn {
    display: inline-block;
    background: #3b5bff;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--body3-size);
    line-height: 1.2;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
}

body.single-calculator .cta-btn:hover {
    background: #13217c;
    color: var(--white);
}

body.single-calculator .cta-btn:active {
    transform: translateY(0);
}

/* ===== SIDEBAR (Discount Banner) ===== */

body.single-calculator .discount-sidebar h3 {
    color: var(--white);
    font-size: var(--h4-size);
    line-height: var(--h4-line);
    margin-bottom: 10px;
    text-align: center;
}

body.single-calculator .discount-sidebar .banner-message {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body3-size);
    line-height: var(--body3-line);
    margin-bottom: 16px;
    font-weight: 500;
    text-align: center;
}

body.single-calculator .banner-stat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 14px;
    margin-bottom: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.single-calculator .banner-stat-number {
    font-size: 30px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

body.single-calculator .banner-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

body.single-calculator .banner-cta {
    display: block;
    width: 100%;
    background: #cc00cc;
    color: #fffdfe;
    padding: 14px 18px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: var(--body3-size);
    font-family: var(--font-body);
    text-decoration: none;
    margin-top: auto;
    border: none;
    cursor: pointer;
}

body.single-calculator .banner-cta:hover {
    background: #A60066;
    color: #fffdfe;
}

/* ===== OPPORTUNITY BOX ===== */
body.single-calculator .opportunity-box {
    border: 2px solid #fffdfe;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
}

body.single-calculator .opportunity-box p {
    color: var(--white);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 600;
}

/* ===== CONTENT SECTIONS ===== */
body.single-calculator .content-section {
    background: var(--white);
    padding: 40px 0;
}

body.single-calculator .content-section:nth-child(even) {
    background: var(--bg-light);
}

body.single-calculator .section-header {
    text-align: center;
    max-width: 700px;
    margin: 20px auto 28px;
}

body.single-calculator .section-header h2 {
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    text-align: center;
}

body.single-calculator .section-header p {
    color: #333333;
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    margin-top: 0px;
}

body.single-calculator .info-box {
    background: var(--white);
    padding: 24px;
    margin: 20px 0;
}

body.single-calculator .info-box-2 {
    background: #e6ebff;
    padding: 30px 0 0 0;
    margin: 20px 0;
}

body.single-calculator .info-box-2 h3 {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 12px;
}

body.single-calculator .info-box-3 {
    background: #fffdfe;
    padding: 24px;
    margin: 20px 0;
    border-radius: 20px;
}

body.single-calculator .info-box-3:hover {
    border: 2px solid #a0aeff;
}

body.single-calculator .info-box-3 h3 {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 12px;
}

body.single-calculator .info-box h3 {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ===== TABLE ===== */
body.single-calculator .table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: var(--radius);
    display: block;
}

body.single-calculator .score-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: var(--white);
}

body.single-calculator .score-table thead {
    background: var(--primary);
    color: var(--white);
}

body.single-calculator .score-table th {
    padding: 18px 16px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-right: 1.5px solid #e6ebff;
}

body.single-calculator .score-table th:last-child {
    border-right: none;
}

body.single-calculator .score-table td {
    background: var(--bg-light);
    padding: 14px 16px;
    font-size: var(--body3-size);
    line-height: 24px;
    font-family: var(--font-body);
    color: var(--text-dark);
    border-top: 1.5px solid #d9d9d9;
    border-right: 1.5px solid #d9d9d9;
}

body.single-calculator .score-table td:last-child {
    border-right: none;
}

body.single-calculator .score-table tbody tr:nth-child(even) td {
    background: #e6ebff;
}

body.single-calculator .content-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

body.single-calculator .content-list li {
    padding: 8px 0 8px 36px;
    position: relative;
    font-size: var(--body3-size);
    line-height: var(--body3-line);
    margin-bottom: 4px;
}

body.single-calculator .content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

/* ===== ACT DETAILS GRID ===== */
body.single-calculator .act-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 24px 0;
}

body.single-calculator .detail-card {
    background: #e6ebff;
    padding: 20px;
    border-radius: 20px;
    border-left: 4px solid #cc00cc;
}

body.single-calculator .detail-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.single-calculator .detail-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

body.single-calculator .highlight-box {
    background: var(--bg-light);
    border-left: 5px solid #cc00cc;
    padding: 20px;
    border-radius: 20px;
    margin: 30px 0;
}

body.single-calculator .highlight-box h3 {
    color: var(--primary);
    margin-bottom: 12px;
    text-align: left;
}

/* ===== CARDS GRID ===== */
body.single-calculator .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 28px;
}

body.single-calculator .prep-card {
    background: #e6ebff;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    border: 2px solid var(--bg-light);
    position: relative;
    overflow: hidden;
}

body.single-calculator .prep-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

body.single-calculator .prep-card:hover {
    border: 2px solid #a0aeff;
}

body.single-calculator .card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #fffdfe;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

body.single-calculator .prep-card h3 {
    font-size: 22px;
    line-height: 32px;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

body.single-calculator .prep-card p {
    color: #333333;
    margin-bottom: 16px;
}

body.single-calculator .card-btn {
    display: inline-block;
    background: #3b5bff;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
}

body.single-calculator .card-btn:hover {
    background: #13217c;
    color: #fffdfe;
}

/* ===== CTA SECTION ===== */
body.single-calculator .cta-section {
    background: var(--hero-bg);
    padding: 40px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

body.single-calculator .cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 2;
}

body.single-calculator .cta-content h2 {
    color: var(--white);
    margin-bottom: 12px;
    text-align: left;
}

body.single-calculator .cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    margin-bottom: 16px;
}

body.single-calculator .cta-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

body.single-calculator .cta-features li {
    padding: 8px 0 8px 36px;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body3-size);
    line-height: var(--body3-line);
    margin-bottom: 4px;
}

body.single-calculator .cta-features li::before {
    content: '🎯';
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 20px;
}

body.single-calculator .cta-form-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 36px;
}

body.single-calculator .cta-form-box iframe {
    width: 100%;
    min-height: 500px;
    border: none;
    border-radius: 10px;
}

/* ===== FAQ SECTION ===== */
body.single-calculator .faq-section {
    background: var(--white);
    padding: 60px 0;
}

body.single-calculator .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

body.single-calculator .faq-item {
    background: var(--primary);
    margin-bottom: 20px;
    border-radius: 0px;
    overflow: hidden;
}

body.single-calculator .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 52px 18px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    line-height: 29px;
    color: var(--white);
    gap: 12px;
    position: relative;
    user-select: none;
}

body.single-calculator .faq-question::after {
    content: "›";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 28px;
    color: #fff;
    font-weight: 400;
    transition: transform 0.3s ease;
    line-height: 1;
}

body.single-calculator .faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(90deg);
}

body.single-calculator .faq-icon {
    display: none;
}

body.single-calculator .faq-answer {
    background: var(--bg-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    font-size: var(--body3-size);
    line-height: 28px;
    font-weight: 400;
    font-family: var(--font-body);
    color: var(--primary);
}

body.single-calculator .faq-item.active .faq-answer {
    max-height: 600px;
    padding: 20px;
}

body.single-calculator .faq-answer-content {
    padding: 0;
    color: var(--primary);
    font-size: var(--body3-size);
    line-height: 28px;
}

body.single-calculator .faq-answer-content p {
    color: var(--primary);
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
    body.single-calculator .container {
        padding: 0 40px;
    }

    body.single-calculator .score-table {
        margin: 0 auto;
    }

    body.single-calculator .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    body.single-calculator .calculator-wrapper.results-active {
        grid-template-columns: 1fr;
    }

    body.single-calculator .discount-sidebar {
        position: relative;
        top: 0;
    }

    body.single-calculator .results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.single-calculator .cta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.single-calculator .act-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body.single-calculator .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
    body.single-calculator {
        --h1-size: 28px;
        --h1-line: 38px;
        --h2-size: 24px;
        --h2-line: 34px;
        --h3-size: 20px;
        --h3-line: 28px;
        --h4-size: 20px;
        --h4-line: 28px;
        --h5-size: 18px;
        --h5-line: 26px;
    }

    body.single-calculator .container {
        padding: 20px 20px;
    }

    body.single-calculator .section {
        padding: 32px 0;
    }

    body.single-calculator .hero {
        padding: 30px 0 30px 0;
    }

    body.single-calculator .calculator-section {
        padding: 40px 0;
    }

    body.single-calculator .calculator-card,
    body.single-calculator .discount-sidebar {
        padding: 10px;
        border-radius: var(--radius);
    }

    body.single-calculator .calculator-header {
        margin-bottom: 20px;
    }

    body.single-calculator .calculator-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.single-calculator .button-group {
        flex-direction: column;
        gap: 10px;
    }

    body.single-calculator .calc-btn,
    body.single-calculator .reset-btn {
        font-size: var(--body3-size);
        padding: 12px 24px;
    }

    body.single-calculator .results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.single-calculator .score-value {
        font-size: 40px;
    }

    body.single-calculator .overall-score-card {
        padding: 20px 16px;
    }

    body.single-calculator .sat-alternative-card {
        padding: 20px 16px;
    }

    body.single-calculator .combined-result-card {
        padding: 18px 14px;
    }

    body.single-calculator .info-box {
        padding: 18px 14px;
        margin: 16px 0;
    }

    body.single-calculator .detail-card {
        padding: 18px 14px;
    }

    body.single-calculator .highlight-box {
        padding: 18px 14px;
    }

    body.single-calculator .prep-card {
        padding: 20px 16px;
    }

    body.single-calculator .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body.single-calculator .table-wrapper {
        margin: 16px auto;
        border-radius: 10px;
    }

    body.single-calculator .score-table {
        min-width: 550px;
        margin: 0 auto;
    }

    body.single-calculator .score-table th,
    body.single-calculator .score-table td {
        padding: 10px 12px;
        font-size: 14px;
    }

    body.single-calculator .cta-form-box {
        padding: 24px 20px;
    }

    body.single-calculator .cta-form-box iframe {
        min-height: 450px;
    }

    body.single-calculator .faq-question {
        padding: 14px 44px 14px 16px;
        font-size: 16px;
    }

    body.single-calculator .faq-section {
        padding: 0px;
    }

    body.single-calculator .content-section {
        padding: 0px;
    }

    body.single-calculator .info-box h3 {
        font-size: 22px;
        line-height: 34px;
        color: var(--primary);
        margin-bottom: 12px;
    }

    body.single-calculator .section-header p {
        color: #333333;
        font-weight: 500;
        font-size: 18px;
        line-height: 28px;
        margin-top: 0px;
    }

    body.single-calculator .info-box-2 h3 {
        font-size: 22px;
        line-height: 34px;
        color: var(--primary);
        margin-bottom: 12px;
    }

    body.single-calculator .info-box-2 {
        background: #e6ebff;
        padding: 10px 0 0 0;
        margin: 10px 0;
    }

    body.single-calculator .info-box-3 h3 {
        font-size: 22px;
        line-height: 34px;
        color: var(--primary);
        margin-bottom: 12px;
    }

    body.single-calculator .info-box-3 {
        background: #fffdfe;
        padding: 12px 12px 12px 12px;
        margin: 10px 0;
    }
}

/* ===== RESPONSIVE - SMALL MOBILE ===== */
@media (max-width: 480px) {
    body.single-calculator {
        --h1-size: 24px;
        --h1-line: 34px;
        --h2-size: 22px;
        --h2-line: 32px;
        --h3-size: 18px;
        --h3-line: 26px;
    }

    body.single-calculator .container {
        padding: 20px 20px;
    }

    body.single-calculator .calculator-card,
    body.single-calculator .discount-sidebar,
    body.single-calculator .info-box,
    body.single-calculator .detail-card,
    body.single-calculator .highlight-box {
        padding: 16px 12px;
    }

    body.single-calculator .cta-form-box {
        padding: 20px 16px;
    }

    body.single-calculator .section-header {
        margin-bottom: 24px;
    }

    body.single-calculator .calc-btn,
    body.single-calculator .reset-btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    body.single-calculator .score-value {
        font-size: 36px;
    }

    body.single-calculator .card-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    body.single-calculator .score-table {
        min-width: 500px;
        font-size: 13px;
    }

    body.single-calculator .score-table th,
    body.single-calculator .score-table td {
        padding: 8px 10px;
        font-size: 14px;
    }

    body.single-calculator .faq-question {
        font-size: 15px;
    }

    body.single-calculator .banner-stat-number {
        font-size: 26px;
    }

    body.single-calculator .banner-stat-label {
        font-size: 12px;
    }
}

/* ===== ACCESSIBILITY ===== */
body.single-calculator .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body.single-calculator *:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

/* ===== TABLE 2 BACKGROUND OVERRIDE ===== */
body.single-calculator .info-box-2 .score-table td {
    background: #fffdfe;
}

body.single-calculator .info-box-2 .score-table tbody tr:nth-child(even) td {
    background: #fffdfe;
}

/* ===== FAQ LAYOUT WITH IMAGE ===== */
body.single-calculator .faq-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

body.single-calculator .faq-image {
    position: sticky;
    top: 20px;
}

body.single-calculator .faq-image img {
    width: 100%;
    border-radius: 0px;
    display: block;
}

@media (max-width: 1024px) {
    body.single-calculator .faq-layout {
        grid-template-columns: 1fr;
    }

    body.single-calculator .faq-image {
        display: none;
    }
}

@media (max-width: 768px) {
    body.single-calculator .faq-layout {
        grid-template-columns: 1fr;
    }

    body.single-calculator .faq-image {
        display: none;
    }
}

/* ── Subash review fixes (2026-06-14) ── */
body.single-calculator .content-section.qa-section { background: #e6ebff; }

/* Subash review v2 (2026-06-14): the composite header was still indented because
   .section-header has max-width:700px + margin:auto (centered narrow block) — v1's
   text-align:left alone couldn't move it. Drop the max-width/auto-margin so the
   header spans the container and left-aligns flush with the info-box content below. */
body.single-calculator .act-composite-section .section-header {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
body.single-calculator .act-composite-section .section-header h2 { text-align: left; }

/* Subash review v2 (2026-06-14): centre the trailing card row in "Why Choose SAT".
   v1's .prep-card--center { text-align:center } was a no-op (.prep-card already
   centres its text) and couldn't centre the CARDS. Switch the grid to flex so the
   2-card last row centres via justify-content. (prep-card stays 3-up on desktop.) */
body.single-calculator .cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
body.single-calculator .cards-grid .prep-card { flex: 0 1 calc(33.333% - 20px); }

/* Stack the Why-Choose cards on mobile (reproduces the grid's old 1fr behaviour for
   the new flex layout). After the base flex-basis so it wins at ≤768px. */
@media (max-width: 768px) {
    body.single-calculator .cards-grid .prep-card { flex-basis: 100%; }
}
