html, body {
    font-family: "Inter", "Noto Sans JP", "Segoe UI", sans-serif;
}

.bi {
    line-height: 1;
    vertical-align: -0.125em;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 14px;
    border: 1px solid #cfd8f8;
    background-color: #ffffff;
    background-image:
        linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(59, 130, 246, 0.04)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%234f46e5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 100% 100%, 14px 14px;
    background-position: center, right 0.9rem center;
    background-repeat: no-repeat;
    padding-right: 2.9rem;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.14);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.form-select:hover {
    border-color: #a5b4fc;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.18);
}

.form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.18rem rgba(99, 102, 241, 0.25), 0 10px 22px rgba(79, 70, 229, 0.22);
    transform: translateY(-1px);
}

.form-select:disabled {
    opacity: 0.72;
    box-shadow: none;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #7c3aed;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

body.dark-mode {
    /* pure black を避け、白を少し混ぜた濃いグレー */
    background: #111317 !important;
    background-color: #111317 !important;
    color: #e7e7e7;
}


body.dark-mode,
body.dark-mode html,
html:has(body.dark-mode) {
    background: #000000 !important;
    background-color: #000000 !important;
}

body.dark-mode .page,
body.dark-mode main,
body.dark-mode article,
body.dark-mode .content,
body.dark-mode .container,
body.dark-mode .container-fluid {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #e7e7e7;
}

body.dark-mode a,
body.dark-mode .btn-link {
    color: #8ab4ff;
}

body.dark-mode .navbar,
body.dark-mode .top-row,
body.dark-mode .sidebar {
    background-color: #181b20 !important;
}

body.dark-mode .card,
body.dark-mode .modal-content,
body.dark-mode .dropdown-menu {
    /* 背景より少し明るくして境目を分かりやすく */
    background-color: #242830;
    color: #e7e7e7;
    border: 1px solid #4b5563;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

body.dark-mode .text-muted {
    color: #a1a1a1 !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #252525;
    color: #f2f2f2;
    border-color: #3a3a3a;
}

body.dark-mode .form-select {
    background-image:
        linear-gradient(140deg, rgba(79, 70, 229, 0.2), rgba(15, 23, 42, 0.45)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23c4b5fd' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 100% 100%, 14px 14px;
    background-position: center, right 0.9rem center;
    background-repeat: no-repeat;
    border-color: #4b4b60;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

body.dark-mode .form-select:hover {
    border-color: #7c83ff;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.33);
}

body.dark-mode .form-select:focus {
    border-color: #9aa0ff;
    box-shadow: 0 0 0 0.18rem rgba(124, 131, 255, 0.36), 0 12px 24px rgba(37, 99, 235, 0.28);
}

body.dark-mode .form-control::placeholder {
    color: #9f9f9f;
}

body.dark-mode .list-group-item,
body.dark-mode .table {
    background-color: #1e1e1e;
    color: #e7e7e7;
    border-color: #333;
}

/* ============================================================
   Landing page (Lexion) -- 2026 refresh
   Scope: everything under .lp on Home.razor (anonymous view)
   ============================================================ */
@property --lp-phone-shift {
    syntax: "<length>";
    inherits: false;
    initial-value: 0px;
}

.lp {
    --lp-primary: #6c5ce7;
    --lp-primary-strong: #5a4bd6;
    --lp-ink: #1f2233;
    --lp-body: #4b5168;
    --lp-muted: #8b90a3;
    --lp-line: #ececf6;
    --lp-surface: #ffffff;
    --lp-tint: #f6f5fe;
    --lp-violet-soft: #efeafc;
    --lp-scroll-progress: 0;

    background: var(--lp-surface);
    color: var(--lp-ink);
    overflow-x: clip;
    font-family: "Inter", "Noto Sans JP", "Segoe UI", sans-serif;
}

.lp-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.lp-container--narrow {
    max-width: 800px;
}

.lp-center {
    text-align: center;
}

/* ----- Buttons ----- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border-radius: 12px;
    padding: .7rem 1.5rem;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}

.lp-btn-lg {
    padding: .9rem 1.9rem;
    font-size: 1rem;
}

.lp-btn-block {
    width: 100%;
}

.lp-btn-primary {
    background: var(--lp-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(108, 92, 231, .28);
}

.lp-btn-primary:hover {
    background: var(--lp-primary-strong);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(108, 92, 231, .34);
}

.lp-btn-ghost {
    background: #fff;
    color: var(--lp-primary);
    border-color: #d9d4f6;
}

.lp-btn-ghost:hover {
    background: var(--lp-violet-soft);
    color: var(--lp-primary-strong);
}

/* ----- Nav ----- */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-line);
}

.lp-nav-inner {
    max-width: 1120px;
    margin-inline: auto;
    padding: .7rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lp-nav-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lp-ink);
    text-decoration: none;
    flex-shrink: 0;
}

.lp-nav-logo:hover,
.lp-nav-logo:focus,
.lp-nav-logo:active {
    color: var(--lp-ink);
    opacity: 1;
}

.lp-nav-logo span {
    color: inherit;
}

.lp-nav-logo img {
    border-radius: 8px;
}

.lp-nav-links {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.lp-nav-links a {
    color: var(--lp-body);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: color .15s;
}

.lp-nav-links a:hover {
    color: var(--lp-primary);
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.lp-nav-login {
    color: var(--lp-body);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.lp-nav-login:hover {
    color: var(--lp-primary);
}

.lp-nav-cta {
    padding: .5rem 1.15rem;
    font-size: .9rem;
}

/* ----- Hero ----- */
.lp-hero {
    position: relative;
    background:
        radial-gradient(circle at 85% 0%, #ece8fc 0%, rgba(236, 232, 252, 0) 55%),
        linear-gradient(180deg, #faf9ff 0%, #ffffff 100%);
    padding-block: clamp(2.5rem, 6vw, 5rem);
    overflow: hidden;
    --lp-scroll-shift: 0px;
    --lp-scroll-fade: 1;
}

.lp-hero::before {
    content: "";
    position: absolute;
    inset: -18% -10% auto 42%;
    height: 34rem;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(0, 184, 148, .12), rgba(14, 165, 233, .10) 42%, rgba(108, 92, 231, .16));
    transform: translate3d(calc(var(--lp-scroll-progress) * -28px), calc(var(--lp-scroll-progress) * 34px), 0) rotate(-8deg);
    filter: blur(1px);
    opacity: .72;
    clip-path: polygon(18% 0, 100% 12%, 78% 100%, 0 76%);
}

.lp-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
}

.lp-badge {
    display: inline-block;
    padding: .4rem .9rem;
    border-radius: 999px;
    background: var(--lp-violet-soft);
    color: var(--lp-primary-strong);
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.lp-hero-title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: .01em;
    color: var(--lp-ink);
    margin: 0 0 1.25rem;
}

.lp-accent {
    color: var(--lp-primary);
}

.lp-hero-sub {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--lp-body) !important;
    max-width: 30em;
    margin: 0 0 1.75rem;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-bottom: 1rem;
}

.lp-center-cta {
    justify-content: center;
}

.lp-hero-note {
    font-size: .85rem;
    color: var(--lp-muted) !important;
    margin: 0;
}

.lp-hero-note a {
    color: var(--lp-primary);
    font-weight: 700;
    text-decoration: none;
}

.lp-hero-note a:hover {
    text-decoration: underline;
}

/* Hero phone showcase */
.lp-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
}

.lp-phone {
    --lp-phone-rotate: 0deg;
    --lp-phone-shift: 0px;
    background: #11131c;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 30px 60px rgba(31, 34, 51, .22);
    overflow: hidden;
    transform: translate3d(0, calc(var(--lp-scroll-shift) + var(--lp-phone-shift)), 0) rotate(var(--lp-phone-rotate));
    transition: box-shadow .25s ease;
    will-change: transform;
}

.lp-phone img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 22px;
}

.lp-phone--main {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 440px;
    animation: lp-phone-float 6.8s ease-in-out infinite;
}

.lp-phone--side {
    position: absolute;
    z-index: 1;
    width: 165px;
    height: 340px;
    opacity: .96;
}

.lp-phone--left {
    left: 2%;
    --lp-phone-rotate: -7deg;
    animation: lp-phone-float-left 7.6s ease-in-out infinite;
}

.lp-phone--right {
    right: 2%;
    --lp-phone-rotate: 7deg;
    animation: lp-phone-float-right 7.2s ease-in-out infinite;
}

.lp-hero-copy,
.lp-hero-visual,
.lp-origin-story,
.lp-inline-correction,
.lp-hero-highlights,
.lp-hero-promo {
    animation: lp-hero-rise .78s cubic-bezier(.2, .85, .25, 1) both;
}

.lp-hero-visual {
    animation-delay: .08s;
}

.lp-inline-correction {
    animation-delay: .14s;
}

.lp-origin-story {
    animation-delay: .2s;
}

.lp-hero-highlights {
    animation-delay: .26s;
}

.lp-hero-promo {
    animation-delay: .34s;
}

.lp-motion-ready .lp-section-head,
.lp-motion-ready .lp-feature-card,
.lp-motion-ready .lp-promo,
.lp-motion-ready .lp-stats,
.lp-motion-ready .lp-before-after,
.lp-motion-ready .lp-step,
.lp-motion-ready .lp-free-start-card,
.lp-motion-ready .lp-free-start-point,
.lp-motion-ready .lp-voice,
.lp-motion-ready .faq-item,
.lp-motion-ready .lp-devices,
.lp-motion-ready .lp-final {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(.985);
    transition:
        opacity .7s cubic-bezier(.2, .85, .25, 1),
        transform .7s cubic-bezier(.2, .85, .25, 1),
        box-shadow .25s ease;
    transition-delay: var(--lp-reveal-delay, 0ms);
    will-change: opacity, transform;
}

.lp-motion-ready .lp-reveal-in {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.lp-motion-ready .lp-feature-card:hover,
.lp-motion-ready .lp-free-start-point:hover,
.lp-motion-ready .lp-voice:hover {
    transform: translate3d(0, -5px, 0) scale(1.01);
}

.lp-motion-ready .lp-btn {
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.lp-motion-ready .lp-btn:hover {
    transform: translateY(-2px);
}

@keyframes lp-hero-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes lp-phone-float {
    0%, 100% { --lp-phone-shift: 0px; }
    50% { --lp-phone-shift: -12px; }
}

@keyframes lp-phone-float-left {
    0%, 100% { --lp-phone-shift: 8px; }
    50% { --lp-phone-shift: -8px; }
}

@keyframes lp-phone-float-right {
    0%, 100% { --lp-phone-shift: -4px; }
    50% { --lp-phone-shift: 10px; }
}

/* ----- Section scaffolding ----- */
.lp-section {
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

.lp-section--tight {
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.lp-section--alt {
    background: var(--lp-tint);
}

.lp-section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.lp-section-title {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    font-weight: 800;
    color: var(--lp-ink);
    margin: 0 0 .65rem;
}

.lp-section-title--left {
    text-align: left;
}

.lp-section-sub {
    font-size: 1rem;
    color: var(--lp-body) !important;
    margin: 0;
}

/* ----- Origin story ----- */
.lp-origin-story {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    margin: 2.25rem 0 0;
    padding: clamp(1.15rem, 2.5vw, 1.6rem);
    border: 1px solid rgba(108, 92, 231, .18);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(248, 247, 255, .96)),
        linear-gradient(135deg, rgba(0, 184, 148, .08), rgba(108, 92, 231, .12));
    box-shadow: 0 18px 38px rgba(31, 34, 51, .08);
}

.lp-origin-mark {
    min-width: 6.4rem;
    height: 4.5rem;
    padding-inline: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #17152b;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: .02em;
    box-shadow: 0 14px 28px rgba(31, 34, 51, .16);
}

.lp-origin-kicker {
    margin: 0 0 .35rem;
    color: var(--lp-primary-strong) !important;
    font-size: .78rem;
    font-weight: 850;
}

.lp-origin-copy h2 {
    margin: 0 0 .5rem;
    color: var(--lp-ink);
    font-size: clamp(1.15rem, 2.5vw, 1.55rem);
    font-weight: 850;
    line-height: 1.45;
}

.lp-origin-copy p:last-child {
    margin: 0;
    color: var(--lp-body) !important;
    font-size: .95rem;
    line-height: 1.8;
}

/* ----- Hero feature highlights (2x2) ----- */
.lp-hero-highlights {
    list-style: none;
    margin: 2.75rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem 1.5rem;
}

.lp-highlight {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
}

.lp-highlight-icon {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--lp-violet-soft);
    font-size: 1.25rem;
}

.lp-highlight strong {
    display: block;
    font-size: .92rem;
    font-weight: 800;
    color: var(--lp-ink);
    margin-bottom: .2rem;
}

.lp-highlight span {
    font-size: .82rem;
    line-height: 1.6;
    color: var(--lp-body);
}

/* ----- Hero promo CTA box ----- */
.lp-hero-promo {
    margin-top: 2.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, #7b6ef0 0%, #6c5ce7 100%);
    border-radius: 22px;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 2.75rem);
    box-shadow: 0 22px 46px rgba(108, 92, 231, .28);
}

.lp-hero-promo-body h2 {
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 .5rem;
    line-height: 1.4;
}

.lp-hero-promo-body p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .9) !important;
    margin: 0;
}

