@import url('https://fonts.googleapis.com/css2?family=LINE+Seed+JP:wght@400;700;800&family=Zen+Maru+Gothic:wght@400;700;900&display=swap');

@font-face {
    font-family: 'UniSansHeavyCAPS';
    src: url('assets/UniSansHeavyCAPS.ttf.woff') format('woff');
    font-display: swap;
}

:root {
    --green-900: #244d24;
    --green-700: #4f812e;
    --green-600: #689f38;
    --green-400: #8bc34a;
    --green-100: #dcedc8;
    --control-solid: var(--green-700);
    --control-solid-hover: var(--green-900);
    --control-solid-text: #fff;
    --cream: #fafde0;
    --cream-deep: #eee8c7;
    --ink: #253226;
    --panel: #343a34;
    --panel-dark: #151816;
    --brass: #e0b653;
    --paper: #f3e5bd;
    --danger: #a74032;
    --line: 3px solid var(--green-600);
    --radius-lg: 30px;
    --radius-md: 18px;
    --shadow: 7px 8px 0 rgba(36, 77, 36, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--green-600);
    background-color: var(--green-100);
    background-image:
        radial-gradient(var(--green-600) 1px, transparent 1px),
        radial-gradient(var(--green-600) 1px, transparent 1px);
    background-position: 0 0, 20px 20px;
    background-size: 40px 40px;
    font-family: 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--green-600);
    font-weight: 800;
}

html.lang-ja [data-lang='en'],
html.lang-en [data-lang='ja'] {
    display: none !important;
}

.manual-tip-gap {
    display: block;
    height: 0.45em;
}

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

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

button,
input {
    font: inherit;
}

:focus-visible {
    outline: 4px solid #f5c94d;
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: -80px;
    z-index: 200;
    padding: 10px 16px;
    color: #fff;
    background: var(--green-900);
    border-radius: 10px;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: relative;
    top: 0;
    z-index: 100;
    width: calc(100% - 40px);
    min-height: 70px;
    margin: 12px auto 0;
    padding: 8px 10px 8px 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: var(--line);
    border-radius: 999px;
    background: rgba(250, 253, 224, 0.94);
    box-shadow: 4px 5px 0 rgba(27, 94, 32, 0.16);
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.brand strong {
    color: var(--green-600);
    font: 400 1.55rem/1 'UniSansHeavyCAPS', sans-serif;
    letter-spacing: 0.035em;
}

.brand small {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
}

.main-nav,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav {
    justify-self: center;
}

.nav-actions {
    grid-column: 3;
    grid-row: 1;
}

.main-nav a,
.account-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 9px 17px;
    border-radius: 999px;
    color: var(--green-600);
    font-family: 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.2;
}

.main-nav a:hover,
.main-nav a[aria-current='page'] {
    color: var(--cream);
    background: var(--control-solid);
}

.account-link {
    color: var(--cream);
    background: var(--control-solid);
}

.account-link:hover,
.account-link:focus-visible {
    background: var(--control-solid-hover);
}

.lang-switch {
    display: flex;
    gap: 3px;
    padding: 3px;
    border: 2px solid var(--green-600);
    border-radius: 999px;
    background: var(--green-100);
}

.lang-switch button {
    min-width: 46px;
    min-height: 40px;
    padding: 6px 10px;
    border: 0;
    border-radius: 999px;
    color: var(--green-600);
    background: transparent;
    cursor: pointer;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
}

.lang-switch button.is-active,
html.lang-ja .lang-switch [data-set-lang='ja'],
html.lang-en .lang-switch [data-set-lang='en'] {
    color: var(--control-solid-text);
    background: var(--control-solid);
}

.page-shell {
    width: calc(100% - 40px);
    margin: 28px 20px 0;
}

.section-card {
    position: relative;
    margin: 40px 0;
    padding-block: 60px;
    padding-inline: max(60px, calc((100% - 1500px) / 2));
    overflow: visible;
    border: 4px solid var(--cream);
    border-radius: var(--radius-lg);
    background: var(--cream);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 5px 5px 0 rgba(27, 94, 32, 0.1);
}

.section-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    z-index: 2;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-600);
    box-shadow: 0 0 0 4px var(--cream);
    transform: translateX(-50%);
}

.product-directory {
    display: block;
    padding-block: 26px;
}

.directory-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.directory-links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 10px 16px;
    border: 3px solid var(--green-600);
    border-radius: 999px;
    color: var(--green-600);
    background: var(--cream);
    box-shadow: 3px 4px 0 rgba(104, 159, 56, 0.2);
    font-family: 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

.directory-links a:hover,
.directory-links a:focus-visible {
    transform: translateY(-2px);
    color: var(--cream);
    background: var(--control-solid);
    box-shadow: 4px 6px 0 rgba(104, 159, 56, 0.16);
}

.directory-links a.directory-page {
    color: var(--control-solid-text);
    background: var(--control-solid);
    box-shadow: 3px 4px 0 rgba(36, 77, 36, 0.18);
}

