:root {
    --ink: #071018;
    --ink-2: #172231;
    --muted: #647285;
    --line: #dbe3ea;
    --paper: #ffffff;
    --soft: #f4f8fb;
    --night: #070a0f;
    --night-2: #101722;
    --aqua: #00d4b4;
    --blue: #2f7df4;
    --orange: #ff8a3d;
    --green: #2fd47f;
    --violet: #795cff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--soft);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
}

.site-body a {
    color: inherit;
    text-decoration: none;
}

.site-body img {
    max-width: 100%;
}

.site-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 74px;
    padding: 0 32px;
    color: #fff;
    background: rgba(7, 10, 15, .72);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    backdrop-filter: blur(18px);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
    background: rgba(7, 10, 15, .92);
    color: #fff;
    border-color: rgba(255, 255, 255, .09);
    box-shadow: 0 18px 60px rgba(20, 31, 44, .12);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-width: 150px;
}

.site-brand img {
    display: block;
    width: auto;
    height: 34px;
}

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

.site-nav a {
    color: currentColor;
    opacity: .78;
    transition: opacity .18s ease, transform .18s ease;
}

.site-nav a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.site-nav .nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    color: #071018;
    background: #fff;
    border-radius: 8px;
    opacity: 1;
}

.site-header.is-scrolled .site-nav .nav-action {
    color: #071018;
    background: #fff;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    color: currentColor;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 8px;
}

.hero-section {
    position: relative;
    min-height: 900px;
    padding: 150px 0 90px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(140deg, #070a0f 0%, #101822 42%, #ecf6f9 100%);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 170px;
    background: linear-gradient(180deg, transparent, var(--soft));
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(500px, 1.05fr);
    gap: 64px;
    align-items: center;
}

.hero-copy,
.hero-product,
.section-heading,
.platform-copy,
.api-copy,
.security-copy {
    min-width: 0;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--aqua);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.hero-copy h1 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: 74px;
    line-height: .98;
    font-weight: 900;
    overflow-wrap: break-word;
}

.hero-lead {
    max-width: 620px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 21px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.site-body a.btn-primary-site,
.site-body a.btn-secondary-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.site-body a.btn-primary-site {
    color: var(--ink);
    background: linear-gradient(135deg, #fff 0%, #8ff6de 100%);
    box-shadow: 0 20px 70px rgba(0, 212, 180, .28);
}

.site-body a.btn-secondary-site {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 680px;
    margin-top: 34px;
}

.hero-proof span {
    min-height: 80px;
    padding: 15px;
    color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
}

.hero-proof strong {
    display: block;
    color: #fff;
    font-size: 17px;
}

.hero-product {
    position: relative;
    padding: 18px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    box-shadow: 0 44px 110px rgba(0, 0, 0, .25);
    backdrop-filter: blur(20px);
}

.hero-product::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    pointer-events: none;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    color: #fff;
}

.product-header span {
    width: 10px;
    height: 10px;
    background: var(--orange);
    border-radius: 50%;
}

.product-header span:nth-child(2) {
    background: var(--green);
}

.product-header span:nth-child(3) {
    background: var(--blue);
}

.product-header strong {
    margin-left: 8px;
    font-size: 13px;
}

.product-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.product-metrics div,
.terminal-window,
.product-flow {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 8px;
}

.product-metrics div {
    min-height: 116px;
    padding: 18px;
    color: var(--ink);
}

.product-metrics small {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.product-metrics strong {
    display: block;
    margin-top: 14px;
    font-size: 22px;
    line-height: 1.15;
}

.product-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding: 18px;
    color: var(--ink);
    font-weight: 900;
}

.product-flow i {
    color: var(--aqua);
}

.terminal-window {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 18px;
    color: #d6ffe9;
    background: #091018;
    border-color: rgba(255, 255, 255, .12);
    font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
}

.terminal-window code {
    color: inherit;
}

.brand-strip {
    padding: 22px 0;
    background: var(--soft);
}

.brand-strip-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.brand-strip span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 10px;
    color: #354254;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
}

