:root {
    --olive: #B8B361;
    --background: #E6E4DB;
    --card: #CBC999;
    --input: #E4E4E4;
    --gold: #FFD700;
    --warn: #930000;
    --ink: #262319;
    --muted: #625f50;
    --paper: #fffdf6;
    --soft-paper: #f7f4e8;
    --line: rgba(38, 35, 25, 0.12);
    --shadow: 0 18px 46px rgba(62, 58, 37, 0.18);
    --shadow-soft: 0 12px 30px rgba(62, 58, 37, 0.11);
    --radius-sm: 17px;
    --radius-md: 21px;
    --radius-lg: 25px;
    --content: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(184, 179, 97, 0) 34%),
        var(--background);
    color: var(--ink);
    font-family: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(38, 35, 25, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38, 35, 25, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3,
.button {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 20;
    transform: translateY(-160%);
    border-radius: var(--radius-sm);
    background: var(--warn);
    color: white;
    padding: 0.7rem 1rem;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.58rem clamp(0.85rem, 4vw, 2.5rem);
    border-bottom: 1px solid var(--line);
    background: rgba(230, 228, 219, 0.94);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: min(42vw, 13.5rem);
    text-decoration: none;
}

.brand-logo {
    width: auto;
    height: clamp(3.6rem, 12vw, 5.2rem);
    max-width: min(42vw, 13.5rem);
    object-fit: contain;
    object-position: center;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    font-size: 0.86rem;
    font-weight: 800;
}

.main-nav a {
    border-radius: var(--radius-sm);
    color: var(--ink);
    padding: 0.55rem 0.7rem;
    text-decoration: none;
}

.main-nav a:not(.nav-cta) {
    display: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: rgba(184, 179, 97, 0.28);
    outline: none;
}

.main-nav .nav-cta {
    background: var(--warn);
    color: white;
    box-shadow: 0 10px 22px rgba(147, 0, 0, 0.22);
}

.section-shell,
.section-block,
.cta-inner,
.site-footer {
    width: min(var(--content), calc(100% - 2rem));
    margin-inline: auto;
}

.hero {
    display: grid;
    gap: clamp(1.4rem, 5vw, 2.5rem);
    align-items: center;
    min-height: calc(100svh - 74px);
    padding-block: clamp(2.4rem, 8vw, 3rem);
}

.domweih-banner {
    display: grid;
    gap: 1rem;
    align-items: center;
    grid-column: 1 / -1;
    border: 1px solid rgba(147, 0, 0, 0.18);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 215, 0, 0.72), rgba(184, 179, 97, 0.72)),
        var(--card);
    box-shadow: var(--shadow-soft);
    padding: clamp(1rem, 4vw, 1.25rem);
}

.domweih-banner strong,
.domweih-banner span,
.domweih-banner a {
    display: block;
}

.domweih-banner strong {
    color: var(--warn);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.35rem, 6vw, 2.25rem);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.domweih-banner span {
    color: var(--ink);
    font-weight: 800;
}

.domweih-banner a {
    justify-self: start;
    border-radius: var(--radius-md);
    background: var(--warn);
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    padding: 0.85rem 1rem;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(147, 0, 0, 0.18);
}

.hero-content,
.download-copy {
    max-width: 42rem;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.34);
    color: var(--warn);
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 1rem;
    padding: 0.32rem 0.72rem;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.download-copy h2,
.cta-inner h2 {
    color: var(--ink);
    font-size: clamp(2.45rem, 11vw, 5.6rem);
    line-height: 0.96;
    margin-bottom: 1.1rem;
}

.section-heading h2,
.download-copy h2,
.cta-inner h2 {
    font-size: clamp(2rem, 8vw, 4rem);
    line-height: 1;
}

