:root {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

.v2-page {
    --v2-bg: #0A0B0D;
    --v2-panel: #0B0C0E;
    --v2-surface: #0D0E10;
    --v2-border: #141517;
    --v2-border-strong: #1B1E25;
    --v2-active: #272831;
    --v2-text: #FFFFFF;
    --v2-text-body: #A4A9B6;
    --v2-text-muted: #8A90A0;
    --v2-icon: #5B5E6F;
    --v2-accent: #909CFF;
    --v2-accent-hover: #A8B2FF;
    --v2-accent-soft: rgba(144, 156, 255, 0.12);
    --v2-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --v2-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --v2-radius: 6px;

    margin: 0;
    min-height: 100vh;
    background: var(--v2-bg);
    color: var(--v2-text);
    font-family: var(--v2-body);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.v2-page *,
.v2-page *::before,
.v2-page *::after {
    box-sizing: border-box;
}

.v2-page h1,
.v2-page h2,
.v2-page h3 {
    margin: 0;
    font-weight: 500;
}

.v2-page :where(p, dl, dd, ol, ul) {
    margin: 0;
    padding: 0;
}

.v2-page ul,
.v2-page ol {
    list-style: none;
}

.v2-page img {
    display: block;
    max-width: 100%;
}

.v2-page svg {
    display: block;
}

.v2-page :where(a) {
    color: inherit;
    text-decoration: none;
}

.v2-page :where(button) {
    font: inherit;
    color: inherit;
}

.v2-page ::selection {
    background: var(--v2-accent);
    color: var(--v2-bg);
}

.v2-page :focus-visible {
    outline: 2px solid var(--v2-accent);
    outline-offset: 3px;
}

.v2-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.v2-skip {
    position: fixed;
    top: 12px;
    left: 16px;
    z-index: 200;
    padding: 10px 14px;
    border-radius: 4px;
    background: var(--v2-accent);
    color: var(--v2-bg);
    font-size: 13px;
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.v2-skip:focus {
    transform: translateY(0);
}

.v2-container {
    width: 100%;
    max-width: 1276px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 48px);
}

.v2-header {
    --v2-nav-height: 78px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--v2-bg);
    border-bottom: 1px solid var(--v2-border);
}

.v2-page.v2-menu-open {
    overflow-y: hidden;
}

.v2-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--v2-nav-height);
}

.v2-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    justify-self: start;
}

.v2-brand img {
    width: 23px;
    height: 23px;
}

.v2-brand span {
    font-family: var(--v2-display);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.v2-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.v2-nav-links a {
    padding-block: 10px;
    color: var(--v2-text-muted);
    font-size: 13.5px;
    font-weight: 500;
    transition: color 160ms ease;
}

.v2-nav-links a:hover {
    color: var(--v2-text);
}

.v2-nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.v2-nav-signin {
    color: var(--v2-text-muted);
    font-size: 13.5px;
    font-weight: 500;
    transition: color 160ms ease;
}

.v2-nav-signin:hover {
    color: var(--v2-text);
}

.v2-nav-signin--button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.v2-nav-logout {
    display: flex;
    align-items: center;
    margin: 0;
}

.v2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.v2-button--primary {
    background: var(--v2-accent);
    color: var(--v2-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.v2-button--primary:hover {
    background: var(--v2-accent-hover);
}

.v2-button--primary:active {
    background: #7F8BFF;
    transform: translateY(1px);
}

.v2-button--secondary {
    background: transparent;
    border-color: var(--v2-active);
    color: var(--v2-text);
}

.v2-button--secondary:hover {
    background: var(--v2-surface);
    border-color: #343641;
}

.v2-button--secondary:active {
    transform: translateY(1px);
}

.v2-button--primary:focus-visible {
    outline-color: var(--v2-text);
}

.v2-button--lg {
    padding-inline: 24px;
    font-size: 13.5px;
}

.v2-nav-cta {
    height: 38px;
    padding-inline: 17px;
}

.v2-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--v2-text-muted);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.v2-menu-button:hover,
.v2-menu-button[aria-expanded="true"] {
    background: var(--v2-surface);
    color: var(--v2-text);
}

.v2-menu-icon {
    width: 18px;
    height: 18px;
}

.v2-page .v2-menu-icon--close {
    display: none;
}

.v2-menu-button[aria-expanded="true"] .v2-menu-icon--open {
    display: none;
}

.v2-page .v2-menu-button[aria-expanded="true"] .v2-menu-icon--close {
    display: block;
}

.v2-page.v2-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    animation: v2-fade-in 160ms ease both;
}

.v2-mobile {
    position: fixed;
    top: calc(var(--v2-nav-height) + 8px);
    right: 16px;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - var(--v2-nav-height) - 24px);
    max-height: calc(100dvh - var(--v2-nav-height) - 24px);
    overflow-y: auto;
    padding: 8px;
    background: var(--v2-surface);
    border: 1px solid var(--v2-active);
    border-radius: 10px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35);
    overscroll-behavior: contain;
    transform-origin: top right;
    animation: v2-menu-in 160ms ease both;
}

.v2-mobile[hidden] {
    display: none;
}

.v2-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2-mobile-links a,
.v2-mobile-links .v2-mobile-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--v2-text-body);
    font: inherit;
    font-size: 14.5px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.v2-mobile-links a:hover,
.v2-mobile-links .v2-mobile-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--v2-text);
}

.v2-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 8px 4px 0;
    border-top: 1px solid var(--v2-border);
}

.v2-mobile-account {
    color: var(--v2-text-muted);
    font-size: 13.5px;
    font-weight: 500;
}

.v2-mobile-actions .v2-button {
    height: 40px;
    padding-inline: 16px;
    font-size: 13px;
}

@keyframes v2-menu-in {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes v2-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.v2-hero {
    padding-block: clamp(64px, 8vw, 104px) clamp(64px, 7vw, 96px);
}

.v2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(48px, 6.5vw, 88px);
    align-items: center;
}

.v2-hero h1 {
    margin-bottom: 26px;
    font-family: var(--v2-display);
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.04;
    text-wrap: balance;
}

.v2-h1-line {
    display: block;
}

.v2-hero-lead {
    max-width: 548px;
    color: var(--v2-text-body);
    font-size: 16px;
    line-height: 1.7;
    text-wrap: pretty;
}

