:root {
    color-scheme: dark;
    --growth-bg: #030712;
    --growth-chrome: #050b16;
    --growth-panel: #0b1426;
    --growth-panel-raised: #101d34;
    --growth-line: #355174;
    --growth-text: #f4f7fb;
    --growth-muted: #c7d0de;
    --growth-gold: #fbbf24;
    --growth-gold-strong: #e88a05;
    --growth-blue: #38bdf8;
    --growth-green: #34d399;
}

* { box-sizing: border-box; }

html { background: var(--growth-bg); scroll-behavior: smooth; }

body.growth-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--growth-bg);
    color: var(--growth-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
    letter-spacing: 0;
}

.growth-page a { color: inherit; }

.growth-header {
    position: absolute;
    z-index: 4;
    top: 0;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    min-height: 78px;
    transform: translateX(-50%);
}

.growth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--growth-gold) !important;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.growth-brand img { width: 34px; height: 34px; object-fit: contain; }

.growth-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.growth-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(251, 191, 36, 0.72);
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.14);
    color: #fbbf24 !important;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}

.growth-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(720px, calc(100svh - 72px));
    isolation: isolate;
    overflow: hidden;
}

.growth-hero-media {
    position: absolute;
    z-index: -3;
    inset: 0;
    background-image: url('/assets/marketing/kifmaster-pc-cover-user.webp');
    background-position: center -58px;
    background-repeat: no-repeat;
    background-size: cover;
}

.growth-hero-memory {
    position: absolute;
    z-index: -2;
    top: 70px;
    right: 2vw;
    bottom: 36px;
    left: min(28vw, 520px);
    background-image:
        url('/assets/marketing/forgetting-curve-review-overlay-v1.svg?v=20260926-matched1'),
        url('/assets/marketing/forgetting-curve-overlay-v2.webp');
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, contain;
    filter: drop-shadow(0 0 22px rgba(251, 191, 36, 0.18));
    opacity: 0.84;
    pointer-events: none;
}

.growth-memory-point {
    position: absolute;
    display: grid;
    gap: 2px;
    color: #f8fafc;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(3, 7, 18, 0.96);
}

.growth-memory-point strong {
    color: #fbbf24;
    font-size: 15px;
}

.growth-memory-point.is-now { top: 13%; left: 8%; transform: translate(-10%, -100%); }
.growth-memory-point.is-day { top: 51%; left: 27%; transform: translate(10%, -96%); }
.growth-memory-point.is-week { top: 71%; left: 52%; transform: translate(8%, -100%); }
.growth-memory-point.is-month { top: 82%; left: 82%; transform: translate(6%, -100%); }

.growth-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.98) 0%, rgba(3, 7, 18, 0.90) 12%, rgba(3, 7, 18, 0) 30%), linear-gradient(90deg, rgba(3, 7, 18, 0.91) 0%, rgba(3, 7, 18, 0.70) 42%, rgba(3, 7, 18, 0.10) 82%), linear-gradient(0deg, rgba(3, 7, 18, 0.90) 0%, transparent 52%);
    content: "";
}

.growth-hero-copy {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 150px 0 82px;
}

.growth-eyebrow,
.growth-section-heading > p {
    margin: 0 0 10px;
    color: var(--growth-gold);
    font-size: 15px;
    font-weight: 800;
}

.growth-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 64px;
    line-height: 1.08;
}

.growth-lead {
    max-width: 730px;
    margin: 24px 0 0;
    color: #edf3fb;
    font-size: 24px;
    font-weight: 650;
    line-height: 1.7;
}

.growth-lead strong { color: #ffffff; font-weight: 850; }

.growth-hero-detail {
    max-width: 690px;
    margin: 12px 0 0;
    color: var(--growth-muted);
    font-size: 15px;
    line-height: 1.7;
}

.growth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.growth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    text-align: center;
    text-shadow: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.growth-button:hover,
.growth-button:focus-visible,
.growth-login:hover,
.growth-login:focus-visible { transform: translateY(-1px); outline: none; }

.growth-button-primary {
    border-color: rgba(251, 191, 36, 0.58);
    background: rgba(251, 191, 36, 0.10);
    color: #fbbf24 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.growth-button-secondary,
.growth-button-secondary {
    border-color: rgba(148, 163, 184, 0.32);
    background: rgba(30, 41, 59, 0.76);
    color: #e5e7eb !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}

.growth-button-primary:hover,
.growth-button-primary:focus-visible {
    border-color: rgba(253, 224, 71, 0.78);
    background: rgba(251, 191, 36, 0.17);
    color: #fef3c7 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.growth-button-secondary:hover,
.growth-button-secondary:focus-visible {
    border-color: rgba(148, 163, 184, 0.48);
    background: rgba(51, 65, 85, 0.88);
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.growth-login:hover,
.growth-login:focus-visible {
    border-color: #fde047;
    background: rgba(251, 191, 36, 0.22);
    color: #fef3c7 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.growth-assurance {
    margin: 15px 0 0;
    color: var(--growth-muted);
    font-size: 13px;
}

.growth-proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    border-top: 1px solid var(--growth-line);
    border-bottom: 1px solid var(--growth-line);
    background: var(--growth-chrome);
}

.growth-proof span {
    min-width: 0;
    padding: 23px 18px;
    border-right: 1px solid var(--growth-line);
    color: var(--growth-muted);
    text-align: center;
}

.growth-proof span:last-child { border-right: 0; }
.growth-proof strong { color: var(--growth-green); }

.growth-content-access {
    max-width: 900px;
    margin: 28px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--growth-line);
    color: var(--growth-muted);
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
}

.growth-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 86px 0;
}

.growth-section-heading { max-width: 800px; margin-bottom: 38px; }
.growth-section-heading h2 { margin: 0; font-size: 36px; line-height: 1.3; }
.growth-section-heading > span { display: block; margin-top: 13px; color: var(--growth-muted); line-height: 1.7; }

.growth-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--growth-line);
    border-bottom: 1px solid var(--growth-line);
    background: rgba(5, 11, 22, 0.72);
}

