/* LunoFOX site. Same palette and type as the app: near-black, Sora, one cyan.
   The page is set like a court process: a numbered margin down the left and
   numbered sections, because the site argues a case. Product pages are paper. */

:root {
    --ink-bg: #0A0A0F;
    --panel: #111117;
    --raised: #17171F;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.15);
    --text: #F3F2F8;
    --body: #CFCDDA;
    --muted: #8C8B98;
    --faint: #5D5C6A;
    --number: #34333F;
    --cyan: #06B6D4;
    --paper: #FBFAF6;
    --paper-ink: #1D1C1A;
    --paper-muted: #6E6A62;
    --paper-rule: #E4E0D6;
    --blank: #FFE58A;
    --green: #5BD69A;
    --amber: #FFC857;

    --line-h: 32px;
    --top-h: 65px;             /* the top bar: 64px plus its 1px underline */
    --gutter: 84px;
    --sans: "Sora", -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 899px) {
    :root { --gutter: 46px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    background: var(--ink-bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------------ the margin */

.margin {
    /* Starts under the top bar, so the bar never covers the first numbers. */
    position: absolute; top: var(--top-h); left: 0; bottom: 0;
    width: var(--gutter);
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.margin .numbers {
    position: absolute; top: 16px; left: 0;
    width: calc(var(--gutter) - 28px);
    text-align: right;
    font: 11px/var(--line-h) var(--mono);
    color: var(--number);
}
.margin .rule {
    position: absolute; top: 0; bottom: 0;
    left: calc(var(--gutter) - 20px);
    width: 5px;
    border-left: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
}
@media (max-width: 899px) {
    .margin .numbers { width: 28px; font-size: 9.5px; padding-right: 0; }
    .margin .rule { left: 32px; width: 4px; }
}

.page { position: relative; }
.wrap {
    position: relative; z-index: 1;
    padding-left: var(--gutter);
    padding-right: 48px;
    max-width: 1320px;
}
@media (max-width: 899px) { .wrap { padding-right: 18px; } }

/* ------------------------------------------------------------ header */

.top {
    position: sticky; top: 0; z-index: 20;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    /* Same hairline as the margin rule, so the two lines meet. */
    border-bottom: 1px solid var(--line-strong);
}
.top .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { font-weight: 600; font-size: 20px; letter-spacing: -0.4px; text-decoration: none; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { text-decoration: none; font-size: 14px; color: var(--muted); }
.top nav a:hover { color: var(--text); }
.top .open {
    text-decoration: none; font-size: 14px; font-weight: 600;
    background: var(--cyan); color: #00151A;
    padding: 9px 16px; border-radius: 10px;
}
.top .menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong);
    color: var(--text); border-radius: 10px; padding: 8px 12px; font: 500 14px var(--sans); cursor: pointer; }
@media (max-width: 899px) {
    .top nav, .top .open { display: none; }
    .top .menu { display: block; }
    .top.menu-open nav {
        display: flex; flex-direction: column; gap: 0;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--ink-bg); border-bottom: 1px solid var(--line);
        padding: 8px var(--gutter) 16px;
    }
    .top.menu-open nav a { padding: 12px 0; font-size: 16px; color: var(--text); }
    .top.menu-open nav .open-mobile { color: var(--cyan); font-weight: 600; }
}
.top nav .open-mobile { display: none; }
@media (max-width: 899px) { .top.menu-open nav .open-mobile { display: block; } }

/* ------------------------------------------------------------ type */

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
.lede { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 60ch; }
@media (max-width: 899px) { .lede { font-size: 16px; } }

.button {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; font-weight: 600; font-size: 15px;
    padding: 14px 20px; border-radius: 12px;
    background: var(--cyan); color: #00151A;
    transition: transform 120ms ease;
}
.button:active { transform: scale(0.98); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.button.ghost:hover { border-color: var(--muted); }

/* App Store: black on white, like Apple's badge, so it reads at a glance */
.button.store { background: #FFFFFF; color: #000000; padding: 9px 20px 9px 16px; gap: 10px; }
.button.store svg { width: 24px; height: 24px; flex: none; margin-top: -2px; }
.button.store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.button.store small { font: 500 11px var(--sans); color: #3A3A3A; letter-spacing: 0.01em; }
.button.store b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }

/* Android: not out yet */
button.soon { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer;
    text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
button.soon:hover { color: var(--text); }
.soon-note { color: var(--muted); }
.hero .stores .soon-note a { color: var(--cyan); }
.close .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ------------------------------------------------------------ hero */

.hero { padding: 96px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); max-width: 12ch; }
.hero .lede { margin-top: 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .stores { margin-top: 22px; font-size: 13.5px; color: var(--faint); }
.hero .stores a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
@media (max-width: 1099px) {
    .hero { padding: 56px 0 48px; }
    .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* the product, composed: a draft on paper with FOX beside it */
.desk { position: relative; min-height: 560px; }
.sheet {
    background: var(--paper); color: var(--paper-ink);
    font: 14px/1.6 var(--serif);
    padding: 40px 42px 44px;
    border-radius: 3px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
    width: min(100%, 470px);
    text-align: justify;
}
.sheet .c { text-align: center; font-weight: 600; margin: 0; }
.sheet .t { text-align: center; font-weight: 700; text-decoration: underline; margin: 14px 0 14px; }
.sheet p { margin: 0 0 10px; }
.sheet .n { display: grid; grid-template-columns: 34px 1fr; }
.sheet mark { background: transparent; color: inherit; padding: 0 1px; transition: background-color 500ms ease; }
.sheet mark.on { background: var(--blank); }

.fox {
    position: absolute; right: 0; bottom: 18px;
    width: min(330px, 78%);
    background: var(--panel);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 16px 18px 14px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
    font-size: 13.5px;
}
.fox .q { color: var(--muted); font-size: 12.5px; }
.fox .a { margin-top: 10px; color: var(--body); font: 15px/1.6 var(--serif); }
.fox .a sup { color: var(--cyan); font: 600 11px var(--sans); }
.fox .src { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.fox .src b { color: var(--cyan); font-weight: 600; margin-right: 8px; }
@media (max-width: 1099px) {
    .desk { min-height: 0; }
    .sheet { width: 100%; }
    .fox { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -32px; margin-left: auto; max-width: 420px; }
}
@media (max-width: 520px) { .sheet { padding: 28px 22px 30px; font-size: 13px; } }

/* ------------------------------------------------------------ sections */

section.part { padding: 104px 0; border-top: 1px solid var(--line); }
@media (max-width: 899px) { section.part { padding: 72px 0; } }
.part .head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 8px; max-width: 900px; }
.part .num { font: 500 15px/1.4 var(--mono); color: var(--cyan); padding-top: 10px; }
.part h2 { font-size: clamp(32px, 4.2vw, 54px); max-width: 18ch; }
.part .head .lede { grid-column: 2; margin-top: 20px; }
@media (max-width: 899px) {
    .part .head { grid-template-columns: 1fr; }
    .part .num { padding: 0 0 10px; }
    .part .head .lede { grid-column: 1; }
}

/* 1. the facts: numbered paragraphs, as pleaded */
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; max-width: 1080px; padding-left: 72px; }
.facts li { list-style: none; display: grid; grid-template-columns: 48px 1fr; }
.facts .k { font: 500 13px/1.9 var(--mono); color: var(--faint); }
.facts h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.35; }
.facts p { color: var(--muted); margin-top: 8px; font-size: 15px; max-width: 52ch; }
@media (max-width: 899px) { .facts { grid-template-columns: 1fr; padding-left: 0; gap: 32px; } }

/* 2. what it does today: rows of claim + evidence */
.live { margin-top: 64px; display: grid; gap: 20px; }
.feature {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px; align-items: center;
    padding: 44px 0; border-top: 1px solid var(--line);
}
.feature:first-child { border-top: 0; padding-top: 0; }
.feature h3 { font-size: 26px; max-width: 20ch; }
.feature p { color: var(--muted); margin-top: 14px; max-width: 48ch; }
.feature ul { margin-top: 18px; display: grid; gap: 8px; }
.feature li { list-style: none; color: var(--body); font-size: 14.5px; padding-left: 20px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--cyan); }
@media (max-width: 1099px) { .feature { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; } }

/* evidence panels: small honest recreations of the app */
.ui {
    background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
    padding: 22px; font-size: 13.5px; color: var(--body);
}
.ui .bar { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; margin-bottom: 14px; }
.ui .bar b { color: var(--text); font-weight: 600; font-size: 14px; }
.ui .pill { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.ui .row { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.ui .row:first-of-type { border-top: 0; }
.ui .type { width: 38px; height: 44px; border-radius: 7px; background: var(--raised); border: 1px solid var(--line);
    display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font: 600 9.5px var(--mono); }
.ui .row b { color: var(--text); font-weight: 600; display: block; font-size: 14px; }
.ui .row span { color: var(--muted); font-size: 12.5px; display: block; margin-top: 3px; line-height: 1.5; }
.ui .row small { color: var(--faint); font-size: 12px; }
.ui .chat-q { margin-left: auto; max-width: 80%; background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; color: var(--text); width: fit-content; }
.ui .chat-a { margin-top: 14px; font: 15px/1.65 var(--serif); color: #E2E0EE; }
.ui .chat-a sup { color: var(--cyan); font: 600 10.5px var(--sans); }
.ui .chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.ui .chips span { border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; font-size: 12px; color: var(--muted); }
.ui .kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ui .kinds span { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; color: var(--text); font-size: 13px; }
.ui .kinds span.sel { border-color: var(--cyan); background: rgba(6, 182, 212, 0.1); }
.ui .kinds .g { grid-column: 1 / -1; color: var(--faint); font-size: 12px; border: 0; padding: 6px 2px 0; }
.ui .countries { display: grid; gap: 10px; }
.ui .country { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.ui .country b { color: var(--text); flex: 1; font-weight: 600; }
.ui .country em { font-style: normal; font-size: 12px; color: var(--muted); }
.ui .country.current em { color: var(--green); }
.ui .paperlet { background: var(--paper); color: var(--paper-ink); border-radius: 3px; padding: 22px 24px; font: 13.5px/1.6 var(--serif); }
.ui .paperlet mark { background: var(--blank); color: inherit; padding: 0 1px; }
.ui .paperlet .n { display: grid; grid-template-columns: 30px 1fr; margin-bottom: 8px; }

.platforms { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 14px; padding-left: 72px; }
.platforms b { color: var(--text); font-weight: 600; }
@media (max-width: 899px) { .platforms { padding-left: 0; } }

/* 3. why it is hard to copy: the stack */
.stack { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 1099px) { .stack { grid-template-columns: 1fr; } }
.layers { display: grid; gap: 10px; }
.layer { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--panel); }
.layer h3 { font-size: 16px; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 12px; }
.layer h3 small { font: 500 12px var(--sans); color: var(--faint); letter-spacing: 0; white-space: nowrap; }
.layer p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.layer.model { background: transparent; border-style: dashed; }
.layer.model h3 small { color: var(--muted); }
.layer.core { border-color: rgba(6, 182, 212, 0.45); }
.layer.core h3 small { color: var(--cyan); }
.argument p { color: var(--body); font-size: 17px; line-height: 1.7; max-width: 54ch; }
.argument p + p { margin-top: 18px; }
.argument p.muted { color: var(--muted); font-size: 15px; }

/* 4. where this goes: a timeline */
.road { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.stage { padding: 22px 26px 0 0; position: relative; }
.stage::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-bg); border: 2px solid var(--muted); }
.stage.now::before { background: var(--cyan); border-color: var(--cyan); }
.stage .when { font: 500 13px var(--mono); color: var(--muted); }
.stage.now .when { color: var(--cyan); }
.stage h3 { font-size: 20px; margin-top: 10px; letter-spacing: -0.02em; line-height: 1.25; }
.stage ul { margin-top: 14px; display: grid; gap: 8px; }
.stage li { list-style: none; color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 1099px) {
    .road { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 4px; }
    .stage { padding: 0 0 36px 26px; }
    .stage::before { top: 4px; left: -6px; }
}

/* 5. the business */
.biz { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-left: 72px; max-width: 1180px; }
.biz h3 { font-size: 18px; letter-spacing: -0.01em; }
.biz p { color: var(--muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 899px) { .biz { grid-template-columns: 1fr; padding-left: 0; gap: 28px; } }

/* 6. who */
.who { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-left: 72px; max-width: 1180px; }
.who blockquote { font: 22px/1.55 var(--serif); color: var(--text); max-width: 34ch; }
.who cite { display: block; margin-top: 16px; font: normal 14px var(--sans); color: var(--muted); }
.who p { color: var(--muted); }
.who p + p { margin-top: 14px; }
@media (max-width: 899px) { .who { grid-template-columns: 1fr; padding-left: 0; gap: 32px; } }

/* 7. the ask */
.close { padding: 120px 0 112px; border-top: 1px solid var(--line); }
.close h2 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; }
.close .lede { margin-top: 20px; }
.close > .wrap > .button { margin-top: 32px; }
.doors { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; }
.door { border: 1px solid var(--line-strong); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.door h3 { font-size: 20px; letter-spacing: -0.02em; }
.door p { color: var(--muted); font-size: 15px; flex: 1; }
.door .button { align-self: flex-start; margin-top: 10px; }
@media (max-width: 899px) { .doors { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ footer */

footer.site { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
footer.site b { color: var(--text); font-weight: 600; display: block; margin-bottom: 10px; font-size: 14px; }
footer.site a { text-decoration: none; display: block; padding: 3px 0; }
footer.site a:hover { color: var(--text); }
footer.site .legal { grid-column: 1 / -1; margin-top: 24px; color: var(--faint); font-size: 12.5px; }
@media (max-width: 899px) { footer.site .wrap { grid-template-columns: 1fr 1fr; } footer.site .about { grid-column: 1 / -1; } }

/* ================================================================ blog */

.blog-head { padding: 88px 0 40px; }
.blog-head h1 { font-size: clamp(40px, 5.4vw, 72px); }
.blog-head .lede { margin-top: 18px; }
@media (max-width: 899px) { .blog-head { padding: 48px 0 28px; } }

/* the newest post, given room */
.lead-post {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center;
    padding: 40px 0 56px; border-top: 1px solid var(--line); text-decoration: none;
}
.lead-post .cover { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.lead-post .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.lead-post:hover .cover img { transform: scale(1.02); }
.lead-post .cover.empty { display: flex; align-items: flex-end; padding: 28px; background:
        repeating-linear-gradient(to bottom, transparent 0 31px, rgba(255,255,255,0.05) 31px 32px), var(--panel); }
.lead-post .cover.empty span { font-weight: 600; font-size: 22px; letter-spacing: -0.4px; color: var(--muted); }
.lead-post h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; }
.lead-post:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--cyan); }
.lead-post p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 52ch; }
.post-meta { margin-top: 18px; font-size: 13px; color: var(--faint); display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 1099px) { .lead-post { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 40px; } }

/* every other post, as an index */
.post-index { list-style: none; border-top: 1px solid var(--line); }
.post-index li a {
    display: grid; grid-template-columns: 140px minmax(0, 1fr) 96px; gap: 24px; align-items: baseline;
    padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.post-index .date { font: 13px var(--mono); color: var(--faint); }
.post-index h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.3; }
.post-index li a:hover h3 { color: var(--cyan); }
.post-index p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 70ch; }
.post-index .time { font-size: 13px; color: var(--faint); text-align: right; }
@media (max-width: 899px) {
    .post-index li a { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
    .post-index .time { text-align: left; }
}
.post-state { color: var(--muted); padding: 40px 0; font-size: 15px; }
.post-state a { color: var(--cyan); }

.sk { background: var(--raised); border-radius: 6px; height: 14px; }
.sk.big { height: 34px; width: 70%; margin-bottom: 14px; }
.sk.w60 { width: 60%; } .sk.w40 { width: 40%; }
.skeleton-wrap { padding: 40px 0; display: grid; gap: 12px; animation: pulse 1.2s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 0.5; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skeleton-wrap { animation: none; } }

.blog-cta { margin: 72px 0 96px; border: 1px solid var(--line-strong); border-radius: 18px; padding: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.blog-cta h2 { font-size: 26px; max-width: 26ch; line-height: 1.2; }
.blog-cta p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ---------------------------------------------------------------- one post */

.article { padding: 64px 0 24px; }
.article .col { max-width: 720px; }
/* Wide screens: room between the page margin and the text for paragraph numbers. */
@media (min-width: 1100px) { .article .col, .article .cover, .after-article { margin-left: 80px; } }
.back { font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.article h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; margin-top: 28px; }
.article .standfirst { color: var(--muted); font-size: 19px; line-height: 1.6; margin-top: 20px; }
.article .post-meta { margin-top: 22px; align-items: center; }
.article .post-meta button {
    background: none; border: 1px solid var(--line-strong); color: var(--muted); border-radius: 8px;
    padding: 5px 10px; font: 500 12.5px var(--sans); cursor: pointer;
}
.article .post-meta button:hover { color: var(--text); }
.article .cover { margin-top: 36px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); max-width: 960px; }
.article .cover img { width: 100%; }
@media (max-width: 899px) { .article { padding: 36px 0 16px; } .article .standfirst { font-size: 17px; } }

/* the body reads like a judgment: serif, and numbered paragraphs in the margin */
.prose { margin-top: 44px; font: 18px/1.78 var(--serif); color: #E4E2EC; counter-reset: para; }
.prose > * + * { margin-top: 1.1em; }
.prose > p { position: relative; counter-increment: para; }
.prose > p::before {
    content: "[" counter(para) "]";
    position: absolute; left: -72px; width: 56px; text-align: right;
    font: 12px/2.9 var(--mono); color: var(--faint);
}
@media (max-width: 1099px) { .prose > p::before { display: none; } }
@media (max-width: 899px) { .prose { font-size: 17px; } }
.prose h2, .prose h3, .prose h4 { font-family: var(--sans); color: var(--text); letter-spacing: -0.02em; line-height: 1.25; }
.prose h2 { font-size: 28px; margin-top: 2em; }
.prose h3 { font-size: 22px; margin-top: 1.7em; }
.prose h4 { font-size: 18px; margin-top: 1.5em; }
.prose a { color: var(--cyan); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { border-left: 2px solid var(--cyan); padding: 4px 0 4px 22px; color: var(--text); font-size: 20px; }
.prose img { border-radius: 10px; margin: 1.6em 0; }
.prose figure figcaption { font: 13px var(--sans); color: var(--faint); margin-top: 8px; }
.prose code { font: 0.86em var(--mono); background: var(--raised); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.5 var(--sans); display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { color: var(--text); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.more { margin-top: 80px; border-top: 1px solid var(--line); padding-top: 32px; }
.more h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }

/* ================================================================ about */

.about-hero { padding: 96px 0 72px; }
.about-hero h1 { font-size: clamp(42px, 6vw, 80px); max-width: 14ch; }
.about-hero .lede { margin-top: 24px; max-width: 62ch; }
@media (max-width: 899px) { .about-hero { padding: 52px 0 48px; } }

.founder { margin-top: 56px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; max-width: 1080px; padding-left: 72px; }
.founder .card { border: 1px solid var(--line-strong); border-radius: 16px; padding: 22px; align-self: start; }
.founder .mono { width: 64px; height: 64px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 22px; }
.founder .card b { display: block; margin-top: 16px; font-size: 17px; }
.founder .card span { color: var(--muted); font-size: 13.5px; }
.founder .text p { color: var(--body); font-size: 17px; line-height: 1.7; max-width: 60ch; }
.founder .text p + p { margin-top: 16px; }
.founder blockquote { margin-top: 28px; font: 21px/1.55 var(--serif); color: var(--text); border-left: 2px solid var(--cyan); padding-left: 22px; max-width: 46ch; }
@media (max-width: 899px) { .founder { grid-template-columns: 1fr; padding-left: 0; gap: 28px; } }

/* the path of one question: a real sequence */
.flow { margin-top: 56px; list-style: none; counter-reset: step; max-width: 1080px; padding-left: 72px; }
.flow li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 0.9fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.flow li::before { content: counter(step); font: 500 14px/1.9 var(--mono); color: var(--cyan); }
.flow h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.35; }
.flow p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 52ch; }
.flow .how { font: 13px/1.7 var(--mono); color: var(--faint); }
@media (max-width: 899px) {
    .flow { padding-left: 0; }
    .flow li { grid-template-columns: 36px minmax(0, 1fr); }
    .flow .how { grid-column: 2; }
}

.stack-table { margin-top: 56px; max-width: 1080px; padding-left: 72px; }
.stack-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.stack-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 0 16px 12px 0; border-bottom: 1px solid var(--line-strong); }
.stack-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--body); }
.stack-table td:first-child { color: var(--text); font-weight: 600; width: 22%; }
.stack-table td:last-child { color: var(--muted); font: 13.5px/1.6 var(--mono); width: 32%; }
@media (max-width: 899px) {
    .stack-table { padding-left: 0; overflow-x: auto; }
    .stack-table table { min-width: 640px; }
}

.rules { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-left: 72px; max-width: 1180px; }
.rules h3 { font-size: 18px; letter-spacing: -0.01em; }
.rules p { color: var(--muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 899px) { .rules { grid-template-columns: 1fr; padding-left: 0; gap: 28px; } }

.company { margin-top: 48px; padding-left: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 900px; }
.company dt { color: var(--faint); font-size: 13px; }
.company dd { color: var(--text); margin-top: 4px; }
.company dd a { color: var(--cyan); text-decoration: none; }
@media (max-width: 899px) { .company { grid-template-columns: 1fr; padding-left: 0; gap: 18px; } }

/* ================================================================ legal pages */

.legal-head { padding: 88px 0 48px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(40px, 5.4vw, 68px); }
.legal-head .lede { margin-top: 18px; }
.legal-head dl { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.legal-head dt { color: var(--faint); font-size: 13px; }
.legal-head dd { color: var(--text); font-size: 14.5px; margin-top: 2px; }
@media (max-width: 899px) { .legal-head { padding: 48px 0 32px; } }

.legal { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; padding: 56px 0 96px; }
@media (max-width: 1099px) { .legal { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; } }

.toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
.toc b { display: block; font-size: 13px; color: var(--faint); font-weight: 500; margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: grid; grid-template-columns: 28px 1fr; text-decoration: none; color: var(--muted); font-size: 13.5px; padding: 5px 0; line-height: 1.4; }
.toc a span { font: 12px/1.6 var(--mono); color: var(--faint); }
.toc a:hover, .toc a.here { color: var(--text); }
.toc a.here span { color: var(--cyan); }
@media (max-width: 1099px) {
    .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; }
    .toc details summary { cursor: pointer; padding: 12px 0; font-size: 14px; color: var(--text); font-weight: 600; list-style: none; }
    .toc details summary::-webkit-details-marker { display: none; }
    .toc details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
    .toc details ol { padding-bottom: 10px; }
}
@media (min-width: 1100px) { .toc details summary { display: none; } }

.clauses section { padding-top: 8px; scroll-margin-top: 88px; }
.clauses section + section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.clauses h2 { font-size: 26px; letter-spacing: -0.02em; display: grid; grid-template-columns: 48px 1fr; line-height: 1.25; }
.clauses h2 span { font: 500 15px/1.9 var(--mono); color: var(--cyan); }
.clauses .cl { display: grid; grid-template-columns: 48px 1fr; margin-top: 16px; color: var(--body); font-size: 16px; line-height: 1.75; }
.clauses .cl > span { font: 12.5px/2.2 var(--mono); color: var(--faint); }
.clauses .cl p + p, .clauses .cl ul { margin-top: 10px; }
.clauses ul { padding-left: 1.2em; }
.clauses li + li { margin-top: 6px; }
.clauses a { color: var(--cyan); text-underline-offset: 3px; }
.clauses strong { color: var(--text); font-weight: 600; }
.clauses .plain { margin-top: 16px; margin-left: 48px; padding: 14px 18px; border-left: 2px solid var(--cyan); background: rgba(6, 182, 212, 0.05); color: var(--text); font-size: 15px; border-radius: 0 10px 10px 0; }
@media (max-width: 899px) {
    .clauses h2, .clauses .cl { grid-template-columns: 40px 1fr; }
    .clauses .plain { margin-left: 0; }
}

/* ================================================================ contact */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.legal-head dd a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 72px; padding: 56px 0 112px; align-items: start; }
@media (max-width: 1099px) { .contact { grid-template-columns: 1fr; gap: 48px; padding-top: 36px; } }

.desks h2 { font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; margin-bottom: 8px; }
.desks ol { list-style: none; }
.desks li {
    display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline;
    padding: 22px 0; border-bottom: 1px solid var(--line);
}
.desks li:first-child { border-top: 1px solid var(--line); }
.desks .n { font: 12px var(--mono); color: var(--cyan); }
.desks h3 { font-size: 19px; font-weight: 600; color: var(--text); }
.desks p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 4px; max-width: 46ch; }
.desks a { color: var(--text); font-size: 14.5px; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; white-space: nowrap; }
.desks a:hover { border-color: var(--cyan); color: var(--cyan); }
@media (max-width: 640px) {
    .desks li { grid-template-columns: 28px minmax(0, 1fr); }
    .desks a { grid-column: 2; margin-top: 8px; justify-self: start; }
}

/* The form is a letter on paper. */
.letter, .sent {
    background: var(--paper); color: var(--paper-ink); border-radius: 6px;
    padding: 40px 44px 36px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
    font-family: var(--serif);
}
@media (max-width: 640px) { .letter, .sent { padding: 28px 22px 26px; } }
.letter .lh { display: flex; gap: 14px; align-items: baseline; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 2px solid var(--paper-ink); }
.letter .lh span, .letter .line > span { font: 12px var(--mono); color: var(--paper-muted); width: 52px; flex: none; text-transform: uppercase; letter-spacing: 0.04em; }
.letter .lh b { font-size: 20px; font-weight: 700; }
.letter .line { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--paper-rule); }
.letter input, .letter select, .letter textarea {
    font: 17px/1.5 var(--serif); color: var(--paper-ink); background: transparent; border: 0; outline: none; width: 100%;
    padding: 14px 0 12px; border-radius: 0;
}
.letter select { appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 600;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E6A62' stroke-width='1.5'/%3E%3C/svg%3E") right 2px center no-repeat; }
.letter ::placeholder { color: #A9A498; }
.letter .line:focus-within { border-bottom-color: var(--paper-ink); }
.letter .body { display: block; margin-top: 18px; }
.letter textarea {
    resize: vertical; min-height: 220px; padding: 0;
    line-height: 32px; background-image: linear-gradient(transparent 31px, var(--paper-rule) 31px); background-size: 100% 32px; background-attachment: local;
}
.letter .hp { position: absolute; left: -9999px; }
.letter .sign { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.letter .sign p { font: 14px/1.5 var(--sans); color: #9A3412; flex: 1; min-width: 180px; }
.letter .sign p a { color: inherit; }
.letter .button, .sent .button { font-family: var(--sans); border: 0; cursor: pointer; }
.letter .button:disabled { opacity: 0.6; }

.sent { text-align: left; position: relative; }
.sent .stamp {
    display: inline-block; font: 600 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
    color: #0E7490; border: 2px solid #0E7490; padding: 6px 12px; border-radius: 4px; transform: rotate(-4deg);
}
.sent h3 { font-size: 26px; margin-top: 22px; font-weight: 700; }
.sent p { color: var(--paper-muted); font-size: 17px; margin-top: 8px; line-height: 1.6; }
.sent .button.ghost { margin-top: 24px; color: var(--paper-ink); border: 1px solid var(--paper-rule); font-family: var(--sans); }