.section-block {
    padding: 104px 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading.centered .kicker {
    justify-content: center;
}

.section-heading h2,
.platform-copy h2,
.api-copy h2,
.security-copy h2,
.advantage-grid h2,
.final-cta h2 {
    margin: 0;
    color: var(--ink);
    font-size: 52px;
    line-height: 1.05;
    font-weight: 900;
}

.section-heading p:not(.kicker),
.platform-copy p:not(.kicker),
.api-copy p:not(.kicker),
.security-copy p:not(.kicker),
.final-cta p:not(.kicker) {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.services-section {
    background: var(--soft);
}

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

.service-card {
    min-height: 330px;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(7, 16, 24, .08);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(21, 36, 50, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 180, .36);
    box-shadow: 0 34px 100px rgba(21, 36, 50, .13);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: #edf8f7;
    border: 1px solid #d7efec;
    border-radius: 8px;
}

.service-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.service-card > span {
    display: inline-flex;
    margin-top: 22px;
    color: var(--aqua);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-card h3 {
    margin: 10px 0 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
}

.service-card p {
    margin: 14px 0 0;
    color: var(--muted);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.service-tags small {
    padding: 6px 9px;
    color: #344255;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 800;
}

.platform-section {
    color: #fff;
    background:
        linear-gradient(135deg, #071018 0%, #111b28 62%, #253647 100%);
}

.platform-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(460px, 1fr);
    gap: 70px;
    align-items: center;
}

.platform-copy h2,
.platform-copy p:not(.kicker) {
    color: #fff;
}

.platform-copy p:not(.kicker) {
    color: rgba(255, 255, 255, .68);
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.feature-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 16px;
    color: rgba(255, 255, 255, .84);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    font-weight: 800;
}

.feature-list i {
    color: var(--aqua);
}

.platform-visual {
    padding: 20px;
    color: var(--ink);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    box-shadow: 0 40px 110px rgba(0, 0, 0, .28);
}

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.panel-top strong {
    font-size: 20px;
}

.panel-top span {
    color: var(--aqua);
    font-weight: 900;
}

.panel-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.panel-cards div {
    min-height: 110px;
    padding: 16px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.panel-cards small {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.panel-cards strong {
    display: block;
    margin-top: 18px;
    font-size: 24px;
}

.panel-chart {
    display: flex;
    align-items: end;
    gap: 12px;
    height: 180px;
    margin-top: 16px;
    padding: 18px;
    background: #f8fbfd;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.panel-chart span {
    flex: 1;
    min-height: 36px;
    background: linear-gradient(180deg, var(--blue), var(--aqua));
    border-radius: 8px 8px 0 0;
}

.panel-table {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.panel-table span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #405066;
}

.panel-table em {
    color: var(--aqua);
    font-style: normal;
    font-weight: 900;
}

.api-section {
    background: #fff;
}

.api-layout {
    display: grid;
    grid-template-columns: minmax(460px, .95fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

.api-console {
    overflow: hidden;
    color: #e8fff6;
    background: #071018;
    border: 1px solid #1b2a38;
    border-radius: 8px;
    box-shadow: 0 34px 90px rgba(7, 16, 24, .2);
}

.console-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 18px;
    background: #101722;
    border-bottom: 1px solid #1b2a38;
}

.console-bar span {
    width: 10px;
    height: 10px;
    background: var(--orange);
    border-radius: 50%;
}

.console-bar span:nth-child(2) {
    background: var(--green);
}

.console-bar span:nth-child(3) {
    background: var(--blue);
}

.console-bar strong {
    margin-left: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.api-console pre {
    margin: 0;
    padding: 28px;
    white-space: pre-wrap;
}

.api-console code {
    color: #d8ffe9;
    font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 15px;
    line-height: 1.7;
}

.api-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.api-points span {
    min-height: 52px;
    padding: 15px;
    color: #2e3c4f;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
}

.plans-section {
    background: var(--soft);
}

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

.plan-card {
    position: relative;
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(7, 16, 24, .08);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(21, 36, 50, .07);
}

.plan-card.featured {
    color: #fff;
    background: #071018;
    border-color: #071018;
    transform: translateY(-14px);
    box-shadow: 0 36px 110px rgba(7, 16, 24, .26);
}

.plan-card > span {
    display: inline-flex;
    padding: 7px 10px;
    color: var(--ink);
    background: #eafff8;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.plan-card.featured > span {
    color: #fff;
    background: rgba(0, 212, 180, .22);
}

.plan-card h3 {
    margin: 24px 0 0;
    font-size: 34px;
    font-weight: 900;
}

.plan-card p {
    min-height: 78px;
    margin: 12px 0 0;
    color: var(--muted);
}

.plan-card.featured p {
    color: rgba(255, 255, 255, .68);
}

.plan-card strong {
    display: block;
    margin-top: 20px;
    font-size: 24px;
}

.plan-card ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.plan-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #344255;
    font-weight: 800;
}

.plan-card.featured li {
    color: rgba(255, 255, 255, .84);
}

.plan-card li i {
    color: var(--aqua);
}

.plan-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 28px;
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
    font-weight: 900;
}

.plan-card.featured a {
    color: var(--ink);
    background: #fff;
}

.advantage-section {
    color: #fff;
    background: #071018;
}

.advantage-grid {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(520px, 1.1fr);
    gap: 70px;
}

.advantage-grid h2 {
    color: #fff;
}

.advantage-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.advantage-list article {
    min-height: 220px;
    padding: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.advantage-list strong {
    color: var(--aqua);
}

.advantage-list h3 {
    margin: 18px 0 0;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.advantage-list p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .66);
}

.security-section {
    background: #fff;
}

.security-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(520px, 1fr);
    gap: 64px;
    align-items: start;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.security-grid a {
    min-height: 218px;
    padding: 26px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .2s ease, border-color .2s ease;
}

.security-grid a:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 180, .42);
}

.security-grid i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
    font-size: 23px;
}

.security-grid strong {
    display: block;
    margin-top: 22px;
    font-size: 22px;
    font-weight: 900;
}

.security-grid span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
}

.final-cta {
    padding: 90px 0;
    color: #fff;
    background: var(--soft);
}

.final-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 52px;
    background:
        linear-gradient(135deg, rgba(7, 16, 24, .96), rgba(24, 37, 52, .96)),
        url("/assets/images/wallpaper_lysi.jpg") center / cover no-repeat;
    border-radius: 8px;
    box-shadow: 0 34px 100px rgba(7, 16, 24, .22);
}

.final-cta h2 {
    max-width: 760px;
    color: #fff;
}

.site-footer {
    padding: 54px 0;
    color: rgba(255, 255, 255, .7);
    background: #05080d;
}

.footer-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 220px 260px;
    gap: 36px;
}