.growth-step { min-width: 0; padding: 28px 26px; border-right: 1px solid var(--growth-line); }
.growth-step:last-child { border-right: 0; }
.growth-step > span { color: var(--growth-blue); font-size: 13px; font-weight: 800; }
.growth-step h3 { margin: 14px 0 10px; font-size: 21px; }
.growth-step p { margin: 0; color: var(--growth-muted); font-size: 14px; line-height: 1.75; }

.growth-retention { padding-bottom: 72px; }

.growth-cycle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--growth-line);
    border-bottom: 1px solid var(--growth-line);
    background: rgba(5, 11, 22, 0.72);
    list-style: none;
}

.growth-cycle li {
    position: relative;
    min-width: 0;
    padding: 28px 30px;
    border-right: 1px solid var(--growth-line);
}

.growth-cycle li:last-child { border-right: 0; }
.growth-cycle span { display: block; color: var(--growth-blue); font-size: 13px; font-weight: 800; }
.growth-cycle strong { display: block; margin-top: 12px; font-size: 20px; }
.growth-cycle small { display: block; margin-top: 9px; color: var(--growth-muted); font-size: 14px; line-height: 1.7; }

.growth-official {
    border-top: 1px solid rgba(251, 191, 36, 0.34);
    border-bottom: 1px solid rgba(251, 191, 36, 0.34);
    background: #101827;
}

.growth-official-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 76px 0;
}

.growth-opening-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
    margin: 0 0 26px;
    padding: 12px 0;
    border-top: 1px solid rgba(82, 101, 125, 0.58);
    border-bottom: 1px solid rgba(82, 101, 125, 0.58);
    list-style: none;
}

.growth-opening-list li {
    position: relative;
    padding: 9px 0 9px 18px;
    color: #dbe7f5;
    font-size: 14px;
    font-weight: 750;
}

.growth-opening-list li::before {
    position: absolute;
    top: 50%;
    left: 1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--growth-gold);
    content: "";
    transform: translateY(-50%);
}

.growth-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--growth-gold) !important;
    font-weight: 850;
    text-decoration: none;
}

.growth-text-link:hover,
.growth-text-link:focus-visible { color: #fef3c7 !important; text-decoration: underline; }

.growth-official-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
}

.growth-text-link-muted { color: var(--growth-muted) !important; }

.growth-step-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    margin-top: 16px;
    color: var(--growth-blue) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.growth-step-link:hover,
