/*
Theme Name: Midnight Autobahn
Theme URI: https://drivar.de/
Author: OpenAI Codex
Author URI: https://openai.com/
Description: Eigenständiges Classic Theme für eine Premium-Landingpage rund um Sportwagen mieten mit klarer Weiterleitung zu drivar.de.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: midnight-autobahn
*/

:root {
    --ma-bg: #090c12;
    --ma-bg-elevated: #0f141d;
    --ma-bg-panel: rgba(18, 24, 35, 0.9);
    --ma-line: rgba(255, 255, 255, 0.1);
    --ma-line-strong: rgba(255, 255, 255, 0.16);
    --ma-text: #f6f1e8;
    --ma-text-soft: rgba(246, 241, 232, 0.76);
    --ma-text-muted: rgba(246, 241, 232, 0.56);
    --ma-accent: #c58b57;
    --ma-accent-soft: rgba(197, 139, 87, 0.22);
    --ma-glow: #d8ff62;
    --ma-success: #90f3c0;
    --ma-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
    --ma-radius-xl: 32px;
    --ma-radius-lg: 24px;
    --ma-radius-md: 18px;
    --ma-radius-sm: 12px;
    --ma-container: min(1180px, calc(100vw - 32px));
    --ma-font-display: "Georgia", "Times New Roman", serif;
    --ma-font-body: "Trebuchet MS", "Helvetica Neue", sans-serif;
    --ma-font-meta: "Courier New", monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ma-text);
    background:
        radial-gradient(circle at top left, rgba(213, 255, 98, 0.08), transparent 34%),
        radial-gradient(circle at 85% 0%, rgba(197, 139, 87, 0.12), transparent 28%),
        linear-gradient(180deg, #080b11 0%, #0b1017 38%, #06080d 100%);
    font-family: var(--ma-font-body);
    font-size: 16px;
    line-height: 1.65;
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: none;
}

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

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.ma-shell {
    position: relative;
    overflow: clip;
}

.ma-shell::before,
.ma-shell::after {
    content: "";
    position: fixed;
    pointer-events: none;
    inset: auto;
    z-index: 0;
}

.ma-shell::before {
    top: 90px;
    right: -140px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 139, 87, 0.22) 0%, rgba(197, 139, 87, 0) 70%);
    filter: blur(18px);
}

.ma-shell::after {
    left: -120px;
    bottom: 10vh;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 255, 98, 0.14) 0%, rgba(216, 255, 98, 0) 72%);
    filter: blur(24px);
}

.ma-container {
    width: var(--ma-container);
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.ma-site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(7, 10, 15, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ma-site-header__inner {
    width: var(--ma-container);
    margin: 0 auto;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ma-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.ma-brand__text {
    min-width: 0;
}

.ma-brand__eyebrow,
.ma-overline,
.ma-pill,
.ma-kicker {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-family: var(--ma-font-meta);
}

.ma-brand__eyebrow {
    color: var(--ma-text-muted);
    margin-bottom: 3px;
}

.ma-brand__name {
    margin: 0;
    font-family: var(--ma-font-display);
    font-size: clamp(1.15rem, 1rem + 0.9vw, 1.75rem);
    line-height: 1;
    font-weight: 700;
    color: var(--ma-text);
}

.ma-brand__name a {
    color: inherit;
}

.ma-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ma-menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--ma-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ma-menu-toggle__line {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.ma-menu-toggle__line + .ma-menu-toggle__line {
    margin-top: 5px;
}

.ma-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.ma-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--ma-text-soft);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ma-nav a:hover,
.ma-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ma-text);
    transform: translateY(-1px);
}

.ma-header-cta {
    white-space: nowrap;
}

.ma-button,
.wp-block-button__link,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ma-button:hover,
.ma-button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
button:hover,
button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible {
    transform: translateY(-2px);
}

.ma-button--primary {
    background: linear-gradient(135deg, #c58b57 0%, #e6caa2 100%);
    color: #0b0f15;
    box-shadow: 0 18px 34px rgba(197, 139, 87, 0.28);
}

.ma-button--ghost {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--ma-text);
}

.ma-button--glow {
    background: rgba(216, 255, 98, 0.08);
    border-color: rgba(216, 255, 98, 0.22);
    color: var(--ma-glow);
}

.ma-main {
    padding-bottom: 80px;
}

.ma-section {
    padding: 44px 0;
    scroll-margin-top: 110px;
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.ma-section--spacious {
    padding: 72px 0;
}

.ma-grid {
    display: grid;
    gap: 24px;
}

.ma-hero {
    padding: 26px 0 28px;
}

.ma-hero__frame {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--ma-shadow);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 20%),
        linear-gradient(135deg, rgba(10, 14, 21, 0.98) 0%, rgba(8, 12, 18, 0.96) 100%);
}