.lp-hero-promo-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
    min-width: 220px;
}

.lp-btn-white {
    background: #fff;
    color: var(--lp-primary-strong);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.lp-btn-white:hover {
    background: #f3f1ff;
    color: var(--lp-primary-strong);
    transform: translateY(-1px);
}

.lp-hero-promo-login {
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
}

.lp-hero-promo-login:hover {
    text-decoration: underline;
    color: #fff;
}

/* ----- Feature grid (thumbnail cards) ----- */
.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.lp-feature-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 10px 26px rgba(31, 34, 51, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.lp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(31, 34, 51, .1);
}

.lp-feature-thumb {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--lp-tint);
    border: 1px solid var(--lp-line);
}

.lp-feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.lp-feature-body h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--lp-ink);
    margin: 0 0 .35rem;
}

.lp-feature-body p {
    font-size: .88rem;
    line-height: 1.7;
    color: var(--lp-body) !important;
    margin: 0 0 .5rem;
}

.lp-feature-more {
    font-size: .85rem;
    font-weight: 700;
    color: var(--lp-primary);
    text-decoration: none;
}

.lp-feature-more:hover {
    text-decoration: underline;
}

/* ----- Promo block ----- */
.lp-promo-wrap {
    padding-block: clamp(2rem, 4vw, 3rem);
}