.directory-links a.directory-page:hover,
.directory-links a.directory-page:focus-visible {
    color: var(--control-solid-text);
    background: var(--control-solid-hover);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    padding: 5px 12px;
    border: 2px solid currentColor;
    border-radius: 999px;
    color: var(--green-700);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    grid-template-rows: auto;
    align-items: center;
    gap: clamp(24px, 4vw, 52px) clamp(34px, 6vw, 90px);
    background: var(--cream);
}

.hero::after {
    content: none;
}

.hero-copy,
.device-wrap {
    position: relative;
    z-index: 1;
}

.hero-copy {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    margin: 0;
    color: var(--green-600);
    font: 400 clamp(3rem, 5.2vw, 4.8rem)/0.95 'UniSansHeavyCAPS', sans-serif;
    letter-spacing: -0.03em;
}

.hero-lead {
    max-width: 610px;
    margin: 26px auto 16px;
    color: var(--green-600);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.55;
}

.hero-sub {
    max-width: 600px;
    margin: 0 auto;
    color: var(--green-600);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.75;
}

.hero-howto {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--green-600);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.7;
}

.hero-howto strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.7;
}

.hero-howto span {
    display: block;
    margin-top: 6px;
}

.purchase-demo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.purchase-demo-section .section-heading {
    margin-bottom: 22px;
}

.sales-card {
    min-width: 0;
    padding: clamp(22px, 2.4vw, 30px);
    border: 3px solid var(--green-600);
    border-radius: 24px;
    background: #f3f8d7;
    box-shadow: 6px 7px 0 rgba(36, 77, 36, 0.15);
    text-align: center;
}

.sales-card h3 {
    margin: 0 0 16px;
    color: var(--green-900);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.3;
}

.purchase-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.purchase-offer {
    display: grid;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.purchase-offer-copy p {
    margin: 0;
}

.purchase-offer-copy strong,
.purchase-offer-copy span {
    display: block;
}

.purchase-offer-copy strong {
    color: var(--green-900);
    font-size: 1rem;
    font-weight: 900;
}

.purchase-offer-copy span {
    margin-top: 0;
    color: var(--green-600);
    font-size: 0.84rem;
    line-height: 1.5;
}

.purchase-offer .purchase-offer-copy .purchase-note {
    color: var(--green-900);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;
}

.purchase-offer .purchase-offer-copy .purchase-note span {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.demo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.demo-intro,
.demo-limit,
.demo-note,
.demo-status {
    margin: 0;
    color: var(--green-900);
    font-weight: 700;
    line-height: 1.7;
}

.demo-intro {
    max-width: 520px;
}

.demo-limit {
    margin-top: 4px;
}

.demo-limit strong,
.demo-limit span {
    display: block;
}

.demo-limit strong {
    color: var(--green-600);
    font-size: 1.05rem;
}

.demo-downloads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 14px;
}

.demo-download-button {
    width: 100%;
}

.demo-note,
.demo-status {
    margin-top: 12px;
    font-size: 0.78rem;
}

.demo-status.is-error {
    color: #9b2c2c;
}

.demo-status[hidden] {
    display: none !important;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 3px solid var(--green-600);
    border-radius: 999px;
    color: var(--green-600);
    background: var(--cream);
    box-shadow: 3px 4px 0 rgba(36, 77, 36, 0.16);
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 4px 7px 0 rgba(36, 77, 36, 0.16);
}

.button-primary {
    color: var(--control-solid-text);
    background: var(--control-solid);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--control-solid-hover);
}

.button-dark {
    border-color: var(--panel-dark);
    color: var(--paper);
    background: var(--panel-dark);
}

.button-quiet {
    border-color: rgba(79, 129, 46, 0.42);
    box-shadow: none;
}

.button[aria-disabled='true'],
button:disabled {
    cursor: not-allowed;
    filter: saturate(0.25);
    opacity: 0.66;
}

.device-wrap {
    padding: 10px;
}

.product-shot {
    width: min(100%, 620px);
    justify-self: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 24px 28px rgba(36, 77, 36, 0.2)) drop-shadow(0 8px 10px rgba(21, 24, 22, 0.16));
    transform: translateY(-2px);
}

.product-ui-crop {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #171a18;
}

.product-ui-crop img {
    display: block;
    width: 100%;
    height: auto;
}

.product-shot .product-ui-crop {
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.device {
    position: relative;
    padding: 24px;
    border: 6px solid #202620;
    border-radius: 26px;
    color: var(--paper);
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 4px),
        linear-gradient(145deg, #3b423b, #2c322d);
    box-shadow: 18px 22px 0 rgba(36, 77, 36, 0.24);
    transform: rotate(1.2deg);
}

.device::before,
.device::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #131713;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.12);
}

.device::before { left: 13px; top: 13px; }
.device::after { right: 13px; bottom: 13px; }

