/* The public home page. Self-contained: no theme CSS, no web fonts, no scripts. */
:root {
    --paper: #f7f6f2;
    --surface: #ffffff;
    --ink: #17191c;
    --ink-2: #3c4148;
    --muted: #6a7078;
    --line: #e2dfd7;
    --rule: #17191c;
    --accent: #1e3a5f;
    --accent-hover: #142a46;
    --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, Cambria, serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gutter: 16px;
    --section: 72px;
}

@media (min-width: 720px) {
    :root { --gutter: 32px; --section: 112px; }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

a { color: var(--accent); }

h1, h2, h3 { color: var(--ink); margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 10; background: var(--surface); padding: 8px 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Buttons and links */
.button {
    display: inline-flex; align-items: center; justify-content: center;
    height: 40px; padding: 0 18px; border-radius: 6px;
    background: var(--accent); color: #fff; border: 1px solid var(--accent);
    font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease;
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-lg { height: 48px; padding: 0 24px; font-size: 16px; }
.button-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.button-quiet:hover { background: var(--paper); border-color: var(--ink); }

.text-link { color: var(--ink); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 5;
    background: rgba(247, 246, 242, .92);
    -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { font: 600 20px/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.site-nav a:not(.button) { color: var(--ink-2); text-decoration: none; }
.site-nav a:not(.button):hover { color: var(--ink); }
.site-nav .anchor { display: none; }
@media (min-width: 720px) { .site-nav { gap: 28px; } .site-nav .anchor { display: inline; } }

/* Hero */
.hero { padding-top: 56px; }
@media (min-width: 720px) { .hero { padding-top: 96px; } }
.hero h1 {
    max-width: 15em;
    font: 400 clamp(36px, 6.2vw, 64px)/1.06 var(--serif);
    letter-spacing: -.02em;
}
.lede { max-width: 36em; margin: 24px 0 0; font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* Screenshots */
.shot {
    margin: 0; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 1px 2px rgba(23, 25, 28, .04), 0 24px 48px -24px rgba(23, 25, 28, .22);
}
.shot img { width: 100%; }
.shot-hero { margin-top: 56px; aspect-ratio: 16 / 9; }
.shot-hero img { height: 100%; object-fit: cover; object-position: top left; }
@media (min-width: 720px) { .shot-hero { margin-top: 72px; } }

/* Sections */
.section { padding-top: var(--section); }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head h2, .spotlight h2, .closing h2 {
    font: 400 clamp(28px, 3.6vw, 40px)/1.15 var(--serif); letter-spacing: -.015em;
}
.section-head p { margin: 16px 0 0; font-size: 17px; }

/* The lead-to-renewal chain */
.chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .chain { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .chain { grid-template-columns: repeat(3, 1fr); } }
.chain li { border-top: 2px solid var(--rule); padding-top: 16px; }
.step { display: block; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.chain h3 { margin-top: 8px; font-size: 18px; font-weight: 600; }
.chain p { margin: 8px 0 0; font-size: 15px; }

/* Spotlight: text beside a screenshot */
.spotlight { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .spotlight { grid-template-columns: 5fr 7fr; gap: 56px; } }
.spotlight-text p { margin: 16px 0 0; font-size: 17px; }
.spotlight-text .note { font-size: 15px; color: var(--muted); padding-left: 12px; border-left: 2px solid var(--line); }

/* Roles */
.roles { margin: 0; display: grid; gap: 0 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.roles div { border-top: 1px solid var(--line); padding: 16px 0 24px; }
.roles dt { color: var(--ink); font-weight: 600; }
.roles dd { margin: 4px 0 0; font-size: 15px; }

/* Pricing */
.plans { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px;
}
.plan h3 { font-size: 20px; font-weight: 600; }
.plan-for { margin: 8px 0 0; font-size: 15px; }
@media (min-width: 900px) { .plan-for { min-height: 6.4em; } } /* four lines: prices and buttons line up */
.price { margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.amount { font: 400 34px/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.per { font-size: 14px; color: var(--muted); }
.seats { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.includes { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.plan ul { list-style: none; margin: 12px 0 0; padding: 0; font-size: 14px; }
.plan li { position: relative; padding: 4px 0 4px 22px; }
.plan li::before {
    content: ""; position: absolute; left: 2px; top: 10px; width: 9px; height: 5px;
    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.plan .button { align-self: flex-start; margin-top: 20px; }

/* Closing call to action */
.closing {
    margin-top: var(--section); padding-top: 48px; padding-bottom: 8px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
    border-top: 2px solid var(--rule);
}
.closing .actions { margin-top: 0; }

/* Footer */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer .bar { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
