/* Denegra website. Tokens come from the Denegra design system:
   lavender-white ground, white cards with a thin indigo border, Corben headings,
   Lexend text, one blue accent. Older variable names are kept as aliases because
   the sub-pages use them in inline styles. */

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

:root {
    --bg: #f9f9ff;
    --surface: #ffffff;
    --surface-tint: #d2d9f9;
    --row-alt: #e9ebf7;
    --border: #b8bfdf;
    --ink: #1b1b27;
    --text: #404155;
    --muted: #5f6178;
    --subtle: #6b6d85;
    --blue: #3254e6;
    --blue-hover: #2743c4;
    --petrol: #325f7b;
    --on-accent: #ffffff;
    --success: #1b7d4e;
    --danger: #c6342e;

    --font-display: 'Corben', Georgia, serif;
    --font-sans: 'Lexend', 'Segoe UI', Arial, sans-serif;
    --font-mono: Consolas, 'Courier New', monospace;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* aliases used by inline styles on the sub-pages */
    --bg-dark: var(--bg);
    --bg-elevated: var(--bg);
    --bg-card: var(--surface);
    --text-primary: var(--ink);
    --text-secondary: var(--text);
    --text-muted: var(--muted);
    --border-subtle: var(--border);
    --border-medium: var(--border);
    --neon-purple: var(--blue);
    --neon-cyan: var(--blue);
    --neon-blue: var(--blue);
    --cyan: var(--blue);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a {
    color: var(--blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 32px;
}

/* ---------- Navigation ---------- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(249, 249, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--row-alt);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.logo-lockup,
.logo .logo-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--ink);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
}

.nav-menu a:hover {
    color: var(--blue);
}

.nav-toggle {
    display: none;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    cursor: pointer;
}

.nav-toggle:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

.nav-menu a.nav-cta,
.btn-primary {
    display: inline-block;
    background: var(--blue);
    color: var(--on-accent);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 22px;
    border: 0;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.nav-menu a.nav-cta {
    padding: 9px 18px;
    font-size: 15px;
}

.nav-menu a.nav-cta:hover,
.btn-primary:hover {
    background: var(--blue-hover);
    color: var(--on-accent);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: wait;
}

.text-link {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--blue);
    border-color: var(--blue);
}

/* ---------- Hero ---------- */

.hero {
    padding: 64px 0 72px;
}

.hero-gradient {
    display: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.hero-label,
.section-eyebrow,
.sector-label {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 15px;
    color: var(--blue);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(36px, 4.4vw, 56px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text);
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 40px;
}

.hero-badges img {
    width: auto;
    height: 52px;
    border-radius: var(--radius-sm);
}

/* the NVIDIA artwork carries its own clear space, so it needs more height to match */
.hero-badges .hero-badge-nvidia {
    height: 60px;
    margin: -4px -6px;
}

.hero-badges .hero-badge-redhat {
    height: 24px;
}

/* real product screens: the chat behind, the phone in front */
.hero-shots {
    position: relative;
    aspect-ratio: 10 / 9;
}

.hero-shot {
    position: absolute;
}

.hero-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 20px 48px rgba(27, 27, 39, 0.12);
}

.hero-shot figcaption {
    position: absolute;
    top: -12px;
    left: 16px;
    padding: 2px 12px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-accent);
    font-size: 13px;
    font-weight: 600;
}

.hero-shot-chat {
    top: 0;
    right: 0;
    width: 70%;
}

.hero-shot-phone {
    left: 0;
    bottom: 0;
    width: 36%;
}

/* ---------- Sections ---------- */

section {
    scroll-margin-top: 80px;
}

.section {
    padding: 72px 0;
}

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

/* products follow the hero directly; one gap is enough */
.hero + .section {
    padding-top: 24px;
}

.section-header {
    max-width: 720px;
    margin-bottom: 36px;
}

.section-title {
    font-size: clamp(32px, 3.6vw, 44px);
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--muted);
}

/* ---------- How we work ---------- */

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 32px;
}

