@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/fraunces-2.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/fraunces-3.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F;
}

@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/fraunces-5.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/fraunces-6.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/outfit-7.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+1E00-1EFF;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/outfit-8.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2000-206F;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/outfit-9.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+1E00-1EFF;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/outfit-10.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2000-206F;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/outfit-11.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+1E00-1EFF;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/outfit-12.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2000-206F;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/outfit-13.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+1E00-1EFF;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/outfit-14.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
    --void: #071018;
    --obsidian: #0c1a24;
    --slate: #122433;
    --panel: #123041;
    --raise: #17384c;
    --line: #2f5a6e;
    --steel: #9ec4d4;
    --mist: #d7e7ee;
    --paper: #f6fbff;
    --copper: #f3b15a;
    --copper-deep: #e28a2a;
    --mint: #5ee0c2;
    --rail: 268px;
    --gap: 24px;
    --max: 1180px;
    --serif: "Fraunces", "Palatino Linotype", Georgia, serif;
    --sans: "Outfit", "Trebuchet MS", "Segoe UI", sans-serif;
}

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

html,
body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

html {
    background: var(--void);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(1200px 480px at 80% -10%, rgba(243, 177, 90, 0.18), transparent 55%),
        radial-gradient(900px 500px at -10% 20%, rgba(94, 224, 194, 0.12), transparent 50%),
        linear-gradient(180deg, #0b2230 0%, #071018 100%);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--copper);
    text-decoration: none;
}

a:hover {
    color: var(--paper);
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0 0 14px;
    color: var(--paper);
    overflow-wrap: anywhere;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 23px;
}

p {
    margin: 0 0 14px;
    color: var(--mist);
}

ul,
ol {
    margin: 0 0 18px;
    padding: 0 0 0 18px;
    color: var(--mist);
}

li {
    margin-bottom: 8px;
}

.rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--rail);
    background: linear-gradient(180deg, #102838 0%, #0b1c28 100%);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    z-index: 40;
    padding: 22px 18px 18px;
}

.rail-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--paper);
    margin-bottom: 34px;
    padding: 0 6px;
}

.rail-mark img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: 1px solid var(--copper);
}

.rail-mark span {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rail-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.rail-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 12px;
    color: var(--steel);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 2px;
}

.rail-nav a:hover,
.rail-nav a.is-on {
    color: var(--paper);
    border-color: var(--copper);
    background: rgba(243, 177, 90, 0.12);
}

.g {
    width: 14px;
    height: 14px;
    position: relative;
    flex: 0 0 14px;
}

.g::before,
.g::after {
    content: "";
    position: absolute;
    border: 1px solid currentColor;
}

.g-home::before {
    inset: 5px 2px 1px;
}

.g-home::after {
    width: 8px;
    height: 8px;
    left: 2px;
    top: 0;
    transform: rotate(45deg);
    border-bottom: 0;
    border-right: 0;
}

.g-grid::before {
    inset: 1px;
}

.g-grid::after {
    inset: 4px;
    border-top: 0;
    border-left: 0;
}

.g-list::before {
    left: 1px;
    right: 1px;
    top: 2px;
    height: 2px;
    border: 0;
    background: currentColor;
    box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
}

.g-doc::before {
    inset: 1px 3px;
}

.g-doc::after {
    left: 5px;
    right: 5px;
    top: 5px;
    height: 1px;
    border: 0;
    background: currentColor;
    box-shadow: 0 3px 0 currentColor;
}

.g-pulse::before {
    inset: 2px;
    border-radius: 50%;
}

.g-pulse::after {
    left: 6px;
    top: 3px;
    width: 1px;
    height: 6px;
    border: 0;
    background: currentColor;
}

.g-lines::before {
    left: 1px;
    right: 1px;
    top: 3px;
    height: 1px;
    border: 0;
    background: currentColor;
    box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
}

.g-data::before {
    inset: 1px 2px 1px 2px;
}

.g-data::after {
    left: 4px;
    right: 4px;
    top: 5px;
    bottom: 5px;
}

.g-mail::before {
    inset: 3px 1px;
}

.g-mail::after {
    left: 1px;
    right: 1px;
    top: 3px;
    height: 7px;
    border-bottom: 0;
    border-left: 1px solid currentColor;
    border-right: 1px solid currentColor;
}

.rail-foot {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.rail-foot img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 1px solid var(--copper);
}

