/**
 * Custom theme styles — base + desktop/min-width rules. Viewport overrides:
 * custom-theme-1024.css, custom-theme-991.css, custom-theme-768.css, custom-theme-480.css
 * @package My_Custom_Theme
 */

:root {
    --navy: #0f172b;
    --navy-mid: #1d293d;
    --navy-light: #314158;
    --amber: #bb4d00;
    --orange: #e17100;
    --gold: #fee685;
    --cream: #fef3c6;
    --lesson-navy: #172b4d;
    --lesson-navy-deep: #0f1e3a;
    --lesson-text: #1f2a44;
    --lesson-muted: #4a5772;
    --lesson-muted-soft: #5d6a82;
    --lesson-line: #d7dde8;
    --lesson-line-dark: #c8cfdb;
    --lesson-line-soft: #e2e7ef;
    --lesson-blue: #2d67ff;
    --lesson-bg: #ffffff;
    --lesson-soft: #f4f6fa;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transition: all 0.3s ease;
    background: transparent;
    z-index: 9999;
    color: #cbd5e1;
}

.header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header.scrolled * {
    color: #000;
}

.header.scrolled .header-nav-cta-button {
    color: #fff;
}

body {
    margin: 0;
    background: #fff;
    color: var(--lesson-text);
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
    overflow-x: hidden;
}

.serif {
    font-family: 'Noto Serif JP', serif;
}

.wrapper {
    width: 100%;
}

.wrapper-hero-bg {
    background:
        linear-gradient(rgba(15, 23, 43, 1), rgba(2, 32, 77, 0.548)),
        url('images/hero-bg.png') no-repeat center center;
    background-size: cover;
}

.hero-meeting-bg {
     background: url('wp-content/themes/my-custom-theme/images/hero-meeting-bg.jpg') no-repeat center center;
    background-size: cover;   
}

.inset-0 {
    inset: calc(var(--spacing) * 0);
}


.lp-wrap {
    width: min(100%, 1071px);
    margin: 0 auto;
    position: relative;
    padding-left: 16px;
    padding-right: 16px;
    /*background: white;*/
    /*background:linear-gradient(117deg,#0f172b 0%,#162456 50%,#020618 100%);*/
}

/* Section header utility */
.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    font-family: 'Inter', sans-serif;
}

.divider-line {
    width: 48px;
    height: 2px;
}

/* Carousel */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-card {
    flex-shrink: 0;
    width: 350px;
    margin-right: 24px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* FAQ accordion */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 12px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question {
    font-size: 15px;
    font-weight: 700;
    color: #0f172b;
}

.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-body.open {
    grid-template-rows: 1fr;
    padding: 12px 20px 16px;
}

.faq-body > * {
    min-height: 0;
    overflow: hidden;
}

.faq-chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-chevron.open {
    transform: rotate(180deg);
}

.faq-answer {
    font-size: 13px;
    color: #45556c;
    line-height: 1.8;
}

/* Comparison table */
.cmp-head {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.cmp-head.mine {
    background: #1d293d;
    color: white;
}

.cmp-cell {
    border: 1px solid #e2e8f0;
}

.cmp-cell.mine {
    background: #f8fafc;
    border-color: #cad5e2;
}


/* Font Shadows*/

.custom-text-shadow {
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.3));
}

.to-amber-200 {
    --tw-gradient-to: var(--color-amber-200);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}

.via-yellow-100 {
    --tw-gradient-via: var(--color-yellow-100);
    --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}

.from-amber-300 {
    --tw-gradient-from: var(--color-amber-300);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}

/* Splash page extracted inline styles */
.splash-testimonials-wrap {
    padding: 0 112px 60px;
}

.splash-testimonials-inner {
    /*background: linear-gradient(117deg, #0f172b 0%, #162456 50%, #020618 100%);  */ 
}

.splash-testimonials-section {
    background: #fff;
    padding: 80px 88px 60px;
}

.splash-center-head {
    text-align: center;
    margin-bottom: 40px;
}

/* Responsive visibility helpers */
.mobile-view {
    display: none !important;
}

.splash-quote-main {
    font-size: 26px;
    font-weight: 700;
    color: #0f172b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.splash-subhead-text {
    color: #62748e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.8;
}

.splash-divider-thin {
    width: 48px;
    height: 1px;
    background: #cad5e2;
    margin: 32px auto;
}

