:root {
    --paper: #fbf8f4;
    --surface: #ffffff;
    --ink: #1f1b1a;
    --muted: #6b635e;
    --line: #e7e0d8;
    --accent: #8a6a3b;
    --accent-soft: #f3ece1;
    --deep: #2f2733;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 3.1rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 1.95rem);
}

h3 {
    font-size: 1.08rem;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(138, 106, 59, 0.32);
}

a:hover {
    border-bottom-color: var(--accent);
}

.wrap {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.lede {
    font-size: 1.13rem;
    color: var(--muted);
    max-width: 60ch;
}

/* Header */

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(251, 248, 244, 0.9);
    backdrop-filter: saturate(160%) blur(8px);
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.brand {
    font-family: Georgia, serif;
    font-size: 1.12rem;
    letter-spacing: 0.02em;
    color: var(--ink);
    border: 0;
}

.brand span {
    color: var(--muted);
    font-family: inherit;
}

.site-nav {
    display: flex;
    gap: 22px;
    font-size: 0.94rem;
}

.site-nav a {
    color: var(--muted);
    border: 0;
}

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

/* Hero */

.hero {
    padding: 78px 0 64px;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 28px;
    align-items: start;
}

.app-icon {
    width: 108px;
    height: 108px;
    border-radius: 24px;
    display: block;
    box-shadow: 0 8px 26px rgba(47, 39, 51, 0.16);
}

.hero h1 {
    margin-bottom: 0.5rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.6rem;
}

.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}

.btn:hover {
    border-color: #cfc5b8;
}

.btn-primary {
    background: var(--deep);
    border-color: var(--deep);
    color: #f6f1ea;
}

.btn-primary:hover {
    background: #3b3040;
    border-color: #3b3040;
}

/* Sections */

section {
    padding: 66px 0;
    border-bottom: 1px solid var(--line);
}

section:last-of-type {
    border-bottom: 0;
}

.section-head {
    max-width: 62ch;
    margin-bottom: 34px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
}

.feature h3 {
    margin-bottom: 0.4rem;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.shots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
}

.shots figure {
    margin: 0;
}

.shots img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.shots figcaption {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--muted);
}

.panel {
    background: var(--accent-soft);
    border: 1px solid #e6dbc8;
    border-radius: 14px;
    padding: 28px;
}

.panel ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.panel li {
    margin-bottom: 0.45rem;
}

.panel li:last-child {
    margin-bottom: 0;
}

/* Company details */

.details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px 40px;
    margin-top: 8px;
}

.details dt {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.details dd {
    margin: 0 0 18px;
    color: var(--ink);
}

.details dd:last-child {
    margin-bottom: 0;
}

/* Legal pages */

.legal {
    padding: 60px 0 80px;
}

.legal h2 {
    margin: 42px 0 12px;
}

.legal h2:first-of-type {
    margin-top: 34px;
}

.legal ul {
    padding-left: 1.15rem;
    color: var(--ink);
}

.legal li {
    margin-bottom: 0.5rem;
}

.updated {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0 46px;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    justify-content: space-between;
}

.site-footer a {
    color: var(--muted);
}

@media (max-width: 620px) {
    .features {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 52px 0 46px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-nav {
        gap: 16px;
        font-size: 0.88rem;
    }
}