.device-display {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 2px solid #0e110f;
    border-radius: 7px;
    color: #f6d269;
    background: #111412;
    font: 700 0.78rem/1.2 'Courier New', monospace;
    letter-spacing: 0.08em;
}

.device-meter {
    height: 20px;
    margin: 22px 4px 8px;
    padding: 4px;
    border: 2px solid #111412;
    border-radius: 5px;
    background: #171a18;
}

.device-meter span {
    display: block;
    width: 76%;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #70a245 0 70%, #d9b54f 70% 91%, #b94b3e 91%);
}

.fader-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.fader {
    display: grid;
    justify-items: center;
    gap: 10px;
    font: 700 0.68rem/1.2 'Courier New', monospace;
    letter-spacing: 0.04em;
}

.fader-track {
    position: relative;
    width: 14px;
    height: 190px;
    border-radius: 8px;
    background: #141715;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.fader-track::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 6px;
    width: 54px;
    height: 176px;
    background: repeating-linear-gradient(to bottom, transparent 0 16px, rgba(243, 229, 189, 0.36) 16px 18px);
    pointer-events: none;
}

.fader-track::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: var(--value);
    width: 55px;
    height: 27px;
    border: 2px solid #151815;
    border-radius: 6px;
    background: linear-gradient(#d7c79f, #8c826c);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28);
    transform: translate(-50%, 50%);
}

.device-foot {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    color: rgba(243, 229, 189, 0.64);
    font: 700 0.6rem/1 'Courier New', monospace;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat {
    padding: 18px;
    border: var(--line);
    border-radius: var(--radius-md);
    text-align: center;
    background: var(--cream);
}

.stat strong {
    display: block;
    color: var(--green-700);
    font: 400 1.8rem/1 'UniSansHeavyCAPS', sans-serif;
}

.stat span {
    font-size: 0.78rem;
}

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

#audio-demo .section-heading {
    max-width: 1080px;
}

.section-heading h2 {
    margin: 0 0 8px;
    color: var(--green-600);
    font: 800 clamp(2.15rem, 4.2vw, 3.25rem)/1.2 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;
    letter-spacing: -0.025em;
}

.content-page h1 {
    margin: 0 0 8px;
    color: var(--green-600);
    font: 800 clamp(2.4rem, 6vw, 4.5rem)/1.12 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;
    letter-spacing: -0.025em;
}

.manual-document .content-page-intro h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    line-height: 1.18;
}

.section-heading p {
    margin: 0;
    color: var(--green-600);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    min-height: 240px;
    padding: 26px;
    border: var(--line);
    border-radius: var(--radius-md);
    background: #f6f8d8;
}

.feature-number {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--green-600);
    font: 400 1rem/1 'UniSansHeavyCAPS', sans-serif;
}

.feature-card h3 {
    margin: 20px 0 8px;
    color: var(--green-900);
    font-size: 1.25rem;
}

.feature-card p {
    margin: 0;
    color: var(--green-600);
    font-weight: 700;
}

.video-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.76fr) minmax(440px, 1.24fr);
    align-items: center;
    gap: clamp(30px, 6vw, 80px);
    background: var(--cream);
}

.video-copy h2 {
    margin: 0 0 12px;
    color: var(--green-600);
    font: 800 clamp(2.4rem, 4.8vw, 4.25rem)/1.12 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;
}

.video-copy p {
    color: var(--green-600);
    font-weight: 700;
}

#videos .youtube-card {
    text-align: center;
}

.video-points {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
}

.video-points span {
    padding: 5px 10px;
    border: 2px solid var(--green-600);
    border-radius: 999px;
    color: var(--green-900);
    background: var(--cream);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.video-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 4px solid var(--green-700);
    border-radius: 22px;
    background: #171a18;
    box-shadow: 10px 12px 0 rgba(36, 77, 36, 0.18);
}

.video-stage iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.youtube-card h3 {
    margin: 0 0 12px;
    color: var(--green-900);
    font-size: 1.25rem;
}

.video-poster {
    position: absolute;
    inset: -42% 0 auto;
    width: 100%;
    opacity: 0.58;
    filter: saturate(0.78) contrast(1.08);
}

.video-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 20, 16, 0.78), rgba(15, 20, 16, 0.28));
}

.video-status {
    position: absolute;
    left: clamp(18px, 4vw, 40px);
    bottom: clamp(18px, 4vw, 34px);
    z-index: 1;
    display: grid;
    gap: 4px;
    color: #fff7d6;
}

.video-status strong {
    font: 400 clamp(1.45rem, 3vw, 2.4rem)/1 'UniSansHeavyCAPS', sans-serif;
    letter-spacing: 0.04em;
}

.video-status span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.audio-compare {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(22px, 3.5vw, 38px);
    border: 3px solid var(--green-600);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(196, 224, 141, 0.34), transparent 30%),
        #f6f8d8;
    box-shadow: 8px 10px 0 rgba(36, 77, 36, 0.14);
}