.lp-promo {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, #7b6ef0 0%, #6c5ce7 100%);
    border-radius: 26px;
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: 0 24px 50px rgba(108, 92, 231, .3);
}

.lp-promo-copy h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.25rem;
    line-height: 1.4;
}

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

.lp-check-list li {
    position: relative;
    padding-left: 1.9rem;
    color: rgba(255, 255, 255, .95) !important;
    font-weight: 600;
    font-size: .96rem;
    line-height: 1.6;
}

.lp-check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.3rem;
    height: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
}

.lp-promo-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 16px 36px rgba(31, 34, 51, .14);
}

.lp-promo-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lp-ink);
    margin: 0 0 1.1rem;
    text-align: center;
}

.lp-check-list--light li {
    color: var(--lp-body) !important;
    font-weight: 600;
}

.lp-check-list--light li::before {
    background: var(--lp-violet-soft);
    color: var(--lp-primary);
}

.lp-promo-card .lp-btn {
    margin-top: 1.4rem;
}

/* ----- Stats ----- */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    background: var(--lp-surface);
    padding: 1.5rem;
    box-shadow: 0 10px 26px rgba(31, 34, 51, .05);
}

.lp-stat {
    display: flex;
    align-items: center;
    gap: .9rem;
    justify-content: center;
}

