:root {
    color-scheme: light;
    --accent: #006f9f;
    --accent-bright: #005278;
    --accent-soft: #d7f1fc;
    --page: #edf7fb;
    --surface: #ffffff;
    --surface-2: #e5f1f6;
    --surface-glass: rgba(255, 255, 255, 0.88);
    --ink: #092330;
    --muted: #496a79;
    --line: rgba(5, 100, 139, 0.22);
    --line-strong: rgba(0, 126, 184, 0.46);
    --header: rgba(246, 252, 255, 0.94);
    --button-ink: #ffffff;
    --success: #087758;
    --danger: #b3273d;
    --warning: #9b5c00;
    --focus: #6b2bd9;
    --shadow: 0 22px 60px rgba(8, 48, 66, 0.14);
    --shadow-small: 0 10px 26px rgba(8, 48, 66, 0.1);
    --max-width: 1240px;
    --text-width: 780px;
    --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --accent: #28c3ff;
    --accent-bright: #58d3ff;
    --accent-soft: #0a3445;
    --page: #041116;
    --surface: #081d26;
    --surface-2: #0b2834;
    --surface-glass: rgba(8, 29, 38, 0.9);
    --ink: #e9f9ff;
    --muted: #9ab8c5;
    --line: rgba(59, 195, 244, 0.22);
    --line-strong: rgba(72, 205, 255, 0.52);
    --header: rgba(4, 17, 22, 0.94);
    --button-ink: #03151d;
    --success: #68e2b3;
    --danger: #ff8899;
    --warning: #ffd17d;
    --focus: #ffd65c;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --shadow-small: 0 12px 30px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --accent: #28c3ff;
        --accent-bright: #58d3ff;
        --accent-soft: #0a3445;
        --page: #041116;
        --surface: #081d26;
        --surface-2: #0b2834;
        --surface-glass: rgba(8, 29, 38, 0.9);
        --ink: #e9f9ff;
        --muted: #9ab8c5;
        --line: rgba(59, 195, 244, 0.22);
        --line-strong: rgba(72, 205, 255, 0.52);
        --header: rgba(4, 17, 22, 0.94);
        --button-ink: #03151d;
        --success: #68e2b3;
        --danger: #ff8899;
        --warning: #ffd17d;
        --focus: #ffd65c;
        --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
        --shadow-small: 0 12px 30px rgba(0, 0, 0, 0.28);
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
    text-size-adjust: 100%;
}

body {
    min-width: 320px;
    margin: 0;
    background-color: var(--page);
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-position: center top;
    background-size: 64px 64px;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, transparent 0, var(--page) 42rem);
    content: "";
    pointer-events: none;
}

body.dialog-open {
    overflow: hidden;
}

body.cookie-notice-open {
    padding-bottom: var(--cookie-notice-height, 14rem);
}

body.analytics-preview .cookie-notice,
body.analytics-preview .chat-widget {
    display: none !important;
}

[hidden] {
    display: none !important;
}

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