.splash-intro-copy {
    color: #314158;
    font-size: 13px;
    line-height: 2;
    max-width: 700px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splash-intro-copy p {
    width: 100%;
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: center;
}

.splash-info-grid {
    display: flex;
    gap: 24px;
    margin-top: 48px;
}

.splash-info-card {
    flex: 1;
    min-width: 0;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.splash-info-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.splash-info-head svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.splash-info-title {
    font-weight: 700;
    color: #0f172b;
    font-size: 15px;
    line-height: 1.45;
}

.splash-info-copy {
    color: #314158;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.splash-info-copy-last {
    margin-bottom: 0;
}

.splash-info-copy strong,
.splash-nurture-copy strong,
.faq-answer strong {
    font-weight: 700;
    color: #1d293d;
}

.splash-info-strong {
    color: #1d293d;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.splash-info-strong-tight {
    line-height: 1.8;
    margin-bottom: 0;
}

.splash-info-list {
    padding-left: 16px;
    color: #45556c;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.splash-info-callout {
    background: #f8fafc;
    border-left: 2px solid #90a1b9;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #1d293d;
    line-height: 1.8;
}

.splash-before-after-wrap {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 97px 112px 60px;
}

.splash-divider-wide {
    width: 64px;
    height: 1px;
    background: #cad5e2;
}

.splash-divider-wide-top {
    margin: 0 auto 16px;
}

.splash-divider-wide-bottom {
    margin: 16px auto 0;
}

.splash-section-title-md {
    font-size: 24px;
    font-weight: 700;
    color: #0f172b;
}

.splash-stack-24 {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.splash-ba-row {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    padding: 24px;
}

.splash-ba-col {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.splash-ba-num {
    font-size: 48px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.splash-ba-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.splash-ba-badge-before {
    background: #f1f5f9;
    color: #314158;
}

.splash-ba-badge-after {
    background: #1c398e;
    color: #fff;
}

.splash-ba-text-before {
    font-size: 13px;
    color: #45556c;
    line-height: 1.7;
}

.splash-ba-text-after {
    font-size: 13px;
    color: #1d293d;
    font-weight: 500;
    line-height: 1.7;
}

.splash-ba-arrow-wrap {
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.splash-comparison-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 97px 0 60px;
}

.splash-cmp-badge {
    display: inline-block;
    background: #1d293d;
    border: 1px solid #314158;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 4px 20px;
    margin-bottom: 16px;
}

.splash-section-title-lg {
    font-size: 28px;
    font-weight: 700;
    color: #0f172b;
    margin-bottom: 8px;
}

.splash-cmp-divider {
    width: 48px;
    height: 2px;
    background: #90a1b9;
    margin: 8px auto 0;
}

.splash-cmp-note {
    color: #90a1b9;
    font-size: 12px;
    margin-top: 16px;
}

.splash-cmp-scroll {
    overflow-x: auto;
    padding: 0 32px;
}

.splash-cmp-table {
    border-collapse: collapse;
    min-width: 877px;
    margin: 0 auto;
}

.splash-cmp-th-label {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    width: 140px;
    text-align: center;
}

.splash-cmp-th-mine {
    background: #1d293d;
    border: 1px solid #1d293d;
    padding: 8px 16px;
    width: 175px;
    text-align: center;
    position: relative;
}

.splash-cmp-th-mine-badge {
    background: #f0b100;
    color: #0f172b;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.splash-cmp-th-mine-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.splash-cmp-th-other {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 8px;
    width: 140px;
    text-align: center;
    font-size: 13px;
}

.splash-cmp-cell-label {
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    background: rgba(248, 250, 252, 0.3);
    font-size: 13px;
    font-weight: 700;
    color: #314158;
    text-align: left;
}

.splash-cmp-cell-mine {
    border: 1px solid #cad5e2;
    background: #f8fafc;
    padding: 12px;
    text-align: center;
}

.splash-cmp-mine-main {
    color: #e7000b;
    font-size: 18px;
    font-weight: 700;
}

.splash-cmp-mine-main--neutral {
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
}

.splash-cmp-mine-note {
    color: #45556c;
    font-size: 11px;
    font-weight: 700;
}

.splash-cmp-cell-other {
    border: 1px solid #e2e8f0;
    padding: 12px 8px;
    text-align: center;
}

.splash-cmp-other-main {
    color: #45556c;
    font-size: 17px;
}

.splash-cmp-other-main.is-dash {
    color: #62748e;
}

.splash-cmp-other-main.is-long {
    font-size: 12px;
}

.splash-cmp-other-note {
    color: #62748e;
    font-size: 11px;
}

.splash-attorney-wrap {
    background: linear-gradient(117deg, #f1f5f9, #f8fafc 50%, #f1f5f9);
    border-top: 1px solid #cad5e2;
    padding: 97px 88px 80px;
}

.splash-attorney-title {
    text-align: center;
}

.splash-attorney-title-line {
    display: inline;
}

.splash-attorney-title-underline {
    border-bottom: 2px solid #e17100;
    padding-bottom: 2px;
}

.splash-spacer-48 {
    height: 48px;
}

.splash-attorney-panel {
    background: linear-gradient(117deg, #162456, #1c398e 50%, rgba(25, 60, 184, 0.85));
    border: 2px solid rgba(187, 77, 0, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    padding: 48px;
    display: flex;
    gap: 32px;
}

.splash-attorney-info-col {
    width: 280px;
    flex-shrink: 0;
}

.splash-attorney-badge-wrap {
    border-bottom: 2px solid #fef3c6;
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

.splash-attorney-badge {
    color: #fef3c6;
    font-size: 17px;
    font-weight: 700;
}

.splash-attorney-name {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.splash-attorney-label {
    color: #bfdbfe;
    font-size: 14px;
    margin-bottom: 8px;
}

.splash-attorney-list {
    color: #bfdbfe;
    font-size: 13px;
    line-height: 1.8;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.splash-attorney-message-card {
    flex: 1;
    background: #fff;
    border-left: 4px solid #1d293d;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.splash-attorney-message-head {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.splash-attorney-message-badge {
    background: #1d293d;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 6px;
}

.splash-attorney-message-text {
    color: #45556c;
    font-size: 13px;
    line-height: 1.9;
}

.splash-attorney-message-text-first {
    margin-bottom: 16px;
}

.splash-instructors-wrap {
    background: linear-gradient(117deg, #0f172b, #0f172b 50%, #0f172b);
    border: 2px solid rgba(187, 77, 0, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    padding: 48px;
    display: flex;
    gap: 32px;
}

.splash-text-white {
    color: #fff;
}

/* Shared utility-like classes for repeated splash blocks */
.splash-common-card {
    background: #fff;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    border-top-width: 4px;
    border-top-style: solid;
}

.splash-common-card-top-dark {
    border-top-color: #0f172a;
}

.splash-common-card-top-mid {
    border-top-color: #64748b;
}

.splash-nurture-card {
    border-top-color: #94a3b8;
}

.splash-nurture-cta {
    padding-top: 0.75rem;
}

.splash-nurture-cta-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    font-size: 16px;
    padding: 16px 40px;
}

.splash-common-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

@media (min-width: 768px) {
    .splash-common-list {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

.splash-common-list-item {
    display: flex;
    align-items: flex-start;
}

.splash-common-list-bullet {
    color: #94a3b8;
    margin-right: 0.75rem;
    font-size: 0.75rem;
}

/* Footer */
.footer-wrap {
    background: #020618;
    border-top: 1px solid #0f172b;
    padding: 64px 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    align-items: start;
}

.footer-brand {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
}

.footer-brand-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #90a1b9;
}

.footer-brand-sub {
    color: #90a1b9;
    font-size: 13px;
    margin-bottom: 16px;
}

.footer-description {
    color: #62748e;
    font-size: 13px;
    line-height: 1.8;
}

.footer-heading {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.7px;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list-item {
    color: #90a1b9;
    font-size: 13px;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid #0f172b;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright,
.footer-locale {
    color: #45556c;
    font-size: 13px;
}

.footer-locale-link {
    cursor: pointer;
}

.footer-locale-sep {
    color: #1d293d;
    margin: 0 8px;
}
/* Splash inline extracted styles */

.splash-inline-1 {
    --radix-accordion-content-height: var(--radix-collapsible-content-height); --radix-accordion-content-width: var(--radix-collapsible-content-width); --radix-collapsible-content-height: 186px; --radix-collapsible-content-width: 796px;
}

.splash-inline-2 {
    --radix-accordion-content-height: var(--radix-collapsible-content-height); --radix-accordion-content-width: var(--radix-collapsible-content-width); --radix-collapsible-content-height: 224px; --radix-collapsible-content-width: 796px;
}

.splash-inline-3 {
    --radix-accordion-content-height: var(--radix-collapsible-content-height); --radix-accordion-content-width: var(--radix-collapsible-content-width);
}

.splash-inline-4 {
    background-image: linear-gradient(30deg, rgba(184, 134, 11, 0.2) 12%, transparent 12.5%, transparent 87%, rgba(184, 134, 11, 0.2) 87.5%, rgba(184, 134, 11, 0.2)), linear-gradient(150deg, rgba(184, 134, 11, 0.2) 12%, transparent 12.5%, transparent 87%, rgba(184, 134, 11, 0.2) 87.5%, rgba(184, 134, 11, 0.2)); background-size: 80px 140px;
}

.splash-inline-5 {
    opacity: 1; transform: none;
}

.splash-inline-6 {
    color:white
}

.splash-inline-7 {
    background:white;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:97px 88px 80px;text-align:center;
}

.splash-inline-8 {
    font-size:26px;font-weight:700;color:#0f172b;margin-bottom:16px;
}

.splash-inline-9 {
    color:#45556c;font-size:15px;line-height:1.8;margin-bottom:40px;max-width:640px;margin-left:auto;margin-right:auto;
}

.splash-inline-10 {
    background:#0f172b;border:1px solid #314158;box-shadow:0 6px 0 #334155,0 10px 20px rgba(0,0,0,0.15);color:white;font-size:19px;font-weight:700;letter-spacing:1px;padding:20px 56px;border-radius:6px;cursor:pointer;
}

.splash-inline-11 {
    background:linear-gradient(117deg,#f8fafc,white 50%,rgba(255,251,235,0.3));border-top:1px solid rgba(254,230,133,0.5);padding:97px 0 80px;position:relative;overflow:hidden;
}

.splash-inline-12 {
    position:absolute;top:-48px;right:0;width:384px;height:384px;background:linear-gradient(117deg,rgba(254,243,198,0.2),transparent);border-radius:50%;filter:blur(48px);pointer-events:none;
}

.splash-inline-13 {
    text-align:center;margin-bottom:48px;
}

.splash-inline-14 {
    display:inline-block;background:linear-gradient(90deg,#bb4d00,#a65f00);border:1px solid #e17100;color:white;font-size:12px;font-weight:700;letter-spacing:1.2px;padding:4px 20px;margin-bottom:16px;
}

.splash-inline-15 {
    font-size:28px;font-weight:700;color:#0f172b;margin-bottom:8px;
}

.splash-inline-16 {
    width:48px;height:2px;background:linear-gradient(90deg,transparent,#e17100,transparent);margin:8px auto 0;
}

.splash-inline-17 {
    max-width:736px;margin:0 auto;display:flex;flex-direction:column;gap:24px;
}

.splash-inline-18 {
    background:white;border-top:4px solid #bb4d00;box-shadow:0 10px 15px rgba(0,0,0,.1);padding:36px 32px;position:relative;overflow:hidden;
}

.splash-inline-19 {
    position:absolute;top:-60px;right:-24px;width:128px;height:128px;border-radius:50%;background:linear-gradient(117deg,rgba(254,243,198,0.3),transparent);
}

.splash-inline-20 {
    font-size:22px;font-weight:700;color:#0f172b;margin-bottom:16px;
}

.splash-inline-21 {
    margin-bottom:8px;
}

.splash-inline-22 {
    color:#90a1b9;font-size:22px;text-decoration:line-through;font-weight:500;
}

.splash-inline-23 {
    color:#90a1b9;font-size:13px;margin-left:4px;
}

.splash-inline-24 {
    display:flex;align-items:baseline;gap:8px;margin-bottom:16px;
}

.splash-inline-25 {
    background:linear-gradient(90deg,#e7000b,#c10007);color:white;font-size:11px;font-weight:700;padding:4px 10px;letter-spacing:0.6px;
}

.splash-inline-26 {
    font-size:46px;font-weight:700;color:#0f172b;font-family:'Inter',sans-serif;
}

.splash-inline-27 {
    font-size:17px;color:#45556c;
}

.splash-inline-28 {
    font-size:13px;color:#62748e;
}

.splash-inline-29 {
    border-top:1px solid #fef3c6;padding-top:16px;display:flex;flex-direction:column;gap:8px;
}

.splash-inline-30 {
    display:flex;align-items:center;gap:8px;font-size:13px;color:#45556c;
}

.splash-inline-31 {
    background:white;border:2px solid #8ec5ff;box-shadow:0 10px 15px rgba(0,0,0,.1);
}

.splash-inline-32 {
    background:linear-gradient(90deg,#155dfc,#1447e6);color:white;font-size:11px;font-weight:700;letter-spacing:0.6px;padding:5px 16px;display:inline-block;margin-top:4px;margin-left:auto;display:flex;justify-content:flex-end;
}

.splash-inline-33 {
    background:linear-gradient(90deg,#155dfc,#1447e6);padding:5px 16px;
}

.splash-inline-34 {
    padding:16px 32px 24px;
}

.splash-inline-35 {
    font-size:19px;font-weight:700;color:#0f172b;margin-bottom:12px;
}

.splash-inline-36 {
    font-size:38px;font-weight:700;color:#193cb8;font-family:'Inter',sans-serif;
}

.splash-inline-37 {
    font-size:15px;color:#45556c;
}

.splash-inline-38 {
    border-left:4px solid #e17100;background:linear-gradient(117deg,#fffbeb,#eff6ff);padding:16px 20px;
}

.splash-inline-39 {
    font-size:13px;color:#314158;line-height:1.8;font-weight:500;
}

.splash-inline-40 {
    color:#e7000b;font-weight:700;border-bottom:2px solid #ffa2a2;
}

.splash-inline-41 {
    font-size:12px;color:#62748e;margin-top:4px;
}

.splash-inline-42 {
    background:#f1f5f9;border-top:1px solid #e2e8f0;padding:32px 0 20px;
}

.splash-inline-43 {
    text-align:center;margin-bottom:40px;
}

.splash-inline-44 {
    display:inline-block;background:#1d293d;border:1px solid #314158;color:white;font-size:12px;font-weight:700;letter-spacing:1.2px;padding:4px 20px;margin-bottom:16px;
}

.splash-inline-45 {
    width:48px;height:2px;background:#90a1b9;margin:8px auto 0;
}

.splash-inline-46 {
    max-width:768px;margin:0 auto;display:flex;flex-direction:column;gap:12px;
}

.splash-inline-47 {
    background-image: radial-gradient(circle at 2px 2px, rgba(184, 134, 11, 0.3) 1px, transparent 0px); background-size: 50px 50px;
}

/* Reduced utility-class clutter in splash sections */
.splash-achievement-card {
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.splash-achievement-card:hover {
    border-color: #94a3b8;
}

/* Testimonial marquee — size cards to the viewport so N fit without clipping */
.splash-testimonial-viewport {
    container-type: inline-size;
    container-name: testimonials;
    overflow: hidden;
}

#testimonial-track {
    width: max-content;
    will-change: transform;
}

.splash-testimonial-card {
    box-sizing: border-box;
    flex: 0 0 calc((100cqi - 3rem) / 3);
    width: calc((100cqi - 3rem) / 3);
    max-width: calc((100cqi - 3rem) / 3);
    min-width: 0;
}

.splash-testimonial-quote {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
    .splash-testimonial-card {
        flex-basis: calc((100cqi - 1.5rem) / 2);
        width: calc((100cqi - 1.5rem) / 2);
        max-width: calc((100cqi - 1.5rem) / 2);
    }
}

.splash-trial-feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background-color 0.2s ease;
}

.splash-trial-feature-card:hover {
    background: #f8fafc;
}

.splash-trial-step-card {
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: border-color 0.2s ease;
    position: relative;
}

.splash-trial-step-card:hover {
    border-color: #94a3b8;
}

.splash-cta-primary-btn {
    width: 100%;
    background: #0f172a;
    color: #fff;
    padding: 1.25rem 2rem;
    border-radius: 0.125rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    box-shadow: 0 6px 0 #334155, 0 15px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif JP", serif;
}

.splash-cta-primary-btn:hover {
    background: #1e293b;
    transform: translateY(0.25rem);
    box-shadow: 0 2px 0 #334155, 0 10px 10px rgba(0, 0, 0, 0.2);
}

.splash-cta-primary-btn:active {
    transform: translateY(6px);
    box-shadow: none;
}

.splash-cta-primary-icon {
    margin-left: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.2s ease;
}

.splash-cta-primary-btn:hover .splash-cta-primary-icon {
    transform: translateX(0.25rem);
}

.splash-cta-secondary-btn {
    width: 100%;
    background: #1e293b;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 0.125rem;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 #0f172a;
    border: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.splash-cta-secondary-btn:hover {
    background: #334155;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #0f172a;
}

.splash-cta-secondary-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

.splash-cta-secondary-btn .lucide-chevron-down {
    transition: transform 0.25s ease;
}

.splash-cta-secondary-btn[aria-expanded="true"] .lucide-chevron-down {
    transform: rotate(180deg);
}

.splash-contact-accordion {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.splash-contact-accordion.is-open {
    max-height: 1000px;
    opacity: 1;
    margin-top: 0.5rem;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(2px);
    transition: opacity 0.65s ease, transform 0.65s ease, filter 0.45s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

.splash-cta-tertiary-btn {
    width: 100%;
    background: #e2e8f0;
    color: #0f172a;
    padding: 1rem 1.5rem;
    border-radius: 0.125rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.splash-cta-tertiary-btn:hover {
    background: #cbd5e1;
}

.splash-cta-tertiary-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

@media (min-width: 768px) {
    .splash-trial-feature-card {
        padding: 2rem;
    }

    .splash-trial-step-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .splash-cta-primary-btn {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        font-size: 1.5rem;
    }

    .splash-cta-primary-icon {
        width: 2rem;
        height: 2rem;
    }

    .splash-cta-secondary-btn {
        font-size: 1.125rem;
    }

    .splash-cta-tertiary-btn {
        font-size: 1rem;
    }
}

/* Header class reduction helpers */
.header-hero-highlight-text {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(to right, #fcd34d, #fef9c3, #fde68a);
    display: inline-block;
    margin-top: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.3));
}

.header-hero-links-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.header-hero-link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(180, 83, 9, 0.3);
    padding: 0.625rem 1rem;
    border-radius: 0.125rem;
    box-shadow: 0 10px 15px rgba(15, 23, 42, 0.25);
    transition: border-color 0.2s ease;
}

.header-hero-link-item:hover {
    border-color: rgba(217, 119, 6, 0.5);
}

.header-hero-curriculum-link {
    text-align: center;
}

@media (min-width: 640px) {
    .header-hero-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Header pass3 extracted styles */

.header-nav-sticky {
    position:relative;
    top:0;
    z-index:50;
}

.header-nav-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 0px;
    height:52px;background:transparent;
}

.header.scrolled .header-nav-inner {
    background:#fff;
}

.header-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #e2e8f0;
    box-shadow: none;
}

.header-nav-toggle-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.header-nav-toggle-icon-close {
    display: none;
}

.header-nav-toggle[aria-expanded="true"] .header-nav-toggle-icon-menu {
    display: none;
}

.header-nav-toggle[aria-expanded="true"] .header-nav-toggle-icon-close {
    display: block;
}

.header.scrolled .header-nav-toggle {
    color: #0f172a;
    background: transparent;
    border-color: transparent;
}

.header-brand-title {
    font-size:22px;font-weight:700;color:#fff;margin-bottom: 8px;
}

.header-brand-subtitle {
    font-size:13px;font-weight:400;color:#e2e8f0;
}

.header-nav-menu {
    display:flex;align-items:center;gap:32px;
}

.header-nav-menu .nav-item-reveal-ready {
    opacity: 0;
    transform: translateY(8px);
    transition: none;
}

.header-nav-menu .nav-item-reveal-ready.nav-item-reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.header-hero-left .hero-item-reveal-ready {
    opacity: 0;
    transform: translateY(8px);
    transition: none;
}

.header-hero-left .hero-item-reveal-ready.hero-item-reveal-visible,
.header-trial-card.hero-item-reveal-ready.hero-item-reveal-visible,
.splash-testimonials-section.hero-item-reveal-ready.hero-item-reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.header-trial-card.hero-item-reveal-ready,
.splash-testimonials-section.hero-item-reveal-ready {
    opacity: 0;
    transform: translateY(8px);
    transition: none;
}

.header-nav-link {
    font-size:13px;cursor:pointer;
}

.header-nav-cta-button {
    background:#0f172b;border:1px solid #314158;color:white;font-size:13px;font-weight:700;padding:8px 20px;border-radius:6px;cursor:pointer;box-shadow:0 2px 0 #334155;
}

.header.scrolled .header-nav-cta-button {
    background:#0f172b;
    color:#fff;
}

.header-hero-glow-left {
    position:absolute;top:0;left:0;width:400px;height:400px;background:rgba(225,113,0,0.12);border-radius:50%;filter:blur(80px);
}

.header-hero-glow-right {
    position:absolute;bottom:0;right:0;width:400px;height:400px;background:rgba(21,93,252,0.1);border-radius:50%;filter:blur(80px);
}

.header-hero-overlay {
    position:absolute;inset:0;
}

.header-hero-layout {
    position:relative;display:flex;align-items:center;gap:96px;padding:112px 0px 80px;
}

.header-hero-left {
    flex:1;
}

.header-hero-badges {
    display:flex;gap:12px;margin-bottom:24px;
}

.header-hero-badge-primary {
    background:linear-gradient(90deg,#e17100,#a65f00);padding:6px 18px;color:white;font-size:13px;font-weight:700;letter-spacing:1.4px;
}

.header-hero-badge-secondary {
    background:#1d293de6;border:1px solid rgba(187,77,0,0.5);color:#fee685;font-size:13px;font-weight:700;padding:6px 16px;
}

.header-hero-title-primary {
    color: transparent;
    font-size:48px;font-weight:700;line-height:1.2;text-shadow:0 2px 16px rgba(251,191,36,0.3);margin-bottom:4px;
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #ffd230 0%, #fef9c2 55%, #fde584 100%);
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.35));
}

.header-hero-title-secondary {
    color: transparent;
    font-size:48px;font-weight:700;line-height:1.2;text-shadow:0 2px 16px rgba(251,191,36,0.3);margin-bottom:24px;
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #ffd230 0%, #fef9c2 55%, #fde584 100%);
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.35));
}

.header-hero-description {
    color:white; font-size:18px;line-height:1.7;margin-bottom:32px;max-width:520px;
}

.header-hero-link-reveal {
    opacity: 1; transform: none;
}

.header-curriculum-link {
    color:#fee685;
    font-size:17px;
    text-decoration:underline;
    cursor:pointer;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.header-trial-card {
    width:345px;background:white;border-radius:6px;border:4px solid #bb4d00;box-shadow:0 25px 50px rgba(0,0,0,0.4);position:relative;padding:0 0 24px;
}

.header-trial-card-badge {
    position:absolute;top:-20px;left:48px;right:48px;background:linear-gradient(90deg,#0f172b,#1d293d);border:1px solid rgba(187,77,0,0.5);border-radius:6px;color:#fee685;font-size:13px;font-weight:700;text-align:center;padding:8px;letter-spacing:1.4px;
}

.header-trial-card-content {
    margin:48px 44px 0;text-align:center;
}

.header-trial-title {
    color:#0f172b;font-size:22px;font-weight:700;
}

.header-trial-status {
    color:#bb4d00;font-size:30px;font-weight:700;margin-bottom:12px;
}

.header-trial-description-box {
    border:1px solid rgba(254,230,133,0.5);background:linear-gradient(117deg,#fffbeb,#f8fafc);padding:16px;font-size:13px;color:#45556c;line-height:1.7;margin-bottom:24px;
}

.header-trial-cta-button {
    width:100%;background:linear-gradient(90deg,#0f172b,#1d293d,#0f172b);border:2px solid #bb4d00;border-radius:6px;box-shadow:0 6px 0 #78350f,0 10px 20px rgba(120,53,15,0.3);color:#fef3c6;font-size:18px;font-weight:700;padding:20px 0;cursor:pointer;letter-spacing:1px;margin-bottom:16px;
}

.header-status-row {
    display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:#62748e;
}

.header-status-dot {
    width:8px;height:8px;border-radius:50%;background:#00c950;display:inline-block;
}

/* 992–1024: nav padding (not in custom-theme-1024.css — that sheet loads after main and would override 991px) */
@media (max-width: 1024px) and (min-width: 992px) {
    .header-nav-inner {
        padding: 0 12px;
    }
}

/* ----- Lesson flow & unit section ----- */

.lesson-structure {
    padding: 12px 12px 12px;
    background: #fff;
}

.lesson-structure__inner {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.lesson-flow__title,
.unit-section__title {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-weight: 900;
    color: var(--lesson-navy-deep);
    letter-spacing: 0.02em;
}

.lesson-flow__title {
    margin: 0;
    text-align: left;
    font-size: 30px;
    line-height: 1.5;
}

.lesson-flow__title .sub {
    display: inline;
    font-size: 22px;
    font-weight: 900;
}

.lesson-flow__lead {
    margin: 20px 0 32px;
    color: var(--lesson-muted);
    font-size: 15.5px;
    line-height: 1.95;
    font-weight: 500;
}

.flow-table {
    width: 100%;
    background: #fff;
}

.flow-table__grid {
    display: grid;
    grid-template-columns: 38% 31% 31%;
}

.flow-table__header {
    background: #182c4e;
    color: #fff;
}

.flow-table__header > div {
    padding: 14px 22px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.flow-table__row {
    border-bottom: 1px solid var(--lesson-line);
    background: #fff;
}

.flow-table__step {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 22px;
}

.flow-table__step-no {
    min-width: 42px;
    font-size: 64px;
    line-height: 1;
    font-weight: 300;
    color: var(--lesson-blue);
    letter-spacing: -0.04em;
    flex-shrink: 0;
    font-family: "Noto Sans JP", sans-serif;
}

.flow-table__step-body {
    min-width: 0;
}

.flow-table__step-title {
    font-size: 17px;
    line-height: 1.6;
    font-weight: 700;
    color: var(--lesson-navy-deep);
}

.flow-table__step-time {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--lesson-muted-soft);
}

.flow-table__cell {
    display: flex;
    align-items: center;
    padding: 26px 24px;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 500;
    color: var(--lesson-muted);
}

.unit-section {
    margin-top: 84px;
}

.unit-section__title {
    margin: 0;
    text-align: left;
    font-size: 28px;
    line-height: 1.5;
}

.unit-section__title .accent {
    color: var(--lesson-blue);
}

.unit-section__lead {
    margin: 18px 0 30px;
    color: var(--lesson-muted);
    font-size: 15.5px;
    line-height: 1.95;
    font-weight: 500;
}

.unit-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0 12px;
    align-items: stretch;
}

.unit-flow__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lesson-blue);
    font-size: 20px;
    line-height: 1;
    font-weight: 300;
}

.unit-card {
    border: 1.5px solid #cfd8e6;
    border-radius: 4px;
    background: #fff;
    padding: 22px 24px 24px;
}

.unit-card__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid var(--lesson-line-soft);
}

.unit-card__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    background: var(--lesson-navy);
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.unit-card__title {
    margin: 0;
    color: var(--lesson-navy-deep);
    font-size: 17px;
    line-height: 1.55;
    font-weight: 700;
}

.unit-card__list {
    margin: 16px 0 0;
    padding-left: 22px;
    color: var(--lesson-muted);
}

.unit-card__list li {
    margin: 8px 0;
    font-size: 14.5px;
    line-height: 1.85;
    font-weight: 500;
}

.unit-section__note {
    margin-top: 22px;
    padding: 22px 28px;
    background: var(--lesson-soft);
    border-radius: 4px;
    text-align: center;
    color: var(--lesson-navy-deep);
    font-size: 16px;
    line-height: 1.9;
    font-weight: 700;
}



/* ---------- max-width: 1024px ---------- */
@media screen and (max-width: 1024px) {
.header-nav-menu {
    gap: 18px;
}

.header-brand-title {
    font-size: 18px;
}

.header-brand-subtitle {
    font-size: 11px;
}

.header-hero-layout {
    gap: 48px;
}

}

/* ---------- max-width: 991px ---------- */
@media screen and (max-width: 991px) {
.lp-wrap {
    padding-left: 12px;
    padding-right: 12px;
}

.header-nav-inner {
    height: 60px;
    padding: 0 14px;
}

.header-nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 10000;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 10px 12px 14px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

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

/* Menu/close SVGs are <img>; currentColor does not inherit — tint white on transparent hero */
.header:not(.scrolled) .header-nav-toggle-icon-menu,
.header:not(.scrolled) .header-nav-toggle-icon-close {
    filter: brightness(0) invert(1);
}

.header.mobile-menu-open .header-nav-menu {
    display: flex;
}

.header,
.header-nav-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.header-nav-link {
    color: #45556c;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.header-nav-link:hover {
    background: #f8fafc;
}

.header-nav-cta-button {
    margin-top: 8px;
    width: 100%;
    background: #0f172b;
    color: #fff !important;
    border: 1px solid #94a3b8;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
    box-shadow: 0 2px 0 #64748b;
    cursor: pointer;
}

.header-hero-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 92px 0 40px;
}

.header-hero-badges {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.header-hero-title-primary,
.header-hero-title-secondary {
    font-size: 34px;
    line-height: 1.2;
}

.header-hero-description {
    font-size: 15px;
    margin-bottom: 18px;
}

.header-hero-links-grid {
    margin-bottom: 1rem;
}

.header-curriculum-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.header-trial-card {
    width: 100%;
    max-width: 100%;
}

.header-trial-card-badge {
    left: 16px;
    right: 16px;
    top: -16px;
    font-size: 11px;
    padding: 6px;
}

.header-trial-card-content {
    margin: 40px 16px 0;
}

.header-trial-title {
    font-size: 18px;
}

.header-trial-status {
    font-size: 24px;
}

.header-trial-cta-button {
    font-size: 15px;
    padding: 14px 0;
}

.splash-testimonials-wrap {
    padding: 0 0 36px;
}

.splash-testimonials-section {
    padding: 42px 16px 30px;
}

.splash-quote-main {
    font-size: 20px;
    line-height: 1.5;
}

.splash-info-grid {
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}

}

/* ---------- max-width: 768px ---------- */
@media screen and (max-width: 768px) {
.lesson-structure {
    padding: 12px 12px 12px;
}

.lesson-structure__inner {
    max-width: 100%;
}

.lesson-flow__title {
    text-align: center;
    font-size: 26px;
    line-height: 1.4;
}

.lesson-flow__title .sub {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.5;
}

.lesson-flow__lead {
    margin: 20px 0 22px;
    font-size: 14px;
    line-height: 1.85;
}

.flow-table__grid {
    grid-template-columns: 37% 31.5% 31.5%;
}

.flow-table__header > div {
    padding: 11px 10px;
    font-size: 12.5px;
}

.flow-table__row {
    min-height: auto;
}

.flow-table__step {
    gap: 10px;
    padding: 20px 10px;
}

.flow-table__step-no {
    min-width: 24px;
    font-size: 44px;
}

.flow-table__step-title {
    font-size: 13.5px;
    line-height: 1.6;
}

.flow-table__step-time {
    font-size: 11.5px;
}

.flow-table__cell {
    padding: 20px 10px;
    font-size: 12px;
    line-height: 1.8;
}

.unit-section {
    margin-top: 52px;
}

.unit-section__title {
    text-align: left;
    font-size: 22px;
    line-height: 1.5;
}

.unit-section__lead {
    margin: 14px 0 22px;
    font-size: 14px;
    line-height: 1.85;
}

.unit-flow {
    grid-template-columns: 1fr;
    gap: 10px;
}

.unit-flow__arrow {
    font-size: 20px;
    display: inline-flex;
    transform: rotate(90deg);
    transform-origin: center;
}

.unit-card {
    padding: 18px 18px 20px;
}

.unit-card__head {
    gap: 12px;
    padding-bottom: 12px;
}

.unit-card__label {
    height: 32px;
    padding: 0 12px;
    font-size: 12.5px;
}

.unit-card__title {
    font-size: 15px;
    line-height: 1.55;
}

.unit-card__list {
    margin-top: 14px;
    padding-left: 20px;
}

.unit-card__list li {
    margin: 6px 0;
    font-size: 13px;
    line-height: 1.8;
}

.unit-section__note {
    margin-top: 18px;
    padding: 18px 16px;
    font-size: 14px;
    line-height: 1.85;
}

/* ----- Former @media (max-width: 767px) — viewport ≤768 via link media ----- */

.desktop-view {
    display: none !important;
}

.mobile-view {
    display: block !important;
}

.wrapper {
    width: 100%;
    overflow-x: hidden;
}

.lp-wrap {
    padding-left: 12px;
    padding-right: 12px;
}

.splash-testimonials-wrap,
.splash-before-after-wrap {
    padding-left: 0;
    padding-right: 0;
}

.splash-testimonials-section,
.splash-inline-7 {
    padding: 36px 16px 28px;
}

.splash-quote-main,
.splash-section-title-lg,
.splash-inline-8,
.splash-inline-15 {
    font-size: 22px;
    line-height: 1.45;
}

.splash-intro-copy,
.splash-inline-9 {
    font-size: 13px;
    line-height: 1.75;
    text-align: justify;
}

.splash-ba-row {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
}

.splash-ba-col {
    flex-direction: column;
    align-items: flex-start;
}

.splash-ba-arrow-wrap {
    justify-content: center;
    padding: 0;
    transform: rotate(90deg);
}

.splash-ba-num {
    font-size: 36px;
}

.splash-cmp-scroll {
    padding: 0 8px;
}

.splash-cmp-table {
    min-width: 760px;
}

.splash-inline-11 {
    padding: 56px 0 44px;
}

.splash-inline-13 {
    margin-bottom: 28px;
}

.splash-inline-18,
.splash-inline-31 {
    padding: 20px 16px;
}

.splash-inline-24 {
    flex-wrap: wrap;
    justify-content: center;
}

.splash-inline-36 {
    font-size: 38px;
    line-height: 1;
}

.splash-attorney-wrap {
    padding: 44px 16px 36px;
}

.splash-spacer-48 {
    height: 22px;
}

.splash-attorney-title {
    font-size: clamp(12px, 0.42rem + 2.65vw, 19px);
    line-height: 1.4;
}

.splash-attorney-title-line {
    display: block;
}

/* Border only under the text, not full heading width */
.splash-attorney-title .splash-attorney-title-underline {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}

.splash-attorney-panel {
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
}

.splash-attorney-info-col {
    width: 100%;
}

.splash-attorney-name {
    font-size: 19px;
    margin-bottom: 10px;
}

.splash-attorney-label {
    font-size: 13px;
}

.splash-attorney-list {
    font-size: 12px;
    line-height: 1.75;
    gap: 4px;
}

.splash-attorney-message-card {
    padding: 18px 14px;
    border-left-width: 3px;
}

.splash-attorney-message-head {
    margin-bottom: 10px;
}

.splash-attorney-message-text {
    font-size: 12px;
    line-height: 1.8;
}

.splash-attorney-message-text-first {
    margin-bottom: 10px;
}

/* Instructors section: keep first headline phrase on one line */
#instructors .splash-instructors-title-top {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(11px, 0.28rem + 3.6vw, 20px);
    line-height: 1.25;
    vertical-align: baseline;
}

.footer-wrap {
    padding: 36px 16px 0;
}

.footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin-bottom: 24px;
}

.footer-grid > div:first-child {
    grid-column: 1 / -1;
}

.footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

#testimonial-track > .splash-testimonial-card {
    flex-basis: 100cqi !important;
    width: 100cqi !important;
    max-width: 100cqi !important;
}

}

/* ---------- max-width: 480px ---------- */
@media screen and (max-width: 480px) {
.lesson-structure {
    padding: 12px 12px 12px;
}

.lesson-flow__title {
    font-size: 23px;
}

.lesson-flow__title .sub {
    font-size: 14.5px;
}

.lesson-flow__lead {
    font-size: 13px;
}

.flow-table__grid {
    grid-template-columns: 38% 31% 31%;
}

.flow-table__header > div {
    padding: 10px 8px;
    font-size: 11.5px;
}

.flow-table__step {
    gap: 6px;
    padding: 16px 8px;
}

.flow-table__step-no {
    font-size: 38px;
    min-width: 20px;
}

.flow-table__step-title {
    font-size: 12.5px;
}

.flow-table__step-time {
    font-size: 11px;
}

.flow-table__cell {
    padding: 16px 8px;
    font-size: 11px;
    line-height: 1.75;
}

.unit-section__title {
    font-size: 20px;
}

.unit-section__lead {
    font-size: 13px;
}

.unit-card {
    padding: 16px 14px 18px;
}

.unit-card__label {
    height: 30px;
    font-size: 12px;
}

.unit-card__title {
    font-size: 14px;
}

.unit-card__list li {
    font-size: 12.5px;
}

.unit-section__note {
    font-size: 13px;
}

}

/* ===== Legal LP revision v1.1 additions ===== */
.header-hero-badge-tertiary {
    background: #1d293de6;
    border: 1px solid rgba(187, 77, 0, 0.5);
    color: #fee685;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
}

.splash-source-note {
    margin-top: 1.25rem;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

.splash-source-note a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.splash-source-note a:hover {
    color: #bb4d00;
}

.splash-price-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.series2-price-note {
    margin: 0;
    padding: 0 4px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.splash-trial-tutor-note {
    margin: 12px 0 16px;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

a.header-trial-cta-button,
a.splash-inline-10,
a.splash-trial-card-cta {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.splash-trial-card-cta {
    margin-top: 8px;
    font-size: 15px !important;
    padding: 14px 28px !important;
}

.curriculum-series-wrap {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.series-block {
    background: #fff;
    border: 2px solid #bfdbfe;
    box-shadow: 0 10px 24px rgba(15, 23, 43, 0.06);
    padding: 1.75rem 1.5rem 1.5rem;
}

.series-block--primary {
    border-color: #3b82f6;
}

.series-block--soon {
    border-color: #cbd5e1;
    background: #f8fafc;
    opacity: 0.96;
}

.series-block__header {
    margin-bottom: 1.25rem;
}

.series-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    margin-bottom: 0.75rem;
}

.series-badge--soon {
    background: #e2e8f0;
    color: #334155;
    border: 1px solid #94a3b8;
}

.series-block__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172b;
    line-height: 1.45;
    margin: 0 0 0.5rem;
}

.series-block__tagline {
    font-size: 0.95rem;
    color: #1e3a5f;
    font-weight: 600;
    margin: 0 0 0.35rem;
    line-height: 1.55;
}

.series-block__meta {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.series-block__lead,
.series-block__recommend {
    font-size: 0.925rem;
    color: #334155;
    line-height: 1.7;
    margin: 0 0 0.85rem;
}

.series-units {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.series-unit {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.85rem;
}

.series-unit__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172b;
    margin: 0 0 0.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.series-unit__label {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    letter-spacing: 0.02em;
}

.series-block--soon .series-unit__label {
    background: #64748b;
}

.series-unit__body {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
}

.series-block--compress .series-unit__body {
    display: none;
}

@media screen and (max-width: 768px) {
    .series-block {
        padding: 1.25rem 1rem 1.1rem;
    }

    .series-block__title {
        font-size: 1.05rem;
    }

    .header-hero-badge-tertiary {
        font-size: 12px;
        padding: 5px 12px;
    }
}

@media screen and (max-width: 480px) {
    .header-hero-title-primary,
    .header-hero-title-secondary {
        font-size: 28px;
    }

    .series-block__title {
        font-size: 0.98rem;
    }

    .series-unit__body {
        font-size: 0.85rem;
    }

    .splash-trial-card-cta {
        width: 100%;
        font-size: 14px !important;
        padding: 12px 16px !important;
    }
}