.rail-foot p {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--steel);
    line-height: 1.35;
}

.shell {
    margin-left: var(--rail);
    width: calc(100% - var(--rail));
    min-height: 100vh;
    overflow-x: hidden;
}

.well {
    max-width: calc(var(--max) + 80px);
    margin: 0 auto;
    padding: 0 40px 0;
    min-width: 0;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(7, 24, 34, 0.9);
    backdrop-filter: blur(10px);
}

.menu {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--copper);
    color: var(--paper);
    cursor: pointer;
}

.menu span,
.menu span::before,
.menu span::after {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
    margin: 0 auto;
    position: relative;
}

.menu span::before,
.menu span::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu span::before {
    top: -5px;
}

.menu span::after {
    top: 5px;
}

.kicker {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 30px;
    border: 1px solid var(--copper);
    background: rgba(243, 177, 90, 0.12);
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--copper);
    font-weight: 600;
    flex-shrink: 0;
}

.top-actions a {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mist);
    flex-shrink: 0;
}

.top-mail {
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--mist);
    white-space: nowrap;
}

.top-mail:hover {
    color: var(--copper);
}

.strip {
    padding: 52px 0;
    border-bottom: 1px solid var(--line);
}

.strip-tight {
    padding: 28px 0;
}

.lead {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: end;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--copper);
}

.lead p {
    font-size: 19px;
    max-width: 54ch;
}

.hero {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.grid-4,
.grid-3,
.grid-2 {
    display: grid;
    gap: var(--gap);
    align-items: stretch;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

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

.card,
.op {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #164056 0%, #102e3e 100%);
    padding: 22px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.op:hover,
.card:hover {
    transform: translateY(-4px);
    border-color: var(--copper);
}

.card-shot {
    width: 100%;
    height: 140px;
    object-fit: cover;
    margin-bottom: 16px;
    border: 1px solid var(--line);
}

.op {
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 0;
    height: 100%;
}

.op-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    height: 76px;
}

.op-top img,
.logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.note {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--copper);
    line-height: 1;
    text-align: right;
}

.note small {
    display: block;
    margin-top: 6px;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mint);
    font-weight: 500;
}

.op h3 {
    margin: 0 0 8px;
    min-height: 32px;
}

.op p,
.op-text {
    margin: 0;
    font-size: 16px;
    min-height: 6.5em;
    color: var(--mist);
}

.meta {
    display: grid;
    gap: 8px;
    margin: 12px 0 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: 108px;
}

.meta div {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 8px;
    font-size: 13px;
    align-items: start;
}

.meta dt {
    margin: 0;
    color: var(--steel);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 11px;
}

.meta dd {
    margin: 0;
    color: var(--mint);
    font-weight: 500;
    word-break: break-word;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--copper);
    color: var(--paper);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    font-family: var(--sans);
    font-weight: 600;
}

.btn:hover {
    background: var(--copper);
    color: #1a1208;
}

.btn-fill {
    background: var(--copper);
    color: #1a1208;
}

.btn-fill:hover {
    background: var(--paper);
    border-color: var(--paper);
    color: #1a1208;
}

.btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-row .btn {
    width: 100%;
}

.risk {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 22px;
    align-items: center;
    border: 1px solid var(--copper);
    padding: 22px;
    background: linear-gradient(90deg, rgba(243, 177, 90, 0.12), rgba(16, 46, 62, 0.9));
}

.age-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    border: 1px solid var(--copper);
    font-family: var(--serif);
    font-size: 30px;
    color: var(--copper);
}

.risk h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.risk p {
    margin: 0;
    font-size: 17px;
}

.photo-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}

.photo-block img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.caption {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper);
}