.step {
    border-top: 2px solid var(--ink);
    padding-top: 20px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 0;
    align-content: start;
}

.step-number {
    display: block;
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 1;
    color: var(--blue);
    margin-bottom: 18px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.steps-more {
    margin-top: 28px;
}

/* ---------- Products ---------- */

.product-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--surface);
    border: 2px solid var(--blue);
    border-radius: var(--radius-xl);
    padding: 44px;
    margin-bottom: 24px;
}

.product-kicker {
    font-weight: 600;
    font-size: 15px;
    color: var(--blue);
    margin-bottom: 10px;
}

.product-feature h3 {
    font-size: 36px;
    margin-bottom: 16px;
}

.product-feature p {
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.check-list li {
    padding-left: 26px;
    position: relative;
    color: var(--ink);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.5em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--success);
    border-bottom: 2px solid var(--success);
    transform: rotate(-45deg);
}

.product-shot figcaption {
    font-size: 14px;
    color: var(--subtle);
    margin-top: 10px;
}

.product-shot img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

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

/* subgrid rows: header, text and links line up across the cards in a row */
.app-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 16px;
}

.app-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-logo img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
}

.app-name {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--ink);
    line-height: 1.2;
}

.app-tagline {
    font-size: 15px;
    color: var(--muted);
}

.app-card p {
    flex: 1;
}

.app-card.tinted {
    background: var(--row-alt);
    border-color: var(--row-alt);
}

.app-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: baseline;
}

.app-link {
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}

.app-link:hover {
    text-decoration: underline;
}

.app-link.secondary {
    font-weight: 400;
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Industries ---------- */

.industry-list {
    list-style: none;
    border-top: 1px solid var(--border);
}

.industry-list a {
    display: grid;
    grid-template-columns: 0.9fr 1.6fr auto;
    gap: 32px;
    align-items: baseline;
    padding: 26px 4px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: background-color 0.2s ease;
}

.industry-list a:hover {
    background: var(--surface);
}

.industry-list h3 {
    font-size: 24px;
}

.industry-list .arrow {
    color: var(--blue);
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Why Denegra ---------- */

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

.why-points > div {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    row-gap: 0;
}

.why-points h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

/* ---------- Programs and partners ---------- */

.partners {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--row-alt);
}

.partners-title {
    font-size: 22px;
    margin-bottom: 20px;
}

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

.partner-list li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    row-gap: 6px;
    align-items: end;
}

.partner-name {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.2;
    color: var(--ink);
}

.partner-logo {
    width: auto;
    height: 27px;
    justify-self: start;
}

.partner-wordmark {
    height: 22px;
}

/* the badge artwork carries its own clear space around the frame */
.partner-badge {
    height: 60px;
    margin: -7px 0 -7px -7px;
}

.partner-kind {
    font-size: 15px;
    color: var(--muted);
}

.partner-legal {
    margin-top: 16px;
    font-size: 13px;
    color: var(--subtle);
}

/* ---------- Contact ---------- */

.contact-section {
    padding: 72px 0;
    background: var(--surface-tint);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(32px, 3.6vw, 44px);
    margin-bottom: 18px;
}

.contact-info p {
    color: var(--ink);
    margin-bottom: 28px;
}

.contact-label {
    display: block;
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
}

.contact-item a {
    font-size: 20px;
}

.contact-form {
    display: grid;
    gap: 14px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
}

.contact-form textarea {
    resize: vertical;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.field .optional,
.field .help {
    font-weight: 400;
    font-size: 14px;
    color: var(--subtle);
}

.contact-form .btn-primary {
    justify-self: start;
}

.chips {
    border: 0;
    min-width: 0;
}

.chips legend {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    position: relative;
    cursor: pointer;
}

.chip input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.chip span {
    display: inline-block;
    font-size: 15px;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.chip:hover span {
    border-color: var(--blue);
}

.chip input:checked + span {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--on-accent);
}

.chip input:focus-visible + span {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    font-size: 15px;
}

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

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

/* ---------- Sub-page blocks (about, security, support, solution pages) ---------- */

.bento-section {
    padding: 48px 0 96px;
}

.capability-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
}