.audio-demo-picker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.audio-demo-option {
    display: grid;
    min-height: 76px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border: 2px solid var(--green-400);
    border-radius: 15px;
    color: var(--green-900);
    background: rgba(255, 252, 225, 0.9);
    box-shadow: 2px 3px 0 rgba(36, 77, 36, 0.1);
    cursor: pointer;
    text-align: left;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.audio-demo-option:hover,
.audio-demo-option:focus-visible {
    transform: translateY(-2px);
    border-color: var(--green-600);
    box-shadow: 3px 5px 0 rgba(36, 77, 36, 0.13);
}

.audio-demo-option.is-active {
    border-color: var(--green-700);
    color: var(--control-solid-text);
    background: var(--control-solid);
    box-shadow: 3px 5px 0 rgba(36, 77, 36, 0.2);
}

.audio-demo-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font: 400 0.78rem/1 'UniSansHeavyCAPS', sans-serif;
}

.audio-demo-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.audio-demo-copy strong {
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audio-player-panel {
    padding: clamp(18px, 3vw, 28px);
    border: 2px solid var(--green-400);
    border-radius: 19px;
    background: rgba(255, 252, 225, 0.92);
}

.audio-selection-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.audio-selected-source {
    display: grid;
    gap: 2px;
    color: var(--green-600);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.audio-selected-source strong {
    color: var(--green-900);
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    letter-spacing: 0;
}

.audio-package-downloads {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.audio-package-download {
    display: grid;
    min-width: 82px;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border: 2px solid var(--green-600);
    border-radius: 999px;
    color: var(--green-900);
    background: var(--cream);
    box-shadow: 2px 3px 0 rgba(36, 77, 36, 0.13);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.audio-package-download:hover,
.audio-package-download:focus-visible {
    transform: translateY(-2px);
    background: var(--green-100);
    box-shadow: 3px 5px 0 rgba(36, 77, 36, 0.14);
}

.audio-package-download:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 0 rgba(36, 77, 36, 0.14);
}

.audio-download-icon {
    width: 15px;
    height: 15px;
    color: var(--green-600);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.audio-toggle {
    display: grid;
    max-width: 560px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0 auto;
    padding: 6px;
    border-radius: 999px;
    background: var(--green-100);
}

.audio-toggle button {
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    color: var(--green-900);
    background: transparent;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.audio-toggle button.is-active {
    color: var(--control-solid-text);
    background: var(--control-solid);
    box-shadow: 0 4px 0 rgba(36, 77, 36, 0.18);
}

.audio-now-playing {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 12px;
    color: var(--green-700);
}

.audio-now-playing strong {
    color: var(--green-900);
    font-size: 1.35rem;
    letter-spacing: 0.08em;
}

.custom-audio-player {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 3px solid var(--green-600);
    border-radius: 16px;
    color: var(--green-600);
    background: var(--cream);
    box-shadow: 4px 5px 0 rgba(36, 77, 36, 0.14);
}

.custom-audio-player.is-disabled {
    background: #f6f8d8;
}

.custom-audio-player.is-loading {
    opacity: 0.72;
}

.audio-play-button {
    min-width: 82px;
    min-height: 44px;
    padding: 8px 14px;
    border: 3px solid var(--green-600);
    border-radius: 999px;
    color: var(--control-solid-text);
    background: var(--control-solid);
    box-shadow: 2px 3px 0 rgba(36, 77, 36, 0.15);
    font-family: 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.audio-play-button:hover:not(:disabled),
.audio-play-button:focus-visible {
    transform: translateY(-2px);
    background: var(--control-solid-hover);
    box-shadow: 3px 5px 0 rgba(36, 77, 36, 0.15);
}

.audio-play-button:active:not(:disabled) {
    transform: translateY(2px);
    box-shadow: 1px 1px 0 rgba(36, 77, 36, 0.15);
}

.audio-play-button:disabled {
    cursor: not-allowed;
}

.audio-transport {
    min-width: 0;
}

.audio-time-row {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--green-600);
    font-family: 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.audio-time-row > :last-child {
    text-align: right;
}

.audio-track-label {
    overflow: hidden;
    color: var(--green-600);
    text-align: center;
    text-overflow: ellipsis;
    line-height: 1.35;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.audio-progress {
    width: 100%;
    height: 18px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: pointer;
}

.audio-progress {
    --audio-progress: 0%;
    background:
        linear-gradient(90deg, var(--green-600) 0 var(--audio-progress), transparent var(--audio-progress)),
        #dcedc8;
    background-position: center;
    background-size: 100% 8px;
    background-repeat: no-repeat;
    border-radius: 999px;
}

.audio-progress::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid var(--green-600);
    border-radius: 50%;
    background: var(--cream);
    box-shadow: 0 0 0 2px var(--green-100);
}

.audio-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 2px solid var(--green-600);
    border-radius: 50%;
    background: var(--cream);
    box-shadow: 0 0 0 2px var(--green-100);
}

.audio-progress:disabled,
.audio-play-button:disabled {
    opacity: 0.58;
}

.audio-volume-meter {
    display: flex;
    width: 76px;
    height: 32px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3px;
    padding: 2px 0;
}

.audio-volume-bar {
    width: 6px;
    height: var(--bar-height);
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--green-100);
    cursor: pointer;
    transition: transform 140ms ease, background 140ms ease;
}

.audio-volume-bar:hover,
.audio-volume-bar:focus-visible {
    transform: translateY(-2px);
    background: var(--green-400);
}

.audio-volume-bar.is-active {
    background: var(--green-600);
}

.audio-compare audio {
    display: none;
}

.audio-status {
    margin: 14px 0 0;
    text-align: center;
    color: var(--green-600);
}

.compatibility {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.compact-heading {
    margin-bottom: 24px;
}

.product-info-section {
    background: var(--cream);
}

#compatibility .section-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.product-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.88fr;
    gap: 14px;
}

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

.compatibility-network-notice {
    margin: 16px 0 0;
    color: var(--green-600);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
}

.compat-card p {
    margin: 0;
    color: var(--green-600);
    font-weight: 700;
}

.compat-legal {
    margin: 20px 0 0;
    text-align: center;
}

.compat-legal a {
    display: inline-block;
    color: var(--green-600);
    font-size: inherit;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.compat-legal a:hover,
.compat-legal a:focus-visible {
    color: var(--green-700);
}

.release-card {
    display: flex;
    min-height: 160px;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: 3px solid var(--green-700);
    border-radius: var(--radius-md);
    color: #fff;
    background: var(--green-700);
}

.release-card > span {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.release-card strong {
    margin: 5px 0 8px;
    font: 400 2rem/1 'UniSansHeavyCAPS', sans-serif;
}

.release-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
}

.support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 18px;
}

.compat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: var(--line);
    border-radius: var(--radius-md);
    background: #f6f8d8;
    text-align: center;
}

.compat-card h3 {
    margin: 0 0 12px;
    color: var(--green-900);
}

.license-card p {
    position: static;
    margin: 0;
}

.license-card .compat-legal {
    margin-top: 18px;
}

.license-line {
    display: block;
}

.license-line + .license-line {
    margin-top: 0.65rem;
}

.compat-specs {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.compat-specs > div {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 3px;
    padding-top: 10px;
    border-top: 1px solid rgba(104, 159, 56, 0.24);
}

.compat-specs > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.compat-specs dt {
    color: var(--green-700);
    font-size: 0.75rem;
    font-weight: 800;
    text-align: center;
}

.compat-specs dd {
    margin: 0;
    color: var(--green-900);
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
}

.compat-specs .compat-formats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.compat-formats span {
    padding: 3px 9px;
    border: 2px solid var(--green-600);
    border-radius: 999px;
    color: var(--green-600);
    background: var(--cream);
    font-size: 0.74rem;
}

.purchase-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 9px;
    color: var(--green-900);
    white-space: nowrap;
}

.purchase-price strong {
    font-size: clamp(3rem, 4.4vw, 4rem);
    line-height: 0.9;
}

.purchase-price del {
    color: var(--green-600);
    font-size: 1.25rem;
    font-weight: 900;
}

.purchase-price small {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.purchase-button {
    flex: 1 1 260px;
    min-width: 220px;
}

.purchase-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2vw, 30px);
    min-width: 0;
}

.purchase-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 18px;
}

.purchase-offer .purchase-note,
.purchase-offer .purchase-terms,
.purchase-offer .purchase-status {
    margin: 0;
    color: var(--green-900);
    font-size: 0.76rem;
    line-height: 1.45;
}

.purchase-offer .purchase-terms a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    font-size: 0.78rem;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.purchase-offer .purchase-terms a:hover,
.purchase-offer .purchase-terms a:focus-visible {
    color: var(--green-900);
}

.purchase-offer .purchase-status.is-error {
    color: #9b2c2c;
}

.purchase-status[hidden] {
    display: none !important;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list .faq-item {
    border: var(--line);
    border-radius: 14px;
    background: #f6f8d8;
    padding: 18px 20px;
}

.faq-list .faq-item h3 {
    margin: 0 0 9px;
    color: var(--green-900);
    font-size: 1rem;
    text-align: left;
}

.faq-list .faq-item p {
    margin: 0;
    color: var(--green-600);
    font-weight: 700;
    line-height: 1.75;
    text-align: left;
}

#sns {
    position: relative;
    margin: 40px 20px;
    padding: 40px 0;
    border: 4px solid var(--cream);
    border-radius: 30px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    background: var(--cream);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 5px 5px 0 rgba(27, 94, 32, 0.1);
}

#sns::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-600);
    box-shadow: 0 0 0 4px var(--cream);
    transform: translateX(-50%);
}