.site-footer img {
    width: auto;
    height: 34px;
}

.site-footer p {
    max-width: 360px;
    margin: 16px 0 0;
}

.site-footer nav {
    display: grid;
    gap: 10px;
}

.site-footer a:hover {
    color: #fff;
}

.legal-page {
    background: var(--soft);
}

.legal-hero {
    padding: 150px 0 82px;
    color: #fff;
    background: linear-gradient(135deg, #071018, #182534);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .78);
    font-weight: 900;
}

.legal-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
}

.legal-hero p:not(.kicker) {
    max-width: 780px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 19px;
}

.legal-hero span {
    display: inline-flex;
    margin-top: 24px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    font-weight: 800;
}

.legal-content {
    padding: 66px 0 100px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.legal-index {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(21, 36, 50, .07);
}

.legal-index strong {
    margin-bottom: 6px;
}

.legal-index a {
    padding: 10px 12px;
    color: var(--muted);
    border-radius: 8px;
    font-weight: 900;
}

.legal-index a.active,
.legal-index a:hover {
    color: var(--ink);
    background: #edf8f7;
}

.legal-article {
    display: grid;
    gap: 14px;
}

.legal-article section,
.legal-note {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 70px rgba(21, 36, 50, .05);
}

.legal-article h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
}

.legal-article p {
    margin: 12px 0 0;
    color: var(--muted);
}

.legal-note {
    display: flex;
    gap: 14px;
    background: #edf8f7;
}

.legal-note i {
    color: var(--blue);
    font-size: 24px;
}

.legal-note p {
    margin: 0;
}

@media (max-width: 1120px) {
    .hero-layout,
    .platform-layout,
    .api-layout,
    .advantage-grid,
    .security-layout {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 860px) {
    .site-header {
        min-height: 66px;
        padding: 0 18px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: 76px;
        right: 16px;
        display: none;
        width: min(330px, calc(100vw - 32px));
        padding: 14px;
        color: #fff;
        background: rgba(7, 10, 15, .96);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 8px;
        box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
    }

    .site-nav.is-open {
        display: grid;
        gap: 6px;
    }

    .site-nav a {
        padding: 10px 12px;
    }

    .site-nav .nav-action,
    .site-header.is-scrolled .site-nav .nav-action {
        color: var(--ink);
        background: #fff;
    }

    .hero-section {
        min-height: 0;
        padding: 112px 0 68px;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: 42px;
        line-height: 1.04;
    }

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

    .hero-proof,
    .product-metrics,
    .panel-cards,
    .api-points,
    .plans-grid,
    .advantage-list,
    .security-grid,
    .legal-layout,
    .footer-layout {
        grid-template-columns: 1fr;
    }

    .product-flow {
        align-items: stretch;
        flex-direction: column;
    }

    .section-heading h2,
    .platform-copy h2,
    .api-copy h2,
    .security-copy h2,
    .advantage-grid h2,
    .final-cta h2 {
        font-size: 36px;
    }

    .section-block {
        padding: 74px 0;
    }

    .plan-card.featured {
        transform: none;
    }

    .final-cta-box {
        display: grid;
        padding: 32px;
    }

    .legal-index {
        position: static;
    }

    .legal-hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 560px) {
    .site-shell {
        width: min(100% - 28px, 1200px);
    }

    .site-brand img {
        height: 30px;
    }

    .hero-copy h1 {
        max-width: 330px;
        font-size: 32px;
        line-height: 1.08;
    }

    .hero-copy,
    .hero-product {
        width: min(100%, 330px);
        max-width: 330px;
    }

    .hero-lead {
        max-width: 330px;
    }

    .hero-actions,
    .hero-actions a,
    .final-cta .btn-primary-site {
        width: 100%;
    }

    .service-grid,
    .brand-strip-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .plan-card,
    .security-grid a,
    .legal-article section,
    .legal-note {
        padding: 22px;
    }

    .hero-product {
        padding: 12px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
