:root {
    --paper: #f6f3ee;
    --ink: #1d1914;
    --muted: #6b6157;
    --rule: #e2dbd1;
    --accent: #d9560b;
    --accent-ink: #ffffff;
    --sans: 'IBM Plex Sans', system-ui, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 17px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

/* ---------------------------------------------------------------- header */

.top {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(246, 243, 238, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--rule);
}

.top .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
}

.top nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 15px;
}

.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }

.top nav .login {
    color: var(--ink);
    font-weight: 500;
    border: 1px solid var(--ink);
    border-radius: 6px;
    padding: 6px 14px;
}

.top nav .login:hover { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------------- type */

h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0; }

h1 {
    font-size: clamp(34px, 5.4vw, 56px);
    letter-spacing: -0.02em;
    max-width: 15em;
}

h2 {
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}

h3 { font-size: 19px; margin-bottom: 6px; }

p { margin: 0 0 14px; }

main > section { margin-top: 110px; }

.prose > * { max-width: 760px; }
.prose p { color: #3a332c; }

/* ---------------------------------------------------------------- hero */

.hero { margin-top: 84px; }

.lead {
    margin-top: 22px;
    font-size: 20px;
    color: #3a332c;
    max-width: 36em;
}

.actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 30px;
}

.button {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 500;
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 6px;
}

.button:hover { background: #bf4b08; }

.text-link { font-weight: 500; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- screenshots */

.shot { margin-top: 56px; margin-bottom: 0; }

.shot img {
    border-radius: 8px;
    border: 1px solid #cfc6ba;
    box-shadow: 0 18px 40px -24px rgba(40, 28, 16, 0.45);
}

.shot figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
}

.shot.small { margin: 0; padding: 0; }

/* ---------------------------------------------------------------- how it works */

.steps {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ink);
}

.steps li { padding: 22px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--rule); }

.steps .num {
    display: block;
    font: 500 13px var(--mono);
    color: var(--accent);
    margin-bottom: 14px;
}

.steps p { color: #3a332c; font-size: 16px; }

/* ---------------------------------------------------------------- feature list */

.split {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 56px;
    align-items: center;
}

.plain { list-style: none; margin: 0; padding: 0; }

.plain li {
    padding: 11px 0;
    border-bottom: 1px solid var(--rule);
}

.plain li:first-child { border-top: 1px solid var(--rule); }
.plain em { color: var(--muted); font-style: normal; }

/* ---------------------------------------------------------------- contact + footer */

.contact h2 {
    border-top: 1px solid var(--ink);
    padding-top: 40px;
}

.contact p { color: #3a332c; }

footer {
    display: flex;
    justify-content: space-between;
    margin-top: 110px;
    padding-top: 22px;
    padding-bottom: 40px;
    border-top: 1px solid var(--rule);
    font-size: 14px;
    color: var(--muted);
}

/* ---------------------------------------------------------------- small screens */

@media (max-width: 820px) {
    main > section { margin-top: 76px; }
    .hero { margin-top: 48px; }
    .lead { font-size: 18px; }
    .steps { grid-template-columns: 1fr; }
    .steps li, .steps li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
    .split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
    .wrap { padding: 0 16px; }
    .top nav { gap: 16px; }
    .top nav a:not(.login) { display: none; }
    .actions { flex-wrap: wrap; }
}