#sns .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.sns-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
}

.sns-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--green-600);
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sns-item:hover {
    color: var(--green-600);
    transform: translateY(-10px);
}

.sns-icon {
    display: flex;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
}

.sns-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(3px 3px 0 rgba(27, 94, 32, 0.2));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sns-item:hover .sns-icon img {
    transform: scale(1.1);
}

.site-footer {
    margin-top: 50px;
    color: var(--green-600);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
}

.content-page {
    max-width: none;
}

.content-page .section-card {
    overflow: visible;
}

.content-page-intro {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
}

.content-page-intro .eyebrow {
    margin-bottom: 16px;
}

.content-page article > section,
.content-page .manual-nav,
.content-page .account-shell {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.content-page .manual-document > section,
.content-page .manual-document .manual-nav {
    max-width: 1220px;
}

.content-page h2 {
    margin: 42px 0 12px;
    color: var(--green-700);
    font-size: 1.65rem;
}

.content-page h3 {
    margin: 26px 0 8px;
    color: var(--green-900);
}

.content-page p,
.content-page li {
    color: #4e644e;
    font-weight: 700;
}

.lang-ja .content-page p,
.lang-ja .content-page li {
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
}

.content-page code {
    padding: 2px 7px;
    border-radius: 6px;
    color: var(--paper);
    background: var(--panel-dark);
}

.manual-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin: 24px auto 36px;
}