.ma-hero__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 15, 22, 0.02), rgba(11, 15, 22, 0.16) 46%, rgba(11, 15, 22, 0.62) 100%),
        radial-gradient(circle at top right, rgba(197, 139, 87, 0.22), rgba(197, 139, 87, 0) 24%);
    pointer-events: none;
    z-index: 2;
}

.ma-hero__frame::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: min(42%, 320px);
    background:
        linear-gradient(180deg, rgba(8, 11, 16, 0) 0%, rgba(8, 11, 16, 0.88) 84%),
        linear-gradient(90deg, rgba(8, 11, 16, 0.72) 0%, rgba(8, 11, 16, 0.16) 36%, rgba(8, 11, 16, 0) 72%);
    pointer-events: none;
    z-index: 3;
}

.ma-hero__media {
    position: relative;
    z-index: 0;
}

.ma-hero__media::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 3;
    pointer-events: none;
}

.ma-hero__media picture,
.ma-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.ma-hero__media picture {
    min-height: 100%;
}

.ma-hero__media img {
    object-fit: cover;
    width: 100%;
    height: min(82vh, 840px);
    min-height: 600px;
    border-radius: 40px;
    object-position: center 42%;
}

.ma-hero__content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 4;
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ma-hero__content::before {
    content: "";
    position: absolute;
    inset: 18px 18px 18px 18px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(12, 17, 25, 0) 0%, rgba(12, 17, 25, 0.2) 18%, rgba(12, 17, 25, 0.86) 100%),
        linear-gradient(90deg, rgba(12, 17, 25, 0.72) 0%, rgba(12, 17, 25, 0.44) 42%, rgba(12, 17, 25, 0.14) 72%, rgba(12, 17, 25, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.76) 20%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.76) 20%, #000 100%);
    pointer-events: none;
}

.ma-hero__content > * {
    position: relative;
    z-index: 1;
}

.ma-overline {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--ma-glow);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(216, 255, 98, 0.18);
    background: rgba(216, 255, 98, 0.04);
}

.ma-overline::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 18px currentColor;
}