img {
    height: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

a {
    color: var(--accent);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--accent-bright);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

h1,
h2,
h3 {
    margin: 0 0 0.8rem;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

h1 {
    max-width: 16ch;
    font-size: clamp(2.75rem, 7vw, 5.8rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
    font-size: 1.28rem;
}

p,
ul,
ol {
    margin: 0 0 1rem;
}

.container {
    width: min(calc(100% - 2rem), var(--max-width));
    margin-inline: auto;
}

.eyebrow,
.service-number,
.number {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    margin-right: 0.6rem;
    content: "[";
}

.eyebrow::after {
    margin-left: 0.6rem;
    content: "]";
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    background: var(--surface);
    box-shadow: var(--shadow-small);
    color: var(--ink);
    transform: translateY(-180%);
}

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

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: var(--header);
    backdrop-filter: blur(18px);
}

.site-header::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    width: min(34vw, 400px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
    content: "";
}

.header-inner {
    display: flex;
    min-height: 86px;
    align-items: center;
    gap: 1.2rem;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0.35rem 0;
}

.brand-logo {
    width: 126px;
}

.brand-logo-dark {
    display: none;
}

:root[data-theme="dark"] .brand-logo-light {
    display: none;
}

:root[data-theme="dark"] .brand-logo-dark {
    display: block;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .brand-logo-light {
        display: none;
    }

    :root:not([data-theme="light"]) .brand-logo-dark {
        display: block;
    }
}

.site-nav {
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0.7rem 0.72rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a::before {
    position: absolute;
    right: 0.7rem;
    bottom: 0.35rem;
    left: 0.7rem;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink);
}

.site-nav a:hover::before,
.site-nav a[aria-current="page"]::before {
    transform: scaleX(1);
}

.site-nav .portal-link {
    margin-left: 0.25rem;
    border: 1px solid var(--line-strong);
    color: var(--accent);
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}

.external-mark {
    margin-left: 0.3rem;
}

.theme-toggle,
.nav-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.theme-toggle {
    min-width: 108px;
    padding: 0.6rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.theme-toggle:hover,
.nav-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-toggle-icon {
    color: var(--accent);
    font-size: 1rem;
}

.nav-toggle {
    display: none;
    padding: 0.6rem 0.75rem;
    font-weight: 700;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(2, 13, 19, 0.96) 0%, rgba(3, 19, 28, 0.88) 48%, rgba(1, 13, 20, 0.5) 100%),
        url("../images/infrastructure-hero-generated.jpg") center / cover no-repeat;
    color: #b9d2dc;
}

.hero::before,
.page-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(42, 194, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 194, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    width: 44%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #1cbcff);
    content: "";
}

.hero-grid {
    display: grid;
    min-height: 690px;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    padding-block: clamp(5rem, 10vw, 8rem);
}

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

.hero .eyebrow {
    margin-bottom: 1.4rem;
    color: #43caff;
}

.hero h1 {
    margin-bottom: 1.4rem;
    color: #ffffff;
    font-size: clamp(3.1rem, 7vw, 6.4rem);
    letter-spacing: -0.055em;
}

.hero-content > p:not(.eyebrow) {
    max-width: 650px;
    margin-bottom: 2rem;
    color: #c1d4dc;
    font-size: clamp(1.04rem, 1.6vw, 1.24rem);
}

.hero-actions,
.button-row,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.25rem;
    border: 1px solid var(--accent);
    border-radius: 0;
    background: var(--accent);
    color: var(--button-ink);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
    transition: filter 160ms ease, transform 160ms ease;
}

.button:hover {
    border-color: var(--accent-bright);
    background: var(--accent-bright);
    color: var(--button-ink);
    transform: translateY(-2px);
}

.button:disabled {
    cursor: wait;
    filter: grayscale(0.4);
    opacity: 0.64;
    transform: none;
}

.button-secondary {
    border-color: var(--line-strong);
    background: transparent;
    color: var(--ink);
}

.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero .button-secondary {
    border-color: rgba(255, 255, 255, 0.48);
    color: #ffffff;
}

.hero .button-secondary:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    margin: 2rem 0 0;
    padding: 0;
    color: #9eb7c1;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    list-style: none;
    text-transform: uppercase;
}

.hero-points li::before {
    margin-right: 0.5rem;
    color: #36c7ff;
    content: "+";
}

.signal-panel {
    position: relative;
    border: 1px solid rgba(68, 204, 255, 0.38);
    background: rgba(2, 18, 27, 0.82);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), inset 0 0 50px rgba(22, 172, 226, 0.05);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
    backdrop-filter: blur(16px);
}

.signal-panel::before,
.signal-panel::after {
    position: absolute;
    width: 56px;
    height: 3px;
    background: #35c8ff;
    content: "";
}

.signal-panel::before {
    top: 0;
    left: 0;
}

.signal-panel::after {
    right: 0;
    bottom: 0;
}