.hero-copy,
.section-heading p,
.download-copy p,
.cta-inner p {
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.7rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    border: 0;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    padding: 1rem 1.35rem;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.store-link:hover,
.store-link:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.button-primary {
    background: var(--warn);
    color: white;
    box-shadow: 0 14px 28px rgba(147, 0, 0, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #780000;
}

.button-secondary {
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.button-compact {
    min-height: 2.9rem;
    background: var(--olive);
    color: var(--ink);
    padding-inline: 1rem;
    white-space: nowrap;
}

.hero-points {
    display: grid;
    gap: 0.65rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.hero-points li {
    position: relative;
    padding-left: 1.45rem;
    color: var(--muted);
    font-weight: 800;
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.18);
}

.hero-visual {
    min-width: 0;
}

.hero-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 8px solid var(--paper);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.hero-cardlets {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
    margin-top: 0.85rem;
}

.hero-cardlets div,
.soft-card,
.step-card,
.use-case,
.download-panel {
    border: 1px solid rgba(38, 35, 25, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.hero-cardlets div {
    background: var(--paper);
    padding: 1rem;
}

.hero-cardlets strong,
.hero-cardlets span {
    display: block;
}

.hero-cardlets strong {
    color: var(--warn);
    font-size: 1.05rem;
}

.hero-cardlets span {
    color: var(--muted);
    font-size: 0.92rem;
}

.section-block {
    padding-block: clamp(4rem, 9vw, 7rem);
}

.section-light {
    width: 100%;
    max-width: none;
    background: rgba(255, 253, 246, 0.54);
    border-block: 1px solid var(--line);
    padding-inline: max(1rem, calc((100% - var(--content)) / 2));
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 2rem;
}

.feature-grid,
.steps,
.use-case-grid {
    display: grid;
    gap: 1rem;
}

.soft-card,
.step-card,
.use-case {
    background: var(--paper);
    padding: clamp(1.2rem, 4vw, 1.55rem);
}

.soft-card h3,
.step-card h3,
.use-case h3 {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
}

.soft-card p,
.step-card p,
.use-case p,
.footer-legal p,
.footer-legal address {
    color: var(--muted);
    margin-bottom: 0;
}

.card-dot {
    display: block;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--olive));
    margin-bottom: 1rem;
    box-shadow: inset 0 0 0 6px rgba(255, 253, 246, 0.72);
}

.step-card {
    background: linear-gradient(180deg, var(--paper), #f4f0dc);
}

.step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    background: var(--olive);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.use-cases {
    width: 100%;
    max-width: none;
    background:
        linear-gradient(rgba(38, 35, 25, 0.68), rgba(38, 35, 25, 0.6)),
        url("https://images.unsplash.com/photo-1519671482749-fd09be7ccebf?auto=format&fit=crop&w=1600&q=80") center / cover;
    color: white;
    padding-inline: max(1rem, calc((100% - var(--content)) / 2));
}

.use-cases .section-heading h2,
.use-cases .section-heading p {
    color: white;
}

.use-case {
    background: rgba(255, 253, 246, 0.92);
    color: var(--ink);
}

.app-section {
    scroll-margin-top: 5.5rem;
}

.download-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.beta-note {
    display: grid;
    gap: 0.4rem;
    border-left: 5px solid var(--warn);
    border-radius: var(--radius-sm);
    background: rgba(255, 253, 246, 0.72);
    margin-top: 1.4rem;
    padding: 1rem;
}

.beta-note strong {
    color: var(--warn);
    font-family: Arial, Helvetica, sans-serif;
}

.beta-note a,
.footer-legal a {
    color: var(--warn);
    font-weight: 800;
}

.download-panel {
    background: var(--card);
    padding: clamp(1rem, 4vw, 1.5rem);
}

.store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5.4rem;
    border: 1px solid rgba(38, 35, 25, 0.1);
    border-radius: var(--radius-md);
    background: var(--paper);
    padding: 0.75rem;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-link + .store-hint,
.store-hint + .store-link {
    margin-top: 0.85rem;
}

.store-link img {
    width: min(13rem, 82vw);
}

.store-hint {
    color: #4f4a31;
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
}

.store-hint a {
    color: var(--warn);
    font-weight: 900;
}

.mail-request {
    margin-top: 1.1rem;
}

.mail-request label {
    display: block;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.mail-row {
    display: grid;
    gap: 0.65rem;
}

.mail-row input {
    width: 100%;
    min-height: 3rem;
    border: 1px solid rgba(38, 35, 25, 0.16);
    border-radius: var(--radius-sm);
    background: var(--input);
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    padding: 0.85rem 1rem;
}

.cta-band {
    background: linear-gradient(135deg, var(--olive), var(--gold));
    padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.cta-inner {
    text-align: left;
}

.cta-inner .eyebrow {
    background: rgba(255, 253, 246, 0.72);
}

.site-footer {
    display: grid;
    gap: 2rem;
    padding-block: 2.4rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.footer-brand strong {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
}

.footer-brand p {
    color: var(--muted);
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.1rem;
    justify-content: flex-start;
    font-size: 0.92rem;
}

.footer-legal a {
    color: var(--muted);
    font-weight: 800;
    text-decoration: none;
}

.legal-content {
    min-height: calc(100svh - 74px);
    max-width: 44rem;
    padding-block: clamp(4rem, 12vw, 7rem);
}

.legal-content h1 {
    font-size: clamp(2.2rem, 10vw, 4rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.legal-content address {
    border: 1px solid rgba(38, 35, 25, 0.08);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    color: var(--muted);
    font-style: normal;
    padding: clamp(1.2rem, 5vw, 1.8rem);
}

.legal-content strong {
    color: var(--ink);
}

.legal-content a {
    color: var(--warn);
    font-weight: 800;
}

.reveal {
    animation: rise-in 700ms ease both;
}

.delay-1 {
    animation-delay: 120ms;
}

.delay-2 {
    animation-delay: 220ms;
}

.delay-3 {
    animation-delay: 320ms;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 560px) {
    .main-nav a:not(.nav-cta) {
        display: inline-flex;
    }

    .hero-actions,
    .mail-row {
        align-items: center;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-cardlets,
    .use-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .domweih-banner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .domweih-banner a {
        justify-self: end;
    }
}

@media (min-width: 760px) {
    .feature-grid,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-legal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    }

    .download-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
    }

    .hero-visual {
        justify-self: end;
        width: min(100%, 30rem);
    }

    .hero-image {
        max-height: 28rem;
    }

    .feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .steps,
    .use-case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer {
        grid-template-columns: 0.8fr 1.2fr;
        align-items: start;
    }

    .footer-legal {
        justify-content: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}