:root {
    --paper: #f8f6f1;
    --surface: rgba(255, 255, 255, 0.76);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --ink: #171512;
    --muted: rgba(23, 21, 18, 0.72);
    --muted-2: rgba(23, 21, 18, 0.5);
    --line: rgba(23, 21, 18, 0.12);
    --shadow: 0 22px 50px rgba(24, 19, 12, 0.07);
    --accent: #22201c;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
        radial-gradient(900px 540px at 0% 0%, rgba(166, 146, 111, 0.12), transparent 58%),
        linear-gradient(180deg, #fbfaf7 0%, var(--paper) 100%);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-secondary {
    min-height: 100vh;
}

.site-header {
    padding: 24px 20px 0;
}

.site-header-inner,
.hero-inner,
.section-inner,
.footer-inner {
    width: min(980px, calc(100vw - 40px));
    margin: 0 auto;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.wordmark {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.site-nav a,
.footer-links a,
.text-link {
    color: var(--muted);
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-links a:hover,
.text-link:hover {
    color: var(--ink);
}

.hero {
    padding: 48px 20px 24px;
}

.hero-home {
    padding-top: 56px;
}

.hero-secondary {
    padding-top: 42px;
}

.hero-inner {
    display: grid;
    gap: 20px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 360px);
    align-items: center;
    gap: 36px;
}

.hero-copy-only {
    max-width: 720px;
}

.hero-copy,
.hero-inner-left {
    display: grid;
    gap: 14px;
}

.hero-mark {
    display: flex;
    justify-content: flex-end;
}

.logo {
    width: min(100%, 340px);
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.08));
}

.subhead,
.eyebrow,
.contact-label {
    margin: 0;
    color: var(--muted-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-title,
.section-heading h2,
.content-block h2,
.product-title-block h3 {
    margin: 0;
    font-family: Fraunces, Georgia, serif;
    letter-spacing: -0.04em;
    color: var(--accent);
}

.page-title {
    max-width: 12ch;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 0.98;
}

.tagline,
.section-heading p,
.content-copy p,
.product-description,
.product-status,
.contact-value {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
}

.hero .tagline {
    max-width: 58ch;
}

.section {
    padding: 24px 20px 48px;
}

.section-heading {
    max-width: 640px;
    margin-bottom: 20px;
    display: grid;
    gap: 10px;
}

.section-heading h2,
.content-block h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.5rem);
    line-height: 1.08;
}

.product-card,
.contact-panel,
.content-block {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.product-card {
    max-width: 720px;
    padding: 24px;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-mark {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
}

.app-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-title-block {
    display: grid;
    gap: 3px;
}

.product-title-block h3 {
    font-size: 1.5rem;
    line-height: 1.1;
}

.product-status {
    font-size: 0.95rem;
}

.product-description {
    margin-top: 18px;
    max-width: 56ch;
}

.section-contact .section-heading {
    max-width: 560px;
}

.contact-panel {
    max-width: 560px;
    padding: 20px 24px;
    display: grid;
    gap: 8px;
}

.contact-value {
    color: var(--ink);
    text-decoration: none;
}

.contact-value:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-secondary {
    padding-top: 18px;
}

.content-block {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 28px;
    padding: 28px;
}

.content-copy {
    display: grid;
    gap: 14px;
}

.footer {
    padding: 8px 20px 24px;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 0.92rem;
}

.footer-brand,
.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-mark {
    width: 18px;
    height: 18px;
    display: block;
    opacity: 0.7;
}

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

@media (max-width: 780px) {
    .site-header-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-grid,
    .hero-copy-only,
    .content-block {
        grid-template-columns: 1fr;
    }

    .site-nav,
    .footer-links {
        gap: 14px;
    }

    .hero {
        padding-top: 36px;
    }

    .hero-mark {
        justify-content: flex-start;
    }

    .page-title {
        max-width: 14ch;
    }

    .product-card,
    .contact-panel,
    .content-block {
        padding: 20px;
    }
}

@media (max-width: 520px) {
    .site-header,
    .hero,
    .section,
    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header-inner,
    .hero-inner,
    .section-inner,
    .footer-inner {
        width: min(980px, calc(100vw - 32px));
    }

    .page-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .product-header {
        align-items: flex-start;
    }
}