.manual-nav a {
    padding: 11px 14px;
    border: 2px solid var(--green-600);
    border-radius: 12px;
    background: #f6f8d8;
}

.manual-back-link {
    margin: 46px 0 0;
    text-align: center;
}

.notice {
    padding: 16px 18px;
    border-left: 6px solid var(--brass);
    border-radius: 8px;
    background: #fff3c8;
}

.account-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
    gap: 20px;
}

.auth-card,
.dashboard-preview {
    padding: 28px;
    border: var(--line);
    border-radius: var(--radius-md);
    background: #f6f8d8;
}

.auth-card h2,
.dashboard-preview h2 {
    margin-top: 0;
    color: var(--green-700);
}

.auth-form {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.auth-form input {
    min-height: 50px;
    padding: 10px 14px;
    border: 3px solid var(--green-600);
    border-radius: 12px;
    color: var(--ink);
    background: #fffef2;
}

.dashboard-product {
    padding: 18px;
    border: 2px solid var(--green-600);
    border-radius: 14px;
    background: var(--cream);
}

.dashboard-product header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.skeleton-line {
    height: 12px;
    margin-top: 12px;
    border-radius: 999px;
    background: rgba(104, 159, 56, 0.17);
}

.skeleton-line.short { width: 58%; }

.account-state[hidden],
.account-logout[hidden] { display: none !important; }

.account-intro {
    position: relative;
    margin-bottom: 22px;
}

.account-logout {
    position: absolute;
    top: 0;
    right: 0;
}

.account-state {
    max-width: 1000px;
    margin: 24px auto 0;
}

.account-state.auth-card {
    max-width: 900px;
    padding: 0;
    border: 0;
    background: transparent;
}

.account-state[data-account-signed-out] {
    margin-top: 14px;
    text-align: center;
}

.account-signin-note {
    max-width: 610px;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    color: var(--ink);
    font-size: 0.94rem;
    line-height: 1.7;
}

.account-state [data-clerk-sign-in] {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 18px;
    text-align: center;
}

/* Keep the page's large hero heading rule from leaking into Clerk's embedded UI. */
.account-state [data-clerk-sign-in] h1 {
    font-size: clamp(1.4rem, 2vw, 1.75rem) !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
}

.account-state [data-clerk-sign-in] label {
    display: block;
    text-align: center !important;
}

.account-spinner {
    display: block;
    width: 38px;
    height: 38px;
    margin: 0 auto 12px;
    border: 4px solid rgba(104, 159, 56, 0.2);
    border-top-color: var(--green-600);
    border-radius: 50%;
    animation: account-spin 0.8s linear infinite;
}

@keyframes account-spin { to { transform: rotate(360deg); } }

.account-state[data-account-loading],
.account-error,
.account-empty { text-align: center; }

.account-error h2,
.account-empty h2 { margin-top: 0; }

.account-summary {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    text-align: center;
}

.account-summary strong { display: block; margin-top: 4px; }

.account-products { display: grid; gap: 18px; }

.account-product-card {
    padding: 24px;
    border: var(--line);
    border-radius: var(--radius-md);
    background: #f6f8d8;
}

.account-product-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.account-product-card h2 { margin: 0; }

.account-license-details {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr);
    gap: 12px;
    margin: 22px 0 8px;
}

.account-license-details > div {
    padding: 14px;
    border: 2px solid rgba(104, 159, 56, 0.35);
    border-radius: 10px;
    background: var(--cream);
}

