:root {
    --navy: #272a5f;
    --blue: #272a5f;
    --navy-deep: #07071f;
    --navy-soft: #3f4378;
    --teal: #2f9da5;
    --teal-dark: #247982;
    --orange: #d95428;
    --ink: #120d36;
    --muted: #5f5c78;
    --paper: #ffffff;
    --surface: #f6f5f4;
    --surface-cool: #eef7f7;
    --line: #dfdfdf;
    --line-dark: rgba(255, 255, 255, 0.18);
    --shadow: 0 12px 32px rgba(18, 13, 54, 0.11);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: var(--teal-dark);
    text-decoration: none;
}

a:hover {
    color: var(--navy);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

code,
pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.container {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    left: 16px;
    top: 12px;
    transform: translateY(-160%);
    border-radius: 4px;
    background: var(--paper);
    color: var(--ink);
    padding: 10px 14px;
    font-weight: 700;
}

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

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 7, 31, 0.88);
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.header.scrolled {
    background: rgba(7, 7, 31, 0.97);
    box-shadow: 0 5px 20px rgba(7, 7, 31, 0.2);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--paper);
}

.logo:hover,
.logo:focus-visible {
    color: var(--paper);
}

.logo-mark {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 850;
}

.logo-word {
    font-size: 1.55rem;
    font-weight: 720;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    font-weight: 650;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--paper);
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 11px 18px;
    color: var(--paper);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--teal-dark);
    color: var(--paper);
}

.button.primary:hover,
.button.primary:focus-visible {
    background: var(--teal);
    color: var(--navy-deep);
}

.button.secondary {
    border-color: var(--navy);
    background: transparent;
    color: var(--navy);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    border-color: var(--teal-dark);
    color: var(--teal-dark);
}

.button.light.primary {
    background: var(--paper);
    color: var(--navy-deep);
}

.button.light.primary:hover,
.button.light.primary:focus-visible {
    background: var(--teal);
}

.button.light.secondary {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--paper);
}

.button.light.secondary:hover,
.button.light.secondary:focus-visible {
    border-color: var(--paper);
    color: var(--paper);
}

.hero .button.light.secondary {
    background: rgba(7, 7, 31, 0.72);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--paper);
    transition: transform 180ms ease, opacity 180ms ease;
}

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

.mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

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

.mobile-menu {
    display: none;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-media,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media img {
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.54) saturate(0.72);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 31, 0.64);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 620px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 54px;
}

.hero-copy {
    width: min(100%, 760px);
    max-width: 760px;
    color: var(--paper);
}

.eyebrow {
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .eyebrow,
.demo-band .eyebrow {
    color: #73cdd2;
}

.hero h1 {
    margin-top: 14px;
    color: var(--paper);
    font-size: 3.4rem;
}

.hero-offer {
    margin-top: 18px;
    max-width: 760px;
    color: var(--paper);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.08;
}

.hero-text {
    max-width: 660px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.65;
}

.hero-actions,
.install-actions,
.demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-top: 30px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 24px;
    margin-top: 30px;
    list-style: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
    font-weight: 650;
}

.hero-facts li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    background: var(--teal);
}

.section {
    padding: 96px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading.compact {
    margin-bottom: 36px;
}

.section-heading h2,
.domain-copy h2,
.install h2,
.demo-band h2 {
    margin-top: 10px;
    font-size: 2.75rem;
}

.section-heading p:last-child,
.domain-copy > p,
.install-layout > div:first-child > p:last-of-type,
.demo-band p:last-child {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.product-proof {
    background: var(--surface);
}

.product-shot {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.product-shot img {
    width: 100%;
}

.workflow {
    border-bottom: 1px solid var(--line);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.workflow-steps li {
    min-width: 0;
    padding: 30px 32px 34px;
    border-right: 1px solid var(--line);
}

.workflow-steps li:last-child {
    border-right: 0;
}

.step-number {
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 800;
}

.workflow-steps h3 {
    margin-top: 30px;
    font-size: 1.45rem;
}

.workflow-steps p {
    margin-top: 12px;
    color: var(--muted);
}

.domain-view {
    background: var(--navy);
}

.domain-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.38fr);
    align-items: center;
    gap: 54px;
}

.domain-copy h2,
.domain-copy > p,
.domain-copy .check-list,
.domain-copy .text-link {
    color: var(--paper);
}

.domain-copy > p {
    color: rgba(255, 255, 255, 0.76);
}

.check-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.82);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 9px;
    height: 9px;
    background: var(--teal);
}

.text-link {
    display: inline-flex;
    margin-top: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 750;
}

.text-link:hover {
    color: #73cdd2;
    border-color: #73cdd2;
}

.domain-shot {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 18px 44px rgba(7, 7, 31, 0.35);
}