.lp-stat + .lp-stat {
    border-left: 1px solid var(--lp-line);
}

.lp-stat-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.lp-stat strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lp-ink);
}

.lp-stat span {
    font-size: .85rem;
    color: var(--lp-muted);
}

/* ----- Correction card ----- */
.lp-correction-card {
    max-width: 780px;
    margin: 0 auto 2rem;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-left: 4px solid var(--lp-primary);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 10px 26px rgba(31, 34, 51, .06);
}

.lp-correction-row + .lp-correction-row {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed var(--lp-line);
}

.lp-correction-label {
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--lp-primary);
    margin: 0 0 .5rem;
}

.lp-correction-row--fixed .lp-correction-label {
    color: #4f46e5;
}

.lp-correction-text {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--lp-ink) !important;
    margin: 0;
}

.lp-correction-text--muted {
    font-size: .92rem;
    color: var(--lp-body) !important;
}

/* ----- Steps ----- */
.lp-steps {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    counter-reset: lp-step;
}

.lp-step {
    position: relative;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    padding: 1.75rem 1.4rem;
    text-align: center;
    box-shadow: 0 10px 26px rgba(31, 34, 51, .05);
}

.lp-step-num {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    font-size: .8rem;
    font-weight: 800;
    color: var(--lp-primary);
    background: var(--lp-violet-soft);
    border-radius: 999px;
    padding: .15rem .6rem;
}

