:root {
    --ink: #17312d;
    --ink-deep: #0e2421;
    --paper: #f5f2e9;
    --paper-deep: #e9e6dc;
    --white: #fffef9;
    --line: #d8ddd5;
    --muted: #66736f;
    --lime: #c8f36b;
    --lime-dark: #a7d64c;
    --mint: #dff2dc;
    --coral: #ff8e72;
    --danger: #a2382d;
    --shadow: 0 22px 60px rgba(23, 49, 45, .12);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

a {
    color: inherit;
}

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

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(23, 49, 45, .1);
    background: rgba(245, 242, 233, .94);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: 150px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 700;
}

.site-nav > a:not(.button),
.nav-link-button {
    position: relative;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}

.site-nav > a:not(.button)::after,
.nav-link-button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--lime-dark);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.nav-link-button:hover::after,
.nav-link-button:focus-visible::after {
    transform: scaleX(1);
}

.site-nav form {
    margin: 0;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(93, 145, 54, .35);
    outline-offset: 3px;
}

.button-small {
    min-height: 42px;
    padding: 10px 18px;
}

.button-primary {
    background: var(--lime);
    color: var(--ink-deep);
    box-shadow: 0 10px 24px rgba(169, 214, 76, .26);
}

.button-primary:hover {
    background: #d4fa7f;
    box-shadow: 0 14px 30px rgba(169, 214, 76, .34);
}

.button-dark {
    background: var(--ink);
    color: var(--white);
}

.button-outline {
    border-color: var(--ink);
    background: transparent;
    color: var(--ink);
}

.button-outline:hover {
    background: var(--ink);
    color: var(--white);
}

.button-full {
    width: 100%;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #50615d;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 32px;
    height: 2px;
    display: inline-block;
    background: var(--lime-dark);
}

.eyebrow-light {
    color: rgba(255, 255, 255, .62);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 104px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -230px;
    left: -200px;
    border: 1px solid rgba(23, 49, 45, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(23, 49, 45, .025), 0 0 0 140px rgba(23, 49, 45, .018);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
    align-items: center;
    gap: 78px;
}

.hero h1,
.section-heading h2,
.workflow h2,
.access h2,
.auth-story h1,
.account-heading h1,
.error-inner h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(52px, 6.5vw, 88px);
}

.hero h1 em {
    color: #4e766f;
    font-weight: 500;
}

.hero-lead {
    max-width: 640px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 34px;
}

.text-link {
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    margin-left: 5px;
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.hero-proof {
    display: flex;
    gap: 34px;
    margin-top: 52px;
}

.hero-proof div {
    min-width: 92px;
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    font-family: Georgia, serif;
    font-size: 28px;
    line-height: 1;
}

.hero-proof span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .05em;
}

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 20px 14px 16px 28px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -24px -70px -20px 24px;
    border-radius: 48% 0 0 48%;
    background: var(--mint);
    transform: rotate(-3deg);
}

.route-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.route-card-top {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #58a965;
    box-shadow: 0 0 0 4px rgba(88, 169, 101, .14);
}

.card-tag {
    margin-left: auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
}

.mountain-scene {
    height: 242px;
    overflow: hidden;
    background: #dff0df;
}

.mountain-scene svg {
    width: 100%;
    height: 100%;
}

.sun {
    fill: var(--lime);
    opacity: .82;
}

.mountain-back {
    fill: #85a9a1;
}

.mountain-front {
    fill: var(--ink);
}

.route {
    fill: none;
    stroke: var(--lime);
    stroke-width: 5;
    stroke-dasharray: 9 10;
    stroke-linecap: round;
}

.route-node {
    fill: var(--lime);
    stroke: var(--white);
    stroke-width: 4;
}

.data-preview {
    padding: 19px 22px 22px;
}

.endpoint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: var(--ink-deep);
    color: #dce9e5;
    font-size: 11px;
}

.endpoint span {
    color: var(--lime);
    font-weight: 900;
}