.ma-hero h1,
.ma-page-hero h1,
.entry-title {
    margin: 18px 0 18px;
    font-family: var(--ma-font-display);
    font-size: clamp(2.8rem, 4vw + 1rem, 6rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
    text-wrap: balance;
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

.ma-hero__title-main,
.ma-hero__title-sub {
    display: block;
}

.ma-hero__title-sub {
    margin-top: 0.22em;
    font-size: clamp(1.55rem, 1.1rem + 2vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: rgba(246, 241, 232, 0.92);
}

.ma-hero p,
.ma-page-hero__lead,
.entry-content > p {
    color: var(--ma-text-soft);
    font-size: clamp(1rem, 0.3vw + 0.98rem, 1.16rem);
    max-width: 64ch;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.ma-hero__actions,
.ma-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.ma-signal-row,
.ma-note-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ma-note-row {
    margin-top: 22px;
}

.ma-note-chip {
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ma-text-soft);
    font-size: 0.94rem;
}

.ma-trustbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
    max-width: min(720px, 100%);
}

.ma-trustbar__item,
.ma-stat-card,
.ma-card,
.ma-panel,
.ma-post-card {
    border: 1px solid var(--ma-line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        var(--ma-bg-panel);
    border-radius: var(--ma-radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ma-trustbar__item {
    padding: 18px 18px 16px;
}

.ma-trustbar__label,
.ma-meta,
.ma-card__meta,
.ma-post-card__meta {
    color: var(--ma-text-muted);
    font-family: var(--ma-font-meta);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ma-trustbar__value {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ma-text);
}

.ma-dashboard {
    position: relative;
    z-index: 2;
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
}

.ma-stat-card {
    padding: 22px;
}

.ma-stat-card__value {
    display: block;
    margin-top: 16px;
    font-family: var(--ma-font-display);
    font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
    line-height: 0.95;
}

.ma-stat-card__copy {
    margin: 10px 0 0;
    color: var(--ma-text-soft);
}

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

.ma-mini-card {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ma-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ma-section-shell {
    position: relative;
    padding: clamp(26px, 3vw, 38px);
    border-radius: 34px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(13, 18, 27, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: var(--ma-shadow);
}

.ma-section-shell > * {
    position: relative;
    z-index: 1;
}

.ma-section-shell::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 255, 98, 0.45), rgba(197, 139, 87, 0.55), rgba(255, 255, 255, 0));
}

.ma-section-shell::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.ma-section-shell--hero-note {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at top right, rgba(216, 255, 98, 0.1), rgba(216, 255, 98, 0) 26%),
        rgba(13, 18, 27, 0.92);
}

.ma-section-shell--warm {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at top right, rgba(197, 139, 87, 0.16), rgba(197, 139, 87, 0) 32%),
        rgba(14, 19, 28, 0.94);
}

.ma-section-shell--slate {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        linear-gradient(135deg, rgba(11, 16, 24, 0.96), rgba(16, 22, 31, 0.94));
}

.ma-section-shell--glow {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at top right, rgba(216, 255, 98, 0.13), rgba(216, 255, 98, 0) 28%),
        radial-gradient(circle at bottom left, rgba(197, 139, 87, 0.09), rgba(197, 139, 87, 0) 30%),
        rgba(13, 18, 27, 0.94);
}

.ma-section-heading h2,
.ma-page-content h2,
.entry-content h2 {
    margin: 0;
    font-family: var(--ma-font-display);
    font-size: clamp(2rem, 1.2rem + 1.6vw, 3.2rem);
    line-height: 1;
}

.ma-section-heading p,
.ma-page-content p,
.entry-content p,
.entry-content li {
    color: var(--ma-text-soft);
}

.ma-card-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
}

.ma-card-grid--live .ma-car-card {
    grid-column: span 4;
}

.ma-car-card,
.ma-use-case,
.ma-benefit,
.ma-post-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    container-type: inline-size;
}

.ma-car-card {
    grid-column: span 4;
}

.ma-card__media {
    min-height: 210px;
    position: relative;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
        radial-gradient(circle at top right, rgba(216, 255, 98, 0.16), rgba(216, 255, 98, 0) 32%),
        linear-gradient(145deg, rgba(17, 23, 33, 0.96), rgba(10, 14, 21, 0.98));
}

.ma-car-card--live .ma-card__media {
    padding: 0;
    min-height: 220px;
    overflow: hidden;
}

.ma-car-card--live .ma-card__media::before {
    inset: auto;
    content: none;
}

.ma-car-card--live .ma-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
}

.ma-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.ma-card__media::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 25% 25%, rgba(197, 139, 87, 0.14), rgba(197, 139, 87, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ma-card__car {
    position: absolute;
    inset: auto 18px 24px 18px;
    height: 110px;
    border-radius: 34px 34px 22px 22px;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(197, 139, 87, 0.7) 38%, rgba(34, 38, 46, 0.9) 78%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    box-shadow:
        inset 0 2px 10px rgba(255, 255, 255, 0.12),
        0 30px 50px rgba(0, 0, 0, 0.48);
    transform: skewX(-16deg);
}

.ma-card__car::before,
.ma-card__car::after {
    content: "";
    position: absolute;
    bottom: -10px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.08) 26%, rgba(9, 10, 14, 1) 27%, rgba(9, 10, 14, 1) 57%, rgba(97, 102, 110, 1) 58%, rgba(15, 19, 27, 1) 100%);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.4);
}

.ma-card__car::before {
    left: 22px;
}

.ma-card__car::after {
    right: 22px;
}

.ma-card__body,
.ma-post-card__body {
    padding: 22px;
}

.ma-card__facts {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.ma-card__facts span {
    padding-left: 16px;
    position: relative;
    color: var(--ma-text-soft);
    font-size: 0.95rem;
}

.ma-card__facts span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ma-accent);
}

.ma-card__body h3,
.ma-use-case h3,
.ma-benefit h3,
.ma-post-card h3,
.entry-content h3 {
    margin: 10px 0 10px;
    font-size: 1.36rem;
    line-height: 1.1;
}

