/* STRCTR /pricing — access clarification surface (black env · white structure · blue = activation only) */

:root {
    --bg: #050506;
    --slab-strong-bg: #030304;
    --surface: #060607;
    --text: #e5e7eb;
    --muted: #8a9099;
    --dim: rgba(180, 188, 198, 0.92);
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.125);
    --tier-frame: rgba(255, 255, 255, 0.185);
    --tier-lane-rule: rgba(255, 255, 255, 0.112);
    --accent: #2563eb;
    --accent-border: rgba(59, 130, 246, 0.88);
    --max: min(1180px, calc(100vw - 40px));
    --pr-pad: clamp(20px, 4vw, 40px);
    --block-gap: clamp(40px, 6vw, 72px);
    --section-gap: clamp(28px, 4vw, 48px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    overflow-y: auto;
}

body.pricing-page {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-color: var(--bg);
    overflow: visible;
}

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

.pr-tabular {
    font-variant-numeric: tabular-nums;
}

/* —— Header —— */
.pr-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pr-header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pr-pad);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pr-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
}

.pr-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    display: grid;
    place-items: center;
    background: #000;
    overflow: hidden;
}

.pr-brand-mark img {
    width: 32px;
    height: 32px;
    display: block;
    object-fit: contain;
}

.pr-header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pr-header-nav a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.14s ease;
}

.pr-header-nav a:hover {
    color: var(--text);
}

.pr-nav-current {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(200, 208, 218, 0.55);
    cursor: default;
}

.pr-main {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 36px) var(--pr-pad) clamp(48px, 8vw, 80px);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* —— 1. Pricing header — intentional frame —— */
.pr-pricing-header {
    margin-bottom: var(--block-gap);
    padding: clamp(4px, 0.8vw, 8px) 0 clamp(22px, 3.2vw, 30px)
        clamp(14px, 2.2vw, 22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.105);
    border-left: 1px solid rgba(255, 255, 255, 0.11);
    max-width: min(38rem, 100%);
}

.pr-pricing-header__title {
    margin: 0 0 12px;
    font-size: clamp(1.08rem, 2.35vw, 1.32rem);
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    line-height: 1.22;
    color: rgba(232, 236, 242, 0.97);
}

.pr-pricing-header__lead {
    margin: 0 0 11px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.038em;
    line-height: 1.45;
    color: rgba(172, 180, 190, 0.96);
}

.pr-pricing-header__truth {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.032em;
    line-height: 1.48;
    color: rgba(128, 136, 146, 0.94);
}

/* —— Shared block rhythm —— */
.pr-block {
    margin-top: var(--block-gap);
}

.pr-block:first-of-type {
    margin-top: 0;
}

.pr-section-kicker {
    margin: 0 0 clamp(12px, 1.8vw, 16px);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(148, 156, 168, 0.72);
}

/* —— 2. Tier model — primary truth surface —— */
.pr-block--tier-model {
    margin-top: 0;
}