.endpoint code {
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.data-row:last-child {
    border-bottom: 0;
}

.data-row strong {
    color: var(--ink);
    font-weight: 750;
    text-align: right;
}

.float-label {
    position: absolute;
    z-index: 2;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(23, 49, 45, .14);
    font-size: 11px;
    font-weight: 800;
}

.float-label b {
    display: block;
    margin-top: 2px;
    color: #5f746e;
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.float-one {
    top: 110px;
    left: -18px;
}

.float-two {
    right: -10px;
    bottom: 88px;
}

.possibilities {
    padding: 112px 0;
    background: var(--white);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 54px;
}

.section-heading h2,
.workflow h2,
.access h2 {
    font-size: clamp(42px, 5vw, 64px);
}

.section-heading > p:last-child {
    max-width: 600px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature {
    position: relative;
    min-height: 310px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.feature-wide {
    grid-column: span 2;
}

.feature-dark {
    background: var(--ink);
    color: var(--white);
}

.feature-accent {
    background: var(--lime);
    border-color: var(--lime);
}

.feature-number {
    position: absolute;
    top: 25px;
    right: 28px;
    color: rgba(23, 49, 45, .43);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
}

.feature-dark .feature-number {
    color: rgba(255, 255, 255, .45);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 48px;
    border: 1px solid rgba(23, 49, 45, .18);
    border-radius: 14px;
    font-size: 22px;
}

.feature-dark .feature-icon {
    border-color: rgba(255, 255, 255, .2);
    color: var(--lime);
}

.feature h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.15;
}

.feature p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.feature-dark p {
    color: rgba(255, 255, 255, .65);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.tag-list li {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: rgba(255, 255, 255, .8);
    font-size: 10px;
    text-transform: uppercase;
}

.workflow {
    padding: 104px 0;
    background: var(--ink-deep);
    color: var(--white);
}

.workflow-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
}

.steps {
    padding: 0;
    margin: 0;
    list-style: none;
}

.steps li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.steps li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.steps > li > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    font-family: Georgia, serif;
    font-weight: 800;
}

.steps strong {
    font-size: 19px;
}

.steps p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 14px;
}

.access {
    padding: 96px 0;
}

.access-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 50px;
    overflow: hidden;
    padding: 62px;
    border-radius: 34px;
    background: var(--mint);
}

.access-card::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    top: -120px;
    right: 80px;
    border: 40px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
}

.access-card > * {
    position: relative;
    z-index: 1;
}

.access-card p:last-child {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.access-actions {
    display: flex;
    gap: 10px;
}

.flash-wrap {
    position: relative;
    z-index: 30;
}

.flash {
    margin-top: 18px;
    padding: 14px 18px;
    border: 1px solid #b7d8af;
    border-radius: 14px;
    background: #e6f5df;
    color: #24532b;
    font-size: 14px;
    font-weight: 700;
}

.flash-info {
    border-color: #bed5dc;
    background: #e6f2f5;
    color: #244b58;
}

.auth-page {
    min-height: calc(100vh - 78px);
    padding: 64px 0 84px;
    background: var(--ink-deep);
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(460px, .72fr);
    align-items: center;
    gap: 100px;
}

.auth-story {
    color: var(--white);
}

.auth-story h1 {
    font-size: clamp(44px, 5.5vw, 70px);
}

.auth-story > p:not(.eyebrow) {
    max-width: 550px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 18px;
}

.auth-benefits {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 42px 0 0;
    list-style: none;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
}

.auth-benefits span {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    font-weight: 900;
}

.auth-card {
    padding: 36px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}

.auth-card-heading {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 28px;
}

.form-step {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--lime);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    font-weight: 900;
}

.auth-card h1,
.auth-card h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.auth-card-heading p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.auth-form {
    display: grid;
    gap: 17px;
}

.auth-form label {
    display: grid;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.auth-form input,
.auth-form select {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #ccd3cc;
    border-radius: 12px;
    background: #fbfaf5;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.auth-form input::placeholder {
    color: #96a19e;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: #6d9352;
    box-shadow: 0 0 0 4px rgba(109, 147, 82, .12);
}

.auth-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.form-meta {
    margin-top: -7px;
    text-align: right;
}

.form-meta a,
.auth-switch a,
.back-link {
    color: #355f57;
    font-size: 13px;
    font-weight: 800;
}

.auth-switch {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.form-errors {
    padding: 12px 14px;
    margin: 0 0 18px;
    border: 1px solid #efb7ae;
    border-radius: 12px;
    background: #fff0ec;
    color: var(--danger);
    font-size: 13px;
    font-weight: 700;
}

.form-errors p {
    margin: 0;
}

.form-errors p + p {
    margin-top: 5px;
}

.auth-page-compact {
    display: grid;
    align-items: center;
}

.auth-single {
    max-width: 540px;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    text-decoration: none;
}

.invalid-token p {
    margin: 0 0 20px;
    color: var(--danger);
}

.account-page {
    min-height: 70vh;
    padding: 82px 0 110px;
}

.account-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 44px;
}

.account-heading h1 {
    font-size: clamp(46px, 6vw, 68px);
}

.account-heading > div > p:last-child {
    margin: 18px 0 0;
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #bfd7b9;
    border-radius: 999px;
    background: #e4f1df;
    color: #315d35;
    font-size: 12px;
    font-weight: 800;
}

.status-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5da25e;
}

