:root {
    --bg: #fafafa;
    --surface: #ffffff;
    --ink: #1a1a1a;
    --muted: #666666;
    --faint: #e5e5e5;
    --accent: #000000;
    --accent-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111111;
        --surface: #1b1b1b;
        --ink: #eeeeee;
        --muted: #999999;
        --faint: #333333;
        --accent: #ffffff;
        --accent-text: #111111;
    }
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────────────────────── */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--faint);
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 56px;
}

.site-nav__links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.site-nav__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.15s;
}

.site-nav__links a:hover {
    color: var(--ink);
}

.site-nav__links a[aria-current="page"] {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

/* ── Main ───────────────────────────────────────────── */

main {
    flex: 1;
    width: 100%;
}

.page {
    max-width: 60rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.hero {
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    max-width: 60rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.hero > h1,
.hero > .tagline {
    opacity: 0;
    animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero > h1 { animation-delay: 0.5s; }
.hero > .tagline { animation-delay: 0.65s; }

/* Full-screen reveal: a solid angular sheet rolls down from the top
   and settles as a triangle wedge in the bottom corner */
.reveal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--accent);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 14%);
    pointer-events: none;
    animation: reveal-down 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

@keyframes reveal-down {
    from { transform: translateY(0); }
    75% { transform: translateY(calc(100% - 4.5rem)); }
    to { transform: translateY(calc(100% - 5.5rem)); }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero--band {
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%);
    background: var(--surface);
    border-top: 1px solid var(--faint);
    border-bottom: 1px solid var(--faint);
    padding: 6rem 1.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.tagline {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--muted);
    max-width: 28rem;
    line-height: 1.6;
}

.lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 32rem;
}

/* ── Buttons ────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    clip-path: polygon(0.75rem 0, 100% 0, 100% 100%, 0 100%, 0 0.75rem);
    transition: opacity 0.15s, transform 0.15s;
}

.btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    color: var(--bg);
}

/* ── Product card ───────────────────────────────────── */

.product-section {
    padding: 5rem 1.5rem;
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
}

.product-section h1 {
    margin-bottom: 1rem;
}

.product-section .lead {
    margin: 0 auto 2.5rem;
}

.product-card {
    max-width: 32rem;
    margin: 0 auto;
    padding: 3rem 2rem;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    background: var(--surface);
    border: 1px solid var(--faint);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.product-card__logo {
    width: 9rem;
    height: 9rem;
    border-radius: 1.25rem;
    object-fit: cover;
    display: block;
}

.product-card h2 {
    margin: 0;
}

.product-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--muted);
}

.product-card__links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Contact ────────────────────────────────────────── */

.contact {
    text-align: center;
    padding: 5rem 1.5rem;
    max-width: 60rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.contact__email {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--ink);
}

.contact__email:hover {
    opacity: 0.7;
}

.contact__address {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--faint);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact__address h2 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}

.contact__address address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────── */

.site-footer {
    position: relative;
    margin-top: auto;
    background: var(--surface);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(9.8vw + 0.75rem);
    background: var(--accent);
    clip-path: polygon(
        100% 0,
        0% 9.8vw,
        0% calc(9.8vw + 0.375rem),
        100% 0.375rem
    );
    pointer-events: none;
}

.site-footer__inner {
    max-width: 60rem;
    margin: 0 auto;
    padding: calc(9.8vw + 7rem) 1.5rem 4rem;
    text-align: center;
}

.business-details {
    font-size: 0.75rem;
    line-height: 1.8;
    color: var(--muted);
    letter-spacing: 0.02em;
    text-align: left;
}

.business-details strong {
    color: var(--ink);
    font-weight: 600;
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 640px) {
    h1 { font-size: 2.5rem; }
    .hero { padding-top: 4rem; }
    .hero--band { padding: 4rem 1.5rem; }
    .page { padding: 3rem 1.25rem; }
    .product-section, .contact { padding: 3.5rem 1.25rem; }
    .site-nav__links { gap: 0.875rem; }
    .site-nav__links a { font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    .reveal { display: none; }
    .hero > h1,
    .hero > .tagline { opacity: 1; }
}