.signal-panel-head {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(68, 204, 255, 0.24);
    color: #5dcfff;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

.signal-list a {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 1.15rem 1.2rem;
    border-bottom: 1px solid rgba(68, 204, 255, 0.16);
    color: #ffffff;
    text-decoration: none;
    transition: background-color 160ms ease, padding-left 160ms ease;
}

.signal-list a:hover {
    padding-left: 1.5rem;
    background: rgba(46, 190, 245, 0.1);
    color: #ffffff;
}

.signal-list strong,
.signal-list small {
    display: block;
}

.signal-list strong {
    font-size: 0.95rem;
}

.signal-list small {
    margin-top: 0.12rem;
    color: #8eabb7;
}

.signal-code {
    color: #45cbff;
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.home-services {
    position: relative;
    z-index: 2;
    padding: 0 0 clamp(4.5rem, 8vw, 7rem);
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: -48px;
    box-shadow: var(--shadow);
}

.home-service-card {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.4rem, 3vw, 2rem);
    border-top: 3px solid transparent;
    border-right: 1px solid var(--line);
    background: var(--surface);
    transition: border-color 160ms ease, transform 160ms ease;
}

.home-service-card:last-child {
    border-right: 0;
}

.home-service-card:hover,
.home-service-card:focus-within {
    z-index: 1;
    border-top-color: var(--accent);
    transform: translateY(-8px);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.service-number {
    margin-bottom: 0.85rem;
    font-size: 0.66rem;
}

.home-service-card h2 {
    min-height: 2.2em;
    font-size: 1.35rem;
}

.home-service-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.home-service-card a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.page-hero {
    position: relative;
    isolation: isolate;
    min-height: 365px;
    overflow: hidden;
    padding: clamp(5rem, 10vw, 7.5rem) 0;
    background:
        linear-gradient(90deg, rgba(2, 16, 23, 0.96), rgba(3, 25, 35, 0.82) 60%, rgba(4, 20, 28, 0.6)),
        url("../images/infrastructure-hero-generated.jpg") center / cover no-repeat;
    color: #bfd2da;
}

.page-hero .container {
    position: relative;
}

.page-hero .container::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: min(26vw, 320px);
    height: 1px;
    background: linear-gradient(90deg, transparent, #2bc7ff);
    content: "";
}

.page-hero h1 {
    margin-top: 1rem;
    color: #ffffff;
    font-size: clamp(2.8rem, 6vw, 5rem);
}

.page-hero p {
    max-width: 720px;
    margin: 1.1rem 0 0;
    color: #b8ced7;
    font-size: 1.12rem;
}

.section {
    padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-white {
    background: var(--surface-glass);
}

.section-heading {
    max-width: var(--text-width);
    margin-bottom: 2.5rem;
}

.section-heading > p {
    font-size: 1.08rem;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
}

.split > div:first-child > p {
    max-width: 640px;
}

.infrastructure-visual {
    position: relative;
    margin: 0;
    border: 1px solid var(--line-strong);
    background: var(--surface-2);
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.infrastructure-visual::before {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 88px;
    height: 4px;
    background: var(--accent);
    content: "";
}

.infrastructure-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.infrastructure-visual figcaption {
    margin: 0;
    padding: 0.8rem 1rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.three-grid,
.service-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

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

.info-card,
.contact-card,
.price-card {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-small);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.info-card::before,
.contact-card::before,
.price-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 62px;
    height: 3px;
    background: var(--accent);
    content: "";
}

.info-card .number {
    margin-bottom: 2.7rem;
    font-size: 0.8rem;
}

.info-card h2,
.contact-card h2 {
    font-size: 1.55rem;
}

.service-intro-grid,
.about-platform-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(2rem, 7vw, 6rem);
}

.service-intro-grid h2,
.about-platform-grid h2 {
    margin-top: 1rem;
}

.service-intro-grid > div:last-child {
    padding-top: 2.15rem;
    font-size: 1.05rem;
}

.service-catalog-section {
    position: relative;
}

.service-detail-grid,
.about-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.service-detail-card,
.about-focus-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: clamp(1.55rem, 3vw, 2.3rem);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-small);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.service-detail-card::before,
.about-focus-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 74px;
    height: 3px;
    background: var(--accent);
    content: "";
}

.service-detail-card .number,
.about-focus-card .number {
    margin-bottom: 2.25rem;
}

.service-detail-card h3,
.about-focus-card h3 {
    font-size: 1.55rem;
}

.service-detail-card > p,
.about-focus-card > p {
    max-width: 64ch;
}

.service-feature-list {
    margin: 0.35rem 0 1.4rem;
    padding: 0;
    list-style: none;
}

.service-feature-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.45rem;
    border-top: 1px solid var(--line);
}

.service-feature-list li::before {
    position: absolute;
    top: 0.65rem;
    left: 0;
    color: var(--accent);
    content: "+";
    font-family: var(--font-mono);
    font-weight: 800;
}