.account-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
}

.account-card {
    min-height: 220px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.account-card-main {
    grid-row: span 2;
    min-height: 458px;
    display: flex;
    flex-direction: column;
    background: var(--ink);
    color: var(--white);
}

.account-card-label {
    display: block;
    margin-bottom: 42px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.account-card-main .account-card-label {
    color: rgba(255, 255, 255, .5);
}

.account-card h2 {
    max-width: 430px;
    margin: 0 0 16px;
    font-family: Georgia, serif;
    font-size: 44px;
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1;
}

.account-card p {
    max-width: 570px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.account-card-main > p {
    color: rgba(255, 255, 255, .62);
}

.coming-soon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 18px;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
}

.coming-soon span {
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    text-transform: uppercase;
}

.coming-soon strong {
    font-size: 13px;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.button-outline-light {
    border-color: rgba(255, 255, 255, .3);
    background: transparent;
    color: var(--white);
}

.button-outline-light:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
}

.usage-panel {
    padding: 34px;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--white);
}

.usage-panel-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 30px;
}

.usage-panel-heading .account-card-label {
    margin-bottom: 10px;
}

.usage-panel-heading h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.usage-panel-heading p {
    max-width: 580px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.usage-summary {
    display: flex;
    gap: 26px;
}

.usage-summary div {
    min-width: 90px;
}

.usage-summary strong,
.usage-summary span {
    display: block;
}

.usage-summary strong {
    font-size: 21px;
}

.usage-summary span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.usage-chart-scroll {
    overflow-x: auto;
    padding: 14px 4px 4px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.usage-chart {
    width: 100%;
    min-width: 760px;
    height: auto;
    display: block;
}

.usage-grid-line {
    stroke: #e0e4de;
    stroke-width: 1;
    stroke-dasharray: 4 6;
}

.usage-grid-line-base {
    stroke-dasharray: none;
}

.usage-bar {
    fill: var(--ink);
}

.usage-bar:hover {
    fill: #507b6f;
}

.usage-bar-empty {
    fill: transparent;
}

.usage-axis-value,
.usage-axis-date {
    fill: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
}

.token-rules {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--line);
}

.token-rules div {
    padding: 17px 18px;
    background: #f7f6f0;
}

.token-rules strong,
.token-rules span {
    display: block;
}

.token-rules strong {
    font-size: 12px;
}

.token-rules span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.metric {
    display: block;
    margin: 4px 0 12px;
    font-family: Georgia, serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}

.metric small {
    font-size: 22px;
}

.keys-page {
    min-height: 76vh;
    padding: 66px 0 110px;
}

.keys-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin: 30px 0 46px;
}

.keys-heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 7vw, 78px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .96;
}

.keys-heading > div:first-child > p:last-child {
    max-width: 660px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.keys-count {
    min-width: 132px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 19px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.keys-count strong {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 1;
}

.keys-count span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.35;
    text-transform: uppercase;
}

.new-key {
    padding: 25px;
    margin-bottom: 22px;
    border: 1px solid #9dc483;
    border-radius: 22px;
    background: #e9f6df;
    box-shadow: 0 15px 40px rgba(60, 100, 43, .08);
}

.new-key > div:first-child {
    display: flex;
    align-items: center;
    gap: 14px;
}

.new-key-icon {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    background: var(--ink);
    color: var(--lime);
    font-weight: 900;
}

.new-key h2 {
    margin: 0;
    font-size: 19px;
}

.new-key > div p,
.key-warning {
    margin: 4px 0 0;
    color: #52684c;
    font-size: 12px;
}

.new-key code {
    display: block;
    overflow-x: auto;
    padding: 15px 17px;
    margin: 20px 0 12px;
    border: 1px solid rgba(23, 49, 45, .18);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.key-warning {
    font-weight: 700;
}

.keys-layout {
    display: grid;
    grid-template-columns: minmax(310px, .7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 20px;
}

.key-create-card,
.key-list-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.key-create-card {
    position: sticky;
    top: 24px;
}

.key-section-heading {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 26px;
}

.key-section-heading > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--lime);
    font-size: 23px;
    font-weight: 600;
}

.key-section-heading h2,
.key-list-title h2 {
    margin: 0;
    font-size: 22px;
}

.key-section-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.key-list-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.key-list-title > span {
    min-width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--paper);
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
}