.pr-tier-model-slab {
    border: 1px solid var(--tier-frame);
    background: var(--slab-strong-bg);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 0 0 1px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.pr-tier-lane {
    padding: clamp(26px, 4vw, 42px) clamp(22px, 3.4vw, 36px);
    border-bottom: 1px solid var(--tier-lane-rule);
    display: grid;
    gap: 10px 14px;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    grid-template-areas:
        "name price"
        "read read"
        "verb verb";
    align-items: baseline;
}

.pr-tier-lane:last-of-type {
    border-bottom: 1px solid var(--tier-lane-rule);
}

.pr-tier-lane__name {
    grid-area: name;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(208, 214, 224, 0.96);
}

.pr-tier-lane__price {
    grid-area: price;
    margin: 0;
    justify-self: end;
    text-align: right;
    font-size: clamp(1.55rem, 3.65vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: rgba(242, 246, 252, 0.99);
    line-height: 1.05;
}

.pr-tier-lane__per {
    font-size: 0.5em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: rgba(152, 160, 172, 0.96);
    margin-left: 3px;
}

.pr-tier-lane__read {
    grid-area: read;
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(196, 204, 214, 0.98);
    line-height: 1.35;
}

.pr-tier-lane__verb {
    grid-area: verb;
    margin: 4px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.078);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(218, 224, 232, 0.94);
}

.pr-tier-model-foot {
    margin: 0;
    padding: clamp(16px, 2.2vw, 20px) clamp(18px, 3vw, 28px);
    border-top: 1px solid rgba(255, 255, 255, 0.078);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.095em;
    line-height: 1.45;
    color: rgba(112, 120, 132, 0.94);
}

@media (min-width: 780px) {
    .pr-tier-model-slab {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto auto;
    }

    .pr-tier-lane {
        border-bottom: none;
        border-right: 1px solid var(--tier-lane-rule);
        min-height: clamp(220px, 26vw, 268px);
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "price"
            "read"
            "verb";
        align-content: start;
        padding-top: clamp(34px, 4.2vw, 52px);
        row-gap: 0;
    }

    .pr-tier-lane:last-of-type {
        border-right: none;
        border-bottom: none;
    }

    .pr-tier-lane__read {
        margin-top: 18px;
    }

    .pr-tier-lane__verb {
        margin-top: 6px;
    }

    .pr-tier-lane__price {
        justify-self: start;
        text-align: left;
    }

    .pr-tier-model-foot {
        grid-column: 1 / -1;
    }
}

/* —— 3. Tier depth — support clarification (quieter than tier model) —— */
.pr-block--depth {
    margin-top: calc(var(--block-gap) * 1.06);
}

.pr-block--depth .pr-section-kicker {
    color: rgba(132, 140, 152, 0.62);
}

.pr-depth-stratum {
    border: 1px solid rgba(255, 255, 255, 0.042);
    background: rgba(4, 4, 5, 0.72);
    display: flex;
    flex-direction: column;
}

.pr-depth-lane {
    margin: 0;
    padding: clamp(14px, 2vw, 20px) clamp(16px, 2.5vw, 24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.038);
}

.pr-depth-lane:last-child {
    border-bottom: none;
}

.pr-depth-lane__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
    margin-bottom: 9px;
}

.pr-depth-lane__tier {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(168, 176, 186, 0.82);
}

.pr-depth-lane__mode {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.012em;
    color: rgba(206, 212, 222, 0.9);
}

.pr-depth-lane__line {
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.018em;
    line-height: 1.48;
    color: rgba(172, 180, 190, 0.94);
}

.pr-depth-lane__built {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.045em;
    line-height: 1.42;
    color: rgba(118, 126, 138, 0.94);
}

@media (min-width: 860px) {
    .pr-depth-stratum {
        flex-direction: row;
        align-items: stretch;
    }

    .pr-depth-lane {
        flex: 1;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.045);
    }

    .pr-depth-lane:last-child {
        border-right: none;
    }
}

/* —— 4. Access logic — philosophy plate (support weight) —— */
.pr-block--logic {
    margin-top: calc(var(--block-gap) * 0.92);
}

.pr-law-slab {
    width: 100%;
    padding: 10px 0 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.048);
    border-bottom: 1px solid rgba(255, 255, 255, 0.042);
}

.pr-law-slab-head {
    padding: 0 2px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.042);
}

.pr-law-slab-head h2 {
    margin: 0;
    font-size: clamp(10px, 1vw, 11px);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.26;
    color: rgba(138, 146, 158, 0.72);
}

.pr-law-row {
    display: grid;
    grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
    gap: 6px 16px;
    align-items: baseline;
    padding: 7px 2px 0;
}