.service-detail-card .text-link {
    margin-top: auto;
}

.service-comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-small);
}

.service-comparison-wrap:focus-visible {
    outline-offset: 5px;
}

.service-comparison {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    text-align: left;
}

.service-comparison th,
.service-comparison td {
    padding: 1rem 1.2rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.service-comparison tr > *:last-child {
    border-right: 0;
}

.service-comparison tbody tr:last-child > * {
    border-bottom: 0;
}

.service-comparison thead th {
    background: var(--surface-2);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.service-comparison tbody th {
    width: 22%;
    color: var(--ink);
    font-size: 0.92rem;
}

.custom-platform-callout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    margin-top: clamp(2.5rem, 6vw, 5rem);
    padding: clamp(1.8rem, 5vw, 3.5rem);
    border: 1px solid var(--line-strong);
    background: var(--surface-2);
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.custom-platform-callout h2 {
    margin-top: 0.9rem;
}

.custom-platform-callout p {
    max-width: 72ch;
}

.custom-platform-actions {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
}

.about-lead .eyebrow {
    margin-bottom: 1rem;
}

.about-difference {
    background: var(--page);
}

.about-focus-card {
    min-height: 270px;
}

.about-platform {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(2, 16, 23, 0.98), rgba(4, 33, 45, 0.94)),
        url("../images/infrastructure-hero-generated.jpg") center / cover no-repeat;
    color: #b8ced7;
}

.about-platform::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(42, 194, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 194, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    pointer-events: none;
}

.about-platform-grid {
    position: relative;
    align-items: center;
}

.about-platform h2 {
    color: #ffffff;
}

.about-platform .eyebrow,
.about-platform .text-link {
    color: #48cdff;
}

.platform-capability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(72, 205, 255, 0.28);
    border-left: 1px solid rgba(72, 205, 255, 0.28);
    background: rgba(2, 18, 27, 0.76);
    list-style: none;
}

.platform-capability-list li {
    min-height: 118px;
    padding: 1.15rem;
    border-right: 1px solid rgba(72, 205, 255, 0.28);
    border-bottom: 1px solid rgba(72, 205, 255, 0.28);
}

.platform-capability-list strong,
.platform-capability-list span {
    display: block;
}

.platform-capability-list strong {
    margin-bottom: 0.28rem;
    color: #ffffff;
}

.platform-capability-list span {
    color: #91afbc;
    font-size: 0.86rem;
}

.about-cta .custom-platform-callout {
    margin-top: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    min-height: 44px;
}

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

.text-link span {
    transition: transform 160ms ease;
}

a[data-contact-trigger]:not(.button) {
    font-size: 1.05rem;
    font-weight: 800;
}

a.button[data-contact-trigger] {
    font-size: 0.85rem;
    font-weight: 800;
}

.contact-card p:nth-of-type(2) {
    padding: 1rem 0;
    border-block: 1px solid var(--line);
}

.pricing-section + .pricing-section {
    border-top: 1px solid var(--line);
}

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

