:root {
    color-scheme: light;
    --ink: #08213d;
    --muted: #586b80;
    --blue: #075faa;
    --blue-dark: #043a72;
    --cyan: #27aade;
    --green: #3dbb8a;
    --orange: #f59b31;
    --surface: #ffffff;
    --line: #d9e6f2;
    --shadow: 0 24px 70px rgba(5, 47, 96, .12);
    --radius-lg: 32px;
    --radius-md: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 85% 8%, rgba(39, 170, 222, .13), transparent 25rem),
        linear-gradient(180deg, #f8fbff 0%, #eef6fc 48%, #f9fbfd 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 20px 0;
}

.topbar {
    width: min(1220px, 100%);
    min-height: 68px;
    margin: 0 auto;
    padding: 10px 12px 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(210, 227, 241, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 34px rgba(5, 47, 96, .08);
    backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1.05; }
.brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(5, 47, 96, .08);
}
.brand-mark img { width: 34px; height: 34px; object-fit: contain; }
.brand strong { display: block; font-size: 1rem; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 4px; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 8px; color: #37526c; font-size: .9rem; font-weight: 700; }
.nav-links > a:not(.nav-button) { padding: 10px 12px; border-radius: 10px; }
.nav-links > a:not(.nav-button):hover { color: var(--blue); background: #edf6fd; }
.nav-button {
    padding: 10px 16px;
    color: #fff;
    border-radius: 11px;
    background: var(--blue-dark);
}
.nav-button:hover { background: var(--blue); }
.state-dot, .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61, 187, 138, .14); }
.profile-menu-shell { position: relative; margin-left: 2px; }
.profile-button { min-height: 44px; padding: 4px 10px 4px 4px; display: flex; align-items: center; gap: 8px; color: #173b5c; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(5,47,96,.07); }
.profile-button:hover, .profile-button[aria-expanded="true"] { color: var(--blue); border-color: #b8d3e7; background: #f7fbfe; }
.profile-button:focus-visible { outline: 3px solid rgba(39,170,222,.25); outline-offset: 2px; }
.profile-avatar { width: 34px; height: 34px; flex: 0 0 auto; overflow: hidden; border-radius: 50%; object-fit: cover; background: #e7f4fc; box-shadow: inset 0 0 0 1px rgba(5,47,96,.1); }
.profile-initials { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--blue), var(--cyan)); font-size: .7rem; font-weight: 900; letter-spacing: .04em; }
.profile-button-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-chevron { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.profile-button[aria-expanded="true"] .profile-chevron { transform: rotate(180deg); }
.profile-dropdown { width: min(310px, calc(100vw - 24px)); padding: 8px; position: absolute; z-index: 80; top: calc(100% + 10px); right: 0; color: var(--ink); border: 1px solid #d3e2ed; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 22px 60px rgba(5,47,96,.2); backdrop-filter: blur(18px); }
.profile-dropdown[hidden] { display: none; }
.profile-summary { min-width: 0; padding: 10px; display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 11px; align-items: center; }
.profile-avatar-large { width: 46px; height: 46px; }
.profile-summary strong, .profile-summary small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-summary strong { font-size: .92rem; }
.profile-summary small { margin-top: 2px; color: var(--muted); font-size: .75rem; font-weight: 500; }
.profile-divider { height: 1px; margin: 5px 4px; background: #e5edf3; }
.profile-menu-link { padding: 10px 11px; display: flex; align-items: center; gap: 11px; color: #294a67; border-radius: 10px; font-size: .84rem; font-weight: 750; }
.profile-menu-link:hover, .profile-menu-link:focus-visible { color: var(--blue); background: #edf7fd; outline: 0; }
.profile-menu-link svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-menu-link-danger { color: #a33d32; }
.profile-menu-link-danger:hover, .profile-menu-link-danger:focus-visible { color: #8d2e25; background: #fff1ef; }

main { overflow: hidden; }
.page-section, .hero { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }

.hero {
    min-height: 660px;
    margin-top: 22px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #d9e9f5;
    border-radius: 38px;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 41%, rgba(255,255,255,.25) 68%, rgba(255,255,255,.04) 100%),
        url('/images/developers-hero.png');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}
.hero::after {
    content: "AGENT READY";
    position: absolute;
    right: 42px;
    bottom: 30px;
    padding: 8px 12px;
    color: #0d568e;
    border: 1px solid rgba(13, 86, 142, .18);
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    font: 800 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .16em;
    backdrop-filter: blur(8px);
}
.hero-copy { position: relative; z-index: 2; width: min(660px, 62%); padding: 70px 0 70px 68px; }
.eyebrow, .section-kicker {
    color: var(--blue);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 11px; padding: 8px 13px; border: 1px solid #cce1f1; border-radius: 999px; background: rgba(241, 248, 253, .88); }
.hero h1 {
    max-width: 650px;
    margin: 24px 0 20px;
    font-size: clamp(3rem, 5.5vw, 5.35rem);
    line-height: .98;
    letter-spacing: -.064em;
}
.hero-lead { max-width: 610px; margin: 0; color: #48637e; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
    min-height: 48px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; border-color: #075faa; background: linear-gradient(135deg, #075faa, #043a72); box-shadow: 0 12px 24px rgba(5, 83, 151, .2); }
.button-primary:hover { box-shadow: 0 16px 30px rgba(5, 83, 151, .28); }
.button-secondary { color: #174b76; border-color: #cbddeb; background: rgba(255,255,255,.88); }
.button-secondary:hover { background: #fff; box-shadow: 0 10px 22px rgba(5, 47, 96, .1); }
.button-disabled { color: #8696a6; border-color: #dfe7ee; background: #f2f5f7; cursor: not-allowed; }
.button-disabled:hover { transform: none; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; color: #526b82; font-size: .82rem; font-weight: 750; }
.hero-trust span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 950; }

.manifesto { padding-top: 120px; }
.story-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; margin-top: 28px; }
.story-row + .story-row { margin-top: 68px; }
.story-row-reverse { grid-template-columns: 1.1fr .9fr; }
.story-row-holyone { grid-template-columns: .9fr 1.1fr; }
.story-copy { padding-block: 24px; }
.story-visual { margin: 0; position: relative; overflow: hidden; border: 1px solid #cbdfee; border-radius: 30px; background: #eaf5fd; box-shadow: 0 24px 60px rgba(5,47,96,.13); }
.story-visual-dark { border-color: #183b5c; background: #02080f; }
.story-visual img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; }
.story-visual figcaption { position: absolute; right: 16px; bottom: 16px; padding: 8px 11px; color: #174b76; border: 1px solid rgba(255,255,255,.78); border-radius: 999px; background: rgba(255,255,255,.86); box-shadow: 0 8px 24px rgba(5,47,96,.12); backdrop-filter: blur(10px); font: 800 .65rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .055em; text-transform: uppercase; }
.manifesto h2, .section-heading h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.052em; }
.manifesto p { margin: 24px 0 0; color: #465f77; font-size: 1.05rem; }
.manifesto-note { align-self: end; padding: 28px 30px; border-left: 4px solid var(--orange); border-radius: 0 22px 22px 0; background: rgba(255,255,255,.72); box-shadow: 0 16px 44px rgba(5,47,96,.07); }
.manifesto-note p { margin: 0; }
.manifesto-note p + p { margin-top: 17px; }
.holyone-callout { padding: 30px; display: flex; align-items: center; gap: 22px; border: 1px solid #cfe2f1; border-radius: var(--radius-md); background: linear-gradient(120deg, #fff, #edf8ff); box-shadow: 0 16px 44px rgba(5,47,96,.07); }
.holyone-callout p { margin: 0; }
.holyone-mark { flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; color: #fff; border-radius: 17px; background: linear-gradient(145deg, var(--orange), #e06b25); box-shadow: 0 12px 26px rgba(224,107,37,.2); font-weight: 900; }

.api-section { padding-top: 130px; scroll-margin-top: 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { margin-top: 12px; }
.section-heading p { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 1.03rem; }
.manage-link { flex: 0 0 auto; padding: 12px 0; color: var(--blue); border-bottom: 1px solid currentColor; font-weight: 800; }
.api-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.api-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid #d5e4ef; border-radius: 28px; background: #fff; box-shadow: 0 20px 55px rgba(5,47,96,.09); transition: transform .22s ease, box-shadow .22s ease; }
.api-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(5,47,96,.15); }
.api-card-visual { height: 220px; position: relative; overflow: hidden; background: linear-gradient(135deg, #eaf6ff, #fff); }
.api-card-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(4,58,114,.13)); }
.api-card-visual img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.api-card:hover .api-card-visual img { transform: scale(1.035); }
.accent-blue .api-card-visual img, .accent-cyan .api-card-visual img { object-fit: contain; padding: 24px; }
.accent-blue .api-card-visual { background: linear-gradient(145deg, #edf7ff, #dceeff); }
.accent-cyan .api-card-visual { background: linear-gradient(145deg, #eefcff, #dff4fa); }
.accent-orange .api-card-visual { background: linear-gradient(145deg, #f5faff, #fff6e9); }
.service-state { position: absolute; z-index: 2; top: 15px; right: 15px; display: flex; align-items: center; gap: 8px; padding: 7px 10px; color: #25516f; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; background: rgba(255,255,255,.86); box-shadow: 0 8px 22px rgba(5,47,96,.1); backdrop-filter: blur(8px); font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.api-card-body { padding: 25px; display: flex; flex: 1; flex-direction: column; }
.api-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.service-id { color: #6b8094; font: 700 .7rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .07em; }
.api-card h3 { margin: 7px 0 0; font-size: 1.55rem; letter-spacing: -.035em; }
.version-chip { padding: 5px 8px; color: var(--blue); border: 1px solid #c9dfef; border-radius: 8px; background: #eef8ff; font: 800 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.api-description { min-height: 78px; margin: 16px 0 22px; color: var(--muted); font-size: .92rem; }
.key-form { margin-top: auto; }
.key-form fieldset { margin: 0; padding: 0; border: 0; }
.key-form legend { margin-bottom: 11px; color: #37536e; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.scope-list { display: grid; gap: 8px; }
.scope-option { padding: 12px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; position: relative; border: 1px solid #dce8f1; border-radius: 13px; background: #f9fcfe; cursor: pointer; }
.scope-option:hover { border-color: #a8cde8; background: #f4faff; }
.scope-option input { position: absolute; opacity: 0; pointer-events: none; }
.scope-check { width: 20px; height: 20px; display: grid; place-items: center; color: transparent; border: 1px solid #aabcca; border-radius: 6px; background: #fff; font-size: .75rem; font-weight: 900; }
.scope-option input:checked + .scope-check { color: #fff; border-color: var(--blue); background: var(--blue); }
.scope-option input:focus-visible + .scope-check { outline: 3px solid rgba(39,170,222,.25); outline-offset: 2px; }
.scope-option strong { display: block; color: #173b5c; font-size: .86rem; }
.scope-option small { display: block; margin-top: 3px; color: #718498; font-size: .73rem; line-height: 1.35; }
.scope-option code { display: inline-block; margin-top: 6px; color: var(--blue); font-size: .68rem; }
.scope-error { display: block; min-height: 21px; margin-top: 6px; color: #b54720; font-size: .74rem; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.card-actions .button { min-width: 0; padding-inline: 12px; font-size: .84rem; }
.card-actions-single { grid-template-columns: 1fr; margin-top: auto; }
.docs-only { margin-top: auto; padding: 13px 14px; border: 1px dashed #c8dbe9; border-radius: 13px; background: #f7fbfe; }
.docs-only > span { color: var(--blue); font-size: .69rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.docs-only p { margin: 4px 0 0; color: #718498; font-size: .75rem; line-height: 1.4; }
.more-apis { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.more-apis span { color: var(--muted); font-size: .86rem; }

.catalog-hero { --mascot-padding-x:68px;--mascot-padding-y:36px;--mascot-zone:clamp(18rem,32vw,25rem);--mascot-slot-min-height:390px;margin-top:22px;align-items:center;border:1px solid #d9e9f5;border-radius:38px;background:radial-gradient(circle at 86% 18%,rgba(39,170,222,.22),transparent 20rem),linear-gradient(135deg,#fff,#eaf6ff);box-shadow:var(--shadow);overflow:hidden; }
.catalog-hero h1 { max-width: 780px; margin: 24px 0 18px; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.064em; }
.catalog-hero p { max-width: 760px; margin: 0; color: #48637e; font-size: 1.08rem; }
.catalog-count { flex: 0 0 auto; min-width: 170px; padding: 24px; text-align: center; border: 1px solid rgba(7,95,170,.15); border-radius: 24px; background: rgba(255,255,255,.76); }
.catalog-count strong, .catalog-count span { display: block; }
.catalog-count strong { color: var(--blue); font-size: 3.4rem; line-height: 1; letter-spacing: -.06em; }
.catalog-hero-art{position:relative;justify-items:center}.catalog-hero-art .mascot{filter:drop-shadow(0 20px 22px rgba(5,47,96,.18))}.catalog-hero-art .catalog-count{position:absolute;z-index:3;right:0;bottom:1rem;background:rgba(255,255,255,.9);backdrop-filter:blur(12px)}
.catalog-count span { margin-top: 8px; color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.catalog-section { padding-top: 90px; padding-bottom: 110px; }
.catalog-grid .api-card-visual img { object-fit: contain; padding: 44px; }
.catalog-grid .api-card-visual { height: 190px; }

.exchange-guide { margin-top: 92px; padding: 46px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 46px; align-items: center; overflow: hidden; border-radius: 30px; color: #fff; background: radial-gradient(circle at 10% 0, rgba(39,170,222,.24), transparent 18rem), #052f60; box-shadow: 0 24px 70px rgba(5,47,96,.2); }
.exchange-copy h2 { margin: 13px 0 18px; font-size: clamp(2rem, 3.2vw, 3.4rem); line-height: 1.04; letter-spacing: -.05em; }
.exchange-copy p { margin: 0; color: #b9d0e3; }
.exchange-copy ol { margin: 23px 0 0; padding-left: 1.2rem; color: #dceaf4; }
.exchange-copy li + li { margin-top: 7px; }
.exchange-guide .section-kicker { color: #70d0f5; }
.terminal { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #071a2f; box-shadow: 0 22px 55px rgba(0,0,0,.28); }
.terminal-bar { height: 42px; padding: 0 14px; display: flex; align-items: center; gap: 7px; color: #7f9ab3; border-bottom: 1px solid rgba(255,255,255,.08); background: #0b223b; font: 700 .7rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.terminal-bar span { width: 9px; height: 9px; border-radius: 50%; background: #f0655b; }
.terminal-bar span:nth-child(2) { background: #eab64f; }
.terminal-bar span:nth-child(3) { background: #53bd79; }
.terminal-bar strong { margin-left: 5px; font-weight: 700; }
.terminal pre { margin: 0; padding: 21px; overflow: auto; color: #bfe6ff; font: 600 .72rem/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; }
.terminal code { font: inherit; }

.security-strip { margin-top: 92px; margin-bottom: 110px; padding: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border: 1px solid #cddfec; border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: 0 16px 45px rgba(5,47,96,.07); }
.security-strip > div { display: flex; align-items: center; gap: 14px; }
.security-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; color: var(--blue); border-radius: 13px; background: #eaf6ff; font-size: 1.35rem; font-weight: 900; }
.security-strip strong, .security-strip span { display: block; }
.security-strip strong { font-size: .88rem; }
.security-strip div div span { margin-top: 2px; color: var(--muted); font-size: .76rem; }

.site-footer { min-height: 150px; padding: 34px max(20px, calc((100vw - 1220px) / 2)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; color: #d8e8f5; background: #052f60; }
.site-footer p, .site-footer > span { color: #9fb9d0; font-size: .82rem; }
.footer-brand .brand-mark { background: #fff; }
.footer-brand strong { color: #fff; }
.footer-brand small { color: #78c5ec; }
.error-page { min-height: 70vh; padding-block: 130px; }
.error-page h1 { margin: 25px 0 10px; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.055em; }
.error-page p { color: var(--muted); }
.error-page .button { margin-top: 20px; }

@media (max-width: 1000px) {
    .hero { min-height: 610px; background-position: 58% center; }
    .hero-copy { width: 72%; padding-left: 45px; }
    .story-row { gap: 38px; }
    .api-grid { grid-template-columns: 1fr 1fr; }
    .api-grid-featured .api-card:last-child { grid-column: 1 / -1; width: calc(50% - 11px); }
    .security-strip { grid-template-columns: 1fr; }
    .exchange-guide { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .site-header { padding: 8px 10px 0; }
    .topbar { min-height: 58px; padding: 7px 8px 7px 12px; border-radius: 15px; }
    .brand-mark { width: 37px; height: 37px; }
    .brand-mark img { width: 29px; height: 29px; }
    .brand strong { font-size: .88rem; }
    .brand small { font-size: .59rem; }
    .nav-links > a:not(.nav-button) { display: none; }
    .nav-button { padding: 9px 12px; }
    .profile-button { min-height: 41px; padding: 3px; }
    .profile-button-name, .profile-chevron { display: none; }
    .profile-avatar { width: 35px; height: 35px; }
    .profile-avatar-large { width: 46px; height: 46px; }
    .page-section, .hero { width: min(100% - 20px, 1220px); }
    .hero { min-height: 710px; align-items: end; border-radius: 25px; background-image: linear-gradient(180deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.76) 30%, #fff 52%), url('/images/developers-hero.png'); background-position: 64% top; background-size: auto 52%, auto 52%; background-repeat: no-repeat; }
    .hero::after { right: 18px; top: 18px; bottom: auto; }
    .hero-copy { width: 100%; padding: 280px 24px 34px; }
    .hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
    .hero-actions { display: grid; }
    .hero-actions .button { width: 100%; }
    .hero-trust { gap: 9px 15px; }
    .manifesto, .api-section { padding-top: 86px; }
    .story-row, .story-row-reverse, .story-row-holyone { grid-template-columns: 1fr; gap: 24px; }
    .story-row + .story-row { margin-top: 54px; }
    .story-copy { padding-block: 0; }
    .story-visual { border-radius: 23px; }
    .story-visual figcaption { right: 11px; bottom: 11px; max-width: calc(100% - 22px); white-space: normal; line-height: 1.35; text-align: right; }
    .manifesto-note { padding: 23px; }
    .holyone-callout { align-items: flex-start; padding: 21px; }
    .section-heading { align-items: start; flex-direction: column; }
    .api-grid { grid-template-columns: 1fr; }
    .api-grid-featured .api-card:last-child { grid-column: auto; width: auto; }
    .api-card-visual { height: 205px; }
    .card-actions { grid-template-columns: 1fr; }
    .more-apis { align-items: stretch; flex-direction: column; text-align: center; }
    .catalog-hero { padding: 48px 25px 28px; align-items: stretch; flex-direction: column; border-radius: 25px; }
    .catalog-count { min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
    .catalog-count strong { font-size: 2.5rem; }
    .catalog-count span { margin: 0; }
    .catalog-section { padding-top: 72px; padding-bottom: 80px; }
    .exchange-guide { margin-top: 70px; padding: 27px 20px; border-radius: 23px; }
    .terminal pre { padding: 17px; font-size: .64rem; }
    .security-strip { margin-top: 70px; margin-bottom: 80px; padding: 20px; }
    .site-footer { grid-template-columns: 1fr; gap: 12px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
@media(max-width:720px){.catalog-hero.mascot-box{--mascot-padding-x:24px;--mascot-padding-y:28px;--mascot-zone:100%;--mascot-slot-min-height:300px;grid-template-columns:1fr;grid-template-areas:"content" "mascot"}.catalog-hero-art .catalog-count{right:1rem}}