.key-list {
    display: grid;
}

.key-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.key-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.key-item-revoked,
.key-item-expired {
    opacity: .68;
}

.key-item-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.key-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.key-item code {
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.key-status {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.key-status-active {
    background: #e4f1df;
    color: #315d35;
}

.key-status-expired {
    background: #f2ead3;
    color: #7b6021;
}

.key-status-revoked {
    background: #f1e1de;
    color: #873e35;
}

.key-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
    margin: 18px 0 0;
    border-radius: 12px;
    background: var(--paper);
}

.key-meta div {
    min-width: 0;
}

.key-meta dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.key-meta dd {
    margin: 0;
    overflow: hidden;
    font-size: 11px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.key-revoke-form {
    margin-top: 14px;
    text-align: right;
}

.key-revoke-form button {
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--danger);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.key-empty {
    display: grid;
    place-items: center;
    min-height: 360px;
    text-align: center;
}

.key-empty > span {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--paper);
    color: var(--muted);
    font-size: 28px;
}

.key-empty h3 {
    margin: 16px 0 4px;
}

.key-empty p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.docs-hero {
    padding: 74px 0 78px;
    overflow: hidden;
    background: var(--ink-deep);
    color: var(--white);
}

.docs-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 70px;
}

.docs-hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 7.5vw, 88px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .95;
}

.docs-hero > .shell > div:first-child > p:last-child {
    max-width: 670px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, .64);
    font-size: 18px;
}

.docs-base-url {
    min-width: 335px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
}

.docs-base-url span {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, .45);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.docs-base-url code {
    display: block;
    overflow: hidden;
    color: var(--lime);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.docs-base-url a {
    display: inline-block;
    margin-top: 14px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.docs-body {
    padding: 72px 0 110px;
    background: var(--white);
}

.docs-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 790px);
    justify-content: space-between;
    gap: 80px;
}

.docs-sidebar {
    position: relative;
}

.docs-sidebar nav {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 5px;
}

.docs-sidebar span {
    margin: 20px 0 5px;
    color: #98a29f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.docs-sidebar span:first-child {
    margin-top: 0;
}

.docs-sidebar a {
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.docs-sidebar a:hover,
.docs-sidebar a:focus-visible {
    background: var(--paper);
    color: var(--ink);
}

.docs-content {
    min-width: 0;
}

.doc-section {
    padding: 0 0 72px;
    margin: 0 0 72px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 28px;
}

.doc-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.doc-kicker {
    margin: 0 0 14px;
    color: #6e8c55;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.doc-section h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(37px, 5vw, 50px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1;
}

.doc-section > p:not(.doc-kicker):not(.doc-muted) {
    max-width: 700px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.doc-section p code,
.parameter-inline code {
    padding: 2px 5px;
    border-radius: 5px;
    background: var(--paper);
    color: #355c55;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88em;
}

.docs-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: 32px 0;
    list-style: none;
}

.docs-steps li {
    min-height: 170px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
}

.docs-steps li > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--lime);
    font-size: 10px;
    font-weight: 900;
}

.docs-steps strong {
    font-size: 13px;
}

.docs-steps p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.code-block {
    overflow: hidden;
    margin-top: 30px;
    border-radius: 18px;
    background: #102420;
    color: #e8f2ed;
    box-shadow: 0 20px 45px rgba(16, 36, 32, .13);
}

.code-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .46);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.code-title b {
    color: var(--lime);
    font-weight: 800;
}

.code-block pre {
    overflow-x: auto;
    padding: 24px;
    margin: 0;
}

.code-block code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.75;
    white-space: pre;
}

.code-block-small pre {
    padding-block: 18px;
}

.doc-actions {
    display: flex;
    gap: 10px;
    margin-top: 26px;
}

.doc-note {
    padding: 16px 18px;
    margin-top: 20px;
    border-left: 3px solid var(--lime-dark);
    border-radius: 0 10px 10px 0;
    background: var(--paper);
    color: var(--muted);
    font-size: 13px;
}