.growth-step-link:focus-visible { color: #bae6fd !important; text-decoration: underline; }

.growth-pricing {
    border-top: 1px solid #29435f;
    border-bottom: 1px solid #29435f;
    background: #081522;
    box-shadow: 0 0 0 100vmax #081522;
    clip-path: inset(0 -100vmax);
}

.growth-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.growth-plan {
    position: relative;
    min-width: 0;
    padding: 24px;
    border: 1px solid #34516f;
    border-radius: 8px;
    background: linear-gradient(145deg, #102a43 0%, #0b1c2d 100%);
}

.growth-plan-recommended {
    border-color: rgba(251, 191, 36, 0.78);
    background: linear-gradient(145deg, #17314a 0%, #122235 72%, #211d12 100%);
}
.growth-plan-label { margin: -7px 0 9px; color: var(--growth-gold); font-size: 12px; font-weight: 800; }
.growth-plan h3 { min-height: 52px; margin: 0; font-size: 20px; }
.growth-price { margin: 0 0 20px; color: var(--growth-muted); }
.growth-price strong { color: #ffffff; font-size: 34px; }
.growth-plan ul { display: grid; gap: 10px; margin: 0; padding: 19px 0 0; border-top: 1px solid #42617f; list-style: none; }
.growth-plan li { color: var(--growth-muted); font-size: 14px; line-height: 1.5; }
.growth-plan li::before { margin-right: 7px; color: var(--growth-green); content: "✓"; }

.growth-final-action {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 30px;
}

.growth-final-action > a:last-child { color: var(--growth-muted); font-weight: 700; }

.growth-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 26px;
    padding: 28px 24px 40px;
    border-top: 1px solid var(--growth-line);
    background: var(--growth-chrome);
    color: #8fa0b8;
    font-size: 12px;
}

@media (max-width: 900px) {
    .growth-hero h1 { font-size: 52px; }
    .growth-lead { font-size: 20px; }
    .growth-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .growth-proof span:nth-child(2) { border-right: 0; }
    .growth-proof span:nth-child(-n+2) { border-bottom: 1px solid var(--growth-line); }
    .growth-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .growth-step:nth-child(2) { border-right: 0; }
    .growth-step:nth-child(-n+2) { border-bottom: 1px solid var(--growth-line); }
    .growth-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .growth-cycle { grid-template-columns: 1fr; }
    .growth-cycle li { border-right: 0; border-bottom: 1px solid var(--growth-line); }
    .growth-cycle li:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
    .growth-header { width: calc(100% - 28px); min-height: 66px; }
    .growth-brand { font-size: 18px; }
    .growth-brand img { width: 29px; height: 29px; }
    .growth-header-actions { gap: 4px; }
    .growth-login { min-width: 76px; padding: 0 12px; }
    .growth-hero { min-height: min(720px, calc(100svh - 48px)); }
    .growth-hero-media {
        background-position: 31% top;
        background-size: cover;
    }
    .growth-hero-memory { left: 18vw; opacity: 0.7; }
    .growth-hero::after { background: linear-gradient(180deg, rgba(3, 7, 19, 1) 0%, rgba(3, 7, 19, 0.96) 12%, rgba(3, 7, 19, 0) 30%), linear-gradient(0deg, rgba(3, 7, 19, 0.98) 0%, rgba(3, 7, 19, 0.78) 68%, rgba(3, 7, 19, 0.58) 100%); }
    .growth-hero-copy { width: calc(100% - 28px); padding: 118px 0 42px; }
    .growth-hero h1 { font-size: 43px; }
    .growth-lead { margin-top: 18px; font-size: 17px; line-height: 1.65; }
    .growth-lead br { display: none; }
    .growth-hero-detail { font-size: 14px; }
    .growth-actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
    .growth-button { width: 100%; min-width: 0; }
    .growth-assurance { line-height: 1.6; }
    .growth-proof { width: calc(100% - 28px); }
    .growth-proof span { padding: 17px 8px; font-size: 12px; }
    .growth-proof strong { display: block; margin-bottom: 3px; }
    .growth-section { width: calc(100% - 28px); padding: 62px 0; }
    .growth-official-inner { width: calc(100% - 28px); padding: 58px 0; }
    .growth-section-heading { margin-bottom: 27px; }
    .growth-section-heading h2 { font-size: 28px; }
    .growth-step-grid { grid-template-columns: 1fr; }
    .growth-step { border-right: 0; border-bottom: 1px solid var(--growth-line); padding: 23px 18px; }
    .growth-step:nth-child(2) { border-bottom: 1px solid var(--growth-line); }
    .growth-step:last-child { border-bottom: 0; }
    .growth-cycle li { padding: 23px 18px; }
    .growth-official-actions { display: grid; gap: 8px; }
    .growth-opening-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
    .growth-plan-grid { grid-template-columns: 1fr; }
    .growth-plan h3 { min-height: 0; }
    .growth-final-action { align-items: stretch; flex-direction: column; gap: 16px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .growth-button, .growth-login { transition: none; }
}

/* Keep the brighter canvas and media treatment after mobile legacy rules. */
html,
body.growth-page { background: var(--growth-bg); }

@media (max-width: 600px) {
    .growth-hero {
        display: block;
        min-height: 0;
    }

    .growth-hero-media {
        top: 66px;
        bottom: auto;
        height: 250px;
        background-position: 52% -30px;
        background-size: auto 320px;
    }

    .growth-hero-memory {
        top: 70px;
        right: auto;
        bottom: auto;
        left: -78px;
        width: 560px;
        height: 225px;
        background-position: center top;
        opacity: 0.52;
    }

    .growth-memory-point strong { font-size: 12px; }
    .growth-memory-point { white-space: nowrap; }
    .growth-memory-point small { display: none; }
    .growth-memory-point.is-now { top: 13%; left: 20%; }
    .growth-memory-point.is-day { top: 50%; left: 32%; }
    .growth-memory-point.is-week { top: 71%; left: 51%; }
    .growth-memory-point.is-month { top: 82%; left: 70%; }

    .growth-hero::after {
        top: 66px;
        bottom: auto;
        height: 250px;
        background: linear-gradient(180deg, rgba(3, 7, 18, 0.72) 0%, rgba(3, 7, 18, 0.12) 36%, rgba(3, 7, 18, 0.28) 70%, #030712 100%);
    }

    .growth-hero-copy {
        position: relative;
        width: calc(100% - 28px);
        padding: 288px 0 24px;
    }

    .growth-hero h1 { font-size: 42px; }
    .growth-lead { font-size: 18px; line-height: 1.6; }
    .growth-hero-detail { font-size: 16px; line-height: 1.65; }

    .growth-hero-detail,
    .growth-assurance,
    .growth-section-heading > span,
    .growth-step p,
    .growth-cycle small,
    .growth-plan li { color: var(--growth-muted); }
}