.capability-card h2,
.capability-card h3 {
    margin-bottom: 12px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon {
    color: var(--blue);
}

.card-badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

.feature-list {
    display: grid;
    gap: 8px;
}

.feature-item {
    color: var(--text);
}

/* ---------- Footer ---------- */

.footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}

.footer-brand p {
    color: var(--muted);
    max-width: 36ch;
    margin-top: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 14px;
}

.footer-column a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 4px 0;
}

.footer-column a:hover {
    color: var(--blue);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--row-alt);
    font-size: 14px;
    color: var(--subtle);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
}

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

.footer-social a {
    color: var(--text);
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--blue);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 20px;
    font-size: 15px;
    color: var(--muted);
}

.social-links a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

/* ---------- 404 ---------- */

.nf-wrap {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
}

.nf-code {
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 16px;
}

.nf-title {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 16px;
}

.nf-text {
    color: var(--muted);
    max-width: 34rem;
    margin: 0 auto 32px;
}

.nf-links {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.nf-links a:not(.btn-primary) {
    color: var(--text);
}

/* ---------- Product screenshots (solution pages) ---------- */

.product-shot {
    margin-bottom: 40px;
}

.product-shot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.product-shot-grid.is-portrait {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
}

.product-shot-grid.is-wide {
    grid-template-columns: 1fr;
    gap: 32px;
}

.product-shot-grid.is-wide > img {
    width: auto;
    max-width: 100%;
    justify-self: center;
}

.product-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 16px 40px rgba(27, 27, 39, 0.08);
}

.product-shot-stack {
    display: grid;
    gap: 24px;
}

.product-shot h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.product-shot-points {
    list-style: none;
    counter-reset: shot;
    display: grid;
    gap: 14px;
    font-size: 16px;
}

.product-shot-points li {
    counter-increment: shot;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.product-shot-points li::before {
    content: counter(shot);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-tint);
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
}

.product-shot-points code {
    display: block;
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--row-alt);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.product-shot figcaption {
    margin-top: 24px;
    font-size: 14px;
    color: var(--muted);
}

/* Four steps joined by a line (ai-consulting) */
.steps-flow .step {
    position: relative;
    border-top: 0;
    padding-top: 0;
}

.steps-flow .step-number {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface-tint);
    font-size: 28px;
    margin-bottom: 16px;
}

.steps-flow .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 64px;
    right: -24px;
    height: 2px;
    background: var(--border);
}

/* ---------- Know-how to product map (about) ---------- */

.origin-map {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.origin-map li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.origin-from,
.origin-to {
    display: grid;
    align-content: center;
    gap: 2px;
    height: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    font-size: 15px;
    line-height: 1.5;
}

.origin-from {
    background: var(--row-alt);
}

.origin-to {
    background: var(--surface-tint);
    border: 1px solid var(--blue);
}

.origin-kicker {
    font-weight: 600;
    color: var(--ink);
}

.origin-to strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    color: var(--ink);
}

.origin-arrow {
    justify-self: center;
    font-size: 22px;
    color: var(--blue);
}

/* ---------- Protection steps (security) ---------- */

.protect-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

/* subgrid rows: kicker, title and detail line up across the steps */
.protect-steps li {
    position: relative;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 4px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--surface-tint);
    border: 1px solid var(--blue);
    font-size: 14px;
    line-height: 1.5;
}

.protect-steps li.protect-start {
    background: var(--row-alt);
    border-color: var(--row-alt);
}

.protect-steps li:not(:last-child)::after {
    content: "\2192";
    content: "\2192" / "";
    position: absolute;
    top: 50%;
    right: -22px;
    transform: translateY(-50%);
    color: var(--blue);
    font-size: 18px;
}

.protect-kicker {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.protect-steps strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    color: var(--ink);
}

.protect-watch {
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    font-size: 15px;
    color: var(--text);
    text-align: center;
}

/* ---------- Wide sub-page blocks (solution pages, privacy) ---------- */