.doc-note strong {
    color: var(--ink);
}

.parameter-table {
    overflow-x: auto;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.parameter-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    white-space: nowrap;
}

.parameter-table th,
.parameter-table td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.parameter-table tr:last-child td {
    border-bottom: 0;
}

.parameter-table th {
    background: var(--paper);
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.parameter-table td code {
    color: #426b62;
    font-weight: 800;
}

.endpoint-section h2 {
    font-size: 39px;
}

.endpoint-row {
    display: grid;
    grid-template-columns: 54px minmax(220px, auto) 1fr;
    align-items: center;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.endpoint-row:first-of-type {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.method-get {
    display: inline-grid;
    place-items: center;
    padding: 5px 7px;
    border-radius: 6px;
    background: #dff1d8;
    color: #315b35;
    font-family: ui-monospace, monospace;
    font-size: 9px;
    font-weight: 900;
}

.endpoint-row code {
    color: var(--ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 750;
}

.endpoint-row p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.parameter-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
    color: var(--muted);
    font-size: 12px;
}

.doc-muted {
    margin: 15px 0 0;
    color: #7e8986;
    font-size: 12px;
}

.error-codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}

.error-codes div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.error-codes strong {
    color: var(--danger);
    font-family: ui-monospace, monospace;
    font-size: 11px;
}

.error-codes span {
    overflow: hidden;
    color: var(--muted);
    font-family: ui-monospace, monospace;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.error-page {
    min-height: 68vh;
    display: grid;
    place-items: center;
    padding: 80px 0;
}

.error-inner {
    max-width: 700px;
    text-align: center;
}

.error-inner > span {
    color: var(--lime-dark);
    font-family: ui-monospace, monospace;
    font-weight: 900;
}

.error-inner h1 {
    margin-top: 14px;
    font-size: clamp(48px, 7vw, 78px);
}

.error-inner p {
    margin: 22px 0 30px;
    color: var(--muted);
    font-size: 17px;
}

.packages-page {
    min-height: 76vh;
    padding: 70px 0 112px;
}

.packages-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin: 24px 0 48px;
}

.packages-heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 7vw, 78px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .96;
}

.packages-heading > div:first-child > p:last-child {
    max-width: 670px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.token-balance {
    min-width: 190px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.token-balance span,
.token-balance small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.token-balance strong {
    display: block;
    margin: 7px 0 4px;
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 500;
}

.payment-notice {
    padding: 16px 19px;
    margin: -20px 0 30px;
    border: 1px solid #bed5dc;
    border-radius: 14px;
    background: #e6f2f5;
    color: #244b58;
    font-size: 14px;
    font-weight: 700;
}

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

.package-card {
    position: relative;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
}

.package-card-featured {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 24px 60px rgba(23, 49, 45, .18);
}

.package-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--ink);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.package-name {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.package-card-featured .package-name,
.package-card-featured p,
.package-card-featured .package-unit,
.package-card-featured .package-price small {
    color: rgba(255, 255, 255, .62);
}

.package-credits {
    display: block;
    margin-top: 44px;
    font-family: Georgia, serif;
    font-size: 43px;
    font-weight: 500;
    line-height: 1;
}

.package-unit {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

.package-card > p {
    min-height: 66px;
    margin: 24px 0;
    color: var(--muted);
    font-size: 13px;
}

.package-price {
    margin-top: auto;
    margin-bottom: 20px;
}

.package-price strong,
.package-price small {
    display: block;
}

.package-price strong {
    font-size: 23px;
}

.package-price small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.package-current {
    min-height: 50px;
    display: grid;
    place-items: center;
    border: 1px dashed var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.payment-assurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    margin: 24px 0 56px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--line);
}

.payment-assurance div {
    padding: 20px 22px;
    background: #f7f6f0;
}

.payment-assurance strong,
.payment-assurance span {
    display: block;
}

.payment-assurance strong {
    font-size: 13px;
}

.payment-assurance span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.payment-history {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
}

.section-heading-compact span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-heading-compact h2 {
    margin: 7px 0 24px;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 500;
}

.payment-table-wrap {
    overflow-x: auto;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.payment-table th,
.payment-table td {
    padding: 14px 12px;
    border-top: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.payment-table th {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.payment-status {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: #edf0ec;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
}

.payment-status-succeeded {
    background: #e4f1df;
    color: #315d35;
}

.payment-status-failed,
.payment-status-refunded {
    background: #fff0ec;
    color: var(--danger);
}

.site-footer {
    padding: 50px 0;
    border-top: 1px solid var(--line);
    background: var(--white);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: end;
    gap: 60px;
}

.footer-inner img {
    width: 137px;
}

.footer-inner > div:first-child p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.copyright {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-visual {
        width: min(650px, 92%);
        margin-inline: auto;
    }

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

    .feature-wide {
        grid-column: span 2;
    }

    .workflow-grid,
    .auth-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .auth-card {
        width: min(560px, 100%);
    }

    .access-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
    }

    .docs-hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 38px;
    }

    .docs-base-url {
        min-width: 0;
        width: min(430px, 100%);
    }

    .docs-layout {
        grid-template-columns: 1fr;
    }

    .usage-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

    .docs-sidebar {
        display: none;
    }

    .copyright {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .site-header {
        position: static;
    }

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        width: 125px;
    }

    .site-nav {
        gap: 11px;
    }

    .site-nav > a[href="/#possibilities"],
    .site-nav > a[href="/#access"] {
        display: none;
    }

    .site-nav > a:not(.button),
    .nav-link-button {
        font-size: 12px;
    }

    .button-small {
        min-height: 38px;
        padding: 9px 13px;
        font-size: 12px;
    }

    .hero {
        padding: 62px 0 76px;
    }

    .hero h1 {
        font-size: clamp(47px, 15vw, 68px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-proof {
        gap: 18px;
        justify-content: space-between;
    }

    .hero-proof div {
        min-width: 0;
    }

    .hero-visual {
        width: 100%;
        padding: 10px 0;
    }

    .hero-visual::before {
        inset: -18px -80px -15px 18px;
    }

    .mountain-scene {
        height: 190px;
    }

    .float-one {
        left: -6px;
    }

    .float-two {
        right: -3px;
        bottom: 62px;
    }

    .possibilities,
    .workflow,
    .access {
        padding: 76px 0;
    }

    .section-heading h2,
    .workflow h2,
    .access h2 {
        font-size: 42px;
    }

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

    .feature-wide {
        grid-column: auto;
    }

    .feature {
        min-height: 285px;
    }

    .workflow-grid {
        gap: 38px;
    }

    .access-card {
        gap: 35px;
        padding: 36px 26px;
        border-radius: 26px;
    }

    .access-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .auth-page {
        padding: 48px 0 64px;
    }

    .auth-grid {
        gap: 40px;
    }

    .auth-story h1 {
        font-size: 45px;
    }

    .auth-card {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .auth-card-heading {
        grid-template-columns: 42px 1fr;
    }

    .form-step {
        width: 40px;
        height: 40px;
    }

    .account-page {
        padding: 58px 0 80px;
    }

    .account-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-actions,
    .packages-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .usage-panel {
        padding: 24px 18px;
    }

    .usage-summary {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .usage-summary div {
        min-width: 0;
    }

    .token-rules {
        grid-template-columns: 1fr;
    }

    .packages-page {
        padding: 48px 0 80px;
    }

    .packages-heading h1 {
        font-size: 50px;
    }

    .token-balance {
        min-width: 0;
    }

    .package-grid,
    .payment-assurance {
        grid-template-columns: 1fr;
    }

    .package-card {
        min-height: 420px;
        padding: 24px 20px;
    }

    .payment-history {
        padding: 24px 18px;
    }

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

    .keys-layout {
        grid-template-columns: 1fr;
    }

    .key-create-card {
        position: static;
    }

    .account-card-main {
        grid-row: auto;
        min-height: 410px;
    }

    .coming-soon {
        align-items: flex-start;
        flex-direction: column;
    }

    .keys-page {
        padding: 48px 0 80px;
    }

    .keys-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 34px;
    }

    .keys-heading h1 {
        font-size: 50px;
    }

    .new-key,
    .key-create-card,
    .key-list-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

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

    .docs-hero {
        padding: 58px 0 62px;
    }

    .docs-body {
        padding: 56px 0 80px;
    }

    .docs-steps,
    .error-codes {
        grid-template-columns: 1fr;
    }

    .docs-steps li {
        min-height: 140px;
    }

    .doc-section {
        padding-bottom: 54px;
        margin-bottom: 54px;
    }

    .doc-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .endpoint-row {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
    }

    .endpoint-row p {
        grid-column: 2;
        text-align: left;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 30px;
    }

    .copyright {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