.lp-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: var(--lp-violet-soft);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.lp-step h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--lp-ink);
    margin: 0 0 .5rem;
}

.lp-step p {
    font-size: .92rem;
    line-height: 1.8;
    color: var(--lp-body) !important;
    margin: 0;
}

/* ----- Pricing plans ----- */
.lp-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 20px;
    padding: 1.9rem 1.6rem;
    box-shadow: 0 10px 26px rgba(31, 34, 51, .05);
}

.lp-plan--featured {
    border: 2px solid var(--lp-primary);
    background: linear-gradient(180deg, #f7f5ff 0%, #ffffff 60%);
    box-shadow: 0 20px 44px rgba(108, 92, 231, .18);
}

.lp-plan-tag {
    position: absolute;
    top: -.85rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-primary);
    color: #fff;
    font-size: .76rem;
    font-weight: 800;
    padding: .25rem .9rem;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(108, 92, 231, .3);
}

.lp-plan-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lp-ink);
    margin: 0 0 .3rem;
}

.lp-plan-for {
    font-size: .85rem;
    color: var(--lp-muted) !important;
    margin: 0 0 1rem;
}

.lp-plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lp-ink);
    margin: 0 0 1.25rem;
}

.lp-plan-price span {
    font-size: .9rem;
    font-weight: 600;
    color: var(--lp-muted);
}

.lp-plan-feats {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: .7rem;
    flex: 1;
}

.lp-plan-feats li {
    position: relative;
    padding-left: 1.6rem;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--lp-body) !important;
}

.lp-plan-feats li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--lp-primary);
    font-weight: 800;
}

.lp-plan-note {
    text-align: center;
    margin: 1.5rem 0 0;
    font-size: .82rem;
    color: var(--lp-muted) !important;
}

/* ----- Free start reassurance ----- */
.lp-free-start-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    gap: 1.25rem;
    align-items: stretch;
}

.lp-free-start-card,
.lp-free-start-point {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(31, 34, 51, .05);
}

.lp-free-start-card {
    padding: clamp(1.5rem, 3vw, 2.1rem);
}

.lp-free-start-card--main {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 62%, #f7f5ff 100%);
    border-color: rgba(14, 165, 233, .22);
}

.lp-free-start-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: .75rem;
    padding: .28rem .75rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: .76rem;
    font-weight: 850;
}

.lp-free-start-card h3 {
    color: var(--lp-ink);
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 850;
    line-height: 1.45;
    margin: 0 0 .75rem;
}

.lp-free-start-card p {
    color: var(--lp-body) !important;
    font-size: .95rem;
    line-height: 1.85;
    margin: 0;
}

.lp-free-start-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.35rem;
}

.lp-free-start-points {
    display: grid;
    gap: .8rem;
}

.lp-free-start-point {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .2rem .75rem;
    padding: 1.05rem 1.15rem;
}