/* one product screen beside the hero text */
.hero-single img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 20px 48px rgba(27, 27, 39, 0.12);
}

.hero-single figcaption {
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
}

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

.masked-sample {
    display: block;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--row-alt);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* heading on the left, body on the right */
/* first lines of the heading and the body sit on one baseline */
.page-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: baseline;
}

.page-split .section-header {
    margin-bottom: 0;
}

.page-split-body {
    display: grid;
    gap: 16px;
    font-size: 18px;
}

/* links and buttons keep their own width instead of stretching across the column */
.page-split-body > a {
    justify-self: start;
}

/* full-width sections: running text keeps a readable line length */
.section .container > p {
    max-width: 760px;
}

.tile-grid {
    list-style: none;
    display: grid;
    gap: 16px;
}

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

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

/* subgrid rows: kicker, title and text line up across the tiles */
.tile {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 6px;
    align-content: start;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.tile-kicker {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--blue);
}

.tile h3 {
    font-size: 22px;
}

.tile p {
    font-size: 15px;
}

.tile-intro {
    font-size: 16px;
    color: var(--muted);
}

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

.faq-grid h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.page-meta {
    margin-top: 20px;
    font-size: 14px;
    color: var(--muted);
}

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

/* policy text: heading on the left, body on the right, one ruled row per topic */
.policy-rows {
    margin-top: 56px;
}

.policy-row {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: baseline;
    padding: 32px 0;
    border-top: 1px solid var(--row-alt);
}

.policy-row h2 {
    font-size: 26px;
}

.policy-body {
    display: grid;
    gap: 14px;
}

/* bullets hang in the gutter so list text lines up with the paragraphs */
.policy-body ul {
    display: grid;
    gap: 10px;
    padding-left: 0;
    list-style-position: outside;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .hero-grid,
    .product-feature,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .product-shot-grid,
    .product-shot-grid.is-portrait {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-shot-grid.is-portrait > img {
        max-width: 300px;
        justify-self: center;
    }

    .steps-flow .step:not(:last-child)::before {
        display: none;
    }

    .page-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .policy-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .hero-single {
        max-width: 560px;
    }

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

    .protect-steps li:nth-child(2)::after {
        display: none;
    }

    .hero-shots {
        width: 100%;
        max-width: 460px;
        justify-self: center;
    }

    .why-points,
    .partner-list,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .industry-list a {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .nav-menu li:not(:last-child) {
        display: none;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav-wrapper .logo {
        margin-right: auto;
    }

    .nav-menu.open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 32px 20px;
        background: var(--bg);
        border-bottom: 1px solid var(--row-alt);
    }

    .nav-menu.open li:not(:last-child) {
        display: block;
    }

    .nav-menu.open li a:not(.nav-cta) {
        display: block;
        padding: 12px 0;
        font-size: 17px;
    }

    .nav-menu.open li:last-child {
        margin-top: 8px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .container {
        padding-inline: 16px;
    }

    .hero {
        padding: 40px 0 56px;
    }

    .section,
    .contact-section {
        padding: 48px 0;
    }

    .apps-grid,
    .why-points,
    .form-row,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .origin-map {
        gap: 24px;
    }

    .steps.steps-3,
    .tile-grid-2,
    .tile-grid-4,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .page-split-body {
        font-size: 16px;
    }

    .origin-map li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .origin-arrow {
        transform: rotate(90deg);
    }

    .protect-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .protect-steps li:not(:last-child)::after {
        display: block;
        top: auto;
        bottom: -22px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }

    .steps,
    .partner-list {
        gap: 28px 16px;
    }

    .nav-menu.open {
        padding-inline: 16px;
    }

    .nav-wrapper {
        gap: 10px;
    }

    .nav-menu a.nav-cta {
        white-space: nowrap;
        padding: 8px 12px;
    }

    .nav-toggle {
        padding: 8px 12px;
    }

    .product-feature,
    .app-card,
    .contact-form,
    .capability-card {
        padding: 24px;
    }
}

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

    * {
        transition: none !important;
    }
}