.ma-card__body p,
.ma-use-case p,
.ma-benefit p,
.ma-post-card p {
    color: var(--ma-text-soft);
}

.ma-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 22px 22px;
}

.ma-card__footer--single {
    justify-content: flex-start;
}

.ma-pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--ma-text);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
}

.ma-pill--accent {
    color: var(--ma-glow);
    background: rgba(216, 255, 98, 0.05);
    border-color: rgba(216, 255, 98, 0.14);
}

.ma-pill--ghost {
    color: var(--ma-text-soft);
}

.ma-use-cases {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ma-use-case,
.ma-benefit {
    padding: 24px;
}

.ma-kicker {
    color: var(--ma-accent);
}

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

.ma-brands {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.ma-brand-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 20px 18px;
    text-align: center;
    scroll-snap-align: start;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--ma-text-soft);
    font-family: var(--ma-font-display);
    font-size: 1.2rem;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.ma-brand-tile:hover,
.ma-brand-tile:focus-visible {
    transform: translateY(-2px);
    color: var(--ma-text);
    border-color: rgba(197, 139, 87, 0.34);
    background: rgba(197, 139, 87, 0.08);
}

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

.ma-process__step {
    padding: 24px;
}

.ma-process__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(197, 139, 87, 0.12);
    color: var(--ma-accent);
    border: 1px solid rgba(197, 139, 87, 0.22);
    font-weight: 700;
}

.ma-faq-list {
    display: grid;
    gap: 14px;
}

.ma-faq {
    padding: 22px 24px;
}

.ma-faq h3 {
    margin: 0 0 12px;
    font-size: 1.14rem;
}

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

.ma-post-card__link {
    margin-top: auto;
    color: var(--ma-glow);
}

.ma-cta-band {
    padding: clamp(28px, 5vw, 44px);
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(197, 139, 87, 0.16), rgba(216, 255, 98, 0.06)),
        linear-gradient(160deg, rgba(15, 20, 29, 0.96), rgba(9, 12, 18, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--ma-shadow);
}

.ma-cta-band h2 {
    margin: 0 0 14px;
}

.ma-cta-band p {
    max-width: 62ch;
    color: var(--ma-text-soft);
}

.ma-site-footer {
    padding: 18px 0 38px;
}

.ma-site-footer__inner {
    width: var(--ma-container);
    margin: 0 auto;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(260px, 0.9fr);
    gap: 24px;
    color: var(--ma-text-muted);
}

.ma-footer-brand {
    display: grid;
    gap: 14px;
}

.ma-footer-brand h2 {
    margin: 0;
    font-family: var(--ma-font-display);
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
    color: var(--ma-text);
}

.ma-footer-brand__copy {
    max-width: 48ch;
    margin: 0;
    color: var(--ma-text-soft);
}

.ma-footer-column h2 {
    margin: 0 0 14px;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ma-text);
}

.ma-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ma-footer-links a {
    color: var(--ma-text-soft);
}

.ma-partner-grid {
    display: grid;
    gap: 12px;
}

.ma-partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.ma-partner-card img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.ma-site-footer__bottom {
    width: var(--ma-container);
    margin: 18px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--ma-text-muted);
}

.ma-page-hero,
.ma-page-content,
.ma-empty-state {
    padding: 32px 0;
}

.ma-page-hero__frame,
.ma-page-content__frame,
.ma-empty-state__frame {
    padding: clamp(28px, 4vw, 40px);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(14, 19, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--ma-shadow);
}

.ma-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.72fr);
    gap: 24px;
}

.ma-legal-stack {
    display: grid;
    gap: 28px;
}

