:root {
    --blue-950: #061a3a;
    --blue-900: #082653;
    --blue-800: #0a3f87;
    --blue-700: #075dc9;
    --blue-600: #0b6ef3;
    --blue-500: #2390ff;
    --blue-400: #4aa8ff;
    --blue-300: #89cbff;
    --blue-200: #b9e2ff;
    --blue-100: #e3f3ff;
    --blue-50: #f4faff;
    --white: #ffffff;
    --ink: var(--blue-950);
    --ink-soft: rgba(6, 26, 58, 0.72);
    --line: rgba(7, 93, 201, 0.14);
    --line-strong: rgba(7, 93, 201, 0.24);
    --glass: rgba(255, 255, 255, 0.76);
    --shadow-sm: 0 14px 40px rgba(8, 63, 135, 0.08);
    --shadow-md: 0 24px 64px rgba(8, 63, 135, 0.12);
    --shadow-lg: 0 36px 100px rgba(8, 63, 135, 0.16);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --container: 1180px;
    --transition: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 108px;
    font-size: 16px;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(137, 203, 255, 0.26), transparent 28rem),
        radial-gradient(circle at 92% 24%, rgba(185, 226, 255, 0.34), transparent 30rem),
        var(--white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

body::selection {
    color: var(--white);
    background: var(--blue-600);
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--ink);
    font-family: inherit;
    font-weight: 760;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

h1 span,
h2 span {
    color: var(--blue-600);
}

:focus-visible {
    outline: 3px solid rgba(35, 144, 255, 0.4);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 0.8rem 1rem;
    color: var(--white);
    background: var(--blue-900);
    border-radius: 12px;
    transform: translateY(-150%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.container-site {
    width: min(calc(100% - 3rem), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 7rem 0;
}

.section-soft {
    background: linear-gradient(180deg, var(--blue-50), rgba(227, 243, 255, 0.64));
    border-block: 1px solid rgba(7, 93, 201, 0.08);
}

.glass-panel {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--blue-700);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.section-label::before {
    width: 1.75rem;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 999px;
}

.section-label-light {
    color: rgba(255, 255, 255, 0.82);
}

.label-dot {
    width: 0.48rem;
    height: 0.48rem;
    background: var(--blue-500);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(35, 144, 255, 0.12);
}

.section-label:has(.label-dot)::before {
    display: none;
}

.section-heading {
    margin-bottom: 3.5rem;
}

.section-heading h2,
.about-intro-title h2,
.connect-copy h2,
.purchase-copy h2 {
    margin-bottom: 1.15rem;
    font-size: clamp(2.25rem, 4.5vw, 4.25rem);
}

.section-heading p,
.about-intro-copy p,
.connect-copy > p,
.page-hero-copy > p {
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.8;
}

.section-heading-centered {
    max-width: 790px;
    margin-inline: auto;
    text-align: center;
}

.section-heading-centered .section-label {
    justify-content: center;
}

.section-heading-split {
    display: grid;
    grid-template-columns: 1.05fr 0.8fr;
    align-items: end;
    gap: 5rem;
}

.section-heading-split h2,
.section-heading-split p {
    margin-bottom: 0;
}

.button {
    display: inline-flex;
    min-height: 3.45rem;
    padding: 0.92rem 1.4rem;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.button svg,
.text-link svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button:hover svg,
.text-link:hover svg {
    transform: translateX(4px);
}

.button-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    box-shadow: 0 14px 30px rgba(11, 110, 243, 0.24);
}

.button-primary:hover {
    color: var(--white);
    box-shadow: 0 18px 38px rgba(11, 110, 243, 0.32);
}

.button-secondary {
    color: var(--blue-800);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--line-strong);
}

.button-secondary:hover {
    color: var(--blue-700);
    background: var(--white);
    border-color: rgba(11, 110, 243, 0.34);
}

.button-white {
    color: var(--blue-800);
    background: var(--white);
    box-shadow: 0 14px 32px rgba(6, 26, 58, 0.18);
}

.button-white:hover {
    color: var(--blue-600);
    background: var(--blue-50);
}

.button-small {
    min-height: 2.85rem;
    padding: 0.78rem 1.15rem;
    font-size: 0.83rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--blue-700);
    font-weight: 800;
}

.center-action {
    margin-top: 2.6rem;
    text-align: center;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 1rem 0;
    transition: padding var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
    padding: 0.65rem 0;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(7, 93, 201, 0.1);
    box-shadow: 0 10px 34px rgba(8, 63, 135, 0.06);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.navbar {
    padding: 0;
}

.nav-shell {
    min-height: 4.15rem;
    padding: 0.48rem 0.62rem 0.48rem 0.72rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    box-shadow: 0 14px 44px rgba(8, 63, 135, 0.08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.site-header.is-scrolled .nav-shell {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    width: 2.95rem;
    height: 2.95rem;
    overflow: hidden;
    background: linear-gradient(145deg, var(--white), var(--blue-100));
    border: 1px solid var(--line);
    border-radius: 50%;
    place-items: center;
    box-shadow: 0 8px 22px rgba(8, 63, 135, 0.12);
}

.brand-mark img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-name {
    color: var(--blue-900);
    font-size: 1.16rem;
    font-weight: 760;
    letter-spacing: -0.045em;
}

.brand-name strong {
    color: var(--blue-600);
    font-weight: 850;
}

.brand-subtitle {
    margin-top: 0.2rem;
    color: rgba(6, 26, 58, 0.58);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.navbar-nav {
    gap: 0.18rem;
}

.nav-link {
    position: relative;
    padding: 0.72rem 0.9rem !important;
    color: rgba(6, 26, 58, 0.68);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 750;
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-700);
    background: var(--blue-100);
}

.nav-cta-item {
    margin-left: 0.42rem;
}

.navbar-toggler {
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    box-shadow: none !important;
}

.navbar-toggler span {
    display: block;
    width: 1.1rem;
    height: 2px;
    margin: 0.23rem auto;
    background: var(--blue-800);
    border-radius: 999px;
}

/* Home hero */
.home-hero {
    position: relative;
    padding: 10.5rem 0 4.8rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 2rem;
    right: -12rem;
    width: 44rem;
    height: 44rem;
    background: radial-gradient(circle, rgba(137, 203, 255, 0.42), rgba(227, 243, 255, 0.08) 55%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 5rem;
}

.hero-copy {
    max-width: 660px;
}

.hero-copy h1,
.page-hero-copy h1 {
    margin-bottom: 1.45rem;
    overflow: visible;
    font-size: clamp(3.4rem, 6.3vw, 6.25rem);
    letter-spacing: -0.058em;
}

.hero-line {
    display: block;
    width: fit-content;
    max-width: calc(100% + 0.18em);
    overflow: visible;
}

.hero-line-ink {
    color: var(--ink);
}

.hero-line-accent,
.page-hero-copy h1 > span {
    display: inline-block;
    padding-inline-end: 0.18em;
    margin-inline-end: -0.18em;
    overflow: visible;
    background: linear-gradient(100deg, var(--blue-700), var(--blue-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    color: transparent;
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 2rem;
    color: var(--ink-soft);
    font-size: clamp(1.12rem, 2vw, 1.32rem);
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-skills {
    display: flex;
    margin-top: 2.1rem;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.72rem;
    color: rgba(6, 26, 58, 0.58);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-skills i {
    width: 0.3rem;
    height: 0.3rem;
    background: var(--blue-300);
    border-radius: 50%;
}

.hero-product {
    position: relative;
}

.product-card {
    position: relative;
    min-height: 550px;
    padding: 1.2rem;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(227, 243, 255, 0.72)),
        var(--white);
    border-color: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.product-card::before {
    position: absolute;
    inset: auto -8rem -12rem auto;
    width: 26rem;
    height: 26rem;
    content: "";
    background: radial-gradient(circle, rgba(35, 144, 255, 0.3), transparent 70%);
    border-radius: 50%;
}

.product-card-header {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 0.35rem 0.45rem;
    align-items: center;
    justify-content: space-between;
    color: var(--blue-900);
    font-size: 0.78rem;
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    padding: 0.42rem 0.7rem;
    align-items: center;
    gap: 0.45rem;
    color: var(--blue-700);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.status-pill i {
    width: 0.45rem;
    height: 0.45rem;
    background: var(--blue-500);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(35, 144, 255, 0.12);
}

.logo-stage {
    position: relative;
    display: grid;
    min-height: 420px;
    place-items: center;
}

.logo-stage::before {
    position: absolute;
    width: min(78%, 360px);
    aspect-ratio: 1;
    content: "";
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 50%;
    box-shadow: 0 24px 64px rgba(8, 63, 135, 0.12);
}

.logo-stage img {
    position: relative;
    z-index: 2;
    width: min(82%, 385px);
    filter: drop-shadow(0 24px 26px rgba(8, 63, 135, 0.12));
}

.logo-orbit {
    position: absolute;
    border: 1px solid rgba(11, 110, 243, 0.18);
    border-radius: 50%;
}

.logo-orbit-one {
    width: 82%;
    aspect-ratio: 1;
}

.logo-orbit-two {
    width: 64%;
    aspect-ratio: 1;
    border-style: dashed;
}

.input-pills {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

.input-pills span {
    display: inline-flex;
    min-height: 3.2rem;
    padding: 0.65rem 0.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--blue-800);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
}

.input-pills svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-summary {
    position: relative;
    display: grid;
    margin-top: 4rem;
    padding: 1.35rem 1.6rem;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-summary > div {
    display: grid;
    padding: 0.4rem 1.4rem;
    gap: 0.18rem;
}

.hero-summary > div + div {
    border-left: 1px solid var(--line);
}

.hero-summary strong {
    color: var(--blue-800);
    font-size: 0.9rem;
}

.hero-summary span {
    color: var(--ink-soft);
    font-size: 0.78rem;
    line-height: 1.5;
}

/* Website update */
.site-update {
    position: relative;
    padding: 0 0 4rem;
}

.site-update-card {
    display: flex;
    padding: 1.5rem 1.7rem;
    align-items: flex-start;
    gap: 1.15rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(227, 243, 255, 0.8)),
        var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.site-update-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(11, 110, 243, 0.22);
    font-size: 1.25rem;
    line-height: 1;
    place-items: center;
}

.site-update-label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--blue-700);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.site-update-card h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    letter-spacing: -0.035em;
}

.site-update-card p {
    max-width: 780px;
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* Support cards */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.simple-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 34px rgba(8, 63, 135, 0.07);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.simple-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-icon {
    display: grid;
    width: 3.1rem;
    height: 3.1rem;
    margin-bottom: 1.4rem;
    color: var(--blue-600);
    background: var(--blue-100);
    border-radius: 15px;
    place-items: center;
}

.card-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.simple-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.simple-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

/* Flashcard practice highlight */
.flashcard-callout {
    display: grid;
    margin: -1rem 0 2rem;
    padding: 1.3rem 1.45rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.35rem;
    background: linear-gradient(135deg, rgba(227, 243, 255, 0.88), rgba(255, 255, 255, 0.96));
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(8, 63, 135, 0.07);
}

.flashcard-visual {
    position: relative;
    width: 5.4rem;
    height: 4.8rem;
    flex: 0 0 auto;
}

.flashcard-sheet {
    position: absolute;
    display: grid;
    width: 4.7rem;
    height: 3.55rem;
    padding: 0.45rem;
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(8, 63, 135, 0.12);
    place-items: center;
}

.flashcard-sheet-back {
    top: 0.25rem;
    left: 0.15rem;
    background: var(--blue-100);
    transform: rotate(-8deg);
}

.flashcard-sheet-front {
    right: 0.1rem;
    bottom: 0.15rem;
    transform: rotate(4deg);
}

.flashcard-sheet-front svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.flashcard-sheet-front path {
    fill: none;
    stroke: var(--blue-300);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.flashcard-sheet-front ellipse {
    fill: var(--blue-600);
}

.flashcard-sheet-front path:last-child {
    stroke: var(--blue-600);
    stroke-width: 3;
}

.flashcard-callout-copy h3 {
    margin-bottom: 0.35rem;
    font-size: 1.28rem;
    letter-spacing: -0.035em;
}

.flashcard-callout-copy p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.65;
}

.flashcard-label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--blue-700);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.flashcard-tags {
    display: flex;
    max-width: 220px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.flashcard-tags span,
.practice-kind,
.mode-type-pill {
    display: inline-flex;
    padding: 0.43rem 0.65rem;
    align-items: center;
    color: var(--blue-700);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 820;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Practice cards */
.practice-section {
    background: var(--white);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.practice-card {
    display: flex;
    grid-column: span 4;
    overflow: hidden;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.practice-card-wide {
    grid-column: span 6;
}

.practice-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.practice-visual {
    padding: 1rem;
    color: var(--blue-600);
    background: linear-gradient(145deg, var(--blue-100), var(--blue-50));
    border-bottom: 1px solid var(--line);
}

.visual-runner,
.visual-chords {
    background: linear-gradient(145deg, #d8efff, var(--blue-50));
}

.visual-rhythm {
    background: linear-gradient(145deg, #e6f5ff, #d8efff);
}

.visual-song,
.visual-scales {
    background: linear-gradient(145deg, var(--blue-50), #d9efff);
}

.visual-window {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(8, 63, 135, 0.1);
}

.visual-toolbar {
    display: flex;
    min-height: 2.6rem;
    padding: 0 0.85rem;
    align-items: center;
    gap: 0.38rem;
    color: rgba(6, 26, 58, 0.55);
    border-bottom: 1px solid var(--line);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.visual-toolbar i {
    width: 0.45rem;
    height: 0.45rem;
    background: var(--blue-200);
    border-radius: 50%;
}

.visual-toolbar i:nth-child(2) {
    background: var(--blue-300);
}

.visual-toolbar i:nth-child(3) {
    background: var(--blue-500);
}

.visual-toolbar span {
    margin-left: auto;
}


.runner-mode-tabs {
    display: flex;
    padding: 0.65rem 0.8rem 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.runner-mode-tabs span {
    display: inline-flex;
    min-height: 1.8rem;
    padding: 0.35rem 0.7rem;
    align-items: center;
    color: rgba(6, 26, 58, 0.58);
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 800;
}

.runner-mode-tabs .is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(11, 110, 243, 0.2);
}

.visual-runner svg {
    min-height: 198px !important;
}

.practice-visual svg {
    width: 100%;
    min-height: 195px;
}

.practice-card-wide .practice-visual svg {
    min-height: 235px;
}

.staff-lines path,
.staff-lines {
    fill: none;
    stroke: rgba(7, 93, 201, 0.24);
    stroke-width: 2;
}

.note-shape ellipse,
.note-shape-soft ellipse,
.runner-note ellipse,
.chord-stack ellipse {
    fill: currentColor;
}

.note-shape path,
.note-shape-soft path,
.runner-note path,
.chord-stack path {
    fill: none;
    stroke: currentColor;
    stroke-width: 5;
    stroke-linecap: round;
}

.note-shape-soft,
.runner-note-two {
    color: var(--blue-400);
}

.answer-key {
    fill: var(--blue-100);
    stroke: rgba(7, 93, 201, 0.16);
}

.answer-line {
    fill: none;
    stroke: var(--blue-500);
    stroke-width: 5;
    stroke-linecap: round;
}

.target-line,
.playhead {
    fill: none;
    stroke: var(--blue-500);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 8 8;
}

.runner-note-one {
    color: var(--blue-700);
}

.runner-note-three {
    color: var(--blue-300);
}

.motion-line,
.motion-arrow {
    fill: none;
    stroke: var(--blue-300);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.play-button {
    fill: var(--blue-600);
}

.play-icon {
    fill: var(--white);
}

.chord-stack {
    color: var(--blue-700);
}

.mini-keys rect:first-child {
    fill: var(--white);
    stroke: var(--line-strong);
}

.mini-keys path {
    fill: none;
    stroke: var(--line-strong);
    stroke-width: 1.4;
}

.mini-keys .active-key {
    fill: var(--blue-200);
    stroke: none;
}


.rhythm-staff path {
    fill: none;
    stroke: rgba(7, 93, 201, 0.2);
    stroke-width: 2;
}

.time-signature text {
    fill: var(--blue-800);
    font-size: 38px;
    font-weight: 820;
    text-anchor: middle;
}

.rhythm-note ellipse {
    fill: var(--blue-600);
}

.rhythm-note path {
    fill: none;
    stroke: var(--blue-600);
    stroke-width: 5;
    stroke-linecap: round;
}

.rhythm-note-two ellipse,
.rhythm-note-two path {
    fill: var(--blue-400);
    stroke: var(--blue-400);
}

.rhythm-bar {
    fill: none;
    stroke: var(--blue-700);
    stroke-width: 4;
}

.meter-pills rect {
    fill: var(--blue-100);
    stroke: rgba(7, 93, 201, 0.13);
}

.meter-pills text {
    fill: var(--blue-700);
    font-size: 12px;
    font-weight: 850;
    text-anchor: middle;
}

.scale-path {
    fill: none;
    stroke: var(--blue-200);
    stroke-width: 8;
    stroke-linecap: round;
}

.scale-dots circle {
    fill: var(--blue-600);
    stroke: var(--white);
    stroke-width: 5;
}

.finger-labels {
    fill: var(--blue-800);
    font-size: 15px;
    font-weight: 800;
    text-anchor: middle;
}

.practice-copy {
    display: flex;
    padding: 1.8rem 1.8rem 2rem;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.practice-eyebrow {
    display: flex;
    width: 100%;
    margin-bottom: 0.85rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.practice-eyebrow .practice-number {
    margin-bottom: 0;
}

.practice-kind {
    color: var(--blue-700);
    background: var(--blue-100);
    border-color: rgba(7, 93, 201, 0.1);
}

.practice-number {
    display: inline-flex;
    margin-bottom: 0.85rem;
    color: var(--blue-500);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.15em;
}

.practice-card h3,
.mode-detail h3 {
    margin-bottom: 0.75rem;
    font-size: 1.55rem;
}

.practice-card p,
.mode-detail p {
    margin-bottom: 1.1rem;
    color: var(--ink-soft);
    line-height: 1.72;
}

.practice-meta {
    margin-top: auto;
    color: var(--blue-700);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Connection */
.connect-section {
    padding-top: 2rem;
}

.connect-panel {
    display: grid;
    padding: clamp(2.3rem, 5vw, 4.5rem);
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
    gap: 4.5rem;
    background: linear-gradient(145deg, var(--blue-100), rgba(244, 250, 255, 0.88));
    border: 1px solid rgba(7, 93, 201, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.connect-copy h2 {
    font-size: clamp(2.35rem, 4.2vw, 4rem);
}

.connect-note {
    display: flex;
    margin-top: 1.4rem;
    padding: 0.9rem 1rem;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(6, 26, 58, 0.62);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    font-size: 0.78rem;
    line-height: 1.55;
}

.connect-note svg {
    width: 1.1rem;
    min-width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.12rem;
    fill: none;
    stroke: var(--blue-600);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.input-grid {
    display: grid;
    gap: 0.85rem;
}

.input-card {
    display: flex;
    padding: 1.2rem 1.3rem;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(8, 63, 135, 0.07);
}

.input-icon {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    min-width: 3.4rem;
    color: var(--blue-600);
    background: var(--blue-100);
    border-radius: 16px;
    place-items: center;
}

.input-icon svg {
    width: 2rem;
    height: 2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.input-card h3 {
    margin-bottom: 0.28rem;
    font-size: 1.05rem;
    letter-spacing: -0.025em;
}

.input-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

/* Practice controls and appearance */
.customize-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 14%, rgba(137, 203, 255, 0.28), transparent 24rem),
        linear-gradient(180deg, var(--blue-50), rgba(255, 255, 255, 0.96));
    border-block: 1px solid rgba(7, 93, 201, 0.08);
}

.practice-tools-grid {
    display: grid;
    margin-bottom: 1.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.practice-tool-card {
    display: grid;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    grid-template-rows: auto 1fr;
    gap: 1.6rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.tool-card-copy h3,
.theme-picker-panel h3 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.65rem, 2.7vw, 2.25rem);
    letter-spacing: -0.04em;
}

.tool-card-copy p,
.theme-picker-panel > p {
    margin-bottom: 0;
    color: var(--ink-soft);
    line-height: 1.75;
}

.tool-kicker {
    display: inline-flex;
    margin-bottom: 0.85rem;
    align-items: center;
    gap: 0.55rem;
    color: var(--blue-700);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tool-kicker svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.metronome-interface,
.sound-interface {
    min-width: 0;
    padding: 1.2rem;
    align-self: end;
    background: linear-gradient(145deg, rgba(227, 243, 255, 0.9), rgba(244, 250, 255, 0.98));
    border: 1px solid var(--line);
    border-radius: 23px;
}

.tempo-row {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tempo-reading {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.tempo-reading strong {
    color: var(--blue-800);
    font-size: clamp(2.35rem, 5vw, 3.3rem);
    font-weight: 850;
    letter-spacing: -0.07em;
    line-height: 1;
}

.tempo-reading span,
.meter-reading span {
    color: rgba(6, 26, 58, 0.54);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.meter-reading {
    display: grid;
    text-align: right;
}

.meter-reading strong {
    color: var(--blue-700);
    font-size: 1.25rem;
    letter-spacing: -0.04em;
}

.beat-strip {
    --beat-count: 4;
    --cycle-duration: 2500ms;
    display: grid;
    min-height: 0.72rem;
    margin-bottom: 1.15rem;
    grid-template-columns: repeat(var(--beat-count), minmax(0, 1fr));
    gap: 0.42rem;
}

.beat-strip span {
    height: 0.62rem;
    background: var(--blue-200);
    border-radius: 999px;
    transform-origin: center;
    animation: metronomeBeat var(--cycle-duration) steps(1, end) infinite;
    animation-delay: var(--beat-delay, 0ms);
}

.beat-strip span.is-accent {
    background: var(--blue-600);
}

.beat-strip span.is-group-accent {
    background: var(--blue-400);
}

@keyframes metronomeBeat {
    0%, 12% {
        background: var(--blue-700);
        box-shadow: 0 0 0 5px rgba(35, 144, 255, 0.12);
        transform: scaleY(1.35);
    }
    13%, 100% {
        box-shadow: none;
        transform: scaleY(1);
    }
}

.tempo-control {
    display: grid;
    margin-bottom: 1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    color: rgba(6, 26, 58, 0.52);
    font-size: 0.64rem;
    font-weight: 800;
}

.tempo-control input {
    width: 100%;
    height: 1.3rem;
    margin: 0;
    cursor: pointer;
    accent-color: var(--blue-600);
}

.tempo-control input::-webkit-slider-runnable-track {
    height: 0.38rem;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-200));
    border-radius: 999px;
}

.tempo-control input::-webkit-slider-thumb {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: -0.39rem;
    background: var(--white);
    border: 4px solid var(--blue-600);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(8, 63, 135, 0.2);
    -webkit-appearance: none;
}

.tempo-control input::-moz-range-track {
    height: 0.38rem;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-200));
    border: 0;
    border-radius: 999px;
}

.tempo-control input::-moz-range-thumb {
    width: 0.9rem;
    height: 0.9rem;
    background: var(--white);
    border: 4px solid var(--blue-600);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(8, 63, 135, 0.2);
}

.meter-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
}

.meter-options button,
.theme-category-tabs button {
    min-width: 0;
    color: var(--blue-700);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 820;
    transition: transform var(--transition), color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.meter-options button {
    min-height: 2.25rem;
    padding: 0.45rem 0.3rem;
    font-size: 0.72rem;
}

.meter-options button:hover,
.meter-options button:focus-visible,
.theme-category-tabs button:hover,
.theme-category-tabs button:focus-visible {
    border-color: var(--blue-300);
    transform: translateY(-1px);
}

.meter-options button.is-active,
.theme-category-tabs button.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(11, 110, 243, 0.2);
}

.sound-interface {
    display: grid;
    gap: 1rem;
}

.sound-wave {
    display: flex;
    min-height: 5.1rem;
    padding: 0.65rem 1rem;
    align-items: center;
    justify-content: center;
    gap: 0.36rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 18px;
}

.sound-wave i {
    width: 0.42rem;
    height: 24%;
    background: linear-gradient(180deg, var(--blue-400), var(--blue-700));
    border-radius: 999px;
    animation: soundWave 1.9s ease-in-out infinite;
}

.sound-wave i:nth-child(2),
.sound-wave i:nth-child(8) { height: 42%; animation-delay: -0.35s; }
.sound-wave i:nth-child(3),
.sound-wave i:nth-child(7) { height: 66%; animation-delay: -0.7s; }
.sound-wave i:nth-child(4),
.sound-wave i:nth-child(6) { height: 88%; animation-delay: -1.05s; }
.sound-wave i:nth-child(5) { height: 100%; animation-delay: -1.4s; }

.sound-wave[data-sound="Bright"] i {
    background: linear-gradient(180deg, var(--blue-300), var(--blue-600));
    animation-duration: 1.25s;
}

.sound-wave[data-sound="Soft"] i {
    opacity: 0.66;
    animation-duration: 2.8s;
    transform: scaleY(0.78);
}

@keyframes soundWave {
    0%, 100% { transform: scaleY(0.7); }
    50% { transform: scaleY(1); }
}

.sound-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.sound-option {
    display: grid;
    min-width: 0;
    padding: 0.75rem 0.55rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.sound-option:hover,
.sound-option:focus-visible {
    border-color: var(--blue-300);
    transform: translateY(-2px);
}

.sound-option.is-active {
    background: var(--white);
    border-color: var(--blue-400);
    box-shadow: 0 10px 24px rgba(8, 63, 135, 0.1);
}

.sound-option-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    color: var(--blue-700);
    background: var(--blue-100);
    border-radius: 10px;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 900;
}

.sound-option.is-active .sound-option-icon {
    color: var(--white);
    background: var(--blue-600);
}

.sound-option strong,
.sound-option small {
    display: block;
    min-width: 0;
}

.sound-option strong {
    font-size: 0.82rem;
}

.sound-option small {
    overflow: hidden;
    color: rgba(6, 26, 58, 0.54);
    font-size: 0.59rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sound-selection {
    display: flex;
    margin: 0;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.42rem;
    color: rgba(6, 26, 58, 0.6);
    font-size: 0.72rem;
}

.sound-selection strong {
    color: var(--blue-700);
}

.sound-selection span {
    width: 100%;
    font-size: 0.66rem;
}

.theme-studio {
    display: grid;
    padding: clamp(1.1rem, 2.5vw, 1.75rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: stretch;
    gap: 1.35rem;
    background: linear-gradient(145deg, rgba(217, 239, 255, 0.94), rgba(244, 250, 255, 0.98));
    border: 1px solid rgba(7, 93, 201, 0.12);
    border-radius: 34px;
    box-shadow: var(--shadow-md);
}

.theme-picker-panel {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2.2rem);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 26px;
}

.selected-theme {
    display: grid;
    margin: 1.35rem 0 1.15rem;
    padding: 0.8rem 0.9rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.selected-theme-dot {
    width: 2.2rem;
    height: 2.2rem;
    background: #1e90ff;
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(8, 63, 135, 0.18);
}

.selected-theme small,
.selected-theme strong {
    display: block;
}

.selected-theme small {
    margin-bottom: 0.05rem;
    color: rgba(6, 26, 58, 0.52);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.selected-theme strong {
    font-size: 0.9rem;
}

.selected-theme code {
    padding: 0.35rem 0.5rem;
    color: var(--blue-800);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 0.68rem;
}

.theme-category-tabs {
    display: flex;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.theme-category-tabs button {
    min-height: 2rem;
    padding: 0.4rem 0.67rem;
    font-size: 0.64rem;
}

.theme-swatch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.theme-swatch {
    display: grid;
    min-width: 0;
    min-height: 4.35rem;
    padding: 0.58rem 0.48rem;
    align-content: center;
    justify-items: center;
    gap: 0.4rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.theme-swatch:hover,
.theme-swatch:focus-visible {
    background: var(--white);
    border-color: rgba(7, 93, 201, 0.3);
    box-shadow: 0 8px 18px rgba(8, 63, 135, 0.08);
    transform: translateY(-2px);
}

.theme-swatch.is-selected {
    background: var(--white);
    border-color: var(--blue-500);
    box-shadow: 0 0 0 2px rgba(35, 144, 255, 0.13), 0 10px 22px rgba(8, 63, 135, 0.1);
}

.theme-swatch > span {
    width: 1.65rem;
    height: 1.65rem;
    background: var(--swatch-color);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(6, 26, 58, 0.13), 0 5px 10px rgba(6, 26, 58, 0.12);
}

.theme-swatch small {
    display: -webkit-box;
    width: 100%;
    min-height: 1.4rem;
    overflow: hidden;
    font-size: 0.58rem;
    font-weight: 760;
    line-height: 1.18;
    text-align: center;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.theme-swatch-grid.is-scrollable {
    max-height: 22.5rem;
    padding-right: 0.25rem;
    overflow-y: auto;
    scrollbar-color: var(--blue-200) transparent;
    scrollbar-width: thin;
}

.theme-picker-hint {
    margin: 0.8rem 0 0;
    color: rgba(6, 26, 58, 0.52);
    font-size: 0.67rem;
    line-height: 1.55;
}

.app-preview-panel {
    display: flex;
    min-width: 0;
    padding: clamp(1.1rem, 2.5vw, 1.65rem);
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background:
        radial-gradient(circle at 50% 16%, rgba(137, 203, 255, 0.32), transparent 18rem),
        linear-gradient(145deg, var(--blue-950), var(--blue-800));
    border-radius: 26px;
}

.preview-heading {
    display: flex;
    width: 100%;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.preview-heading span {
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.preview-heading small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.63rem;
}

.phone-frame {
    --app-accent: #1e90ff;
    --app-accent-rgb: 30, 144, 255;
    --app-on-accent: #ffffff;
    --app-accent-deep: #0d6cc4;
    position: relative;
    width: min(100%, 322px);
    padding: 0.72rem;
    overflow: hidden;
    background: #07162f;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 38px;
    box-shadow: 0 30px 70px rgba(0, 18, 51, 0.42), inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.phone-speaker {
    position: absolute;
    top: 0.36rem;
    left: 50%;
    z-index: 3;
    width: 4rem;
    height: 0.26rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    transform: translateX(-50%);
}

.app-screen {
    overflow: hidden;
    color: #10243f;
    background: #f7fbff;
    border-radius: 30px;
}

.app-topbar {
    display: flex;
    min-height: 3.9rem;
    padding: 1rem 1rem 0.82rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--app-on-accent);
    background: linear-gradient(135deg, var(--app-accent-deep), var(--app-accent));
    transition: color 180ms ease, background 180ms ease;
}

.app-brand {
    font-size: 1rem;
    font-weight: 790;
    letter-spacing: -0.04em;
}

.app-brand strong {
    margin-right: 0.08rem;
    font-size: 1.15rem;
    font-weight: 900;
}

.app-settings-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    color: var(--app-on-accent);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    place-items: center;
}

.app-settings-icon svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-preview-content {
    padding: 0.9rem 0.85rem 0.7rem;
}

.app-session-row {
    display: flex;
    margin-bottom: 0.42rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.62rem;
}

.app-session-row span {
    color: #56677e;
    font-weight: 750;
}

.app-session-row strong {
    color: var(--app-accent-deep);
    transition: color 180ms ease;
}

.app-progress-track {
    height: 0.33rem;
    margin-bottom: 0.7rem;
    overflow: hidden;
    background: #e7edf5;
    border-radius: 999px;
}

.app-progress-track span {
    display: block;
    width: 66%;
    height: 100%;
    background: var(--app-accent);
    border-radius: inherit;
    transition: background 180ms ease;
}

.app-mode-tabs {
    display: grid;
    margin-bottom: 0.72rem;
    padding: 0.24rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
    background: #eaf0f7;
    border-radius: 10px;
}

.app-mode-tabs span {
    padding: 0.42rem 0.2rem;
    color: #687990;
    border-radius: 8px;
    font-size: 0.55rem;
    font-weight: 780;
    text-align: center;
}

.app-mode-tabs .is-active {
    color: var(--app-on-accent);
    background: var(--app-accent);
    box-shadow: 0 5px 12px rgba(var(--app-accent-rgb), 0.24);
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.app-note-card {
    padding: 0.65rem 0.7rem 0.7rem;
    background: var(--white);
    border: 1px solid rgba(var(--app-accent-rgb), 0.18);
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(25, 58, 96, 0.08);
    transition: border-color 180ms ease;
}

.app-card-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: #65778d;
    font-size: 0.51rem;
}

.app-card-label span {
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.app-card-label strong {
    color: var(--app-accent-deep);
    font-size: 0.5rem;
    transition: color 180ms ease;
}

.app-note-card svg {
    width: 100%;
    min-height: 104px;
}

.app-staff-lines path {
    fill: none;
    stroke: #c7d3e1;
    stroke-width: 1.3;
}

.app-preview-note ellipse {
    fill: var(--app-accent);
    transition: fill 180ms ease;
}

.app-preview-note path {
    fill: none;
    stroke: var(--app-accent);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke 180ms ease;
}

.app-answer-prompt {
    display: flex;
    min-height: 1.8rem;
    padding: 0.4rem 0.55rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    color: var(--app-accent-deep);
    background: rgba(var(--app-accent-rgb), 0.1);
    border-radius: 9px;
    font-size: 0.54rem;
    font-weight: 800;
    transition: color 180ms ease, background 180ms ease;
}

.app-answer-prompt i {
    width: 0.55rem;
    height: 0.55rem;
    background: var(--app-accent);
    border: 3px solid rgba(var(--app-accent-rgb), 0.2);
    border-radius: 50%;
    box-sizing: content-box;
    transition: background 180ms ease, border-color 180ms ease;
}

.app-mini-controls {
    display: grid;
    margin: 0.65rem 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.app-mini-controls span {
    display: flex;
    min-width: 0;
    padding: 0.36rem 0.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    overflow: hidden;
    color: #607188;
    background: #edf3f9;
    border-radius: 8px;
    font-size: 0.48rem;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-mini-controls em {
    overflow: hidden;
    font-style: normal;
    text-overflow: ellipsis;
}

.app-mini-controls i {
    display: grid;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.1rem;
    color: var(--app-on-accent);
    background: var(--app-accent);
    border-radius: 5px;
    place-items: center;
    font-size: 0.42rem;
    font-style: normal;
    transition: color 180ms ease, background 180ms ease;
}

.app-keyboard {
    position: relative;
    display: grid;
    height: 4.2rem;
    grid-template-columns: repeat(7, 1fr);
    overflow: hidden;
    background: #d5dfeb;
    border: 1px solid #c7d3df;
    border-radius: 10px;
}

.app-keyboard > span {
    background: var(--white);
    border-right: 1px solid #d0d9e4;
}

.app-keyboard > span:last-of-type {
    border-right: 0;
}

.app-keyboard > span.is-active {
    background: rgba(var(--app-accent-rgb), 0.32);
    box-shadow: inset 0 -5px 0 var(--app-accent);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.app-keyboard .black-key {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 8.5%;
    height: 58%;
    background: #152239;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(4, 17, 34, 0.3);
}

.black-key-1 { left: 9.9%; }
.black-key-2 { left: 24.1%; }
.black-key-3 { left: 52.8%; }
.black-key-4 { left: 67%; }
.black-key-5 { left: 81.3%; }

.app-bottom-nav {
    display: grid;
    padding: 0.5rem 0.7rem 0.65rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
    background: var(--white);
    border-top: 1px solid #e2e9f1;
}

.app-bottom-nav span {
    display: grid;
    justify-items: center;
    gap: 0.14rem;
    color: #7b899b;
    font-size: 0.46rem;
    font-weight: 760;
}

.app-bottom-nav i {
    font-size: 0.85rem;
    font-style: normal;
    line-height: 1;
}

.app-bottom-nav .is-active {
    color: var(--app-accent-deep);
    transition: color 180ms ease;
}

.preview-note {
    max-width: 330px;
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.62rem;
    line-height: 1.5;
    text-align: center;
}

/* Practice page settings summary */
.settings-summary-section {
    background: linear-gradient(180deg, var(--blue-50), rgba(227, 243, 255, 0.62));
    border-block: 1px solid rgba(7, 93, 201, 0.08);
}

.settings-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.settings-summary-card {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.settings-summary-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.1rem;
    color: var(--blue-600);
    background: var(--blue-100);
    border-radius: 14px;
    place-items: center;
}

.settings-summary-icon svg {
    width: 1.65rem;
    height: 1.65rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.settings-summary-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.25rem;
}

.settings-summary-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.7;
}


/* Routine */
.routine-section {
    padding-top: 5rem;
}

.routine-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.routine-grid::before {
    position: absolute;
    top: 2rem;
    right: 16.5%;
    left: 16.5%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--blue-300), transparent);
}

.routine-step {
    position: relative;
    padding: 1rem 2rem 0;
    text-align: center;
}

.routine-step > span {
    position: relative;
    z-index: 2;
    display: grid;
    width: 3.9rem;
    height: 3.9rem;
    margin: 0 auto 1.3rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
    border: 8px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(11, 110, 243, 0.22);
    place-items: center;
    font-weight: 850;
}

.routine-step h3 {
    margin-bottom: 0.55rem;
    font-size: 1.25rem;
}

.routine-step p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

/* Purchase */
.purchase-section {
    padding-top: 3rem;
}

.purchase-panel {
    position: relative;
    display: grid;
    padding: clamp(2.5rem, 6vw, 5.2rem);
    overflow: hidden;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 5rem;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 15%, rgba(137, 203, 255, 0.34), transparent 19rem),
        linear-gradient(135deg, var(--blue-900), var(--blue-600));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.purchase-panel::after {
    position: absolute;
    right: -8rem;
    bottom: -12rem;
    width: 28rem;
    height: 28rem;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.035), 0 0 0 7rem rgba(255, 255, 255, 0.025);
}

.purchase-copy,
.purchase-points {
    position: relative;
    z-index: 2;
}

.purchase-copy h2 {
    color: var(--white);
}

.purchase-copy p {
    max-width: 620px;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.78;
}

.purchase-points {
    display: grid;
    gap: 0.75rem;
}

.purchase-points > div {
    display: grid;
    padding: 1rem 1.1rem;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.purchase-points > div > span {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--blue-800);
    background: var(--blue-200);
    border-radius: 50%;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 900;
}

.purchase-points p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    line-height: 1.55;
}

.purchase-points strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--white);
    font-size: 0.9rem;
}

/* Shared page hero */
.page-hero {
    position: relative;
    padding: 10.5rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(227, 243, 255, 0.72), rgba(255, 255, 255, 0.35));
    border-bottom: 1px solid rgba(7, 93, 201, 0.08);
}

.page-hero::before {
    position: absolute;
    top: -12rem;
    right: -11rem;
    width: 36rem;
    height: 36rem;
    content: "";
    background: radial-gradient(circle, rgba(137, 203, 255, 0.4), transparent 68%);
    border-radius: 50%;
}

.page-hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.72fr;
    align-items: center;
    gap: 6rem;
}

.page-hero-copy {
    max-width: 720px;
}

.page-hero-copy h1 {
    font-size: clamp(3.2rem, 5.8vw, 5.6rem);
}

.page-hero-copy > p {
    max-width: 680px;
    margin-bottom: 1.8rem;
}

.page-logo-card {
    display: grid;
    min-height: 410px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.76);
    border-radius: var(--radius-lg);
    place-items: center;
}

.page-logo-card img {
    width: min(100%, 390px);
    filter: drop-shadow(0 22px 28px rgba(8, 63, 135, 0.13));
}

/* Practice details */
.detail-section {
    background: var(--white);
}

.mode-list {
    display: grid;
    gap: 1.3rem;
}

.mode-detail {
    display: grid;
    padding: 1.1rem;
    grid-template-columns: minmax(300px, 0.9fr) 1.1fr;
    align-items: center;
    gap: 3rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
}

.mode-detail-reverse .mode-image-slot {
    order: 2;
}

.mode-detail-reverse .mode-detail-copy {
    order: 1;
}

.mode-image-slot {
    display: grid;
    min-height: 310px;
    padding: 1.5rem;
    color: var(--blue-700);
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9), transparent 9rem),
        linear-gradient(145deg, var(--blue-100), var(--blue-50));
    border: 1px solid rgba(7, 93, 201, 0.09);
    border-radius: 22px;
    place-items: center;
    align-content: center;
    gap: 0.8rem;
    text-align: center;
}


.mode-image-slot-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: stretch;
    gap: 0.75rem;
}

.mode-image-mini {
    display: grid;
    min-width: 0;
    padding: 1rem 0.65rem;
    align-content: center;
    justify-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 18px;
}

.mode-image-mini .mode-symbol {
    width: 5.6rem;
    height: 5.6rem;
    border-width: 8px;
    font-size: 1.7rem;
}

.mode-image-mini > span:last-child {
    color: rgba(6, 26, 58, 0.58);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.mode-symbol-meter {
    font-size: 1.55rem;
    letter-spacing: -0.06em;
}

.mode-type-pill {
    width: fit-content;
    margin-bottom: 0.8rem;
    color: var(--blue-700);
    background: var(--blue-100);
    border-color: rgba(7, 93, 201, 0.1);
}

.mode-type-pill + .practice-number {
    display: block;
}

.mode-symbol {
    display: grid;
    width: 7rem;
    height: 7rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
    border: 10px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    box-shadow: 0 18px 36px rgba(11, 110, 243, 0.2);
    place-items: center;
    font-size: 2.4rem;
    font-weight: 850;
    line-height: 0.72;
}

.mode-symbol-stack {
    font-size: 1rem;
}

.mode-image-slot > span:last-child {
    color: rgba(6, 26, 58, 0.52);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mode-detail-copy {
    padding: 1.5rem 1.8rem;
}

.mode-detail h3 {
    font-size: 2rem;
}

.check-list-inline {
    display: flex;
    margin: 1.25rem 0 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.55rem;
    list-style: none;
}

.check-list-inline li {
    padding: 0.5rem 0.72rem;
    color: var(--blue-700);
    background: var(--blue-100);
    border: 1px solid rgba(7, 93, 201, 0.09);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.mini-cta-section {
    padding-top: 2rem;
}

.mini-cta {
    display: flex;
    padding: 2.2rem 2.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(145deg, var(--blue-100), var(--blue-50));
    border: 1px solid var(--line);
    border-radius: 28px;
}

.mini-cta h2 {
    max-width: 750px;
    margin-bottom: 0;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
}

/* About */
.about-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
}

.about-intro-title h2 {
    margin-bottom: 0;
    font-size: clamp(2.25rem, 4.1vw, 3.9rem);
}

.about-intro-copy p:last-child {
    margin-bottom: 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.principle-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.principle-card > span {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--blue-500);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.principle-card h3 {
    margin-bottom: 0.7rem;
    font-size: 1.3rem;
}

.principle-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.comparison-section {
    padding-top: 2rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.comparison-card {
    padding: clamp(2rem, 4vw, 3.5rem);
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.comparison-card-primary {
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-800), var(--blue-600));
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.comparison-card h2 {
    margin-bottom: 1.8rem;
    font-size: clamp(2rem, 3.5vw, 3.35rem);
}

.comparison-card-primary h2 {
    color: var(--white);
}

.comparison-card ul {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0.9rem;
    list-style: none;
}

.comparison-card li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--ink-soft);
}

.comparison-card li::before {
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.62rem;
    height: 0.62rem;
    content: "";
    background: var(--blue-500);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(35, 144, 255, 0.12);
}

.comparison-card-primary li {
    color: rgba(255, 255, 255, 0.8);
}

.comparison-card-primary li::before {
    background: var(--blue-200);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Contact */
.contact-topic-card {
    display: grid;
    padding: 2.2rem;
    gap: 1.1rem;
    background: rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-lg);
}

.contact-topic-icon {
    display: grid;
    width: 3.6rem;
    height: 3.6rem;
    margin-bottom: 0.4rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
    border-radius: 18px;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 850;
}

.contact-topic-card > div {
    display: grid;
    padding-top: 1rem;
    gap: 0.2rem;
    border-top: 1px solid var(--line);
}

.contact-topic-card strong {
    color: var(--blue-800);
}

.contact-topic-card span:not(.contact-topic-icon) {
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.contact-section {
    background: var(--blue-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
    align-items: start;
    gap: 1.2rem;
}

.contact-form-card {
    padding: clamp(1.5rem, 4vw, 3.3rem);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
}

.form-heading {
    margin-bottom: 2rem;
}

.form-heading h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.form-heading p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.form-heading p > span:first-child {
    color: var(--blue-600);
    font-weight: 850;
}

.inquiry-form {
    display: grid;
    gap: 1.15rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
}

.form-field {
    display: grid;
    gap: 0.48rem;
}

.form-field label {
    color: var(--blue-900);
    font-size: 0.78rem;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(8, 63, 135, 0.03);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-field input,
.form-field select {
    min-height: 3.45rem;
    padding: 0.82rem 0.95rem;
}

.form-field textarea {
    min-height: 10.5rem;
    padding: 0.9rem 0.95rem;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(6, 26, 58, 0.38);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    background: var(--blue-50);
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(35, 144, 255, 0.1);
}

.form-field .input-validation-error {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 4px rgba(7, 93, 201, 0.08);
}

.field-validation-error,
.validation-summary {
    color: var(--blue-800);
    font-size: 0.78rem;
    font-weight: 700;
}

.validation-summary {
    padding: 0.85rem 1rem;
    background: var(--blue-100);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
}

.validation-summary ul {
    margin: 0;
    padding-left: 1.1rem;
}

.validation-summary:empty {
    display: none;
}

.field-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.character-count {
    margin-left: auto;
    color: rgba(6, 26, 58, 0.46);
    font-size: 0.72rem;
}

.form-submit-row {
    display: flex;
    margin-top: 0.35rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.form-submit-row p {
    max-width: 470px;
    margin-bottom: 0;
    color: rgba(6, 26, 58, 0.54);
    font-size: 0.72rem;
    line-height: 1.55;
}

.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.success-message {
    display: grid;
    margin-bottom: 2rem;
    padding: 1rem 1.1rem;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    background: var(--blue-100);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
}

.success-message > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    color: var(--white);
    background: var(--blue-600);
    border-radius: 50%;
    place-items: center;
    font-weight: 900;
}

.success-message strong {
    color: var(--blue-800);
}

.success-message p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.contact-sidebar {
    display: grid;
    gap: 1.2rem;
}

.sidebar-card {
    padding: 2rem;
    border-radius: 28px;
}

.sidebar-card-blue {
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-800), var(--blue-600));
    box-shadow: var(--shadow-md);
}

.sidebar-card h2 {
    margin-bottom: 1.4rem;
    font-size: 1.75rem;
}

.sidebar-card-blue h2 {
    color: var(--white);
}

.sidebar-card-blue ul {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0.85rem;
    list-style: none;
}

.sidebar-card-blue li {
    display: grid;
    padding-top: 0.85rem;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
}

.sidebar-card-blue li span {
    color: var(--blue-200);
    font-size: 0.67rem;
    font-weight: 850;
}

.sidebar-card:not(.sidebar-card-blue) {
    background: rgba(255, 255, 255, 0.86);
}

.sidebar-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.3rem;
}

.sidebar-card > p {
    color: var(--ink-soft);
    font-size: 0.87rem;
}

.domain-card {
    display: grid;
    margin-top: 1.5rem;
    padding: 1rem;
    gap: 0.2rem;
    background: var(--blue-100);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.domain-card span {
    color: rgba(6, 26, 58, 0.48);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.domain-card strong {
    color: var(--blue-700);
}

/* Legal */
.legal-hero {
    padding: 10.5rem 0 4.2rem;
    background: linear-gradient(180deg, var(--blue-100), var(--white));
    border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(3rem, 5.5vw, 5rem);
}

.legal-hero p {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.legal-section {
    background: var(--blue-50);
}

.legal-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
}

.legal-aside {
    position: sticky;
    top: 7.5rem;
    display: grid;
    padding: 1rem 0;
    gap: 0.25rem;
}

.legal-aside > span {
    color: rgba(6, 26, 58, 0.46);
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.15em;
}

.legal-aside strong {
    color: var(--blue-800);
}

.legal-aside a {
    margin-top: 1.1rem;
    color: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 800;
}

.legal-content {
    padding: clamp(2rem, 5vw, 4rem);
    background: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-lg);
}

.legal-content section + section {
    margin-top: 2.2rem;
    padding-top: 2.2rem;
    border-top: 1px solid var(--line);
}

.legal-content h2 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.legal-content p {
    margin-bottom: 0;
    color: var(--ink-soft);
    line-height: 1.8;
}

.legal-content a {
    color: var(--blue-700);
    font-weight: 800;
}

/* Error */
.error-section {
    display: grid;
    min-height: 78vh;
    padding: 10rem 0 6rem;
    align-items: center;
}

.error-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 5rem;
}

.error-copy h1 {
    margin-bottom: 1rem;
    font-size: clamp(3rem, 6vw, 5.8rem);
}

.error-copy > p {
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.request-id {
    padding: 0.8rem 1rem;
    background: var(--blue-100);
    border-radius: 12px;
    font-size: 0.78rem !important;
}

.error-visual {
    position: relative;
    display: grid;
    min-height: 420px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--white), var(--blue-100));
    border-radius: var(--radius-lg);
    place-items: center;
}

.error-visual > span {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: var(--blue-400);
    font-size: 5rem;
}

.error-visual strong {
    position: relative;
    z-index: 2;
    color: var(--blue-600);
    font-size: clamp(5rem, 10vw, 9rem);
    letter-spacing: -0.08em;
}

.error-visual i {
    position: absolute;
    right: 10%;
    left: 10%;
    height: 1px;
    background: rgba(7, 93, 201, 0.2);
}

.error-visual i:nth-of-type(1) { top: 35%; }
.error-visual i:nth-of-type(2) { top: 42%; }
.error-visual i:nth-of-type(3) { top: 49%; }
.error-visual i:nth-of-type(4) { top: 56%; }
.error-visual i:nth-of-type(5) { top: 63%; }

/* Footer */
.site-footer {
    padding: 6rem 0 2rem;
    background: linear-gradient(180deg, var(--white), var(--blue-50));
    border-top: 1px solid rgba(7, 93, 201, 0.08);
}

.footer-callout {
    display: flex;
    margin-bottom: 4.5rem;
    padding: 2.3rem 2.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--blue-100);
    border: 1px solid var(--line);
    border-radius: 28px;
}

.footer-callout h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.footer-callout p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.footer-grid {
    display: grid;
    padding-bottom: 3.2rem;
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
    gap: 5rem;
}

.footer-brand > p {
    max-width: 390px;
    margin: 1.25rem 0 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 0.55rem;
}

.footer-links h3 {
    margin-bottom: 0.6rem;
    color: var(--blue-900);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links a {
    width: fit-content;
    color: var(--ink-soft);
    font-size: 0.86rem;
    transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
    color: var(--blue-600);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    padding-top: 1.4rem;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(6, 26, 58, 0.5);
    border-top: 1px solid var(--line);
    font-size: 0.72rem;
}

/* Motion */
.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive */
@media (max-width: 1099px) {
    .hero-layout {
        gap: 3.5rem;
    }

    .product-card {
        min-height: 510px;
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .container-site {
        width: min(calc(100% - 2rem), var(--container));
    }

    .section {
        padding: 5.7rem 0;
    }

    .site-header,
    .site-header.is-scrolled {
        padding: 0.65rem 0;
    }

    .nav-shell,
    .site-header.is-scrolled .nav-shell {
        padding: 0.42rem 0.52rem 0.42rem 0.62rem;
        background: rgba(255, 255, 255, 0.94);
        border-color: rgba(7, 93, 201, 0.1);
        box-shadow: 0 12px 34px rgba(8, 63, 135, 0.08);
    }

    .navbar-collapse {
        margin-top: 0.65rem;
        padding: 0.85rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .nav-link {
        padding: 0.82rem 1rem !important;
    }

    .nav-cta-item {
        margin: 0.55rem 0 0;
    }

    .nav-cta-item .button {
        width: 100%;
    }

    .home-hero,
    .page-hero,
    .legal-hero {
        padding-top: 8.8rem;
    }

    .hero-layout,
    .page-hero-layout,
    .connect-panel,
    .purchase-panel,
    .about-intro-grid,
    .error-grid {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        gap: 3.2rem;
    }

    .hero-copy {
        max-width: 790px;
    }

    .hero-product {
        max-width: 650px;
        margin-inline: auto;
    }

    .hero-summary {
        margin-top: 3rem;
    }

    .section-heading-split {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .simple-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 1.2rem;
    }

    .simple-card .card-icon {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .practice-card,
    .practice-card-wide {
        grid-column: span 6;
    }

    .connect-panel,
    .purchase-panel {
        gap: 2.5rem;
    }

    .page-hero-layout {
        gap: 3rem;
    }

    .page-logo-card {
        max-width: 620px;
        min-height: 360px;
    }

    .mode-detail {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 1.5rem;
    }

    .mode-image-slot {
        min-height: 280px;
    }

    .about-intro-grid {
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-aside {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 0.8fr 0.8fr;
        gap: 2.5rem;
    }
}

@media (max-width: 767.98px) {

    .flashcard-callout {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 1rem;
    }

    .flashcard-tags {
        grid-column: 2;
        max-width: none;
        justify-content: flex-start;
    }

    .container-site {
        width: min(calc(100% - 1.3rem), var(--container));
    }

    .section {
        padding: 4.7rem 0;
    }

    .brand-mark {
        width: 2.7rem;
        height: 2.7rem;
    }

    .hero-copy h1,
    .page-hero-copy h1 {
        font-size: clamp(3rem, 13vw, 4.7rem);
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .product-card {
        min-height: 475px;
        border-radius: 28px;
    }

    .logo-stage {
        min-height: 350px;
    }

    .input-pills {
        grid-template-columns: 1fr;
    }

    .input-pills span {
        min-height: 2.7rem;
    }

    .hero-summary {
        grid-template-columns: 1fr;
        padding: 0.7rem 1rem;
    }

    .hero-summary > div {
        padding: 1rem 0.5rem;
    }

    .hero-summary > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .simple-card {
        display: block;
    }

    .simple-card .card-icon {
        margin-bottom: 1.2rem;
    }

    .practice-card,
    .practice-card-wide {
        grid-column: 1 / -1;
    }

    .practice-card-wide .practice-visual svg,
    .practice-visual svg {
        min-height: 190px;
    }

    .connect-panel,
    .purchase-panel {
        padding: 2rem 1.2rem;
        border-radius: 28px;
    }

    .routine-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .routine-grid::before {
        top: 2rem;
        bottom: 2rem;
        left: 50%;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, transparent, var(--blue-300), transparent);
    }

    .routine-step {
        position: relative;
        z-index: 2;
        padding: 0.7rem 1rem 1.6rem;
        background: var(--white);
    }

    .mode-detail,
    .mode-detail-reverse {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .mode-detail-reverse .mode-image-slot,
    .mode-detail-reverse .mode-detail-copy {
        order: initial;
    }

    .mode-image-slot {
        min-height: 245px;
    }

    .mode-detail-copy {
        padding: 1.3rem 0.8rem 1.6rem;
    }

    .mini-cta,
    .footer-callout {
        flex-direction: column;
        align-items: flex-start;
    }

    .principles-grid,
    .comparison-grid,
    .contact-sidebar {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .form-submit-row .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {

    .flashcard-callout {
        margin-top: -1.3rem;
        padding: 1.2rem;
        grid-template-columns: 1fr;
    }

    .flashcard-visual {
        width: 5rem;
        height: 4.35rem;
    }

    .flashcard-tags {
        grid-column: 1;
    }

    .practice-eyebrow {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .mode-image-slot-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0.75rem;
    }

    .mode-image-mini {
        padding: 0.8rem 0.35rem;
    }

    .mode-image-mini .mode-symbol {
        width: 4.6rem;
        height: 4.6rem;
        border-width: 6px;
        font-size: 1.25rem;
    }

    .site-update {
        padding-bottom: 3rem;
    }

    .site-update-card {
        padding: 1.25rem;
        gap: 0.9rem;
    }

    .site-update-icon {
        width: 2.6rem;
        height: 2.6rem;
        flex-basis: 2.6rem;
        font-size: 1.05rem;
    }

    .site-update-card p {
        font-size: 0.94rem;
    }

    .home-hero {
        padding-top: 8rem;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-skills {
        gap: 0.55rem;
        font-size: 0.68rem;
    }

    .product-card {
        min-height: 430px;
        padding: 0.8rem;
    }

    .product-card-header {
        font-size: 0.7rem;
    }

    .logo-stage {
        min-height: 310px;
    }

    .practice-copy,
    .simple-card,
    .sidebar-card {
        padding: 1.5rem;
    }

    .practice-visual {
        padding: 0.7rem;
    }

    .visual-toolbar {
        min-height: 2.25rem;
    }

    .input-card {
        align-items: flex-start;
    }

    .purchase-copy p {
        font-size: 0.98rem;
    }

    .page-logo-card {
        min-height: 300px;
        padding: 1rem;
    }

    .check-list-inline {
        display: grid;
    }

    .check-list-inline li {
        width: fit-content;
    }

    .contact-form-card,
    .legal-content {
        padding: 1.4rem;
        border-radius: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* Responsive additions for practice controls and theme preview */
@media (max-width: 1099px) {
    .theme-studio {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    }

    .theme-swatch-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sound-option {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    .practice-tools-grid,
    .theme-studio {
        grid-template-columns: 1fr;
    }

    .practice-tool-card {
        grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
        grid-template-rows: auto;
        align-items: center;
    }

    .theme-swatch-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .app-preview-panel {
        min-height: 700px;
    }

    .settings-summary-grid {
        grid-template-columns: 1fr;
    }

    .settings-summary-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 1rem;
    }

    .settings-summary-icon {
        grid-row: span 2;
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .practice-tool-card {
        grid-template-columns: 1fr;
    }

    .theme-swatch-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .app-preview-panel {
        min-height: 670px;
    }
}

@media (max-width: 575.98px) {
    .practice-tool-card,
    .theme-picker-panel,
    .app-preview-panel {
        padding: 1.15rem;
    }

    .theme-studio {
        padding: 0.7rem;
        border-radius: 26px;
    }

    .practice-tool-card {
        border-radius: 24px;
    }

    .metronome-interface,
    .sound-interface {
        padding: 0.9rem;
        border-radius: 19px;
    }

    .tempo-row {
        align-items: flex-end;
    }

    .meter-options {
        grid-template-columns: repeat(5, minmax(2.4rem, 1fr));
        overflow-x: auto;
        scrollbar-width: none;
    }

    .meter-options::-webkit-scrollbar {
        display: none;
    }

    .sound-options {
        grid-template-columns: 1fr;
    }

    .sound-option {
        grid-template-columns: auto 1fr;
        justify-items: initial;
        text-align: left;
    }

    .sound-option small {
        white-space: normal;
    }

    .selected-theme {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .selected-theme code {
        grid-column: 2;
        width: fit-content;
    }

    .theme-category-tabs {
        margin-right: -0.25rem;
        padding-right: 0.25rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .theme-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .theme-category-tabs button {
        flex: 0 0 auto;
    }

    .theme-swatch-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .theme-swatch {
        min-height: 4rem;
    }

    .preview-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }

    .app-preview-panel {
        min-height: 620px;
    }

    .phone-frame {
        width: min(100%, 300px);
        padding: 0.6rem;
        border-radius: 34px;
    }

    .settings-summary-card {
        display: block;
        padding: 1.45rem;
    }

    .settings-summary-icon {
        margin-bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .beat-strip span,
    .sound-wave i {
        animation: none;
    }
}

/* =========================================================
   SEO landing pages, internal guides, and contact email UI
   ========================================================= */
.inline-email-link {
    color: var(--blue-700);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(7, 93, 201, 0.28);
    text-underline-offset: 0.2em;
}

.inline-email-link:hover {
    color: var(--blue-500);
    text-decoration-color: currentColor;
}

.contact-email-card {
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.contact-email-card:hover,
.contact-email-card:focus-visible {
    border-color: rgba(35, 144, 255, 0.36);
    box-shadow: 0 14px 30px rgba(8, 63, 135, 0.1);
    transform: translateY(-2px);
}

.contact-email-card strong {
    overflow-wrap: anywhere;
}

.practice-more-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 1.15rem;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue-700);
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1.35;
}

.practice-more-link span {
    transition: transform var(--transition);
}

.practice-more-link:hover span,
.practice-more-link:focus-visible span {
    transform: translateX(4px);
}

.connect-detail-link {
    margin-top: 1.4rem;
}

.practice-path-grid {
    display: grid;
    margin: -0.8rem 0 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.practice-path-grid > a {
    position: relative;
    display: grid;
    min-height: 150px;
    padding: 1.3rem;
    align-content: start;
    gap: 0.45rem;
    background: linear-gradient(145deg, var(--white), var(--blue-50));
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(8, 63, 135, 0.05);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.practice-path-grid > a:hover,
.practice-path-grid > a:focus-visible {
    border-color: rgba(35, 144, 255, 0.28);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.practice-path-grid span {
    color: var(--blue-700);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.practice-path-grid strong {
    padding-right: 1.5rem;
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.45;
}

.practice-path-grid i {
    position: absolute;
    right: 1.15rem;
    bottom: 1rem;
    color: var(--blue-500);
    font-size: 1.15rem;
    font-style: normal;
}

/* Breadcrumb and landing-page hero */
.seo-landing-hero {
    padding-bottom: 6.5rem;
}

.seo-breadcrumb {
    position: relative;
    z-index: 2;
    margin-bottom: 2.2rem;
}

.seo-breadcrumb ol {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: rgba(6, 26, 58, 0.54);
    font-size: 0.72rem;
    font-weight: 750;
    list-style: none;
}

.seo-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.seo-breadcrumb li + li::before {
    color: var(--blue-300);
    content: "/";
    font-weight: 500;
}

.seo-breadcrumb a {
    transition: color var(--transition);
}

.seo-breadcrumb a:hover {
    color: var(--blue-600);
}

.seo-hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.75fr);
    gap: clamp(3rem, 6vw, 6rem);
}

.seo-visual-card {
    position: relative;
    min-width: 0;
    padding: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(137, 203, 255, 0.42), transparent 12rem),
        rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
}

.seo-visual-card::after {
    position: absolute;
    right: -5rem;
    bottom: -6rem;
    width: 15rem;
    height: 15rem;
    content: "";
    background: radial-gradient(circle, rgba(35, 144, 255, 0.12), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.seo-visual-toolbar {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 3rem;
    padding: 0 0.9rem;
    align-items: center;
    gap: 0.38rem;
    color: rgba(6, 26, 58, 0.5);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 17px;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.seo-visual-toolbar i {
    width: 0.43rem;
    height: 0.43rem;
    background: var(--blue-200);
    border-radius: 50%;
}

.seo-visual-toolbar i:nth-child(2) {
    background: var(--blue-300);
}

.seo-visual-toolbar i:nth-child(3) {
    background: var(--blue-500);
}

.seo-visual-toolbar span {
    margin-left: auto;
}

.seo-note-demo,
.seo-chord-demo {
    position: relative;
    display: grid;
    min-height: 390px;
    padding: 2.1rem 1.3rem;
    place-items: center;
}

.demo-card-shadow {
    position: absolute;
    width: 72%;
    height: 68%;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 26px;
    box-shadow: 0 14px 35px rgba(8, 63, 135, 0.05);
}

.demo-card-shadow-one {
    transform: rotate(-7deg) translate(-1.2rem, 0.2rem);
}

.demo-card-shadow-two {
    transform: rotate(6deg) translate(1.2rem, 0.3rem);
}

.demo-music-card {
    position: relative;
    z-index: 2;
    width: min(100%, 350px);
    padding: 1.35rem 1.2rem 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(7, 93, 201, 0.12);
    border-radius: 26px;
    box-shadow: 0 24px 55px rgba(8, 63, 135, 0.14);
}

.demo-card-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--blue-700);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.demo-music-card svg {
    width: 100%;
    min-height: 175px;
}

.seo-staff-lines path {
    fill: none;
    stroke: rgba(6, 26, 58, 0.22);
    stroke-width: 2;
}

.seo-note-mark ellipse,
.seo-chord-mark ellipse {
    fill: var(--blue-700);
}

.seo-note-mark path,
.seo-chord-mark path,
.seo-ledger-line {
    fill: none;
    stroke: var(--blue-700);
    stroke-linecap: round;
    stroke-width: 5;
}

.seo-ledger-line {
    stroke-width: 2.5;
}

.demo-prompt-pill {
    display: flex;
    min-height: 2.55rem;
    padding: 0.55rem 0.8rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--blue-800);
    background: var(--blue-100);
    border: 1px solid rgba(7, 93, 201, 0.08);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
}

.demo-prompt-pill span {
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    color: var(--white);
    background: var(--blue-600);
    border-radius: 50%;
    place-items: center;
    font-size: 0.72rem;
}

.seo-demo-footer {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 3.25rem;
    padding: 0.7rem 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    color: rgba(6, 26, 58, 0.56);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 17px;
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.seo-demo-footer i {
    width: 0.24rem;
    height: 0.24rem;
    background: var(--blue-400);
    border-radius: 50%;
}

/* SEO information cards */
.seo-benefits-section {
    background: var(--white);
}

.seo-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.seo-benefit-card {
    position: relative;
    min-height: 250px;
    padding: 2rem;
    overflow: hidden;
    background: linear-gradient(145deg, var(--white), var(--blue-50));
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.seo-benefit-card::after {
    position: absolute;
    right: -3.3rem;
    bottom: -3.3rem;
    width: 8rem;
    height: 8rem;
    content: "";
    background: var(--blue-100);
    border-radius: 50%;
    opacity: 0.7;
}

.seo-card-number {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-width: 2.5rem;
    min-height: 2.5rem;
    margin-bottom: 2.1rem;
    padding: 0.55rem 0.7rem;
    align-items: center;
    justify-content: center;
    color: var(--blue-700);
    background: var(--blue-100);
    border: 1px solid rgba(7, 93, 201, 0.08);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.seo-benefit-card h3,
.seo-detail-panel h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.seo-benefit-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.75;
}

.seo-content-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.seo-content-copy h2,
.download-included-copy h2,
.midi-explainer-card h2,
.download-safety-card h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.35rem, 4.5vw, 4.3rem);
}

.seo-content-copy > p,
.download-included-copy > p,
.midi-explainer-card > p,
.download-safety-card p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.8;
}

.seo-step-list {
    display: grid;
    margin: 2.2rem 0 0;
    padding: 0;
    gap: 0.8rem;
    list-style: none;
}

.seo-step-list > li {
    display: grid;
    padding: 1rem 0;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    border-top: 1px solid var(--line);
}

.seo-step-list > li > span {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
    border-radius: 13px;
    box-shadow: 0 10px 20px rgba(11, 110, 243, 0.17);
    place-items: center;
    font-size: 0.78rem;
    font-weight: 900;
}

.seo-step-list strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--blue-900);
    font-size: 0.95rem;
}

.seo-step-list p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.seo-detail-panel {
    padding: clamp(2rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
}

.seo-detail-panel h3 {
    margin-bottom: 1.6rem;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.seo-check-list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0.8rem;
    list-style: none;
}

.seo-check-list li {
    display: grid;
    padding: 0.85rem 0;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.8rem;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

.seo-check-list li:first-child {
    border-top: 0;
}

.seo-check-list li > span {
    display: grid;
    width: 1.6rem;
    height: 1.6rem;
    color: var(--blue-700);
    background: var(--blue-100);
    border-radius: 50%;
    place-items: center;
    font-size: 0.66rem;
    font-weight: 900;
}

/* FAQ */
.seo-faq-section {
    background: var(--white);
}

.seo-faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 7rem);
}

.seo-faq-intro {
    position: sticky;
    top: 8rem;
}

.seo-faq-intro h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.seo-faq-intro p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.seo-faq-list {
    display: grid;
    gap: 0.75rem;
}

.seo-faq-list details {
    background: linear-gradient(145deg, var(--white), var(--blue-50));
    border: 1px solid var(--line);
    border-radius: 19px;
    box-shadow: 0 10px 30px rgba(8, 63, 135, 0.04);
}

.seo-faq-list summary {
    position: relative;
    padding: 1.3rem 3.5rem 1.3rem 1.35rem;
    color: var(--blue-900);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 850;
    list-style: none;
}

.seo-faq-list summary::-webkit-details-marker {
    display: none;
}

.seo-faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    content: "+";
    color: var(--blue-700);
    background: var(--blue-100);
    border-radius: 50%;
    place-items: center;
    font-size: 1rem;
    transform: translateY(-50%);
}

.seo-faq-list details[open] summary::after {
    content: "−";
}

.seo-faq-list details p {
    margin: 0;
    padding: 0 1.35rem 1.35rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* Related landing-page links */
.seo-related-section {
    padding-top: 3rem;
    background: linear-gradient(180deg, var(--blue-50), var(--white));
    border-top: 1px solid rgba(7, 93, 201, 0.08);
}

.seo-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.seo-related-card {
    position: relative;
    display: grid;
    min-height: 190px;
    padding: 1.7rem;
    align-content: start;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.seo-related-card:hover,
.seo-related-card:focus-visible {
    border-color: rgba(35, 144, 255, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.seo-related-card > span {
    color: var(--blue-700);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.seo-related-card strong {
    max-width: 260px;
    padding-right: 1rem;
    color: var(--ink);
    font-size: 1.12rem;
    line-height: 1.45;
}

.seo-related-card i {
    position: absolute;
    right: 1.5rem;
    bottom: 1.25rem;
    color: var(--blue-500);
    font-size: 1.4rem;
    font-style: normal;
    transition: transform var(--transition);
}

.seo-related-card:hover i {
    transform: translateX(4px);
}

/* Scale landing-page illustration */
.seo-scale-demo {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 390px;
    padding: 1.5rem 1rem;
    align-content: center;
    gap: 1rem;
}

.scale-demo-track {
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(7, 93, 201, 0.11);
    border-radius: 26px;
    box-shadow: 0 24px 55px rgba(8, 63, 135, 0.13);
}

.seo-scale-curve {
    fill: none;
    stroke: var(--blue-200);
    stroke-linecap: round;
    stroke-width: 8;
}

.seo-scale-points circle {
    fill: var(--blue-600);
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 5;
}

.seo-scale-points circle:nth-child(even) {
    fill: var(--blue-400);
}

.seo-scale-fingers text {
    fill: var(--blue-800);
    font-size: 14px;
    font-weight: 800;
    text-anchor: middle;
}

.scale-tempo-row {
    display: flex;
    padding: 0.85rem 1rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    font-size: 0.75rem;
}

.scale-tempo-row strong {
    color: var(--blue-700);
}

/* MIDI keyboard landing page */
.midi-route-demo {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 330px;
    padding: 2rem 1rem 1.4rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.8fr);
    align-items: center;
    gap: 1rem;
}

.midi-device {
    display: grid;
    min-height: 175px;
    padding: 1.3rem;
    align-content: center;
    justify-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(7, 93, 201, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(8, 63, 135, 0.1);
    text-align: center;
}

.midi-device-icon {
    display: grid;
    width: 6.2rem;
    height: 4.8rem;
    color: var(--blue-700);
    background: var(--blue-100);
    border-radius: 20px;
    place-items: center;
}

.midi-device-icon svg {
    width: 4.8rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.midi-app-icon {
    width: 4.8rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.midi-device strong {
    color: var(--blue-900);
    font-size: 0.82rem;
}

.midi-connection-line {
    display: grid;
    min-width: 76px;
    justify-items: center;
    gap: 0.55rem;
    color: var(--blue-700);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.midi-connection-line i {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
}

.midi-method-pills {
    position: relative;
    z-index: 2;
    display: grid;
    padding: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 18px;
}

.midi-method-pills span {
    display: flex;
    min-height: 2.7rem;
    padding: 0.55rem 0.6rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--blue-800);
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 13px;
    font-size: 0.66rem;
    font-weight: 850;
    text-align: center;
}

.midi-method-pills i {
    color: var(--blue-500);
    font-style: normal;
}

.midi-explainer-section {
    padding-top: 2rem;
}

.midi-explainer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.midi-explainer-card {
    padding: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(145deg, var(--blue-50), var(--white));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.midi-explainer-card h2 {
    font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.midi-explainer-card-blue {
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-800), var(--blue-600));
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.midi-explainer-card-blue h2,
.midi-explainer-card-blue p {
    color: var(--white);
}

.midi-explainer-card-blue p {
    color: rgba(255, 255, 255, 0.79);
}

/* Download page */
.download-status-pill {
    display: inline-flex;
    margin: -0.3rem 0 1.6rem;
    padding: 0.6rem 0.85rem;
    align-items: center;
    gap: 0.55rem;
    color: var(--blue-800);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
}

.download-status-pill > span {
    width: 0.55rem;
    height: 0.55rem;
    background: var(--blue-500);
    border: 4px solid var(--blue-100);
    border-radius: 50%;
    box-sizing: content-box;
}

.download-product-card {
    position: relative;
    padding: 1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 38%, rgba(137, 203, 255, 0.38), transparent 14rem),
        rgba(255, 255, 255, 0.84);
    border-radius: var(--radius-lg);
}

.download-product-topline {
    display: flex;
    min-height: 3.2rem;
    padding: 0 0.9rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--blue-900);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 17px;
    font-size: 0.78rem;
    font-weight: 900;
}

.download-coming-badge {
    padding: 0.42rem 0.65rem;
    color: var(--blue-700);
    background: var(--blue-100);
    border-radius: 999px;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.download-logo-stage {
    display: grid;
    min-height: 300px;
    padding: 1.4rem;
    place-items: center;
}

.download-logo-stage img {
    width: min(100%, 350px);
    filter: drop-shadow(0 24px 30px rgba(8, 63, 135, 0.15));
}

.download-product-details {
    display: grid;
    padding: 0.75rem;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 18px;
}

.download-product-details > div {
    display: flex;
    min-height: 2.8rem;
    padding: 0.6rem 0.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.download-product-details span {
    color: var(--ink-soft);
    font-size: 0.65rem;
}

.download-product-details strong {
    color: var(--blue-800);
    font-size: 0.7rem;
    text-align: right;
}

.download-included-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.download-note {
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 16px;
    font-size: 0.86rem !important;
}

.download-included-list {
    padding: clamp(2rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
}

.download-safety-section {
    padding-top: 2.5rem;
}

.download-safety-card {
    display: grid;
    padding: clamp(2rem, 4vw, 3.5rem);
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 1.5rem;
    background: linear-gradient(145deg, var(--blue-100), var(--blue-50));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.download-safety-icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(11, 110, 243, 0.2);
    place-items: center;
    font-size: 1.25rem;
    font-weight: 900;
}

.download-safety-card h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 3.7vw, 3.5rem);
}

.download-safety-card p {
    max-width: 850px;
    margin-bottom: 0;
}

.download-contact-cta {
    padding-bottom: 7rem;
}

/* SEO and new UI responsiveness */
@media (max-width: 1099px) {
    .seo-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
        gap: 3rem;
    }

    .practice-path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .seo-hero-layout,
    .seo-content-split,
    .download-included-grid {
        grid-template-columns: 1fr;
    }

    .seo-visual-card,
    .download-product-card {
        width: min(100%, 680px);
    }

    .seo-content-split,
    .download-included-grid {
        gap: 2.5rem;
    }

    .seo-faq-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .seo-faq-intro {
        position: static;
        max-width: 720px;
    }

    .midi-explainer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .seo-landing-hero {
        padding-bottom: 4.8rem;
    }

    .seo-breadcrumb {
        margin-bottom: 1.5rem;
    }

    .seo-benefit-grid,
    .seo-related-grid {
        grid-template-columns: 1fr;
    }

    .seo-benefit-card {
        min-height: auto;
    }

    .seo-related-card {
        min-height: 160px;
    }

    .seo-note-demo,
    .seo-chord-demo,
    .seo-scale-demo {
        min-height: 340px;
    }

    .midi-route-demo {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .midi-connection-line {
        width: 70%;
        margin-inline: auto;
    }

    .midi-method-pills {
        grid-template-columns: 1fr;
    }

    .download-safety-card {
        grid-template-columns: 1fr;
    }

    .download-product-details > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.2rem;
    }

    .download-product-details strong {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .practice-path-grid {
        grid-template-columns: 1fr;
    }

    .practice-path-grid > a {
        min-height: 125px;
    }

    .seo-visual-card,
    .download-product-card {
        padding: 0.7rem;
        border-radius: 28px;
    }

    .seo-note-demo,
    .seo-chord-demo {
        min-height: 310px;
        padding-inline: 0.3rem;
    }

    .demo-card-shadow {
        width: 78%;
        height: 66%;
    }

    .demo-music-card {
        padding: 1rem 0.7rem;
        border-radius: 21px;
    }

    .demo-music-card svg {
        min-height: 150px;
    }

    .seo-demo-footer {
        padding-inline: 0.6rem;
        gap: 0.45rem;
        font-size: 0.56rem;
    }

    .seo-benefit-card,
    .seo-detail-panel,
    .download-included-list,
    .midi-explainer-card {
        padding: 1.45rem;
        border-radius: 24px;
    }

    .seo-card-number {
        margin-bottom: 1.35rem;
    }

    .seo-step-list > li {
        gap: 0.75rem;
    }

    .seo-step-list > li > span {
        width: 2.35rem;
        height: 2.35rem;
    }

    .seo-faq-list summary {
        padding: 1.15rem 3.2rem 1.15rem 1.1rem;
    }

    .seo-faq-list details p {
        padding: 0 1.1rem 1.15rem;
    }

    .seo-scale-demo {
        min-height: 310px;
        padding-inline: 0.25rem;
    }

    .midi-device {
        min-height: 150px;
    }

    .download-logo-stage {
        min-height: 250px;
    }

    .download-safety-card {
        padding: 1.5rem;
        border-radius: 25px;
    }

    .download-safety-icon {
        width: 3.3rem;
        height: 3.3rem;
        border-radius: 16px;
    }
}

/* =========================================================
   Simplified homepage, Song Runner, and Buy Once update
   ========================================================= */

/* A little less vertical density on the homepage. */
.home-page .section {
    padding: 5.8rem 0;
}

.home-page .section-heading {
    margin-bottom: 2.65rem;
}

.home-page .practice-card,
.home-page .practice-tool-card {
    box-shadow: 0 10px 30px rgba(8, 63, 135, 0.07);
}

/* Compact website status strip. */
.site-update-compact {
    padding: 0 0 2.25rem;
}

.growth-strip {
    display: flex;
    min-height: 3.7rem;
    padding: 0.78rem 1.05rem;
    align-items: center;
    gap: 0.8rem;
    background: rgba(244, 250, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.growth-strip-icon {
    display: grid;
    width: 2.05rem;
    height: 2.05rem;
    flex: 0 0 2.05rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    border-radius: 50%;
    place-items: center;
    font-size: 0.82rem;
}

.growth-strip p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.55;
}

.growth-strip strong {
    color: var(--blue-800);
}

/* Replaces three separate support cards with one calmer split panel. */
.support-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.support-summary-copy h2 {
    max-width: 760px;
    margin-bottom: 1.05rem;
    font-size: clamp(2.25rem, 4.5vw, 4.25rem);
}

.support-summary-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.8;
}

.support-summary-list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0.65rem;
    list-style: none;
}

.support-summary-list li {
    display: grid;
    padding: 0.95rem 1rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 16px;
}

.support-summary-list li > span {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    color: var(--white);
    background: var(--blue-600);
    border-radius: 50%;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 900;
}

.support-summary-list strong,
.support-summary-list small {
    display: block;
}

.support-summary-list strong {
    margin-bottom: 0.08rem;
    color: var(--blue-900);
    font-size: 0.86rem;
}

.support-summary-list small {
    color: var(--ink-soft);
    font-size: 0.73rem;
    line-height: 1.45;
}

/* Simple flashcard explanation rather than another large feature card. */
.practice-note {
    display: flex;
    margin: -0.7rem 0 1.65rem;
    padding: 0.9rem 1rem;
    align-items: center;
    gap: 0.8rem;
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 17px;
}

.practice-note-icon {
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    flex: 0 0 2.1rem;
    color: var(--blue-700);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    place-items: center;
    font-weight: 900;
}

.practice-note p {
    min-width: 0;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.83rem;
    line-height: 1.55;
}

.practice-note p strong {
    color: var(--blue-800);
}

.practice-note-tags {
    display: flex;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.38rem;
}

.practice-note-tags span {
    padding: 0.34rem 0.55rem;
    color: var(--blue-700);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 820;
    white-space: nowrap;
}

/* Song Runner options shown inside the existing runner visual. */
.song-runner-options {
    position: absolute;
    z-index: 3;
    top: 3.55rem;
    right: 1rem;
    display: flex;
    gap: 0.35rem;
}

.song-runner-options span {
    padding: 0.32rem 0.52rem;
    color: var(--blue-700);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(8, 63, 135, 0.08);
    font-size: 0.58rem;
    font-weight: 850;
}

.mode-image-mini small {
    display: block;
    margin-top: 0.18rem;
    color: rgba(6, 26, 58, 0.52);
    font-size: 0.58rem;
    font-weight: 760;
    line-height: 1.3;
}

/* Progressive disclosure keeps the full theme studio available without
   making the initial homepage feel crowded. */
.theme-disclosure {
    margin-top: 1.2rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 12px 34px rgba(8, 63, 135, 0.07);
}

.theme-disclosure > summary {
    display: grid;
    min-height: 7.2rem;
    padding: 1.15rem 1.35rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1.3rem;
    cursor: pointer;
    list-style: none;
}

.theme-disclosure > summary::-webkit-details-marker {
    display: none;
}

.theme-disclosure > summary:focus-visible {
    outline: 3px solid rgba(30, 144, 255, 0.28);
    outline-offset: -3px;
}

.theme-summary-copy {
    display: grid;
}

.theme-summary-copy .tool-kicker {
    margin-bottom: 0.25rem;
}

.theme-summary-copy strong {
    color: var(--blue-900);
    font-size: 1.15rem;
    letter-spacing: -0.025em;
}

.theme-summary-copy small {
    margin-top: 0.22rem;
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.theme-summary-swatches {
    display: flex;
    align-items: center;
}

.theme-summary-swatches i {
    width: 1.55rem;
    height: 1.55rem;
    margin-left: -0.28rem;
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(8, 63, 135, 0.12);
}

.theme-summary-swatches i:nth-child(1) { background: #1e90ff; }
.theme-summary-swatches i:nth-child(2) { background: #40e0d0; }
.theme-summary-swatches i:nth-child(3) { background: #3cb371; }
.theme-summary-swatches i:nth-child(4) { background: #9370db; }
.theme-summary-swatches i:nth-child(5) { background: #dc143c; }
.theme-summary-swatches i:nth-child(6) { background: #ffd700; }

.theme-summary-action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--blue-700);
    font-size: 0.75rem;
    font-weight: 850;
    white-space: nowrap;
}

.theme-summary-action b {
    display: grid;
    width: 2rem;
    height: 2rem;
    color: var(--white);
    background: var(--blue-600);
    border-radius: 50%;
    place-items: center;
    font-size: 1rem;
    line-height: 1;
    transition: transform var(--transition);
}

.theme-disclosure[open] .theme-summary-action b {
    transform: rotate(45deg);
}

.theme-disclosure[open] > summary {
    border-bottom: 1px solid var(--line);
}

.theme-disclosure-body {
    padding: 1rem;
}

.theme-disclosure .theme-studio {
    box-shadow: none;
}

/* Store badges used on both the home Buy Once panel and /Download. */
.store-badges {
    display: grid;
    gap: 0.7rem;
}

.store-badges-dark {
    margin: 1.25rem 0 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-badges-page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-badge {
    display: grid;
    min-width: 0;
    min-height: 5.4rem;
    padding: 0.88rem 0.95rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.72rem;
    color: var(--blue-900);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 17px;
    text-align: left;
    opacity: 1;
}

.store-badge[disabled] {
    cursor: not-allowed;
}

.store-badge > span:not(.store-icon) {
    min-width: 0;
}

.store-badge small,
.store-badge strong,
.store-badge em {
    display: block;
}

.store-badge small {
    margin-bottom: 0.1rem;
    color: rgba(6, 26, 58, 0.5);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-badge strong {
    overflow: hidden;
    color: inherit;
    font-size: 0.82rem;
    font-style: normal;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-badge em {
    margin-top: 0.18rem;
    overflow: hidden;
    color: rgba(6, 26, 58, 0.58);
    font-size: 0.62rem;
    font-style: normal;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-badge > b {
    grid-column: 1 / -1;
    justify-self: start;
    padding: 0.28rem 0.48rem;
    color: var(--blue-700);
    background: var(--blue-50);
    border-radius: 999px;
    font-size: 0.57rem;
    font-weight: 850;
}

.store-icon {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 2.35rem;
    color: var(--blue-700);
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 11px;
    place-items: center;
}

.store-icon-microsoft {
    grid-template-columns: repeat(2, 0.56rem);
    grid-template-rows: repeat(2, 0.56rem);
    gap: 0.12rem;
}

.store-icon-microsoft i {
    width: 0.56rem;
    height: 0.56rem;
    background: currentColor;
}

.store-icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.store-icon-play svg path {
    fill: currentColor;
}

.store-icon-app svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-badges-dark .store-badge {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.17);
}

.store-badges-dark .store-badge small,
.store-badges-dark .store-badge em {
    color: rgba(255, 255, 255, 0.65);
}

.store-badges-dark .store-icon {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
}

.store-release-note {
    margin: 0 0 1.35rem !important;
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 0.68rem !important;
    line-height: 1.45 !important;
}

/* Simplified Buy Once page. The /Download route remains for SEO and old links. */
.buy-once-page .page-hero {
    padding-bottom: 5rem;
}

.buy-once-product-card {
    padding-bottom: 1.15rem;
}

.buy-once-summary {
    display: grid;
    gap: 0.58rem;
}

.buy-once-summary > div {
    display: grid;
    padding: 0.72rem 0.8rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.62rem;
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.buy-once-summary > div > span {
    display: grid;
    width: 1.55rem;
    height: 1.55rem;
    color: var(--white);
    background: var(--blue-600);
    border-radius: 50%;
    place-items: center;
    font-size: 0.65rem;
    font-weight: 900;
}

.buy-once-summary p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.7rem;
    line-height: 1.45;
}

.buy-once-summary strong {
    display: block;
    margin-bottom: 0.08rem;
    color: var(--blue-900);
    font-size: 0.76rem;
}

.store-availability-section {
    padding-top: 6rem;
}

.store-badges-page .store-badge {
    min-height: 8.7rem;
    padding: 1.15rem;
    grid-template-columns: auto minmax(0, 1fr);
    box-shadow: 0 10px 28px rgba(8, 63, 135, 0.06);
}

.store-badges-page .store-icon {
    width: 3rem;
    height: 3rem;
}

.store-badges-page .store-badge strong {
    font-size: 1rem;
}

.store-badges-page .store-badge em {
    white-space: normal;
}

.store-availability-note {
    max-width: 790px;
    margin: 1.1rem auto 0;
    color: var(--ink-soft);
    font-size: 0.76rem;
    line-height: 1.6;
    text-align: center;
}

.buy-once-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
}

.buy-once-details-copy h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 4.4vw, 4rem);
}

.buy-once-details-copy > p {
    max-width: 680px;
    color: var(--ink-soft);
    font-size: 1.03rem;
    line-height: 1.78;
}

.buy-once-check-list {
    margin-top: 1.5rem;
}

.buy-once-faq details:first-child {
    border-color: var(--blue-300);
}

/* Keep the Buy Once panel strong but less oversized. */
.home-page .purchase-panel {
    padding: clamp(2.2rem, 5vw, 4.25rem);
    gap: 3.4rem;
}

.home-page .purchase-copy p {
    margin-bottom: 0;
}

@media (max-width: 1099px) {
    .store-badges-dark {
        grid-template-columns: 1fr;
    }

    .store-badges-dark .store-badge {
        min-height: 4.45rem;
    }
}

@media (max-width: 991.98px) {
    .support-summary,
    .buy-once-details-grid {
        grid-template-columns: 1fr;
    }

    .support-summary {
        gap: 2.2rem;
    }

    .theme-disclosure > summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .theme-summary-swatches {
        display: none;
    }

    .store-badges-page {
        grid-template-columns: 1fr;
    }

    .store-badges-page .store-badge {
        min-height: 6.4rem;
    }
}

@media (max-width: 767.98px) {
    .home-page .section {
        padding: 4.6rem 0;
    }

    .practice-note {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .practice-note-tags {
        width: 100%;
        margin-left: 2.9rem;
        justify-content: flex-start;
    }

    .song-runner-options {
        top: 3.3rem;
        right: 0.75rem;
    }

    .theme-disclosure > summary {
        min-height: 6.4rem;
        padding: 1rem;
        gap: 0.8rem;
    }

    .theme-summary-copy small {
        display: none;
    }

    .theme-summary-action {
        font-size: 0;
    }

    .theme-summary-action b {
        font-size: 1rem;
    }

    .theme-disclosure-body {
        padding: 0.65rem;
    }
}

@media (max-width: 575.98px) {
    .site-update-compact {
        padding-bottom: 1.6rem;
    }

    .growth-strip {
        padding: 0.7rem 0.8rem;
        align-items: flex-start;
    }

    .support-summary-copy h2,
    .buy-once-details-copy h2 {
        font-size: 2.05rem;
    }

    .practice-note-tags {
        margin-left: 0;
    }

    .song-runner-options {
        position: static;
        padding: 0.5rem 0.7rem 0;
    }

    .song-runner-options span {
        font-size: 0.54rem;
    }

    .theme-summary-copy strong {
        font-size: 0.93rem;
    }

    .store-badges-dark {
        grid-template-columns: 1fr;
    }

    .store-badge {
        min-height: 4.5rem;
    }

    .store-badges-page .store-badge {
        min-height: 6rem;
    }

    .store-badge > b {
        grid-column: auto;
        justify-self: end;
    }

    .store-badges-page .store-badge {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .store-badges-page .store-icon {
        width: 2.55rem;
        height: 2.55rem;
    }
}

/* --------------------------------------------------------------------------
   Real 24Piano app screen showcase
   -------------------------------------------------------------------------- */

.app-showcase-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 20%, rgba(137, 203, 255, 0.28), transparent 24rem),
        linear-gradient(180deg, rgba(244, 250, 255, 0.45), rgba(227, 243, 255, 0.72));
    border-block: 1px solid rgba(7, 93, 201, 0.08);
}

.app-showcase {
    position: relative;
    max-width: 1120px;
    margin-inline: auto;
    padding: clamp(0.65rem, 1.4vw, 1rem);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: clamp(24px, 3vw, 36px);
    box-shadow: 0 28px 80px rgba(8, 63, 135, 0.14);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.app-showcase-window {
    overflow: hidden;
    background: #edf7ff;
    border: 1px solid rgba(7, 93, 201, 0.16);
    border-radius: clamp(18px, 2.3vw, 27px);
    box-shadow: 0 18px 52px rgba(8, 63, 135, 0.1);
}

.app-showcase-window-bar {
    display: grid;
    min-height: 3.1rem;
    padding: 0.7rem 1rem;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    color: rgba(6, 26, 58, 0.58);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(7, 93, 201, 0.1);
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0.03em;
}

.app-showcase-window-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.app-showcase-window-dots i {
    width: 0.48rem;
    height: 0.48rem;
    background: var(--blue-200);
    border-radius: 50%;
}

.app-showcase-window-dots i:nth-child(2) {
    background: var(--blue-300);
}

.app-showcase-window-dots i:nth-child(3) {
    background: var(--blue-500);
}

.app-showcase-window-status {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: 0.4rem;
    color: rgba(6, 26, 58, 0.5);
}

.app-showcase-window-status i {
    width: 0.46rem;
    height: 0.46rem;
    background: #35b879;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(53, 184, 121, 0.12);
}

.app-showcase-stage {
    position: relative;
    aspect-ratio: 1432 / 753;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(227, 243, 255, 0.88), rgba(255, 255, 255, 0.96));
    isolation: isolate;
    touch-action: pan-y;
}

.app-showcase-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.994);
    transition:
        opacity 650ms ease,
        transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.app-showcase-image.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

.app-showcase-loading {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    background: rgba(244, 250, 255, 0.76);
    place-items: center;
    backdrop-filter: blur(6px);
}

.app-showcase-loading[hidden] {
    display: none;
}

.app-showcase-loading span {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--blue-200);
    border-top-color: var(--blue-600);
    border-radius: 50%;
    animation: app-showcase-spin 800ms linear infinite;
}

@keyframes app-showcase-spin {
    to {
        transform: rotate(360deg);
    }
}

.app-showcase-details {
    display: grid;
    padding: clamp(1.25rem, 2.6vw, 2rem) clamp(0.35rem, 1.6vw, 1.2rem) 0.7rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: clamp(1.25rem, 4vw, 3.5rem);
}

.app-showcase-copy {
    max-width: 760px;
}

.app-showcase-kicker {
    display: block;
    margin-bottom: 0.42rem;
    color: var(--blue-700);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.app-showcase-copy h3 {
    margin-bottom: 0.42rem;
    font-size: clamp(1.45rem, 2.7vw, 2.15rem);
    letter-spacing: -0.035em;
}

.app-showcase-copy p {
    max-width: 700px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.7;
}

.app-showcase-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-showcase-count {
    min-width: 4.2rem;
    color: rgba(6, 26, 58, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: right;
}

.app-showcase-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.app-showcase-controls button {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    color: var(--blue-800);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(8, 63, 135, 0.07);
    cursor: pointer;
    place-items: center;
    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.app-showcase-controls button:hover {
    color: var(--white);
    background: var(--blue-600);
    border-color: var(--blue-600);
    box-shadow: 0 12px 28px rgba(11, 110, 243, 0.2);
    transform: translateY(-2px);
}

.app-showcase-controls button:active {
    transform: translateY(0);
}

.app-showcase-controls svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-showcase-toggle {
    color: var(--white) !important;
    background: var(--blue-600) !important;
    border-color: var(--blue-600) !important;
}

.app-showcase-toggle:hover {
    background: var(--blue-800) !important;
    border-color: var(--blue-800) !important;
}

.app-showcase-toggle svg[hidden] {
    display: none;
}

.app-showcase-progress {
    height: 3px;
    margin: 0.45rem clamp(0.35rem, 1.6vw, 1.2rem) 0;
    overflow: hidden;
    background: rgba(7, 93, 201, 0.1);
    border-radius: 999px;
}

.app-showcase-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
    border-radius: inherit;
    transition: width 420ms ease;
}

.app-showcase-note {
    margin: 0.68rem clamp(0.35rem, 1.6vw, 1.2rem) 0.3rem;
    color: rgba(6, 26, 58, 0.48);
    font-size: 0.67rem;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .app-showcase-window-bar {
        min-height: 2.65rem;
        grid-template-columns: 1fr auto;
    }

    .app-showcase-window-bar > span:nth-child(2) {
        justify-self: end;
    }

    .app-showcase-window-status {
        display: none;
    }

    .app-showcase-details {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.1rem;
    }

    .app-showcase-navigation {
        justify-content: space-between;
    }

    .app-showcase-count {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .app-showcase-section .section-heading {
        margin-bottom: 2.25rem;
    }

    .app-showcase {
        padding: 0.45rem;
        border-radius: 21px;
    }

    .app-showcase-window {
        border-radius: 16px;
    }

    .app-showcase-window-bar {
        min-height: 2.35rem;
        padding: 0.55rem 0.7rem;
        font-size: 0.58rem;
    }

    .app-showcase-window-dots i {
        width: 0.4rem;
        height: 0.4rem;
    }

    .app-showcase-details {
        padding: 1.05rem 0.55rem 0.55rem;
    }

    .app-showcase-copy h3 {
        font-size: 1.45rem;
    }

    .app-showcase-copy p {
        font-size: 0.84rem;
        line-height: 1.62;
    }

    .app-showcase-controls button {
        width: 2.55rem;
        height: 2.55rem;
    }

    .app-showcase-progress,
    .app-showcase-note {
        margin-inline: 0.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-showcase-image,
    .app-showcase-progress span {
        transition: none;
    }

    .app-showcase-loading span {
        animation: none;
    }
}

/* Contact form privacy and lightweight human verification. */
.human-check {
    display: grid;
    margin-top: 0.25rem;
    padding: clamp(1rem, 2.4vw, 1.4rem);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, var(--blue-50), rgba(227, 243, 255, 0.78));
    border: 1px solid var(--line-strong);
    border-radius: 18px;
}

.human-check-label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--blue-700);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.human-check-copy h3 {
    margin-bottom: 0.32rem;
    font-size: 1.05rem;
    letter-spacing: -0.025em;
}

.human-check-copy p {
    max-width: 470px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.76rem;
    line-height: 1.55;
}

.human-check-entry {
    display: grid;
    grid-template-columns: auto minmax(120px, 150px);
    align-items: end;
    gap: 0.85rem;
}

.human-check-code {
    display: flex;
    min-height: 3.45rem;
    padding: 0.5rem 0.65rem;
    align-items: center;
    gap: 0.35rem;
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(8, 63, 135, 0.05);
    user-select: none;
}

.human-check-code span {
    display: grid;
    width: 2rem;
    height: 2.3rem;
    color: var(--blue-900);
    background: var(--blue-100);
    border: 1px solid rgba(7, 93, 201, 0.12);
    border-radius: 8px;
    place-items: center;
    font-size: 1.06rem;
    font-weight: 850;
    line-height: 1;
}

.human-check-field {
    gap: 0.28rem;
}

.human-check-field input {
    text-align: center;
    letter-spacing: 0.24em;
    font-size: 1rem;
    font-weight: 780;
}

.human-check-hint {
    color: rgba(6, 26, 58, 0.48);
    font-size: 0.62rem;
    line-height: 1.35;
}

.contact-next-card {
    display: grid;
    margin-top: 1.25rem;
    padding: 0.9rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.72rem;
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.contact-next-card > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    color: var(--white);
    background: var(--blue-600);
    border-radius: 50%;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 900;
}

.contact-next-card strong,
.contact-next-card small {
    display: block;
}

.contact-next-card strong {
    color: var(--blue-900);
    font-size: 0.78rem;
}

.contact-next-card small {
    margin-top: 0.1rem;
    color: var(--ink-soft);
    font-size: 0.66rem;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .human-check {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .human-check-entry {
        width: 100%;
        grid-template-columns: auto minmax(120px, 1fr);
    }
}

@media (max-width: 575.98px) {
    .human-check-entry {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .human-check-code {
        justify-content: center;
    }

    .human-check-code span {
        width: 2.3rem;
    }
}