.sheet-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sheet {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.sheet th,
.sheet td {
    border: 1px solid var(--line);
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.sheet th {
    background: var(--raise);
    color: var(--copper);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 12px;
}

.sheet td {
    color: var(--mist);
}

.sheet a {
    color: var(--paper);
}

.sheet .mark {
    color: var(--copper);
    font-weight: 700;
    font-family: var(--serif);
    font-size: 22px;
    white-space: nowrap;
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}

.facts {
    list-style: none;
    padding: 0;
}

.facts li {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
}

.facts strong {
    color: var(--steel);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.facts span {
    color: var(--mint);
    font-weight: 500;
}

.quote {
    border-left: 3px solid var(--copper);
    padding: 8px 0 8px 20px;
    font-family: var(--serif);
    font-size: 26px;
    color: var(--paper);
    line-height: 1.35;
}

.foot {
    background: #08151e;
    border-top: 2px solid var(--copper);
    padding: 36px 0 28px;
}

.foot-legal {
    font-size: 16px;
    line-height: 1.5;
    color: var(--paper);
    border: 1px solid var(--copper);
    padding: 18px 20px;
    margin-bottom: 28px;
    background: rgba(243, 177, 90, 0.08);
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px;
}

.foot h3 {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper);
}

.foot a,
.foot p {
    font-size: 15px;
}

.foot-copy {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--steel);
    font-size: 13px;
    letter-spacing: 0.06em;
}

.mail {
    font-size: 24px;
    color: var(--copper);
    letter-spacing: 0.02em;
    font-weight: 600;
}

.cover {
    position: relative;
}

.cover img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.cover-tag {
    position: absolute;
    right: 16px;
    bottom: 16px;
    background: #0c1a24;
    border: 1px solid var(--copper);
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    counter-reset: step;
}

.steps article {
    border: 1px solid var(--line);
    padding: 22px;
    min-height: 210px;
    background: #123041;
}

.steps article::before {
    counter-increment: step;
    content: "0"counter(step);
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    margin-bottom: 18px;
    color: var(--copper);
}

.tiny {
    font-size: 14px;
    color: var(--steel);
}

.pair {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    max-width: 360px;
    padding: 14px 18px;
    background: var(--copper);
    color: #1a1208;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-on {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {

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

    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .rail {
        left: -280px;
        right: auto;
        transform: none;
        visibility: hidden;
        pointer-events: none;
        transition: left 0.2s ease, visibility 0.2s ease;
    }

    body.rail-open .rail {
        left: 0;
        visibility: visible;
        pointer-events: auto;
    }

    .shell {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        grid-area: menu;
    }

    .lead,
    .photo-block,
    .split {
        grid-template-columns: 1fr;
    }

    .well {
        padding: 0 16px;
        max-width: 100%;
    }

    h1 {
        font-size: 30px;
    }

    .top {
        display: grid;
        grid-template-columns: 40px 1fr auto;
        grid-template-areas:
            "menu actions actions"
            "mail mail mail";
        align-items: center;
        gap: 8px 10px;
        min-height: 0;
        padding: 10px 0 12px;
    }

    .kicker {
        display: none;
    }

    .top-actions {
        grid-area: actions;
        margin-left: 0;
        gap: 10px;
        justify-content: flex-end;
    }

    .top-mail {
        grid-area: mail;
        display: block;
        max-width: 100%;
        font-size: 14px;
        padding: 8px 10px;
        border: 1px solid var(--line);
        color: var(--copper);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .op {
        grid-template-rows: auto auto 1fr auto auto;
    }

    .grid-4,
    .steps {
        grid-template-columns: 1fr;
    }

    .sheet-wrap {
        overflow: visible;
        max-width: 100%;
    }

    .sheet {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .sheet,
    .sheet thead,
    .sheet tbody,
    .sheet th,
    .sheet td,
    .sheet tr {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .sheet thead {
        display: none;
    }

    .sheet tr {
        margin-bottom: 14px;
        border: 1px solid var(--line);
        background: #123041;
    }

    .sheet th,
    .sheet td {
        border: 0;
        border-bottom: 1px solid var(--line);
        padding: 12px 14px;
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        overflow-wrap: anywhere;
    }

    .sheet td:last-child {
        border-bottom: 0;
    }

    .sheet td::before {
        content: attr(data-col);
        color: var(--copper);
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-family: var(--sans);
        font-weight: 600;
    }

    .sheet .mark {
        font-size: 20px;
        white-space: nowrap;
    }

    .hero,
    .cover img,
    .photo-block img,
    .card-shot {
        width: 100%;
        max-width: 100%;
        height: 200px;
    }

    .toast {
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

@media (max-width: 640px) {

    .grid-3,
    .grid-2,
    .foot-grid,
    .btn-row {
        grid-template-columns: 1fr;
    }

    .risk {
        grid-template-columns: 1fr;
    }

    .facts li {
        grid-template-columns: 1fr;
    }

    .meta div {
        grid-template-columns: 1fr;
    }
}