.v2-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.v2-hero-note {
    margin-top: 26px;
    color: var(--v2-text-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.v2-plate-stage {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    isolation: isolate;
}

.v2-plate-stage::before {
    content: "";
    position: absolute;
    inset: -8%;
    z-index: 0;
    background: radial-gradient(
        ellipse 72% 68% at 50% 50%,
        rgba(144, 156, 255, 0.34),
        rgba(144, 156, 255, 0.12) 46%,
        transparent 72%
    );
    filter: blur(40px);
    pointer-events: none;
}

.v2-plate {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    background: var(--v2-panel);
    border-radius: 10px;
    box-shadow:
        0 0 80px rgba(144, 156, 255, 0.2),
        0 0 30px rgba(144, 156, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.v2-plate img {
    width: 100%;
    height: auto;
}

.v2-features {
    padding-block: clamp(64px, 7.5vw, 104px);
    border-top: 1px solid var(--v2-border);
}

#features,
#how-it-works {
    scroll-margin-top: 100px;
}

.v2-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 44px;
}

.v2-section-head h2 {
    font-family: var(--v2-display);
    font-size: clamp(30px, 3.2vw, 40px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.v2-section-head p {
    justify-self: end;
    max-width: 430px;
    color: var(--v2-text-body);
    font-size: 14.5px;
    line-height: 1.7;
}

.v2-feature-list {
    border-top: 1px solid var(--v2-border);
}

.v2-feature {
    display: grid;
    grid-template-columns: 28px 190px minmax(0, 1fr);
    gap: clamp(16px, 3vw, 32px);
    align-items: start;
    padding-block: 24px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-feature-mark {
    margin-top: 1px;
    color: var(--v2-icon);
}

.v2-feature-mark svg {
    width: 18px;
    height: 18px;
}

.v2-feature h3 {
    font-family: var(--v2-display);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.45;
}

.v2-feature p {
    max-width: 660px;
    color: var(--v2-text-body);
    font-size: 14.5px;
    line-height: 1.65;
    text-wrap: pretty;
}

.v2-feature-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
    color: var(--v2-text-muted);
    font-size: 12.5px;
}

.v2-text-link {
    display: inline-block;
    color: var(--v2-accent);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 160ms ease, color 160ms ease;
}

.v2-text-link:hover {
    color: var(--v2-accent-hover);
    border-bottom-color: currentColor;
}

.v2-how {
    padding-block: clamp(64px, 7.5vw, 104px);
    background: var(--v2-panel);
    border-top: 1px solid var(--v2-border);
    border-bottom: 1px solid var(--v2-border);
}

.v2-how-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: start;
}

.v2-how h2 {
    margin-bottom: 18px;
    font-family: var(--v2-display);
    font-size: clamp(30px, 3.2vw, 40px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.v2-how-lead {
    max-width: 430px;
    color: var(--v2-text-body);
    font-size: 14.5px;
    line-height: 1.7;
    text-wrap: pretty;
}

.v2-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
    border-top: 1px solid var(--v2-border-strong);
    border-bottom: 1px solid var(--v2-border);
}

.v2-plan {
    padding: 16px 18px;
}

.v2-plan:first-child {
    padding-left: 0;
}

.v2-plan + .v2-plan {
    border-left: 1px solid var(--v2-border);
}

.v2-plan dt {
    margin-bottom: 5px;
    color: var(--v2-text-muted);
    font-size: 11.5px;
}

.v2-plan dd {
    font-family: var(--v2-display);
    font-size: 18px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.v2-plan-note {
    margin-top: 14px;
    color: var(--v2-text-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.v2-how-link {
    margin-top: 20px;
}

.v2-steps {
    border-top: 1px solid var(--v2-border);
}

.v2-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 20px;
    padding-block: 22px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-step:first-child {
    padding-top: 26px;
    border-top: 0;
}

.v2-step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.v2-step-num {
    padding-top: 3px;
    color: var(--v2-text-muted);
    font-family: var(--v2-display);
    font-size: 12px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.v2-step h3 {
    margin-bottom: 6px;
    font-family: var(--v2-display);
    font-size: 16.5px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.4;
}

.v2-step p {
    max-width: 470px;
    color: var(--v2-text-body);
    font-size: 14.5px;
    line-height: 1.65;
    text-wrap: pretty;
}

.v2-cta {
    padding-block: clamp(56px, 6.5vw, 88px);
    background: var(--v2-surface);
    border-bottom: 1px solid var(--v2-border);
}

.v2-cta-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.v2-cta h2 {
    margin-bottom: 12px;
    font-family: var(--v2-display);
    font-size: clamp(30px, 3.4vw, 40px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.v2-cta-copy p {
    max-width: 520px;
    color: var(--v2-text-body);
    font-size: 14.5px;
    line-height: 1.7;
    text-wrap: pretty;
}

.v2-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.v2-footer {
    padding-block: 56px 32px;
}

.v2-footer-top {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(120px, 0.5fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-footer-brand p {
    max-width: 300px;
    margin-top: 14px;
    color: var(--v2-text-muted);
    font-size: 13px;
    line-height: 1.65;
}

.v2-footer-col h2 {
    margin-bottom: 12px;
    color: var(--v2-text-muted);
    font-family: var(--v2-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
}

.v2-footer-col a,
.v2-footer-col .v2-footer-link {
    display: block;
    width: 100%;
    padding: 5px 0;
    border: 0;
    background: none;
    color: var(--v2-text-body);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: color 160ms ease;
}

.v2-footer-col a:hover,
.v2-footer-col .v2-footer-link:hover {
    color: var(--v2-text);
}

.v2-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    color: var(--v2-text-muted);
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 980px) {
    .v2-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 52px;
    }

    .v2-hero-copy {
        max-width: 660px;
    }

    .v2-hero h1 {
        font-size: clamp(40px, 6vw, 52px);
    }

    .v2-section-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        align-items: start;
    }

    .v2-section-head p {
        justify-self: start;
    }

    .v2-how-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .v2-how-intro {
        max-width: 600px;
    }

    .v2-steps {
        max-width: 640px;
    }

    .v2-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .v2-footer-top {
        grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(100px, 0.5fr));
        gap: 28px;
    }
}

@media (max-width: 860px) {
    .v2-header {
        --v2-nav-height: 72px;
    }

    .v2-nav {
        gap: 20px;
    }

    .v2-nav-links,
    .v2-nav-signin,
    .v2-nav-cta {
        display: none;
    }

    .v2-nav-actions {
        margin-left: auto;
        gap: 12px;
    }

    .v2-menu-button {
        display: inline-flex;
    }

    .v2-plate-stage::before {
        inset: -8% -4%;
        filter: blur(34px);
        opacity: 0.9;
    }

    .v2-footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }

    .v2-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 861px) {
    :root {
        scrollbar-gutter: auto;
    }

    .v2-nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 24px;
    }

    .v2-nav-links {
        margin-left: 0;
        justify-self: center;
    }

    .v2-nav-actions {
        justify-self: end;
    }

    .v2-mobile {
        display: none !important;
    }
}

@media (max-width: 680px) {
    .v2-hero {
        padding-block: 56px 64px;
    }

    .v2-hero-grid {
        gap: 44px;
    }

    .v2-hero h1 {
        margin-bottom: 22px;
    }

    .v2-hero-lead {
        font-size: 15px;
    }

    .v2-hero-actions {
        margin-top: 28px;
    }

    .v2-features,
    .v2-how {
        padding-block: 56px;
    }

    .v2-section-head {
        margin-bottom: 32px;
    }

    .v2-feature {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 8px 16px;
        padding-block: 20px;
    }

    .v2-feature-mark {
        grid-row: 1;
    }

    .v2-feature h3 {
        grid-column: 2;
    }

    .v2-feature p {
        grid-column: 2;
        font-size: 14px;
    }

    .v2-feature-foot {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .v2-how-lead,
    .v2-cta-copy p {
        font-size: 14px;
    }

    .v2-plan {
        padding: 14px 12px;
    }

    .v2-plan:first-child {
        padding-left: 0;
    }

    .v2-step {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 14px;
        padding-block: 20px;
    }

    .v2-cta {
        padding-block: 52px;
    }

    .v2-footer {
        padding-block: 44px 28px;
    }

    .v2-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .v2-header {
        --v2-nav-height: 68px;
    }

    .v2-hero h1 {
        font-size: 38px;
    }

    .v2-hero-actions,
    .v2-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .v2-hero-actions .v2-button,
    .v2-cta-actions .v2-button {
        width: 100%;
    }

    .v2-footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }
}

@media (max-width: 400px) {
    .v2-hero h1 {
        font-size: 36px;
    }

    .v2-plans {
        margin-top: 26px;
    }

    .v2-plan {
        padding: 13px 9px;
    }

    .v2-plan:first-child {
        padding-left: 0;
    }

    .v2-plan dd {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .v2-hero h1 {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    :root {
        scroll-behavior: auto;
    }

    .v2-page *,
    .v2-page *::before,
    .v2-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Shared page primitives */

.v2-main {
    min-height: calc(100vh - 78px);
}

#v2-main:focus {
    outline: none;
}

.v2-page-section {
    padding-block: clamp(48px, 7vw, 88px);
}

.v2-page-section + .v2-page-section {
    border-top: 1px solid var(--v2-border);
}

.v2-page-head {
    max-width: 760px;
    margin-bottom: clamp(32px, 5vw, 52px);
}

.v2-page-head--center {
    margin-inline: auto;
    text-align: center;
}

.v2-page-head h1 {
    margin-bottom: 14px;
    font-family: var(--v2-display);
    font-size: clamp(32px, 4.4vw, 54px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.06;
    text-wrap: balance;
}

.v2-page-head p {
    max-width: 620px;
    color: var(--v2-text-body);
    font-size: 15px;
    line-height: 1.7;
    text-wrap: pretty;
}

.v2-page-head--center p {
    margin-inline: auto;
}

.v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--v2-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.v2-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--v2-accent);
}

.v2-card {
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    border-radius: 10px;
}

.v2-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-card-head h2,
.v2-card-head h3 {
    font-family: var(--v2-display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.v2-card-body {
    padding: 20px;
}

.v2-card-foot {
    padding: 16px 20px;
    border-top: 1px solid var(--v2-border);
}

.v2-grid {
    display: grid;
    gap: 20px;
}

.v2-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v2-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v2-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v2-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.v2-divider {
    height: 1px;
    background: var(--v2-border);
    margin-block: 20px;
}

.v2-muted {
    color: var(--v2-text-muted);
}

.v2-empty {
    padding: 40px 20px;
    color: var(--v2-text-muted);
    font-size: 13px;
    text-align: center;
}

.v2-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--v2-text-muted);
    font-size: 13px;
}

.v2-breadcrumb:hover {
    color: var(--v2-text);
}

/* Buttons: V2 primitives + legacy class compatibility */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    color: var(--v2-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.btn:hover {
    text-decoration: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--v2-accent);
    color: var(--v2-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: var(--v2-accent-hover);
    color: var(--v2-bg);
}

.btn-secondary {
    background: var(--v2-surface);
    border-color: var(--v2-active);
    color: var(--v2-text);
}

.btn-secondary:hover {
    background: #121319;
    border-color: #343641;
}

.btn-outline {
    border-color: var(--v2-border-strong);
    color: var(--v2-text-body);
}

.btn-outline:hover {
    border-color: var(--v2-active);
    background: var(--v2-surface);
    color: var(--v2-text);
}

.btn-success {
    background: rgba(63, 185, 80, 0.14);
    border-color: rgba(63, 185, 80, 0.28);
    color: #7EE787;
}

.btn-success:hover {
    background: rgba(63, 185, 80, 0.22);
}

.btn-warning {
    background: rgba(210, 153, 34, 0.14);
    border-color: rgba(210, 153, 34, 0.28);
    color: #E3B341;
}

.btn-warning:hover {
    background: rgba(210, 153, 34, 0.22);
}

.btn-danger {
    background: rgba(248, 81, 73, 0.14);
    border-color: rgba(248, 81, 73, 0.28);
    color: #FF7B72;
}

.btn-danger:hover {
    background: rgba(248, 81, 73, 0.22);
}

.btn-sm {
    min-height: 30px;
    padding-inline: 10px;
    border-radius: 8px;
    font-size: 12px;
}

.btn-lg {
    min-height: 44px;
    padding-inline: 22px;
    font-size: 13.5px;
}

.btn-block,
.w-full {
    width: 100%;
}

/* Forms */

.form-group,
.v2-form-group {
    margin-bottom: 18px;
}

.form-label,
.v2-label {
    display: block;
    margin-bottom: 7px;
    color: var(--v2-text-body);
    font-size: 12.5px;
    font-weight: 500;
}

.form-input,
.form-select,
.form-control,
.v2-input,
.v2-select {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 8px;
    background: var(--v2-bg);
    color: var(--v2-text);
    font: inherit;
    font-size: 13.5px;
    line-height: 1.4;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-input:hover,
.form-select:hover,
.form-control:hover,
.v2-input:hover,
.v2-select:hover {
    border-color: var(--v2-active);
}

.form-input:focus,
.form-select:focus,
.form-control:focus,
.v2-input:focus,
.v2-select:focus {
    outline: none;
    border-color: var(--v2-accent);
    box-shadow: 0 0 0 3px rgba(144, 156, 255, 0.12);
}

.form-input::placeholder,
.form-control::placeholder,
.v2-input::placeholder {
    color: var(--v2-text-muted);
    opacity: 0.7;
}

.form-select,
.v2-select {
    appearance: none;
    padding-right: 34px;
    background-image: linear-gradient(45deg, transparent 50%, var(--v2-text-muted) 50%), linear-gradient(135deg, var(--v2-text-muted) 50%, transparent 50%);
    background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.form-input[type="file"] {
    padding-block: 8px;
    color: var(--v2-text-muted);
    font-size: 12.5px;
}

.form-input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 5px 10px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 6px;
    background: var(--v2-surface);
    color: var(--v2-text-body);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.form-hint,
.v2-hint {
    margin-top: 6px;
    color: var(--v2-text-muted);
    font-size: 11.5px;
    line-height: 1.5;
}

.form-error,
.v2-error-text {
    margin-top: 6px;
    color: #FF7B72;
    font-size: 11.5px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--v2-text-muted);
    font-size: 12px;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-toggle:hover {
    background: var(--v2-surface);
    color: var(--v2-text);
}

.password-requirements {
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid var(--v2-border);
    border-radius: 8px;
    background: var(--v2-surface);
}

.password-requirements p {
    margin-bottom: 8px;
    color: var(--v2-text-muted);
    font-size: 11.5px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--v2-text-muted);
    font-size: 11.5px;
    line-height: 1.8;
}

.requirement i {
    width: 12px;
    color: var(--v2-icon);
    font-size: 8px;
}

.requirement.valid {
    color: #7EE787;
}

.requirement.valid i {
    color: #7EE787;
}

.turnstile-fallback {
    display: none;
    margin-top: 8px;
    color: var(--v2-text-muted);
    font-size: 11px;
    line-height: 1.5;
}

.turnstile-fallback.show {
    display: block;
}

/* Alerts and flash messages */

.v2-flash {
    position: fixed;
    top: calc(78px + 16px);
    right: clamp(16px, 3vw, 32px);
    z-index: 150;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 32px));
    padding: 0;
    pointer-events: none;
}

.v2-flash .v2-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: none;
    padding: 0;
}

.v2-toast {
    --v2-toast-tone: var(--v2-text-muted);
    --v2-toast-tint: rgba(138, 144, 160, 0.1);
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    overflow: hidden;
    padding: 14px 14px 16px;
    border: 1px solid var(--v2-border);
    border-radius: 14px;
    color: var(--v2-text-body);
    pointer-events: auto;
    backdrop-filter: blur(12px);
    animation: v2-toast-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.v2-toast--success {
    --v2-toast-tone: #A2FF90;
    --v2-toast-tint: rgba(162, 255, 144, 0.1);
}

.v2-toast--danger {
    --v2-toast-tone: #FF9090;
    --v2-toast-tint: rgba(255, 144, 144, 0.1);
}

.v2-toast--warning {
    --v2-toast-tone: #FFC490;
    --v2-toast-tint: rgba(255, 196, 144, 0.1);
}

.v2-toast--info {
    --v2-toast-tone: var(--v2-accent);
    --v2-toast-tint: rgba(144, 156, 255, 0.1);
}

.v2-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--v2-toast-tint);
    color: var(--v2-toast-tone);
    font-size: 13px;
}

.v2-toast-content {
    min-width: 0;
    padding-top: 1px;
}

.v2-toast-title {
    color: var(--v2-toast-tone);
    font-size: 12px;
    font-weight: 700;
}

.v2-toast-message {
    color: var(--v2-text-body);
    font-size: 12.5px;
    overflow-wrap: anywhere;
}

.v2-toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: -3px -3px 0 0;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--v2-text-muted);
    font: inherit;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.v2-toast-close:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--v2-text);
}

.v2-toast-progress {
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 2px;
    margin-bottom: 6px;
    border-radius: 999px;
    background: var(--v2-toast-tone);
    opacity: 0.8;
    transform-origin: left center;
    animation: v2-toast-progress var(--toast-duration) linear forwards;
}

.v2-toast.is-paused .v2-toast-progress {
    animation-play-state: paused;
}

.v2-toast.is-leaving {
    pointer-events: none;
    animation: v2-toast-out 180ms ease-in both;
}

@keyframes v2-toast-in {
    from {
        opacity: 0;
        transform: translate3d(12px, -6px, 0) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes v2-toast-out {
    to {
        opacity: 0;
        transform: translate3d(10px, -4px, 0) scale(0.98);
    }
}

@keyframes v2-toast-progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@media (max-width: 860px) {
    .v2-flash {
        top: calc(72px + 12px);
        right: 16px;
    }
}

@media (max-width: 520px) {
    .v2-flash {
        top: calc(68px + 12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-toast-progress {
        animation: none;
        opacity: 0.3;
    }
}

.flash-messages {
    padding-top: 16px;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    padding: 11px 14px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 8px;
    background: var(--v2-surface);
    color: var(--v2-text-body);
    font-size: 12.5px;
    line-height: 1.55;
}

.alert i {
    margin-top: 2px;
    color: var(--v2-text-muted);
}

.alert-success {
    border-color: rgba(63, 185, 80, 0.25);
    background: rgba(63, 185, 80, 0.08);
    color: #7EE787;
}

.alert-success i {
    color: #7EE787;
}

.alert-error,
.alert-danger {
    border-color: rgba(248, 81, 73, 0.25);
    background: rgba(248, 81, 73, 0.08);
    color: #FF7B72;
}

.alert-error i,
.alert-danger i {
    color: #FF7B72;
}

.alert-warning {
    border-color: rgba(210, 153, 34, 0.25);
    background: rgba(210, 153, 34, 0.08);
    color: #E3B341;
}

.alert-warning i {
    color: #E3B341;
}

.alert-info {
    border-color: rgba(88, 166, 255, 0.25);
    background: rgba(88, 166, 255, 0.08);
    color: #79C0FF;
}

.alert-info i {
    color: #79C0FF;
}

/* Tables, badges, utilities */

.table-container {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.table th {
    padding: 11px 14px;
    border-bottom: 1px solid var(--v2-border-strong);
    color: var(--v2-text-muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--v2-border);
    color: var(--v2-text-body);
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.015);
}

.table strong {
    color: var(--v2-text);
    font-weight: 500;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 999px;
    background: var(--v2-surface);
    color: var(--v2-text-body);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.badge-accent {
    border-color: rgba(144, 156, 255, 0.28);
    background: rgba(144, 156, 255, 0.1);
    color: var(--v2-accent);
}

.badge-success {
    border-color: rgba(63, 185, 80, 0.28);
    background: rgba(63, 185, 80, 0.1);
    color: #7EE787;
}

.badge-warning {
    border-color: rgba(210, 153, 34, 0.28);
    background: rgba(210, 153, 34, 0.1);
    color: #E3B341;
}

.badge-error,
.badge-danger {
    border-color: rgba(248, 81, 73, 0.28);
    background: rgba(248, 81, 73, 0.1);
    color: #FF7B72;
}

.text-muted {
    color: var(--v2-text-muted) !important;
}

.text-secondary {
    color: var(--v2-text-body) !important;
}

.text-primary {
    color: var(--v2-text) !important;
}

.text-accent {
    color: var(--v2-accent) !important;
}

.text-center {
    text-align: center !important;
}

.text-xs {
    font-size: 10.5px !important;
}

.text-sm {
    font-size: 12px !important;
}

.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 20px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 20px !important; }

.container {
    width: 100%;
    max-width: 1276px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 48px);
}

.divider {
    height: 1px;
    margin-block: 20px;
    background: var(--v2-border);
}

/* Auth, 2FA, and Discord link pages */

.v2-auth-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 78px);
    padding: clamp(36px, 6vw, 72px) 20px;
}

.v2-auth-card {
    width: 100%;
    max-width: 440px;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    background: var(--v2-panel);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.v2-auth-card--wide {
    max-width: 500px;
}

.v2-auth-head {
    margin-bottom: 26px;
    text-align: center;
}

.v2-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border: 1px solid rgba(144, 156, 255, 0.2);
    border-radius: 10px;
    background: rgba(144, 156, 255, 0.08);
    color: var(--v2-accent);
    font-size: 16px;
}

.v2-auth-head h1 {
    margin-bottom: 8px;
    font-family: var(--v2-display);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.v2-auth-head p {
    color: var(--v2-text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.v2-auth-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--v2-border);
    color: var(--v2-text-muted);
    font-size: 12.5px;
    text-align: center;
}

.v2-auth-footer a {
    color: var(--v2-accent);
    font-weight: 500;
}

.v2-auth-footer a:hover {
    color: var(--v2-accent-hover);
}

.v2-auth-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.v2-auth-links a {
    color: var(--v2-text-muted);
    font-size: 12.5px;
}

.v2-auth-links a:hover {
    color: var(--v2-text);
}

.v2-auth-plain .v2-auth-card,
.v2-auth-plain .v2-auth-card--wide {
    width: 100%;
    max-width: 430px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.v2-auth-plain .v2-auth-head {
    margin-bottom: 26px;
}

.v2-auth-plain .v2-auth-head h1 {
    margin-bottom: 0;
    font-size: 28px;
}

.v2-auth-plain .form-input {
    padding: 9px 14px;
    border-radius: 20px;
    background: var(--v2-surface);
}

.v2-auth-plain .password-wrapper .form-input {
    padding-right: 46px;
}

.v2-auth-plain .password-toggle {
    right: 10px;
}

.v2-auth-plain .password-requirements {
    border-color: var(--v2-border-strong);
    border-radius: 20px;
    background: var(--v2-surface);
}

.v2-auth-plain .btn {
    border-radius: 20px;
}

.v2-otp-input {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 20px;
    background: var(--v2-bg);
    color: var(--v2-text);
    font-family: "SF Mono", "Fira Code", Consolas, monospace;
    font-size: 26px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.32em;
    text-align: center;
}

.v2-otp-input:focus {
    outline: none;
    border-color: var(--v2-accent);
    box-shadow: 0 0 0 3px rgba(144, 156, 255, 0.12);
}

.v2-otp-input::placeholder {
    color: var(--v2-text-muted);
    opacity: 0.45;
}

.v2-qr-frame {
    display: inline-block;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
}

.v2-qr-frame img {
    width: 180px;
    height: 180px;
}

.v2-secret {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid var(--v2-border);
    border-radius: 8px;
    background: var(--v2-surface);
}

.v2-secret-label {
    margin-bottom: 5px;
    color: var(--v2-text-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.v2-secret-value {
    color: var(--v2-accent);
    font-family: "SF Mono", "Fira Code", Consolas, monospace;
    font-size: 13px;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}

.v2-discord-id {
    display: block;
    margin: 10px 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 8px;
    background: var(--v2-bg);
    color: var(--v2-text);
    font-family: "SF Mono", "Fira Code", Consolas, monospace;
    font-size: 14px;
    text-align: center;
    overflow-wrap: anywhere;
}

/* Legal documents */

.v2-legal {
    max-width: 820px;
    margin-inline: auto;
    padding-block: clamp(48px, 7vw, 84px);
}

.v2-legal-head {
    margin-bottom: 34px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-legal-head h1 {
    margin-bottom: 10px;
    font-family: var(--v2-display);
    font-size: clamp(32px, 4.4vw, 48px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.v2-legal-head p {
    color: var(--v2-text-muted);
    font-size: 12.5px;
}

.v2-legal-body {
    color: var(--v2-text-body);
    font-size: 14px;
    line-height: 1.8;
}

.v2-legal-body section {
    margin-bottom: 28px;
}

.v2-legal-body section:last-child {
    margin-bottom: 0;
}

.v2-legal-body h2 {
    margin-bottom: 10px;
    color: var(--v2-text);
    font-family: var(--v2-display);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.v2-legal-body p {
    margin-bottom: 10px;
}

.v2-legal-body ul {
    margin: 8px 0 12px;
    padding-left: 20px;
    list-style: disc;
}

.v2-legal-body li {
    margin-bottom: 6px;
    padding-left: 2px;
}

.v2-legal-body strong {
    color: var(--v2-text);
    font-weight: 500;
}

/* Error pages */

.v2-error-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 78px);
    padding: 48px 20px;
    text-align: center;
}

.v2-error-code {
    margin-bottom: 10px;
    color: var(--v2-accent);
    font-family: var(--v2-display);
    font-size: clamp(84px, 16vw, 150px);
    font-weight: 500;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.v2-error-section h1 {
    margin-bottom: 10px;
    font-family: var(--v2-display);
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.v2-error-section p {
    max-width: 440px;
    margin: 0 auto 24px;
    color: var(--v2-text-body);
    font-size: 13.5px;
    line-height: 1.7;
}

.v2-error-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Pricing */

.v2-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1040px;
    margin-inline: auto;
}

.v2-price-card {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    background: var(--v2-panel);
}

.v2-price-card--featured {
    border-color: rgba(144, 156, 255, 0.32);
    box-shadow: 0 0 40px rgba(144, 156, 255, 0.06);
}

.v2-price-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--v2-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.v2-price-label span {
    padding: 3px 7px;
    border: 1px solid rgba(144, 156, 255, 0.24);
    border-radius: 999px;
    color: var(--v2-accent);
    font-size: 9px;
    letter-spacing: 0.08em;
}

.v2-price-card h2 {
    margin-bottom: 8px;
    font-family: var(--v2-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.v2-price {
    margin-bottom: 10px;
    color: var(--v2-text);
    font-family: var(--v2-display);
    font-size: 40px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.05em;
    line-height: 1;
}

.v2-price span {
    color: var(--v2-text-muted);
    font-family: var(--v2-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
}

.v2-price-desc {
    min-height: 38px;
    margin-bottom: 18px;
    color: var(--v2-text-body);
    font-size: 12.5px;
    line-height: 1.6;
}

.v2-price-list {
    margin-bottom: 24px;
    border-top: 1px solid var(--v2-border);
}

.v2-price-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 0;
    border-bottom: 1px solid var(--v2-border);
    color: var(--v2-text-body);
    font-size: 12.5px;
    line-height: 1.5;
}

.v2-price-list i {
    margin-top: 3px;
    color: var(--v2-accent);
    font-size: 10px;
}

.v2-price-card .btn {
    margin-top: auto;
}

.v2-faq {
    max-width: 820px;
    margin: clamp(48px, 7vw, 76px) auto 0;
}

.v2-faq h2 {
    margin-bottom: 22px;
    font-family: var(--v2-display);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.v2-faq-item {
    padding: 16px 0;
    border-top: 1px solid var(--v2-border);
}

.v2-faq-item:last-child {
    border-bottom: 1px solid var(--v2-border);
}

.v2-faq-item h3 {
    margin-bottom: 6px;
    color: var(--v2-text);
    font-family: var(--v2-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.v2-faq-item p {
    max-width: 700px;
    color: var(--v2-text-body);
    font-size: 12.5px;
    line-height: 1.7;
}

/* Account and profile */

.v2-account-section {
    padding-block: clamp(36px, 5vw, 64px);
}

.v2-account {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.v2-account-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.v2-account-card {
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    background: var(--v2-panel);
}

.v2-account-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid var(--v2-border-strong);
    border-radius: 50%;
    background: var(--v2-surface);
    object-fit: cover;
}

.v2-avatar--lg {
    width: 58px;
    height: 58px;
}

.v2-account-profile h2 {
    margin-bottom: 2px;
    font-family: var(--v2-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.v2-account-profile p {
    color: var(--v2-text-muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.v2-account-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
}

.v2-account-menu a,
.v2-account-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--v2-text-body);
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.v2-account-menu a:hover,
.v2-account-menu button:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--v2-text);
}

.v2-account-menu a.active {
    background: rgba(144, 156, 255, 0.1);
    color: var(--v2-accent);
}

.v2-account-menu .danger {
    color: #FF7B72;
}

.v2-account-menu .danger:hover {
    background: rgba(248, 81, 73, 0.08);
}

.v2-account-menu .left {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.v2-account-menu i {
    width: 14px;
    color: var(--v2-icon);
    font-size: 11px;
    text-align: center;
}

.v2-account-menu .active i {
    color: var(--v2-accent);
}

.v2-account-menu .danger i {
    color: #FF7B72;
}

.v2-account-menu .v2-menu-badge {
    padding: 2px 6px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 999px;
    color: var(--v2-text-muted);
    font-size: 9px;
    font-weight: 600;
}

.v2-account-main {
    min-width: 0;
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    background: var(--v2-panel);
}

.v2-account-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-account-head h1 {
    margin-bottom: 3px;
    font-family: var(--v2-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.v2-account-head p {
    color: var(--v2-text-muted);
    font-size: 12px;
}

.v2-account-body {
    padding: 20px;
}

.v2-detail-list {
    border-top: 1px solid var(--v2-border);
}

.v2-detail-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-detail-row .label {
    color: var(--v2-text-muted);
    font-size: 12px;
}

.v2-detail-row .value {
    color: var(--v2-text);
    font-size: 12.5px;
    font-weight: 500;
    text-align: right;
    overflow-wrap: anywhere;
}

.v2-detail-row .value.accent {
    color: var(--v2-accent);
}

.v2-detail-row .value.muted {
    color: var(--v2-text-muted);
}

.v2-detail-row .value.success {
    color: #7EE787;
}

.v2-detail-row .value.danger {
    color: #FF7B72;
}

.v2-account-actions {
    padding: 0 20px 20px;
}

.v2-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-settings-row:last-child {
    border-bottom: 0;
}

.v2-settings-row .label {
    color: var(--v2-text-muted);
    font-size: 12px;
}

.v2-settings-row .value {
    color: var(--v2-text-body);
    font-size: 12px;
}

.v2-account-tabs {
    display: none;
    gap: 6px;
    margin-bottom: 14px;
}

.v2-account-tabs button {
    flex: 1;
    min-height: 38px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 8px;
    background: var(--v2-panel);
    color: var(--v2-text-muted);
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.v2-account-tabs button.active {
    border-color: rgba(144, 156, 255, 0.28);
    background: rgba(144, 156, 255, 0.1);
    color: var(--v2-accent);
}

/* Modals */

.v2-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(3px);
}

.v2-modal.is-open {
    display: flex;
}

.v2-modal-card {
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border: 1px solid var(--v2-active);
    border-radius: 10px;
    background: var(--v2-panel);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.v2-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-modal-head h2 {
    font-family: var(--v2-display);
    font-size: 15px;
    font-weight: 500;
}

.v2-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--v2-text-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.v2-modal-close:hover {
    background: var(--v2-surface);
    color: var(--v2-text);
}

.v2-modal-body {
    padding: 18px;
}

.v2-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.v2-modal-actions .btn {
    flex: 1;
}

.v2-modal-card--2fa {
    max-width: 520px;
}

.v2-2fa-intro {
    margin: 0 0 18px;
    color: var(--v2-text-body);
    font-size: 12.5px;
    line-height: 1.65;
    text-wrap: pretty;
}

.v2-2fa-setup-grid {
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.v2-2fa-qr {
    display: flex;
    width: 100%;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px;
}

.v2-2fa-qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.v2-2fa-qr img[hidden],
.v2-2fa-qr-status[hidden] {
    display: none;
}

.v2-2fa-qr-status {
    max-width: 120px;
    color: #777C8C;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.v2-2fa-manual > p:first-child {
    margin: 0 0 10px;
    color: var(--v2-text-body);
    font-size: 12px;
    line-height: 1.6;
}

.v2-2fa-secret {
    margin: 0;
    padding: 12px;
}

.v2-secret-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.v2-secret-row .v2-secret-value {
    flex: 1;
    min-width: 0;
    font-size: 11.5px;
    line-height: 1.5;
}

.v2-2fa-copy {
    flex-shrink: 0;
    padding: 3px 7px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 5px;
    background: transparent;
    color: var(--v2-text-muted);
    font-family: var(--v2-body);
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.v2-2fa-copy:hover {
    border-color: var(--v2-active);
    color: var(--v2-text);
}

.v2-2fa-copy:disabled {
    cursor: default;
    opacity: 0.45;
}

.v2-2fa-hint {
    margin-top: 9px;
    color: var(--v2-text-muted);
    font-size: 10.5px;
    line-height: 1.5;
}

.v2-2fa-form {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--v2-border);
}

.v2-2fa-form .form-group {
    margin-bottom: 0;
}

.v2-2fa-form .form-group + .form-group {
    margin-top: 14px;
}

.v2-2fa-form .v2-otp-input {
    min-height: 50px;
    font-size: 20px;
}

.v2-2fa-form .v2-2fa-intro {
    margin: 0 0 14px;
}

.v2-2fa-error {
    margin-top: 12px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 123, 114, 0.24);
    border-radius: 7px;
    background: rgba(255, 123, 114, 0.07);
    color: #FF9B94;
    font-size: 11.5px;
    line-height: 1.5;
}

.v2-2fa-error[hidden] {
    display: none;
}

.v2-2fa-status {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px;
    border: 1px solid rgba(144, 156, 255, 0.18);
    border-radius: 9px;
    background: rgba(144, 156, 255, 0.045);
}

.v2-2fa-status-mark {
    display: grid;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(144, 156, 255, 0.24);
    border-radius: 8px;
    background: rgba(144, 156, 255, 0.08);
    color: var(--v2-accent);
}

.v2-2fa-status-mark svg {
    width: 17px;
    height: 17px;
}

.v2-2fa-status strong {
    display: block;
    color: var(--v2-text);
    font-size: 12.5px;
    font-weight: 500;
}

.v2-2fa-status p {
    margin-top: 3px;
    color: var(--v2-text-muted);
    font-size: 11.5px;
    line-height: 1.5;
}

@media (max-width: 560px) {
    .v2-modal-card--2fa .v2-modal-body {
        padding: 16px;
    }

    .v2-2fa-setup-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .v2-2fa-qr {
        width: 170px;
        margin-inline: auto;
    }
}

/* Leaderboard */

.v2-leader-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.v2-leader-card {
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    background: var(--v2-panel);
}

.v2-leader-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--v2-border);
    color: var(--v2-text);
    font-family: var(--v2-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.v2-leader-head i {
    color: var(--v2-accent);
    font-size: 12px;
}

.v2-leader-list {
    padding: 6px;
}

.v2-leader-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    border-radius: 7px;
}

.v2-leader-item:hover {
    background: rgba(255, 255, 255, 0.025);
}

.v2-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1px solid var(--v2-border-strong);
    border-radius: 50%;
    background: var(--v2-surface);
    color: var(--v2-text-muted);
    font-size: 10px;
    font-weight: 600;
}

.v2-rank--1 {
    border-color: rgba(144, 156, 255, 0.4);
    background: rgba(144, 156, 255, 0.14);
    color: var(--v2-accent);
}

.v2-rank--2,
.v2-rank--3 {
    color: var(--v2-text);
}

.v2-leader-avatar {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 1px solid var(--v2-border-strong);
    border-radius: 50%;
    object-fit: cover;
}

.v2-leader-user {
    flex: 1;
    min-width: 0;
}

.v2-leader-name {
    overflow: hidden;
    color: var(--v2-text);
    font-size: 12.5px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-leader-sub {
    color: var(--v2-text-muted);
    font-size: 10.5px;
    text-transform: capitalize;
}

.v2-leader-value {
    color: var(--v2-accent);
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Public profiles */

.v2-small {
    font-size: 12px;
}

.v2-profile-hero {
    overflow: hidden;
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    background: var(--v2-panel);
}

.v2-profile-banner {
    height: 168px;
    background:
        radial-gradient(circle at 18% 20%, rgba(144, 156, 255, 0.22), transparent 36%),
        linear-gradient(135deg, #101118 0%, #171925 50%, #0D0E10 100%);
    background-position: center;
    background-size: cover;
}

.v2-profile-head {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    padding: 0 22px 20px;
    margin-top: -38px;
}

.v2-profile-avatar {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border: 4px solid var(--v2-panel);
    border-radius: 50%;
    background: var(--v2-panel);
    object-fit: cover;
}

.v2-profile-info {
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
}

.v2-profile-name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.v2-profile-name h1 {
    margin: 0;
    font-family: var(--v2-display);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.v2-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 5px;
    color: #fff;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.v2-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 7px;
    color: var(--v2-text-muted);
    font-size: 11.5px;
}

.v2-profile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.v2-profile-meta i {
    color: var(--v2-icon);
    font-size: 10px;
}

.v2-profile-actions {
    display: flex;
    gap: 8px;
    padding-bottom: 4px;
    flex-wrap: wrap;
}

.v2-profile-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 22px;
    border-top: 1px solid var(--v2-border);
    background: var(--v2-surface);
}

.v2-profile-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2-profile-stat strong {
    color: var(--v2-text);
    font-family: var(--v2-display);
    font-size: 16px;
    font-weight: 500;
}

.v2-profile-stat span {
    color: var(--v2-text-muted);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.v2-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.v2-profile-main,
.v2-profile-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.v2-card-head h2 i {
    margin-right: 6px;
    color: var(--v2-icon);
    font-size: 11px;
}

.form-textarea {
    min-height: 88px;
    resize: vertical;
}

.v2-comment-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.v2-comment-list {
    display: flex;
    flex-direction: column;
}

.v2-comment {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-comment:first-child {
    padding-top: 0;
}

.v2-comment:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.v2-comment-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--v2-border-strong);
    border-radius: 50%;
    object-fit: cover;
}

.v2-comment-body {
    flex: 1;
    min-width: 0;
}

.v2-comment-head {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.v2-comment-author {
    color: var(--v2-text);
    font-size: 12.5px;
    font-weight: 600;
}

.v2-comment-author:hover {
    color: var(--v2-accent);
}

.v2-comment-date {
    color: var(--v2-text-muted);
    font-size: 10.5px;
}

.v2-comment-text {
    color: var(--v2-text-body);
    font-size: 12.5px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.v2-comment-actions {
    margin-top: 7px;
}

.v2-comment-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--v2-text-muted);
    font: inherit;
    font-size: 10.5px;
    cursor: pointer;
}

.v2-comment-action:hover {
    color: #FF7B72;
}

.v2-visitors {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.v2-visitor {
    padding: 4px 8px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 6px;
    background: var(--v2-surface);
    color: var(--v2-text-body);
    font-size: 11px;
}

.v2-visitor:hover {
    border-color: rgba(144, 156, 255, 0.3);
    color: var(--v2-accent);
}

/* Edit profile */

.v2-form-card {
    max-width: 640px;
    margin-inline: auto;
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    background: var(--v2-panel);
}

.v2-form-card .v2-account-head {
    padding: 18px 20px;
}

.v2-form-card .v2-account-head h1 {
    font-size: 18px;
}

.v2-form-body {
    padding: 20px;
}

.v2-checkbox-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
}

.v2-checkbox-row input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--v2-accent);
}

.v2-checkbox-row label {
    margin: 0;
    color: var(--v2-text-body);
    font-size: 12.5px;
    cursor: pointer;
}

.v2-form-section {
    margin: 22px 0 14px;
    padding-top: 20px;
    border-top: 1px solid var(--v2-border);
    font-family: var(--v2-display);
    font-size: 13px;
    font-weight: 500;
}

.v2-form-actions {
    margin-top: 20px;
}

/* Responsive primitives */

@media (max-width: 980px) {
    .v2-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v2-pricing-grid > :last-child {
        grid-column: 1 / -1;
    }

    .v2-account {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .v2-grid--2,
    .v2-grid--3,
    .v2-leader-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .v2-account {
        grid-template-columns: minmax(0, 1fr);
    }

    .v2-account-tabs {
        display: flex;
    }

    .v2-account-side.is-hidden,
    .v2-account-main.is-hidden {
        display: none;
    }

    .v2-account-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .v2-account-head .btn {
        width: 100%;
    }

    .v2-profile-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .v2-profile-head {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .v2-profile-info {
        width: 100%;
    }

    .v2-profile-name,
    .v2-profile-meta {
        justify-content: center;
    }

    .v2-profile-actions {
        justify-content: center;
        width: 100%;
    }

    .v2-profile-actions .btn {
        flex: 1;
    }
}

@media (max-width: 680px) {
    .v2-page-head h1 {
        font-size: clamp(30px, 8vw, 40px);
    }

    .v2-pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .v2-pricing-grid > :last-child {
        grid-column: auto;
    }

    .v2-price-card {
        padding: 22px 20px;
    }

    .v2-legal {
        padding-block: 44px;
    }

    .v2-auth-section {
        align-items: flex-start;
        padding-top: 36px;
    }

    .v2-auth-card {
        padding: 24px 18px;
    }

    .v2-detail-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .v2-detail-row .value {
        text-align: left;
    }

    .v2-modal-actions {
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    .v2-profile-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 10px;
    }
}

@media (max-width: 400px) {
    .v2-auth-card {
        padding: 22px 16px;
    }

    .v2-otp-input {
        font-size: 22px;
        letter-spacing: 0.24em;
    }

    .v2-error-actions .btn {
        width: 100%;
    }
}

.v2-nav-links a.is-active {
    color: var(--v2-text);
}

/* Account and public profile pages */

.v2-account-page,
.v2-public-page {
    padding-block: clamp(56px, 8vw, 96px) clamp(72px, 10vw, 112px);
}

.v2-account-hero {
    padding-bottom: 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-account-identity {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 28px);
    min-width: 0;
    padding-bottom: clamp(28px, 4vw, 40px);
}

.v2-account-avatar-button {
    display: inline-flex;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    cursor: pointer;
}

.v2-account-avatar-button:focus-visible {
    outline: 2px solid var(--v2-accent);
    outline-offset: 3px;
}

.v2-account-avatar-button:hover .v2-account-avatar {
    border-color: var(--v2-accent);
}

.v2-account-avatar {
    width: clamp(76px, 8.5vw, 108px);
    height: clamp(76px, 8.5vw, 108px);
    flex-shrink: 0;
    border: 1px solid var(--v2-border-strong);
    border-radius: 50%;
    background: var(--v2-surface);
    object-fit: cover;
    transition: border-color 160ms ease;
}

.v2-account-copy {
    min-width: 0;
}

.v2-account-kicker {
    margin-bottom: 10px;
    color: var(--v2-text-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.v2-account-copy h1 {
    margin: 0;
    font-family: var(--v2-display);
    font-size: clamp(44px, 6.5vw, 78px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.95;
    overflow-wrap: anywhere;
}

.v2-account-email {
    margin-top: 12px;
    color: var(--v2-text-body);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.v2-account-hero--form .v2-account-copy h1 {
    font-size: clamp(38px, 5vw, 56px);
}

.v2-account-hero-action {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.v2-account-form {
    max-width: 620px;
}

.v2-account-plan {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: center;
    padding: 0;
    border-top: 1px solid var(--v2-border);
}

.v2-account-plan-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 0;
    font-size: 12.5px;
}

.v2-account-plan-row + .v2-account-plan-row {
    padding-left: 24px;
    border-left: 1px solid var(--v2-border);
}

.v2-account-plan-row span {
    color: var(--v2-text-muted);
}

.v2-account-plan-row strong {
    color: var(--v2-text);
    font-weight: 500;
    text-align: left;
    overflow-wrap: anywhere;
}

.v2-account-plan-row strong.is-danger {
    color: #FF7B72;
}

.v2-account-plan .v2-button {
    width: auto;
    margin: 0 0 0 24px;
}

.v2-account-body {
    padding-top: clamp(36px, 5vw, 56px);
}

.v2-account-sections {
    min-width: 0;
}

.v2-account-section-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    padding-block: clamp(28px, 4vw, 40px);
    border-top: 1px solid var(--v2-border);
    scroll-margin-top: 96px;
}

.v2-account-section-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.v2-account-section-title h2 {
    margin: 0;
    font-family: var(--v2-display);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.v2-account-section-title p {
    max-width: 190px;
    margin-top: 7px;
    color: var(--v2-text-muted);
    font-size: 12px;
    line-height: 1.6;
}

.v2-account-list {
    margin: 0;
}

.v2-account-list-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 11px 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-account-list-row:first-child {
    padding-top: 0;
}

.v2-account-list-row:last-child {
    border-bottom: 0;
}

.v2-account-list-row dt {
    color: var(--v2-text-muted);
    font-size: 12.5px;
}

.v2-account-list-row dd {
    margin: 0;
    color: var(--v2-text);
    font-size: 13px;
    font-weight: 500;
    text-align: right;
    overflow-wrap: anywhere;
}

.v2-account-list-row dd.is-muted {
    color: var(--v2-text-muted);
}

.v2-account-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
}

.v2-account-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--v2-accent);
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
}

.v2-account-link:hover {
    color: var(--v2-accent-hover);
}

.v2-account-link.is-danger {
    color: #FF7B72;
}

.v2-account-link.is-danger:hover {
    color: #FF9B94;
}

.v2-account-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--v2-border);
}

.v2-account-logout {
    display: flex;
    align-items: center;
    margin: 0;
}

/* Public profile */

.v2-public-hero {
    padding-block: clamp(48px, 7vw, 84px) 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-public-hero--cover {
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    padding-top: 180px;
    background-image:
        linear-gradient(180deg, rgba(10, 11, 13, 0.08) 0%, rgba(10, 11, 13, 0.74) 62%, #0A0B0D 100%),
        var(--v2-cover);
    background-position: center;
    background-size: cover;
}

.v2-public-identity {
    display: flex;
    align-items: flex-end;
    gap: clamp(18px, 3vw, 28px);
    width: 100%;
    padding-bottom: clamp(28px, 4vw, 40px);
}

.v2-public-avatar {
    width: clamp(80px, 8.5vw, 108px);
    height: clamp(80px, 8.5vw, 108px);
    flex-shrink: 0;
    border: 3px solid var(--v2-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--v2-border-strong);
    background: var(--v2-surface);
    object-fit: cover;
}

.v2-public-copy {
    flex: 1;
    min-width: 0;
    padding-bottom: 2px;
}

.v2-public-name {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.v2-public-name h1 {
    margin: 0;
    font-family: var(--v2-display);
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.95;
    overflow-wrap: anywhere;
}

.v2-public-role {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border: 1px solid var(--v2-role-color, var(--v2-border-strong));
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--v2-role-color, var(--v2-text-body));
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.v2-public-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
    color: var(--v2-text-muted);
    font-size: 12px;
}

.v2-public-meta span {
    display: inline-flex;
    align-items: center;
}

.v2-public-bio {
    max-width: 580px;
    margin-top: 14px;
    color: var(--v2-text-body);
    font-size: 13.5px;
    line-height: 1.7;
    text-wrap: pretty;
}

.v2-public-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 2px;
}

.v2-public-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid var(--v2-border);
}

.v2-public-stat {
    padding: 18px 20px;
}

.v2-public-stat:first-child {
    padding-left: 0;
}

.v2-public-stat + .v2-public-stat {
    border-left: 1px solid var(--v2-border);
}

.v2-public-stat strong {
    display: block;
    color: var(--v2-text);
    font-family: var(--v2-display);
    font-size: 22px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.v2-public-stat span {
    display: block;
    margin-top: 3px;
    color: var(--v2-text-muted);
    font-size: 11.5px;
    line-height: 1.4;
}

.v2-public-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
    margin-top: clamp(36px, 5vw, 56px);
}

.v2-public-main,
.v2-public-aside {
    min-width: 0;
}

.v2-public-main > * + * {
    margin-top: clamp(28px, 4vw, 40px);
    padding-top: clamp(24px, 3vw, 32px);
    border-top: 1px solid var(--v2-border);
}

.v2-public-aside > * {
    padding-top: 18px;
    border-top: 1px solid var(--v2-border);
}

.v2-public-aside > * + * {
    margin-top: 28px;
}

.v2-public-block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.v2-public-block-head h2 {
    margin: 0;
    font-family: var(--v2-display);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.v2-public-block-head span {
    color: var(--v2-text-muted);
    font-size: 11.5px;
}

.v2-public-composer label {
    display: block;
    margin-bottom: 10px;
    color: var(--v2-text-body);
    font-size: 12.5px;
}

.v2-public-composer-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.v2-public-composer textarea {
    flex: 1;
    min-height: 54px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--v2-border-strong);
    border-radius: 0;
    background: transparent;
    color: var(--v2-text);
    font: inherit;
    font-size: 13.5px;
    line-height: 1.6;
    resize: vertical;
}

.v2-public-composer textarea:focus {
    outline: none;
    border-bottom-color: var(--v2-accent);
    box-shadow: none;
}

.v2-public-composer textarea::placeholder {
    color: var(--v2-text-muted);
    opacity: 0.7;
}

.v2-public-comments {
    display: flex;
    flex-direction: column;
}

.v2-public-comment {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-public-comment:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.v2-public-comment-avatar {
    width: 38px;
    height: 38px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 50%;
    background: var(--v2-surface);
    object-fit: cover;
}

.v2-public-comment-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.v2-public-comment-author {
    color: var(--v2-text);
    font-size: 12.5px;
    font-weight: 600;
}

.v2-public-comment-author:hover {
    color: var(--v2-accent);
}

.v2-public-comment-date {
    color: var(--v2-text-muted);
    font-size: 11px;
}

.v2-public-comment-text {
    color: var(--v2-text-body);
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.v2-public-comment-actions {
    margin-top: 7px;
}

.v2-public-delete {
    padding: 0;
    border: 0;
    background: none;
    color: var(--v2-text-muted);
    font: inherit;
    font-size: 11.5px;
    cursor: pointer;
}

.v2-public-delete:hover {
    color: #FF7B72;
}

.v2-public-empty {
    padding: 8px 0 4px;
    color: var(--v2-text-muted);
    font-size: 12.5px;
}

.v2-public-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.v2-public-info-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 12.5px;
}

.v2-public-info-row dt {
    color: var(--v2-text-muted);
}

.v2-public-info-row dd {
    margin: 0;
    color: var(--v2-text);
    font-weight: 500;
    text-align: right;
    overflow-wrap: anywhere;
}

.v2-public-visitors {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v2-public-visitor {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--v2-text-body);
    font-size: 12.5px;
}

.v2-public-visitor img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1px solid var(--v2-border-strong);
    border-radius: 50%;
    background: var(--v2-surface);
    object-fit: cover;
}

.v2-public-visitor:hover {
    color: var(--v2-accent);
}

@media (max-width: 920px) {
    .v2-account-plan {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .v2-account-plan .v2-button {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0 0 16px;
    }

    .v2-account-hero-action {
        justify-content: flex-start;
    }

    .v2-account-section-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .v2-account-section-title p {
        max-width: 420px;
    }

    .v2-public-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .v2-public-aside {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .v2-public-aside > * {
        margin-top: 0 !important;
    }
}

@media (max-width: 680px) {
    .v2-account-identity {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .v2-account-copy h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .v2-account-plan {
        grid-template-columns: minmax(0, 1fr);
    }

    .v2-account-plan-row {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid var(--v2-border);
    }

    .v2-account-plan-row + .v2-account-plan-row {
        padding-left: 0;
        border-left: 0;
    }

    .v2-account-plan .v2-button {
        margin: 16px 0 0;
    }

    .v2-account-list-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .v2-account-list-row dd {
        text-align: left;
    }

    .v2-account-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .v2-account-footer .v2-button {
        width: 100%;
    }

    .v2-public-hero--cover {
        min-height: 260px;
        padding-top: 140px;
    }

    .v2-public-identity {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .v2-public-copy {
        width: 100%;
    }

    .v2-public-name h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .v2-public-actions {
        width: 100%;
    }

    .v2-public-actions .v2-button {
        flex: 1;
    }

    .v2-public-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v2-public-stat,
    .v2-public-stat:first-child {
        padding: 14px 0;
    }

    .v2-public-stat + .v2-public-stat {
        border-left: 0;
    }

    .v2-public-stat:nth-child(even) {
        padding-left: 16px;
        border-left: 1px solid var(--v2-border);
    }

    .v2-public-stat:nth-child(n+3) {
        border-top: 1px solid var(--v2-border);
    }

    .v2-public-stat:last-child {
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: 0;
    }

    .v2-public-composer-row {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .v2-public-composer .v2-button {
        align-self: flex-end;
    }

    .v2-public-aside {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

/* Product catalog */

.v2-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (min-width: 1081px) {
    .v2-products-grid--sparse {
        grid-template-columns: repeat(auto-fit, minmax(0, calc((100% - 32px) / 3)));
    }
}

.v2-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    background: var(--v2-panel);
    transition: border-color 180ms ease, transform 180ms ease;
}

.v2-product-card:hover {
    border-color: #272831;
    transform: translateY(-2px);
}

.v2-product-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--v2-surface);
    border-bottom: 1px solid var(--v2-border);
}

.v2-product-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-product-cover-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.045), transparent 58%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 55%),
        var(--v2-surface);
}

.v2-product-cover-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.v2-product-cover-fallback img {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 96px;
    object-fit: contain;
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.55));
}

.v2-product-cover-initial {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border: 1px solid var(--v2-border-strong);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--product-accent, var(--v2-accent));
    font-family: var(--v2-display);
    font-size: 38px;
    font-weight: 500;
}

.v2-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px 18px;
}

.v2-product-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.v2-product-icon {
    display: grid;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--v2-border-strong);
    border-radius: 6px;
    background: #101114;
    color: var(--product-accent, var(--v2-accent));
    font-family: var(--v2-display);
    font-size: 12px;
    font-weight: 500;
}

.v2-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.v2-product-icon--lg {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    font-size: 18px;
}

.v2-product-heading-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.v2-product-name {
    font-family: var(--v2-display);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.v2-product-tagline {
    overflow: hidden;
    color: var(--v2-text-muted);
    font-size: 11.5px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-product-description {
    display: -webkit-box;
    overflow: hidden;
    color: var(--v2-text-body);
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.v2-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
    padding: 12px 18px;
    border-top: 1px solid var(--v2-border);
    color: var(--v2-text-muted);
    font-size: 11px;
}

.v2-product-foot strong {
    margin-left: 3px;
    color: var(--v2-text);
    font-family: var(--v2-display);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    vertical-align: -1px;
}

.v2-product-cart {
    display: grid;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid var(--v2-border-strong);
    border-radius: 8px;
    background: var(--v2-accent);
    color: var(--v2-bg);
    transition: border-color 180ms ease, background-color 180ms ease;
}

.v2-product-card:hover .v2-product-cart {
    border-color: var(--v2-active);
    background: var(--v2-accent);
}

.v2-product-cart svg {
    width: 17px;
    height: 17px;
}

.v2-products-empty {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 48px;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    background: var(--v2-panel);
}

.v2-products-empty-mark {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
    place-items: center;
    border: 1px solid var(--v2-border-strong);
    border-radius: 10px;
    background: var(--v2-surface);
    color: var(--v2-icon);
}

.v2-products-empty-mark svg {
    width: 20px;
    height: 20px;
}

.v2-products-empty h2 {
    font-family: var(--v2-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.v2-products-empty p {
    margin-bottom: 14px;
    color: var(--v2-text-body);
    font-size: 13.5px;
}

/* Product detail */

.v2-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--v2-text-muted);
    font-size: 12px;
}

.v2-breadcrumb a {
    color: var(--v2-text-body);
    transition: color 160ms ease;
}

.v2-breadcrumb a:hover {
    color: var(--v2-text);
}

.v2-breadcrumb span:last-child {
    color: var(--v2-text-muted);
}

.v2-product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(30px, 4.5vw, 56px);
    align-items: start;
}

.v2-product-main-media {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    background: var(--v2-panel);
}

.v2-product-main-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-product-main-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.045), transparent 58%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 55%),
        var(--v2-surface);
}

.v2-product-main-fallback img {
    width: min(172px, 48%);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 24px 52px rgba(0, 0, 0, 0.6));
}

.v2-product-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.v2-product-thumb {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--v2-border);
    border-radius: 7px;
    background: var(--v2-surface);
    cursor: pointer;
    opacity: 0.62;
    transition: border-color 160ms ease, opacity 160ms ease;
}

.v2-product-thumb:hover,
.v2-product-thumb.is-active {
    border-color: var(--v2-border-strong);
    opacity: 1;
}

.v2-product-thumb.is-active {
    box-shadow: inset 0 0 0 1px var(--v2-accent);
}

.v2-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-product-summary-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.v2-product-summary-heading .v2-product-icon--lg {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    font-size: 16px;
}

.v2-product-summary h1 {
    font-family: var(--v2-display);
    font-size: clamp(29px, 3vw, 42px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.06;
    text-wrap: balance;
}

.v2-product-plan-picker {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.v2-plan-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid var(--v2-border);
    border-radius: 9px;
    background: var(--v2-panel);
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.v2-plan-option:hover {
    border-color: var(--v2-border-strong);
    background: var(--v2-surface);
}

.v2-plan-option.is-selected,
.v2-plan-option:has(input:checked) {
    border-color: #333747;
    background: #0E0F13;
}

.v2-plan-option-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.v2-plan-option-indicator {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    border: 1px solid #393C48;
    border-radius: 50%;
}

.v2-plan-option-input:checked + .v2-plan-option-indicator {
    border-color: var(--v2-accent);
}

.v2-plan-option-input:checked + .v2-plan-option-indicator::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--v2-accent);
}

.v2-plan-option-input:focus-visible + .v2-plan-option-indicator {
    outline: 2px solid var(--v2-accent);
    outline-offset: 3px;
}

.v2-plan-option-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.v2-plan-option-name {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--v2-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.v2-plan-option-badge {
    padding: 2px 6px;
    border: 1px solid rgba(144, 156, 255, 0.24);
    border-radius: 999px;
    color: var(--v2-accent);
    font-size: 8px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.v2-plan-option-description {
    overflow: hidden;
    color: var(--v2-text-muted);
    font-size: 10.5px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-plan-option-price {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--v2-text);
    font-family: var(--v2-display);
    font-size: 17px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.025em;
}

.v2-plan-option-price small {
    margin-left: 2px;
    color: var(--v2-text-muted);
    font-family: var(--v2-body);
    font-size: 9.5px;
    font-weight: 400;
    letter-spacing: 0;
}

.v2-product-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--v2-border);
}

.v2-product-selected-price {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.v2-product-selected-price-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.v2-product-selected-price-value strong {
    font-family: var(--v2-display);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}

.v2-product-selected-price-value span {
    color: var(--v2-text-muted);
    font-size: 11px;
}

.v2-product-selected-price small {
    color: var(--v2-text-muted);
    font-size: 10px;
}

.v2-product-purchase .v2-button {
    min-width: 172px;
}

.v2-product-description-block {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--v2-border);
}

.v2-product-description-block h2 {
    margin-bottom: 8px;
    color: var(--v2-text-muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.v2-product-description-block p {
    color: var(--v2-text-body);
    font-size: 13px;
    line-height: 1.7;
    text-wrap: pretty;
}

.v2-product-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.v2-product-plan {
    display: flex;
    flex-direction: column;
    padding: 24px 22px;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    background: var(--v2-panel);
}

.v2-product-plan--featured {
    border-color: #2A2D38;
    background: #0D0E12;
}

.v2-product-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.v2-product-plan-top h3 {
    font-family: var(--v2-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.v2-product-plan-badge {
    padding: 3px 8px;
    border: 1px solid rgba(144, 156, 255, 0.28);
    border-radius: 999px;
    color: var(--v2-accent);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.v2-product-plan-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 10px;
}

.v2-product-plan-price strong {
    font-family: var(--v2-display);
    font-size: 42px;
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
}

.v2-product-plan-price span {
    color: var(--v2-text-muted);
    font-size: 12px;
}

.v2-product-plan-description {
    min-height: 38px;
    margin-bottom: 18px;
    color: var(--v2-text-body);
    font-size: 12.5px;
    line-height: 1.6;
}

.v2-product-plan-features {
    margin-bottom: 24px;
    border-top: 1px solid var(--v2-border);
}

.v2-product-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 0;
    border-bottom: 1px solid var(--v2-border);
    color: var(--v2-text-body);
    font-size: 12.5px;
    line-height: 1.5;
}

.v2-product-plan-features svg {
    width: 14px;
    height: 14px;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--v2-accent);
}

.v2-product-plan .v2-button {
    width: 100%;
    margin-top: auto;
}

.v2-product-plans-empty {
    padding: 36px;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    background: var(--v2-panel);
}

.v2-product-plans-empty h2,
.v2-product-plans-empty h3 {
    margin-bottom: 6px;
    font-family: var(--v2-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.v2-product-plans-empty p {
    margin-bottom: 18px;
    color: var(--v2-text-body);
    font-size: 13.5px;
}

.v2-product-requirements {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    column-gap: 48px;
    border-top: 1px solid var(--v2-border);
}

.v2-product-requirement {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-product-requirement dt {
    color: var(--v2-text-muted);
    font-size: 13px;
}

.v2-product-requirement dd {
    color: var(--v2-text);
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}

@media (max-width: 1080px) {
    .v2-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .v2-product-detail {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .v2-product-summary {
        max-width: 720px;
    }

    .v2-product-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .v2-products-grid,
    .v2-product-plans {
        grid-template-columns: minmax(0, 1fr);
    }

    .v2-product-requirements {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .v2-product-heading {
        gap: 9px;
    }

    .v2-product-body {
        padding: 15px 16px 17px;
    }

    .v2-product-foot {
        padding: 12px 16px;
    }

    .v2-product-foot strong {
        font-size: 15px;
    }

    .v2-product-purchase {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .v2-product-purchase .v2-button {
        width: 100%;
    }

    .v2-plan-option {
        padding: 12px;
    }

    .v2-product-description-block {
        margin-top: 18px;
    }

    .v2-products-empty {
        padding: 30px 22px;
    }

    .v2-product-requirement {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .v2-product-requirement dd {
        text-align: left;
    }
}

/* A$ wallet and Discord verification */

.v2-wallet-amount {
    color: var(--v2-text);
    font-family: var(--v2-display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.v2-wallet-date {
    display: inline-block;
    margin-left: 7px;
    color: var(--v2-text-muted);
    font-size: 11px;
}

.v2-wallet-list dd.is-positive {
    color: var(--v2-accent);
}

.v2-wallet-list dd.is-negative {
    color: #FF8F87;
}

.v2-wallet-empty {
    margin-top: 16px;
    color: var(--v2-text-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.v2-account-link.is-muted {
    color: var(--v2-text-muted);
    cursor: default;
}

.v2-discord-status {
    display: grid;
    gap: 1px;
    margin-bottom: 22px;
    border: 1px solid var(--v2-border);
    border-radius: 6px;
    overflow: hidden;
}

.v2-discord-status-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    background: var(--v2-surface);
    font-size: 12.5px;
}

.v2-discord-status-row span {
    color: var(--v2-text-muted);
}

.v2-discord-status-row strong {
    color: var(--v2-text);
    font-weight: 500;
    text-align: right;
}

.v2-discord-status-row strong.is-muted {
    color: var(--v2-text-muted);
}

.v2-discord-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(144, 156, 255, 0.22);
    border-radius: 6px;
    background: rgba(144, 156, 255, 0.07);
    color: var(--v2-text-body);
    font-size: 12.5px;
    line-height: 1.55;
}

.v2-discord-note i {
    margin-top: 2px;
    color: var(--v2-accent);
}

.v2-discord-note.is-warning {
    border-color: rgba(240, 163, 62, 0.25);
    background: rgba(240, 163, 62, 0.07);
}

.v2-discord-note.is-warning i {
    color: #F0A33E;
}

.v2-discord-note p {
    margin: 0;
}

.v2-discord-hint {
    margin-top: 10px;
    text-align: center;
}