.pr-law-row:not(:first-of-type) {
    margin-top: 7px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.pr-law-name {
    margin: 0;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(168, 176, 186, 0.78);
}

.pr-law-gloss {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.48;
    letter-spacing: 0.032em;
    color: rgba(148, 154, 166, 0.96);
}

@media (max-width: 560px) {
    .pr-law-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* —— 5. Route actions — secondary decisive slab —— */
.pr-block--routes {
    margin-top: calc(var(--block-gap) * 1.05);
}

.pr-route-slab {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 1px solid rgba(255, 255, 255, 0.165);
    overflow: visible;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.048),
        0 0 0 1px rgba(0, 0, 0, 0.28);
}

.pr-route-slab-head {
    padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.082);
    text-align: center;
    background: #030304;
}

.pr-route-slab-kicker {
    margin: 0;
    font-size: clamp(13px, 1.35vw, 16px);
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(212, 218, 228, 0.94);
}

.pr-route-slab-lead {
    margin: 0 auto;
    width: 100%;
    max-width: none;
    padding: clamp(22px, 2.85vw, 34px) clamp(18px, 2.6vw, 40px);
    text-align: center;
    font-size: clamp(12px, 1.22vw, 14px);
    font-weight: 600;
    letter-spacing: 0.045em;
    line-height: 1.42;
    color: rgba(212, 218, 228, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    background: #060607;
    box-sizing: border-box;
}

.pr-route-slab-routes {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border-bottom: none;
    background: #050506;
}

.pr-route-slab-routes a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    min-height: 104px;
    padding: 20px 16px;
    font-weight: 600;
    color: rgba(202, 208, 218, 0.97);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    transition: color 0.15s ease, background 0.15s ease;
}

.pr-route-slab-routes a:last-child {
    border-bottom: 0;
}

.pr-route-slab-routes a:hover {
    color: rgba(240, 244, 250, 0.99);
    background: rgba(255, 255, 255, 0.038);
}

.pr-route-tier {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(138, 146, 158, 0.92);
}

.pr-route-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.095em;
    text-transform: uppercase;
    color: rgba(222, 228, 236, 0.96);
}

@media (min-width: 700px) {
    .pr-route-slab-lead {
        padding: clamp(26px, 3.1vw, 38px) clamp(28px, 3.8vw, 52px);
    }

    .pr-route-slab-routes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-height: 124px;
    }

    .pr-route-slab-routes a {
        min-height: 124px;
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.078);
        padding: 24px 16px;
    }

    .pr-route-slab-routes a:last-child {
        border-right: 0;
    }
}

/* —— 6. Final entry — quiet gate —— */
.pr-block--final {
    margin-top: calc(var(--block-gap) * 0.85);
}

.pr-final-gate {
    padding: clamp(20px, 3vw, 28px) 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
    max-width: min(28rem, 100%);
    margin-inline: auto;
}

.pr-final-line {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.45;
    color: rgba(138, 144, 153, 0.96);
}

.pr-final-cta {
    display: flex;
    justify-content: center;
}

.pr-final-cta .btn {
    min-height: 44px;
    padding-left: 22px;
    padding-right: 22px;
}

/* —— Footer —— */
.pr-footer {
    margin-top: var(--section-gap);
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(138, 144, 153, 0.9);
}

.pr-footer a {
    color: rgba(200, 208, 218, 0.88);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.14s ease;
}

.pr-footer a:hover {
    color: var(--text);
}

.pr-footer a[aria-current='page'] {
    color: var(--text);
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}

.pr-footer-sep {
    opacity: 0.45;
    user-select: none;
}

/* Buttons — blue = activation only */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    min-height: 48px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.btn:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.03);
}

.btn-primary {
    background: var(--accent);
    color: #f8fafc;
    border-color: var(--accent-border);
    font-weight: 500;
    letter-spacing: 0.07em;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.pr-header-nav a:focus-visible,
.pr-brand:focus-visible,
.pr-footer a:focus-visible,
.btn:focus-visible,
.pr-route-slab-routes a:focus-visible {
    outline: 1px solid rgba(59, 130, 246, 0.72);
    outline-offset: 2px;
}

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

    .btn,
    .pr-header-nav a,
    .pr-footer a,
    .pr-route-slab-routes a {
        transition: none;
    }
}