.lp-free-start-point span {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: #e0e7ff;
    color: #4338ca;
    font-size: .85rem;
    font-weight: 850;
}

.lp-free-start-point strong {
    color: var(--lp-ink);
    font-size: .98rem;
    font-weight: 850;
}

.lp-free-start-point p {
    color: var(--lp-body) !important;
    font-size: .86rem;
    line-height: 1.65;
    margin: 0;
}

/* ----- Voices ----- */
.lp-voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lp-voice {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 10px 26px rgba(31, 34, 51, .05);
}

.lp-voice-head {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: .9rem;
}

.lp-voice-avatar {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--lp-violet-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.lp-stars {
    color: #f5b400;
    font-size: 1rem;
    letter-spacing: .1em;
    margin-bottom: .9rem;
}

.lp-voice-head .lp-stars {
    margin-bottom: 0;
}

.lp-voice-text {
    font-size: .95rem;
    line-height: 1.85;
    color: var(--lp-ink) !important;
    margin: 0 0 1rem;
}

.lp-voice-author {
    font-size: .85rem;
    font-weight: 700;
    color: var(--lp-muted) !important;
    margin: 0;
}

/* ----- FAQ wrapper (reuses .faq-item from site.css) ----- */
.lp-faq {
    display: grid;
    gap: .75rem;
}

/* ----- Multi-device ----- */
.lp-devices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.lp-devices-copy .lp-check-list li {
    color: var(--lp-body) !important;
    font-weight: 600;
}

.lp-devices-copy .lp-check-list li::before {
    background: var(--lp-violet-soft);
    color: var(--lp-primary);
}

.lp-devices-copy .lp-section-title {
    margin-bottom: 1.5rem;
}

.lp-devices-visual {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(31, 34, 51, .16);
    border: 1px solid var(--lp-line);
}

.lp-devices-visual img {
    display: block;
    width: 100%;
    height: auto;
}

/* ----- Final CTA ----- */
.lp-final {
    background:
        radial-gradient(circle at 50% 0%, #ece8fc 0%, rgba(236, 232, 252, 0) 60%),
        linear-gradient(180deg, #faf9ff 0%, #ffffff 100%);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

.lp-final-lock {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.lp-final-title {
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 800;
    color: var(--lp-ink);
    margin: 0 0 .75rem;
}

.lp-final-sub {
    font-size: 1.02rem;
    color: var(--lp-body) !important;
    margin: 0 0 1.75rem;
}

.lp-final .lp-hero-note {
    margin-top: 1rem;
}

/* ----- Footer ----- */
.lp-footer {
    background: #14161f;
    color: #c9cce0;
    padding-block: 2.5rem;
}

.lp-footer-inner {
    display: grid;
    gap: 1.25rem;
}

.lp-footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .5rem;
}

.lp-footer-brand p {
    font-size: .9rem;
    line-height: 1.8;
    color: #9aa0bd !important;
    margin: 0;
    max-width: 36em;
}

.lp-footer-links,
.lp-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.lp-footer-links a,
.lp-footer-legal a {
    color: #c9cce0;
    font-size: .88rem;
    text-decoration: none;
}

.lp-footer-legal a {
    color: #9aa0bd;
    font-size: .82rem;
}

.lp-footer-links a:hover,
.lp-footer-legal a:hover {
    color: #fff;
}

.lp-footer-copy {
    margin: .5rem 0 0;
    font-size: .8rem;
    color: #717691 !important;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 1.25rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
    .lp-nav-links {
        display: none;
    }

    .lp-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lp-hero-sub {
        margin-inline: auto;
    }

    .lp-hero-cta {
        justify-content: center;
    }

    .lp-hero-visual {
        min-height: 420px;
    }

    .lp-hero-highlights {
        grid-template-columns: repeat(2, 1fr);
        max-width: 560px;
        margin-inline: auto;
        text-align: left;
    }

    .lp-hero-promo {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .lp-origin-story {
        max-width: 680px;
        margin-inline: auto;
        text-align: left;
    }

    .lp-hero-promo-actions {
        min-width: 0;
    }

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

    .lp-promo,
    .lp-devices {
        grid-template-columns: 1fr;
    }

    .lp-section-title--left {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .lp-container {
        padding-inline: 1.15rem;
    }

    .lp-nav-login {
        display: none;
    }

    .lp-feature-grid,
    .lp-plan-grid,
    .lp-free-start-grid,
    .lp-voice-grid,
    .lp-steps {
        grid-template-columns: 1fr;
    }

    .lp-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .lp-stat {
        justify-content: flex-start;
    }

    .lp-stat + .lp-stat {
        border-left: none;
        border-top: 1px solid var(--lp-line);
        padding-top: 1.25rem;
    }

    .lp-hero-cta,
    .lp-center-cta,
    .lp-free-start-actions {
        flex-direction: column;
    }

    .lp-hero-cta .lp-btn,
    .lp-center-cta .lp-btn,
    .lp-free-start-actions .lp-btn {
        width: 100%;
    }

    .lp-origin-story {
        grid-template-columns: 1fr;
        gap: .9rem;
    }

    .lp-origin-mark {
        min-width: 5.8rem;
        height: 3.8rem;
        font-size: .9rem;
    }

    .lp-phone--main {
        width: 200px;
        height: 400px;
    }

    .lp-phone--side {
        width: 130px;
        height: 270px;
    }

    .lp-plan--featured {
        order: -1;
    }
}

@media (max-width: 420px) {
    .lp-phone--side {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn,
    .lp-feature-card {
        transition: none;
    }

    .lp-hero-copy,
    .lp-hero-visual,
    .lp-origin-story,
    .lp-inline-correction,
    .lp-hero-highlights,
    .lp-hero-promo,
    .lp-phone {
        animation: none !important;
        transform: none !important;
    }

    .lp-motion-ready .lp-section-head,
    .lp-motion-ready .lp-feature-card,
    .lp-motion-ready .lp-promo,
    .lp-motion-ready .lp-stats,
    .lp-motion-ready .lp-before-after,
    .lp-motion-ready .lp-step,
    .lp-motion-ready .lp-free-start-card,
    .lp-motion-ready .lp-free-start-point,
    .lp-motion-ready .lp-voice,
    .lp-motion-ready .faq-item,
    .lp-motion-ready .lp-devices,
    .lp-motion-ready .lp-final {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   Dark mode
   ============================================================ */
body.dark-mode .lp {
    --lp-ink: #f1f2f7;
    --lp-body: #b9bdcc;
    --lp-muted: #8b90a3;
    --lp-line: #2a2d3a;
    --lp-surface: #16181f;
    --lp-tint: #101218;
    --lp-violet-soft: #221f3a;
    background: #0c0d12;
    color: var(--lp-ink);
}

body.dark-mode .lp-nav {
    background: rgba(12, 13, 18, .9);
    border-bottom-color: var(--lp-line);
}

body.dark-mode .lp-nav-logo {
    color: var(--lp-ink);
}

body.dark-mode .lp-hero,
body.dark-mode .lp-final {
    background:
        radial-gradient(circle at 80% 0%, #1c1838 0%, rgba(28, 24, 56, 0) 55%),
        linear-gradient(180deg, #101218 0%, #0c0d12 100%);
}

body.dark-mode .lp-btn-ghost {
    background: var(--lp-surface);
    border-color: #3a3550;
    color: #b9a8ff;
}

body.dark-mode .lp-btn-ghost:hover {
    background: var(--lp-violet-soft);
}

body.dark-mode .lp-promo-card {
    background: var(--lp-surface);
}

body.dark-mode .lp-promo-card h3 {
    color: var(--lp-ink);
}

body.dark-mode .lp-origin-story {
    border-color: rgba(185, 168, 255, .24);
    background:
        linear-gradient(135deg, rgba(22, 24, 31, .96), rgba(16, 18, 24, .96)),
        linear-gradient(135deg, rgba(0, 184, 148, .08), rgba(108, 92, 231, .14));
    box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
}

body.dark-mode .lp-origin-mark {
    background: #2a2550;
}

/* ===== Register page value strip ===== */
.register-value-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
}

.register-value-strip span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: .35rem .5rem;
    color: #1e3a8a;
    background: #eff6ff;
    font-size: .9rem;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 480px) {
    .register-value-strip {
        grid-template-columns: 1fr;
    }
}

/* ===== 2026 Soft Modern + Editorial Hybrid refresh ===== */
:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #7c3aed;
    --accent: #0ea5e9;
    --border: #e2e8f0;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --shadow-soft: 0 8px 28px rgba(15, 23, 42, 0.06);
    --focus: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

html, body {
    font-family: "Inter", "Noto Sans JP", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}

main {
    background: linear-gradient(180deg, #f8fafc 0%, #f9fbff 100%);
}

a, .btn-link {
    color: var(--primary);
}

h1, h2, h3, h4, h5 {
    color: var(--text);
    letter-spacing: 0.01em;
}

p, li, .form-label, .text-muted {
    color: #334155 !important;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.btn {
    border-radius: 12px;
    font-weight: 600;
}

.btn-primary {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.24);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.3);
}

.form-control,
.form-select,
textarea.form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--text);
    box-shadow: none;
}

textarea.form-control {
    line-height: 1.8;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus,
.btn:focus,
.btn-link.nav-link:focus {
    border-color: #c4b5fd;
    box-shadow: var(--focus);
}

.border-bottom {
    border-color: var(--border) !important;
}

body.dark-mode {
    background: #000000;
    color: #e7e7e7;
}

body.dark-mode .card {
    border-color: #2a2a2a;
    background: #111111;
}


body.dark-mode .landing-page .feature-story-heading,
body.dark-mode .landing-page .plan-description-title {
    color: #ffffff !important;
}

body.dark-mode .testimonial-card,
body.dark-mode .how-it-works-step {
    background: #111111;
    border-color: #2a2a2a;
}

body.dark-mode .step-title {
    color: #e7e7e7;
}

body.dark-mode .step-desc,
body.dark-mode .testimonial-quote {
    color: #a1a1a1 !important;
}

body.dark-mode .testimonial-name {
    color: #e7e7e7;
}

body.dark-mode .how-it-works-step-arrow {
    color: #4b5563;
}

.pricing-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.pricing-hero {
    padding: 5rem 0 3rem;
    text-align: center;
}

.pricing-kicker {
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-hero h1 {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(2.3rem, 5vw, 4.25rem);
    line-height: 1.08;
}

.pricing-hero p {
    max-width: 720px;
    margin: 1.25rem auto 0;
    color: #475569 !important;
    font-size: 1.08rem;
    line-height: 1.8;
}

.pricing-section {
    padding: 1rem 0 5rem;
}

.pricing-card {
    height: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.pricing-card-featured {
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 18px 46px rgba(124, 58, 237, 0.18);
}

.plan-label {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: var(--primary);
    background: #eff6ff;
    font-size: 0.86rem;
    font-weight: 800;
}

.plan-price {
    margin: 1rem 0;
    color: var(--text) !important;
    font-size: 2.2rem;
    font-weight: 900;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 700;
}

.pricing-card ul {
    min-height: 9rem;
    margin: 1rem 0 1.5rem;
    padding-left: 1.1rem;
}

body.dark-mode .pricing-page {
    background: #000000;
}

body.dark-mode .pricing-card {
    border-color: #2a2a2a;
    background: #111111;
}

/* ===== Diary correction panels — dark mode ===== */
body.dark-mode .correction-text-panel {
    background: #1a2035 !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
}

body.dark-mode .correction-text-panel-ai {
    background: #1e1b40 !important;
    border-color: rgba(129, 140, 248, 0.45) !important;
}

body.dark-mode .correction-text-panel p {
    color: #e2e8f0 !important;
}

body.dark-mode .correction-text-panel-ai p {
    color: #f0f4ff !important;
}

body.dark-mode .correction-panel-header h5 {
    color: #e2e8f0 !important;
}

body.dark-mode .correction-panel-kicker {
    color: #a5b4fc !important;
}

body.dark-mode .diary-correction-card {
    background: #0d1117 !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}