.ma-legal-section {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ma-legal-section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ma-legal-note {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.ma-sidebar {
    padding: 24px;
}

.ma-sidebar h2,
.ma-sidebar h3 {
    margin-top: 0;
    font-family: var(--ma-font-display);
}

.ma-sidebar ul {
    margin: 0;
    padding-left: 18px;
}

.ma-sidebar li + li {
    margin-top: 10px;
}

.entry-content a,
.ma-page-content a,
.ma-sidebar a {
    color: var(--ma-glow);
}

.entry-content > *:first-child,
.ma-page-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child,
.ma-page-content > *:last-child {
    margin-bottom: 0;
}

.entry-content ul,
.entry-content ol {
    padding-left: 20px;
}

.ma-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.ma-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .ma-dashboard,
    .ma-page-grid {
        grid-template-columns: 1fr;
    }

    .ma-car-card {
        grid-column: span 6;
    }

    .ma-card-grid--live .ma-car-card {
        grid-column: span 6;
    }

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

    .ma-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .ma-section {
        content-visibility: visible;
        contain-intrinsic-size: auto;
    }

    .ma-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    body.ma-menu-open {
        overflow: hidden;
    }

    .ma-site-header__inner {
        position: relative;
        min-height: 76px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
    }

    .ma-site-footer__inner {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .ma-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
    }

    .ma-menu-toggle[aria-expanded="true"] .ma-menu-toggle__line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .ma-menu-toggle[aria-expanded="true"] .ma-menu-toggle__line:nth-child(2) {
        opacity: 0;
    }

    .ma-menu-toggle[aria-expanded="true"] .ma-menu-toggle__line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .ma-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
            rgba(10, 14, 21, 0.98);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
        z-index: 40;
    }

    .ma-nav.is-open {
        display: flex;
    }

    .ma-nav ul {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
    }

    .ma-nav a {
        width: 100%;
    }

    .ma-header-cta {
        width: 100%;
    }

    .ma-header-cta .ma-button {
        width: 100%;
    }

    .ma-trustbar,
    .ma-mini-grid,
    .ma-process,
    .ma-editorial {
        grid-template-columns: 1fr;
    }

    .ma-car-card,
    .ma-use-case {
        grid-column: span 12;
    }

    .ma-card-grid--live .ma-car-card {
        grid-column: span 12;
    }

    .ma-section-heading {
        align-items: start;
        flex-direction: column;
        padding-bottom: 16px;
    }
}

@media (max-width: 640px) {
    .ma-hero {
        padding-top: 20px;
    }

    .ma-hero__frame,
    .ma-cta-band,
    .ma-section-shell,
    .ma-page-hero__frame,
    .ma-page-content__frame,
    .ma-empty-state__frame {
        border-radius: 26px;
    }

    .ma-trustbar,
    .ma-use-cases {
        grid-template-columns: 1fr;
    }

    .ma-section {
        padding: 30px 0;
    }

    .ma-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .ma-card__footer .ma-button {
        width: 100%;
    }

    .ma-hero__frame::after {
        display: none;
    }

    .ma-hero__media::before {
        inset: 10px;
        border-radius: 20px;
    }

    .ma-hero__media img {
        height: 280px;
        min-height: 280px;
        object-position: center 36%;
    }

    .ma-hero__content {
        position: relative;
        inset: auto;
        margin: -34px 12px 12px;
        padding: 22px 18px 18px;
    }

    .ma-hero__content::before {
        inset: 0;
        border-radius: 22px;
        background:
            linear-gradient(180deg, rgba(13, 18, 27, 0.94), rgba(9, 13, 20, 0.98)),
            linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
        border-color: rgba(255, 255, 255, 0.07);
        mask-image: none;
        -webkit-mask-image: none;
        backdrop-filter: blur(10px);
    }

    .ma-hero h1 {
        margin: 0 0 14px;
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        line-height: 0.96;
        text-wrap: pretty;
    }

    .ma-hero__title-sub {
        margin-top: 0.26em;
        font-size: clamp(1.22rem, 5.4vw, 1.72rem);
        line-height: 1.05;
    }

    .ma-hero p {
        max-width: none;
        font-size: 1.02rem;
    }

    .ma-hero__actions {
        margin-top: 22px;
        flex-direction: column;
    }

    .ma-hero__actions .ma-button {
        width: 100%;
    }

    .ma-signal-row {
        margin-top: 18px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .ma-signal-row::-webkit-scrollbar {
        display: none;
    }

    .ma-signal-row .ma-pill {
        white-space: nowrap;
    }
}

@container (max-width: 340px) {
    .ma-card__body,
    .ma-post-card__body,
    .ma-use-case,
    .ma-benefit {
        padding: 18px;
    }

    .ma-card__footer {
        padding: 0 18px 18px;
    }

    .ma-card__body h3,
    .ma-use-case h3,
    .ma-benefit h3,
    .ma-post-card h3 {
        font-size: 1.18rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ma-reveal {
        opacity: 1;
        transform: none;
    }
}