.pricing-grid[data-plan-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.price-card-header {
    padding: 1.7rem 1.6rem 1.4rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.price-card h3 {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price {
    margin: 0;
    color: var(--ink);
}

.previous-price {
    margin: 0 0 0.15rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.previous-price del {
    text-decoration-thickness: 2px;
}

.price strong {
    display: block;
    font-size: 1.85rem;
    letter-spacing: -0.04em;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.price small {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
}

.price-text strong {
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.price-card > ul {
    margin: 0;
    padding: 1.5rem 1.6rem 1rem;
    list-style: none;
}

.price-card > ul li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.15rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

.price-card > ul li::before {
    position: absolute;
    left: 0;
    color: var(--accent);
    content: "+";
    font-family: var(--font-mono);
}

.price-card-action {
    margin-top: auto;
    padding: 1.4rem 1.6rem 1.6rem;
}

.price-card-action .button {
    width: 100%;
}

.pricing-note-section {
    padding-top: 0;
}

.notice {
    margin: 2rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    color: var(--ink);
}

.policy-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.policy-nav {
    position: sticky;
    top: 110px;
    padding: 1.3rem;
    border: 1px solid var(--line);
    background: var(--surface);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.policy-nav h2 {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.policy-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.policy-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0.43rem 0;
    color: var(--muted);
    font-size: 0.84rem;
    text-decoration: none;
}

.policy-nav a:hover {
    color: var(--accent);
}

.policy-content {
    min-width: 0;
    max-width: 870px;
}

.policy-content > section {
    scroll-margin-top: 110px;
    padding: 0 0 2.6rem;
}

.policy-content > section + section {
    padding-top: 2.6rem;
    border-top: 1px solid var(--line);
}

.policy-content h2 {
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.policy-content h3 {
    margin-top: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.45rem;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    margin: 0 0 2.8rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.table-wrap {
    width: 100%;
    margin: 1.5rem 0;
    overflow-x: auto;
    border: 1px solid var(--line);
}

table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: var(--surface);
}

th,
td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--surface-2);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

td {
    font-size: 0.9rem;
}

.contact-dialog {
    width: min(760px, calc(100% - 1.5rem));
    max-height: calc(100dvh - 1.5rem);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid var(--line-strong);
    background: transparent;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.52);
    color: var(--muted);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.contact-dialog::backdrop {
    background: rgba(0, 10, 15, 0.78);
    backdrop-filter: blur(7px);
}

.dialog-frame {
    background: var(--surface);
}

.dialog-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
    padding: clamp(1.4rem, 4vw, 2.2rem);
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.dialog-heading h2 {
    margin-top: 0.5rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.dialog-heading p:last-child {
    margin: 0;
}

.dialog-close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
}

.dialog-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.contact-form {
    padding: clamp(1.4rem, 4vw, 2.2rem);
}

.form-help {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

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

.field-group {
    min-width: 0;
}

.field-group label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.field-group label span {
    color: var(--muted);
    font-weight: 400;
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--page);
    color: var(--ink);
}

.field-group textarea {
    min-height: 140px;
    resize: vertical;
}

.field-group input:hover,
.field-group select:hover,
.field-group textarea:hover {
    border-color: var(--line-strong);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    border-color: var(--accent);
    outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent);
    outline-offset: 0;
}

.field-group [aria-invalid="true"] {
    border-color: var(--danger);
    box-shadow: inset 4px 0 0 var(--danger);
}

.form-span {
    grid-column: 1 / -1;
}

.consent-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.65rem;
    align-items: start;
    margin: 1rem 0;
    padding: 0.9rem;
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    color: var(--ink);
    font-size: 0.85rem;
}

.consent-row input {
    width: 18px;
    height: 18px;
    margin-top: 0.18rem;
    accent-color: var(--accent);
}

.form-actions {
    justify-content: flex-end;
    margin-top: 1.25rem;
}

.form-status {
    min-height: 1.6em;
    margin: 1rem 0 0;
    font-weight: 700;
}

.form-status.is-success {
    color: var(--success);
}

.form-status.is-error {
    color: var(--danger);
}

.form-status.is-pending {
    color: var(--warning);
}

.form-fallback {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.chat-widget {
    position: fixed;
    z-index: 450;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    font-size: 1rem;
}

.chat-launcher {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.1rem;
    border: 1px solid var(--accent);
    background: var(--accent);
    box-shadow: 0 14px 38px rgba(0, 72, 104, 0.32);
    color: var(--button-ink);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.chat-launcher[aria-expanded="true"] {
    visibility: hidden;
}

.chat-launcher-icon {
    font-size: 1.15rem;
}

.chat-unread {
    min-width: 1.4rem;
    min-height: 1.4rem;
    padding: 0.08rem 0.3rem;
    border-radius: 999px;
    background: var(--danger);
    color: #ffffff;
    font-size: 0.72rem;
    line-height: 1.2rem;
    text-align: center;
}

.chat-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    width: min(390px, calc(100vw - 2rem));
    max-height: min(650px, calc(100dvh - 2rem));
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.38);
    color: var(--muted);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.chat-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.chat-header > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.15rem 0.55rem;
}

.chat-header h2 {
    margin: 0;
    font-size: 1.05rem;
}

.chat-header p {
    grid-column: 2;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.35;
}

.chat-status-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 18%, transparent);
}

.chat-minimize {
    min-width: 44px;
    min-height: 44px;
    margin: -0.45rem -0.45rem 0 0;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 800;
}

.chat-start {
    overflow: auto;
    padding: 1rem 1.1rem 1.2rem;
}

.chat-start > p {
    color: var(--ink);
    font-size: 0.9rem;
}

.chat-start form {
    display: grid;
    gap: 0.55rem;
}

.chat-start form > label:not(.chat-consent),
.chat-message-form label {
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.chat-start input,
.chat-start select,
.chat-offline select,
.chat-start textarea,
.chat-message-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.72rem;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--page);
    color: var(--ink);
}

.chat-offline {
    display: grid;
    gap: 0.75rem;
    overflow: auto;
    padding: 1.2rem 1.1rem;
}

.chat-offline h3,
.chat-offline p {
    margin: 0;
}

.chat-offline label {
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.chat-start textarea,
.chat-message-form textarea {
    resize: vertical;
}

.chat-start small {
    margin-top: -0.25rem;
    font-size: 0.72rem;
    line-height: 1.35;
}

.chat-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 0.55rem;
    margin-block: 0.35rem;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

.chat-consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 0.15rem;
}

.chat-conversation {
    position: relative;
    min-height: 0;
    grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
}

.chat-conversation:not([hidden]) {
    display: grid;
}

.chat-messages {
    min-height: 180px;
    padding: 1rem;
    overflow: auto;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 32px 32px;
}

.chat-message {
    width: fit-content;
    max-width: 86%;
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-small);
}

.chat-message.is-visitor {
    margin-left: auto;
    border-color: var(--line-strong);
    background: var(--accent-soft);
}

.chat-message strong,
.chat-message time {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.chat-message strong {
    color: var(--accent);
}

.chat-message p {
    margin: 0.25rem 0;
    color: var(--ink);
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.chat-reply-quote {
    margin: 0 0 0.45rem;
    padding: 0.4rem 0.5rem;
    border-left: 3px solid var(--accent);
    background: var(--surface-2);
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.chat-reply-quote strong {
    margin-bottom: 0.1rem;
}

.chat-queue-status {
    margin: 0;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 700;
}

.chat-message time {
    color: var(--muted);
}

.chat-message-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.chat-receipt {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
}

.chat-receipt.is-read {
    color: var(--success);
}

.chat-typing {
    min-height: 2rem;
    margin: 0;
    padding: 0.4rem 0.8rem;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
}

.chat-message-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.8rem;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.chat-message-form textarea {
    min-height: 52px;
    max-height: 130px;
}

.chat-message-form .button {
    align-self: stretch;
}

.chat-closed-notice {
    display: grid;
    min-height: 300px;
    margin: 0;
    padding: 2rem;
    place-items: center;
    background: var(--page);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.chat-idle-warning {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1rem;
    padding: 2rem;
    background: color-mix(in srgb, var(--page) 94%, transparent);
    text-align: center;
}

.chat-idle-warning p {
    max-width: 25ch;
    margin: 0;
    color: var(--ink);
    font-size: 0.9rem;
}

.chat-conversation-footer {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.4rem 0.8rem;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
}

.chat-form-status {
    min-height: 1.25em;
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
}

.chat-end {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.7rem;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.site-footer {
    position: relative;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.site-footer::before {
    position: absolute;
    top: -1px;
    left: 0;
    width: min(38vw, 480px);
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    content: "";
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.25rem;
    min-height: 76px;
    padding-block: 0.4rem;
}

.footer-inner p {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--muted);
    font-size: 0.78rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-preferences {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.78rem;
}

.footer-preferences:hover {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

.cookie-notice {
    position: fixed;
    z-index: 500;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: calc(100dvh - 1rem);
    overflow: auto;
    border-top: 2px solid var(--accent);
    background: var(--surface);
    box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.28);
}

.cookie-notice-inner {
    display: grid;
    width: min(calc(100% - 2rem), var(--max-width));
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 2rem;
    margin-inline: auto;
    padding-block: 1.2rem;
}

.cookie-notice .eyebrow {
    margin-bottom: 0.35rem;
}

.cookie-notice h2 {
    margin-bottom: 0.35rem;
    font-size: 1.35rem;
}

.cookie-notice p {
    max-width: 760px;
    margin: 0;
}

.cookie-notice-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.cookie-notice-actions > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.cookie-status {
    grid-column: 1 / -1;
    min-height: 1.5em;
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 1080px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 0.7rem;
        padding-block: 0.7rem;
    }

    .site-nav {
        order: 3;
        width: 100%;
        margin: 0;
    }

    .site-nav ul {
        justify-content: center;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr 390px;
        gap: 3rem;
    }

    .home-service-grid,
    .service-grid,
    .pricing-grid,
    .pricing-grid[data-plan-count="3"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-service-card:nth-child(2) {
        border-right: 0;
    }

    .home-service-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 820px) {
    .header-inner {
        flex-wrap: nowrap;
        min-height: 76px;
    }

    .brand-logo {
        width: 108px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .theme-toggle {
        min-width: 44px;
        margin-left: 0;
    }

    .theme-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: auto;
        border-bottom: 1px solid var(--line);
        background: var(--surface);
        box-shadow: var(--shadow-small);
    }

    .js .site-nav {
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
    }

    .js .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .site-nav ul {
        display: block;
        padding: 0.7rem 1rem 1rem;
    }

    .site-nav a {
        width: 100%;
        padding-inline: 0.75rem;
    }

    .site-nav .portal-link {
        margin: 0.4rem 0 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .signal-panel {
        max-width: 560px;
    }

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

    .service-intro-grid,
    .about-platform-grid,
    .custom-platform-callout {
        grid-template-columns: 1fr;
    }

    .service-intro-grid > div:last-child {
        padding-top: 0;
    }

    .custom-platform-actions {
        align-items: flex-start;
    }

    .infrastructure-visual {
        width: min(100%, 600px);
        margin-inline: auto;
    }

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

    .policy-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .policy-nav {
        position: static;
    }

    .policy-nav ul {
        columns: 2;
    }

    .page-hero .container::after {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .cookie-notice-inner {
        grid-template-columns: 1fr;
    }

    .cookie-notice-actions {
        justify-content: flex-start;
    }

    .chat-widget {
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

    .chat-panel {
        width: calc(100vw - 1.5rem);
        max-height: calc(100dvh - 1.5rem);
    }
}

@media (max-width: 580px) {
    .container {
        width: min(calc(100% - 1.25rem), var(--max-width));
    }

    .brand-logo {
        width: 92px;
    }

    .nav-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .hero,
    .hero-grid {
        min-height: auto;
    }

    .hero-grid {
        padding-block: 4.5rem 6.5rem;
    }

    .hero h1 {
        font-size: clamp(2.85rem, 15vw, 4.5rem);
    }

    .hero-actions .button {
        width: 100%;
    }

    .signal-list a {
        grid-template-columns: 28px 1fr auto;
        padding-inline: 0.9rem;
    }

    .home-service-grid,
    .service-grid,
    .pricing-grid,
    .pricing-grid[data-plan-count="3"] {
        grid-template-columns: 1fr;
    }

    .service-detail-grid,
    .about-focus-grid,
    .platform-capability-list {
        grid-template-columns: 1fr;
    }

    .service-detail-card,
    .about-focus-card {
        min-height: 0;
    }

    .home-service-card,
    .home-service-card:nth-child(2),
    .home-service-card:nth-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .home-service-card:last-child {
        border-bottom: 0;
    }

    .policy-nav ul {
        columns: 1;
    }

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

    .form-span {
        grid-column: auto;
    }

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

    .form-actions .button {
        width: 100%;
    }

    .contact-dialog {
        width: calc(100% - 0.75rem);
        max-height: calc(100dvh - 0.75rem);
    }

    .cookie-notice-inner {
        width: min(calc(100% - 1.25rem), var(--max-width));
    }

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

    .cookie-notice-actions .button,
    .cookie-notice-actions > a {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    body {
        background: #ffffff;
        color: #000000;
    }

    .site-header,
    .site-footer,
    .policy-nav,
    .contact-dialog,
    .cookie-notice,
    .button-row {
        display: none !important;
    }

    .page-hero {
        min-height: 0;
        padding: 1.5rem 0;
        background: #ffffff;
        color: #000000;
    }

    .page-hero h1,
    .page-hero p,
    h1,
    h2,
    h3 {
        color: #000000;
    }

    .section {
        padding: 1rem 0;
    }

    .policy-layout {
        display: block;
    }

    a {
        color: #000000;
    }
}