.account-license-details dt { color: #60745e; font-size: 0.78rem; font-weight: 900; }
.account-license-details dd { margin: 7px 0 0; font-weight: 900; }
.account-license-details code { word-break: break-all; }

.account-license-key {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.account-license-key code { min-width: 0; }

.license-copy-button {
    flex: 0 0 auto;
    margin-left: auto;
    min-height: 34px;
    padding: 6px 14px;
    font-size: 0.78rem;
}

.license-copy-button.is-copied {
    color: var(--control-solid-text);
    background: var(--control-solid);
}

.account-device-list { display: grid; gap: 8px; padding: 0; list-style: none; }

.account-device {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 2px solid rgba(104, 159, 56, 0.25);
    border-radius: 10px;
    background: var(--cream);
}

.account-device strong,
.account-device span { display: block; }
.account-device span { margin-top: 3px; color: #60745e; font-size: 0.78rem; }
.account-list-empty { padding: 12px 0; }
.account-downloads { display: flex; flex-wrap: wrap; gap: 8px; }

.download-coming {
    padding: 10px 12px;
    border: 2px dashed rgba(104, 159, 56, 0.45);
    border-radius: 10px;
    color: #60745e;
    font-weight: 900;
}

.account-empty {
    margin-top: 22px;
    padding: 28px;
    border: 2px dashed var(--green-600);
    border-radius: var(--radius-md);
    background: #f6f8d8;
}

@media (max-width: 680px) {
    .account-state.auth-card { padding: 0 8px; }
    .account-logout { position: static; margin-top: 14px; }
    .account-license-details { grid-template-columns: 1fr; }
    .account-device { align-items: stretch; flex-direction: column; }
    .account-device .button { width: 100%; }
}

.legal-document { max-width: none; }

.legal-document > h1 {
    max-width: 18ch;
    text-wrap: balance;
}

.lang-ja .legal-document > h1 {
    word-break: keep-all;
}

.legal-document a {
    color: var(--green-700);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-skip-ink: none;
}

.legal-document a:hover,
.legal-document a:focus-visible { color: var(--green-900); }

.legal-meta {
    margin: 18px 0 0;
    color: #60745e;
    font-size: 0.82rem;
    font-weight: 900;
}

.legal-intro {
    max-width: 920px;
    margin-top: 18px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.9;
}

.legal-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding: 14px;
    border: 2px solid rgba(104, 159, 56, 0.3);
    border-radius: 14px;
    background: #f6f8d8;
}

.legal-toc a {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--green-600);
    background: var(--cream);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
    color: var(--cream);
    background: var(--green-600);
}

.legal-section {
    margin-top: 42px;
    padding-top: 8px;
    scroll-margin-top: 24px;
}

.legal-section > h2,
.legal-contact-box > h2 {
    margin: 0 0 18px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.legal-section h3 {
    margin: 28px 0 8px;
    color: var(--green-900);
    font-size: 1.02rem;
}

.legal-section p,
.legal-section li,
.legal-contact-box p {
    color: var(--ink);
    font-size: 0.94rem;
    line-height: 1.85;
}

.legal-section p + p { margin-top: 14px; }

.legal-section ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 1.35rem;
}

.legal-disclosure {
    overflow: hidden;
    border: var(--line);
    border-radius: 16px;
    background: var(--cream);
}

.legal-disclosure > div {
    display: grid;
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
}

.legal-disclosure > div + div { border-top: 2px solid rgba(104, 159, 56, 0.22); }

.legal-disclosure dt,
.legal-disclosure dd {
    margin: 0;
    padding: 14px 16px;
    font-size: 0.9rem;
    line-height: 1.75;
}

.legal-disclosure dt {
    color: var(--green-900);
    background: #f0f4cf;
    font-weight: 900;
}

.legal-disclosure dd { color: var(--ink); }

.legal-provider-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.legal-provider-links li {
    padding: 10px 12px;
    border: 2px solid rgba(104, 159, 56, 0.25);
    border-radius: 10px;
    background: #f6f8d8;
    list-style-position: inside;
}

.legal-contact-box {
    margin-top: 44px;
    padding: 22px;
    border: var(--line);
    border-radius: 16px;
    background: #f6f8d8;
}

.legal-contact-box > h2 { font-size: 1.3rem; }

@media (max-width: 680px) {
    .legal-document > h1 {
        max-width: none;
        font-size: 2.05rem;
        line-height: 1.18;
    }

    .legal-intro {
        font-size: 0.94rem;
        line-height: 1.75;
    }

    .legal-disclosure > div { grid-template-columns: 1fr; }
    .legal-disclosure dd { padding-top: 10px; }
    .legal-provider-links { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
    .purchase-demo-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .hero-copy {
        grid-column: 1;
        grid-row: auto;
        order: 1;
    }

    .device-wrap {
        grid-column: 1;
        grid-row: auto;
        order: 4;
        width: min(620px, 100%);
        margin: 0 auto;
    }

    .feature-grid,
    .video-section,
    .youtube-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

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

    .account-shell,
    .product-info-grid,
    .environment-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {
    .audio-demo-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header {
        width: calc(100% - 10px);
        margin: 10px auto 0;
        padding: 10px;
        border-radius: 22px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .main-nav a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .site-header {
        top: 0;
        width: calc(100% - 10px);
        padding: 10px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .nav-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .brand small,
    .account-link {
        display: none;
    }

    .main-nav a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .page-shell {
        width: calc(100% - 10px);
        margin-inline: 5px;
        margin-top: 12px;
    }

    .section-card {
        margin: 20px 0;
        padding: 30px clamp(12px, 3.5vw, 16px);
        border-radius: 30px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 5px 5px 0 rgba(27, 94, 32, 0.1);
    }

    .content-page .section-card {
        padding: 26px 22px;
    }

    .directory-links {
        gap: 7px;
    }

    .directory-links a {
        padding: 8px 11px;
        font-size: 0.78rem;
    }

    .audio-compare {
        padding: 18px 14px;
        border-radius: 18px;
        box-shadow: 5px 6px 0 rgba(36, 77, 36, 0.13);
    }

    .audio-demo-picker {
        display: flex;
        overflow-x: auto;
        gap: 9px;
        margin-right: -2px;
        margin-left: -2px;
        padding: 2px 2px 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .audio-demo-option {
        flex: 0 0 min(220px, 78vw);
        scroll-snap-align: start;
    }

    .audio-player-panel {
        padding: 18px 13px;
    }

    .audio-selection-summary {
        align-items: flex-start;
    }

    .audio-package-downloads {
        gap: 6px;
    }

    .audio-package-download {
        min-width: 70px;
        padding: 8px 9px;
        font-size: 0.69rem;
    }

    .audio-toggle button {
        padding: 11px 6px;
        font-size: 0.68rem;
        letter-spacing: 0.02em;
    }

    .audio-now-playing {
        display: grid;
        gap: 4px;
        text-align: center;
    }

    .audio-now-playing strong {
        white-space: nowrap;
    }

    .custom-audio-player {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .audio-play-button {
        min-width: 76px;
        min-height: 42px;
    }

    .audio-volume-meter {
        grid-column: 1 / -1;
        width: 132px;
        margin: 0 auto;
    }

    .hero {
        min-height: 0;
    }

    .purchase-offer {
        gap: 12px;
        margin-top: 4px;
    }

    .purchase-action {
        flex-direction: column;
        gap: 12px;
    }

    .purchase-offer-copy span {
        margin-top: 0;
    }

    .purchase-button {
        flex: 0 0 auto;
        width: min(100%, 330px);
        min-width: 0;
        margin: 0 auto;
    }

    .demo-downloads {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .hero-lead {
        margin-top: 20px;
        font-size: 1.05rem;
    }

    .hero-sub,
    .hero-howto {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .device-wrap {
        padding: 0;
    }

    .product-shot {
        padding: 0;
        border-radius: 12px;
        box-shadow: none;
        filter: drop-shadow(0 14px 18px rgba(36, 77, 36, 0.18)) drop-shadow(0 5px 8px rgba(21, 24, 22, 0.14));
        transform: none;
    }

    .product-ui-crop {
        border-radius: 12px;
    }

    .product-shot .product-ui-crop {
        border-radius: 0;
    }

    .video-stage {
        border-width: 3px;
        border-radius: 16px;
        box-shadow: 6px 7px 0 rgba(36, 77, 36, 0.16);
    }

    .device {
        padding: 16px 13px;
        border-width: 4px;
        transform: none;
        box-shadow: 8px 10px 0 rgba(36, 77, 36, 0.22);
    }

    .device-display {
        font-size: 0.62rem;
    }

    .fader-track {
        height: 142px;
    }

    .fader-track::before {
        height: 128px;
    }

    .fader-track::after {
        width: 43px;
    }

    .fader {
        font-size: 0.56rem;
    }

    .stat-strip,
    .compatibility,
    .manual-nav,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    #sns {
        margin: 20px 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

.analytics-consent {
    position: fixed;
    z-index: 1000;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 18px 20px;
    color: #20251f;
    background: #fffdf3;
    border: 3px solid #244d24;
    border-radius: 16px;
    box-shadow: 8px 10px 0 rgba(36, 77, 36, 0.24);
}

.analytics-consent[hidden],
.analytics-settings-link[hidden] {
    display: none;
}

.analytics-consent-copy {
    max-width: 700px;
}

.analytics-consent-copy strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.analytics-consent-copy p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.65;
}

.analytics-consent-copy a {
    display: inline-block;
    margin-left: 0.35em;
    font-weight: 700;
    color: #244d24;
}

.analytics-consent-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.analytics-consent-actions .button {
    min-height: 42px;
    padding: 9px 16px;
    border: 2px solid #244d24;
    cursor: pointer;
    font-weight: 600;
}

.analytics-settings-link {
    position: fixed;
    z-index: 999;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    color: #244d24;
    background: rgba(255, 253, 243, 0.94);
    border: 2px solid #244d24;
    border-radius: 999px;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 720px) {
    .analytics-consent {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .analytics-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