.domain-shot img {
    width: 100%;
}

.capabilities {
    background: var(--paper);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.capability-grid article {
    min-width: 0;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.capability-grid h3 {
    font-size: 1.2rem;
}

.capability-grid p {
    margin-top: 10px;
    color: var(--muted);
}

.why {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.why-grid article {
    min-width: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px;
    background: var(--paper);
}

.why-index {
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 800;
}

.why-grid h3 {
    margin-top: 26px;
    font-size: 1.2rem;
}

.why-grid p {
    margin-top: 10px;
    color: var(--muted);
}

.install {
    background: var(--surface-cool);
}

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

.install-actions {
    margin-top: 28px;
}

.command-block {
    overflow: hidden;
    border: 1px solid #31344f;
    border-radius: var(--radius);
    background: var(--navy-deep);
    box-shadow: var(--shadow);
    color: var(--paper);
}

.command-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    font-weight: 700;
}

.command-block pre {
    margin: 0;
    overflow-x: auto;
    padding: 24px;
    color: #d9f5f4;
    font-size: 0.88rem;
    line-height: 1.8;
}

.command-block p {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
}

.demo-band {
    padding: 72px 0;
    background: var(--navy-deep);
}

.demo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
}

.demo-band h2,
.demo-band p {
    color: var(--paper);
}

.demo-band p:last-child {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.7);
}

.demo-actions {
    justify-content: flex-end;
}

.footer {
    padding: 64px 0 26px;
    background: #11132e;
    color: var(--paper);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(130px, 0.7fr));
    gap: 42px;
}

.footer-wordmark {
    color: var(--paper);
    font-size: 1.65rem;
    font-weight: 750;
}

.footer-wordmark:hover,
.footer-wordmark:focus-visible {
    color: #73cdd2;
}

.footer-tagline {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.62);
}

.footer-heading {
    margin-bottom: 18px;
    color: var(--paper);
    font-size: 0.95rem;
}

.footer-link {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.9rem;
}

.footer-link:hover,
.footer-bottom-link:hover {
    color: #73cdd2;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 46px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
}

.copyright,
.footer-bottom-link {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

/* Shared legal-page styles */
.legal-section {
    padding-top: 140px;
}

.legal-card {
    max-width: 800px;
    margin: 0 auto;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 32px;
    box-shadow: 0 8px 24px rgba(18, 13, 54, 0.08);
}

.section-title {
    margin-bottom: 28px;
    font-size: 2.75rem;
}

.privacy-content h2,
.impressum-content h2 {
    margin-top: 32px;
    font-size: 1.55rem;
}

.privacy-content h3,
.impressum-content h3 {
    margin-top: 24px;
    font-size: 1.15rem;
}

.privacy-content p,
.impressum-content p,
.privacy-content ul,
.impressum-content ul {
    margin-top: 12px;
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu.active {
        display: grid;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        padding: 10px 0 18px;
    }

    .mobile-link {
        padding: 12px 0;
        color: rgba(255, 255, 255, 0.78);
        font-weight: 650;
    }

    .mobile-link.highlight {
        color: #73cdd2;
    }

    .hero,
    .hero-inner {
        min-height: 660px;
    }

    .hero-scrim {
        background: rgba(7, 7, 31, 0.72);
    }

    .hero-copy {
        width: 82%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-offer {
        font-size: 2.4rem;
    }

    .domain-layout,
    .install-layout,
    .demo-layout {
        grid-template-columns: 1fr;
    }

    .domain-shot {
        order: -1;
    }

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

    .install-layout {
        gap: 42px;
    }

    .demo-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .navbar {
        min-height: 68px;
    }

    .logo-word {
        font-size: 1.35rem;
    }

    .hero,
    .hero-inner {
        min-height: 700px;
    }

    .hero-media img {
        object-position: 56% top;
        filter: brightness(0.42) saturate(0.68);
    }

    .hero-scrim {
        background: rgba(7, 7, 31, 0.87);
    }

    .hero-inner {
        padding-top: 92px;
        padding-bottom: 44px;
    }

    .hero-copy {
        width: 100%;
        max-width: 560px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-offer {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading h2,
    .domain-copy h2,
    .install h2,
    .demo-band h2,
    .section-title {
        font-size: 2.1rem;
    }

    .workflow-steps,
    .capability-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps li {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .workflow-steps li:last-child {
        border-bottom: 0;
    }

    .capability-grid article {
        padding: 24px;
    }

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

    .footer-branding {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .hero-actions,
    .install-actions,
    .demo-actions {
        display: grid;
    }

    .hero-facts {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .domain-layout {
        gap: 34px;
    }

    .command-block pre {
        padding: 18px;
        font-size: 0.75rem;
    }

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

    .footer-branding {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
