:root
{
    color-scheme: light;
    --paper: #f6f3eb;
    --ink: #263d34;
    --muted: #647168;
    --green: #2e5a44;
    --line: #d7d9ca;
    --surface: #eeeee3;
    --card: #fffdf6;
    --accent: #d4dfb3;
    --rust: #ab633f;
}
[data-theme="dark"]
{
    color-scheme: dark;
    --paper: #17241e;
    --ink: #eeeee0;
    --muted: #a9b8a9;
    --green: #b7d0a2;
    --line: #3a4b3e;
    --surface: #223128;
    --card: #293a2e;
    --accent: #42593b;
    --rust: #e4a77d;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 15px/1.65 "Segoe UI", Arial, sans-serif;
}
a
{
    color: inherit;
    text-underline-offset: 4px;
}
button, input
{
    font: inherit;
}
button, a, input
{
    -webkit-tap-highlight-color: transparent;
}
button
{
    cursor: pointer;
    color: inherit;
}
button:disabled
{
    opacity: .3;
    cursor: default;
}
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible
{
    outline: 3px solid var(--rust);
    outline-offset: 5px;
}
.wrap
{
    width: min(1080px, calc(100% - 80px));
    margin-inline: auto;
}
.header
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    border-bottom: 1px solid var(--line);
}
.brand
{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font: 25px Georgia, serif;
    text-decoration: none;
    letter-spacing: -.8px;
}
.brand svg
{
    width: 29px;
    height: 29px;
}
nav
{
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
}
nav a
{
    text-decoration: none;
}
.theme
{
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: none;
    font-size: 23px;
    line-height: 1;
}
.hero
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    padding-block: 70px 58px;
    align-items: center;
}
.eyebrow, .step-number, .diagram-label
{
    font: 10px/1.5 ui-monospace, Consolas, monospace;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}
.hero .eyebrow
{
    margin: 0 0 26px;
}
h1, h2, h3, p
{
    margin-top: 0;
}
h1
{
    font: 76px/.99 Georgia, "Times New Roman", serif;
    letter-spacing: -3.4px;
    margin-bottom: 25px;
    font-weight: normal;
}
h1 em
{
    color: var(--green);
    font-weight: normal;
}
.intro
{
    font-size: 15px;
    line-height: 1.8;
    max-width: 380px;
    color: var(--muted);
    margin-bottom: 25px;
}
.primary
{
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    border-radius: 4px;
    padding: 12px 18px;
    text-decoration: none;
    font-size: 12px;
}
.primary:hover
{
    background: var(--green);
}
.primary span
{
    font-size: 18px;
}
.read-time
{
    font-size: 10px;
    color: var(--muted);
    margin: 15px 0 0;
}
.hero-art
{
    position: relative;
    height: 500px;
    background-color: var(--surface);
    background-image: radial-gradient(var(--line) .8px, transparent .8px);
    background-size: 13px 13px;
    border: 1px solid var(--line);
    border-radius: 150px 150px 6px 6px;
    overflow: hidden;
}
.art-corner
{
    position: absolute;
    top: 31px;
    left: 50%;
    transform: translateX(-50%);
    font: 9px ui-monospace, monospace;
    white-space: nowrap;
    color: var(--muted);
}
.art-corner span
{
    margin-left: 14px;
}
.orbit
{
    border: 1px solid var(--line);
    border-radius: 50%;
    position: absolute;
    width: 420px;
    height: 310px;
    left: 30px;
    top: 75px;
    transform: rotate(-24deg);
}
.orbit-two
{
    transform: rotate(26deg);
    width: 300px;
    left: 90px;
    height: 350px;
    top: 70px;
}
.orbit-dot
{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rust);
    position: absolute;
}
.dot-one
{
    top: 88px;
    right: 101px;
}
.dot-two
{
    top: 313px;
    left: 42px;
    background: var(--green);
}
.art-cross
{
    position: absolute;
    right: 40px;
    top: 299px;
    color: var(--rust);
}
.sentence-paper
{
    position: absolute;
    z-index: 1;
    top: 112px;
    left: 38px;
    right: 38px;
    border: 1px solid var(--line);
    background: var(--card);
    padding: 22px 23px 15px;
    transform: rotate(-3deg);
    box-shadow: 0 8px 0 -3px var(--surface), 0 9px 0 -3px var(--line);
}
.sentence-paper .eyebrow
{
    font-size: 8px;
    letter-spacing: 1px;
    color: var(--muted);
}
.sentence-paper p
{
    font: 25px/1.45 Georgia, serif;
    margin: 13px 0 19px;
}
.empty-word
{
    display: inline-block;
    width: 34px;
    border-bottom: 1px dashed var(--rust);
    color: var(--rust);
    text-align: center;
}
.paper-bottom
{
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 10px;
    color: var(--muted);
    font: 8px ui-monospace, monospace;
    letter-spacing: 1px;
}
.connector
{
    position: absolute;
    top: 237px;
    left: 14px;
    width: calc(100% - 28px);
    height: 140px;
    color: var(--green);
}
.possibilities
{
    position: absolute;
    top: 343px;
    left: 23px;
    right: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    z-index: 2;
}
.candidate
{
    display: inline-flex;
    gap: 13px;
    align-items: center;
    padding: 8px 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px;
    font: 17px Georgia, serif;
    transform: rotate(-5deg);
}
.candidate b
{
    font: 9px ui-monospace, monospace;
}
.winner
{
    padding: 13px 17px;
    background: var(--ink);
    color: var(--paper);
    transform: rotate(3deg);
    font-size: 23px;
}
.medium
{
    transform: rotate(-3deg);
}
.art-caption
{
    position: absolute;
    bottom: 55px;
    width: 100%;
    text-align: center;
    font: italic 14px Georgia, serif;
    color: var(--muted);
}
.art-baseline
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    font-size: 9px;
    text-align: center;
    color: var(--muted);
}
.tiny-dot
{
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 7px;
}
.pipeline
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 25px;
    border-block: 1px solid var(--line);
    font: 17px Georgia, serif;
}
.pipeline b
{
    font: 9px ui-monospace, monospace;
    color: var(--rust);
    margin-right: 12px;
}
.pipeline i
{
    color: var(--muted);
    font: 17px Arial, sans-serif;
}
.section-heading
{
    max-width: 620px;
    padding-block: 95px 40px;
}
h2
{
    font: 39px/1.15 Georgia, serif;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
}
.section-heading > p:last-child
{
    color: var(--muted);
    max-width: 500px;
}
.scrolly
{
    display: grid;
    grid-template-columns: 37% 1fr;
    gap: 8%;
    align-items: start;
}
.step-card
{
    min-height: 650px;
    padding-block: 100px;
}
.step-number
{
    display: block;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-bottom: 36px;
    color: var(--muted);
}
.step-card.active .step-number
{
    border-color: var(--green);
}
.step-card h3
{
    font: 32px/1.15 Georgia, serif;
    letter-spacing: -.6px;
}
.step-card > p:not(.eyebrow)
{
    color: var(--muted);
}
blockquote
{
    margin: 25px 0;
    border-left: 2px solid var(--rust);
    padding-left: 18px;
    font: italic 18px/1.5 Georgia, serif;
}
blockquote span
{
    display: block;
    font: 9px/1.5 ui-monospace, monospace;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 9px;
    color: var(--rust);
}
.detail
{
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted);
}
.stage
{
    position: sticky;
    top: 35px;
    margin-top: 100px;
    padding: 23px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 7px;
}
.stage-header
{
    display: flex;
    justify-content: space-between;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--line);
    font: 9px ui-monospace, monospace;
    letter-spacing: 1px;
}
.stage-input
{
    margin-top: 22px;
}
.stage-input .eyebrow
{
    font-size: 8px;
    color: var(--muted);
}
.stage-input p
{
    font: 23px/1.45 Georgia, serif;
    margin-top: 10px;
    margin-bottom: 15px;
}
mark
{
    background: var(--accent);
    color: var(--ink);
    padding: 0 6px;
}
#diagram
{
    min-height: 260px;
}
.input-visual
{
    padding: 35px 20px;
    text-align: center;
}
.input-visual svg
{
    width: 50px;
    color: var(--rust);
    margin-bottom: 14px;
}
.input-visual p
{
    font: italic 21px/1.4 Georgia, serif;
    max-width: 280px;
    margin-inline: auto;
}
.context-line
{
    width: 70%;
    height: 1px;
    background: var(--line);
    margin: 14px auto;
}
.short
{
    width: 40%;
}
.diagram-label
{
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .7px;
    margin-top: 16px;
}
.token-grid
{
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    padding-block: 20px;
}
.token
{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 10px 15px;
    font: 19px Georgia, serif;
}
.token.weather, .token.comfort
{
    background: var(--accent);
}
.token small
{
    display: block;
    font: 10px ui-monospace, monospace;
    color: var(--muted);
    text-align: center;
    margin-top: 10px;
}
.map
{
    width: 100%;
    display: block;
    font: 15px Georgia, serif;
    fill: var(--ink);
}
.map-axis
{
    stroke: var(--line);
    fill: none;
}
.region
{
    fill: var(--surface);
}
.region.comfort
{
    fill: var(--accent);
    opacity: .4;
}
.map-dot
{
    fill: var(--rust);
}
.map .region-label
{
    fill: var(--muted);
    font: 9px ui-monospace, monospace;
}
.map .ghost
{
    fill: var(--muted);
    font-style: italic;
}
.attention-tokens
{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.attention-scene
{
    position: relative;
    padding-top: 120px;
}
.attention-scene svg
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.attention-tokens button
{
    padding: 5px 9px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    min-height: 45px;
}
.attention-tokens button[aria-pressed="true"]
{
    background: var(--accent);
    border-color: var(--green);
}
.attention-tokens small
{
    display: block;
    font: 9px ui-monospace, monospace;
}
.attention-tokens .future
{
    opacity: .5;
}
.bar-chart
{
    padding-block: 15px;
}
.bar-row
{
    display: grid;
    grid-template-columns: 65px 1fr 48px;
    gap: 12px;
    align-items: center;
    margin-block: 9px;
    font-size: 12px;
}
.bar-row > div
{
    background: var(--surface);
    height: 16px;
    border-radius: 2px;
}
.bar-row i
{
    display: block;
    background: var(--green);
    height: 100%;
    min-width: 1px;
    border-radius: 2px;
    transition: width .25s ease;
}
.bar-row b
{
    font: 10px ui-monospace, monospace;
    text-align: right;
}
.bar-row.selected
{
    color: var(--rust);
}
.bar-row.selected i
{
    background: var(--rust);
}
#controls
{
    border-top: 1px solid var(--line);
    padding-top: 13px;
}
#controls label
{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
#temperature
{
    width: 100%;
    accent-color: var(--green);
}
.range-ends
{
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 9px;
}
.roll-row
{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-block: 14px 8px;
}
.roll-row .primary
{
    padding: 6px 12px;
}
.text-button
{
    border: none;
    background: none;
    text-decoration: underline;
    font-size: 11px;
    padding: 10px 0;
}
.stage-bottom
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}
.stage-bottom > button
{
    width: 36px;
    height: 32px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 3px;
}
.step-dots
{
    display: flex;
}
.step-dots button
{
    width: 23px;
    height: 32px;
    border: 0;
    background: none;
    padding: 7px;
}
.step-dots button::after
{
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid var(--muted);
}
.step-dots button[aria-current]::after
{
    background: var(--green);
}
.stage-note
{
    font: 9px ui-monospace, monospace;
    color: var(--muted);
    text-align: center;
    margin: 15px 0 0;
}
.honesty
{
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 65px;
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--surface);
}
.honesty > div
{
    display: flex;
    align-items: center;
    gap: 20px;
}
.honesty svg
{
    width: 35px;
    flex-shrink: 0;
}
.honesty h3
{
    font: 26px/1.3 Georgia, serif;
    margin: 0;
}
.honesty p
{
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}
.recap
{
    padding-block: 100px 65px;
}
.recap-strip
{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 45px;
}
.recap-strip article
{
    border-left: 1px solid var(--line);
    padding-inline: 25px;
}
.recap-strip article:first-child
{
    padding-left: 0;
    border-left: none;
}
.recap-strip svg
{
    width: 33px;
    height: 33px;
    margin-bottom: 18px;
    color: var(--green);
}
.recap-strip h3
{
    font: 22px Georgia, serif;
    margin-bottom: 10px;
}
.recap-strip p
{
    color: var(--muted);
    font-size: 12px;
}
.notes
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    padding-block: 60px 75px;
    border-top: 1px solid var(--line);
}
.notes h2
{
    font-size: 31px;
}
dl > div
{
    border-bottom: 1px solid var(--line);
    padding-block: 15px;
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 15px;
}
dt
{
    font: 18px Georgia, serif;
}
dd
{
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.faq
{
    padding-top: 36px;
}
details
{
    padding-block: 18px;
    border-bottom: 1px solid var(--line);
}
summary
{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-size: 13px;
    list-style: none;
}
summary::-webkit-details-marker
{
    display: none;
}
details[open] summary span
{
    transform: rotate(45deg);
}
details p
{
    font-size: 12px;
    color: var(--muted);
    margin: 14px 0 0;
}
.back-link
{
    display: inline-block;
    margin-top: 30px;
    font-size: 12px;
}
.closing
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border-block: 1px solid var(--line);
    padding-block: 40px;
}
.closing svg
{
    width: 29px;
    vertical-align: middle;
}
.closing p
{
    font: italic 27px Georgia, serif;
    margin: 0;
}
footer
{
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-block: 40px;
}
footer .brand
{
    font-size: 22px;
}
footer p, footer > div:last-child
{
    font-size: 10px;
    color: var(--muted);
}
footer p
{
    margin: 8px 0 0;
}
footer > div:last-child
{
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 8px;
}
.skip
{
    position: fixed;
    z-index: 10;
    top: -100px;
    left: 20px;
    background: var(--card);
    padding: 10px;
}
.skip:focus
{
    top: 10px;
}
[hidden]
{
    display: none !important;
}
@media (max-width: 850px)
{
    .wrap
    {
        width: calc(100% - 40px);
    }
    .hero
    {
        gap: 25px;
    }
    h1
    {
        font-size: 60px;
    }
    .sentence-paper
    {
        left: 20px;
        right: 20px;
    }
    .sentence-paper p
    {
        font-size: 22px;
    }
    .candidate
    {
        padding: 7px;
        gap: 6px;
        font-size: 15px;
    }
    .scrolly
    {
        gap: 5%;
        grid-template-columns: 37% 1fr;
    }
    .stage
    {
        padding: 16px;
    }
    .notes
    {
        gap: 40px;
    }
}
@media (max-width: 600px)
{
    .header
    {
        height: 77px;
    }
    .brand
    {
        font-size: 22px;
    }
    .brand svg
    {
        width: 24px;
    }
    nav
    {
        gap: 12px;
    }
    nav a
    {
        display: none;
    }
    .hero
    {
        grid-template-columns: 1fr;
        padding-block: 42px 32px;
        gap: 36px;
    }
    h1
    {
        font-size: 65px;
        letter-spacing: -2.7px;
    }
    .hero .eyebrow
    {
        margin-bottom: 21px;
        font-size: 9px;
    }
    .intro
    {
        font-size: 14px;
        max-width: 330px;
    }
    .hero-art
    {
        height: 450px;
        border-radius: 115px 115px 5px 5px;
    }
    .sentence-paper
    {
        top: 95px;
        padding: 20px;
    }
    .sentence-paper p
    {
        font-size: 23px;
    }
    .possibilities
    {
        top: 310px;
        gap: 10px;
        left: 8px;
        right: 8px;
    }
    .winner
    {
        font-size: 21px;
        padding: 12px;
    }
    .connector
    {
        top: 218px;
    }
    .art-caption
    {
        font-size: 12px;
        bottom: 47px;
    }
    .art-baseline
    {
        font-size: 8px;
    }
    .pipeline
    {
        gap: 8px;
        font-size: 12px;
        padding-block: 18px;
    }
    .pipeline b
    {
        display: block;
        margin-right: 0;
        margin-bottom: 3px;
    }
    .pipeline i
    {
        font-size: 12px;
    }
    .section-heading
    {
        padding-top: 60px;
        padding-bottom: 10px;
    }
    h2
    {
        font-size: 34px;
    }
    .scrolly
    {
        display: flex;
        flex-direction: column;
    }
    .step-cards
    {
        width: 100%;
    }
    .step-card
    {
        min-height: 580px;
        padding-block: 70px;
        padding-bottom: 20px;
    }
    .step-card h3
    {
        font-size: 30px;
    }
    .stage
    {
        order: -1;
        position: sticky;
        z-index: 3;
        top: 6px;
        width: 100%;
        margin-top: 15px;
        padding: 12px;
        box-shadow: 0 8px 15px -12px var(--ink);
    }
    .stage-header
    {
        padding-bottom: 9px;
        font-size: 8px;
    }
    .stage-input
    {
        margin-top: 8px;
    }
    .stage-input p
    {
        font-size: 16px;
        margin: 5px 0 8px;
    }
    .stage-input .eyebrow
    {
        display: none;
    }
    #diagram
    {
        min-height: 155px;
    }
    .input-visual
    {
        padding: 12px;
    }
    .input-visual svg
    {
        width: 25px;
        margin-bottom: 5px;
    }
    .input-visual p
    {
        font-size: 17px;
        margin-bottom: 10px;
    }
    .token-grid
    {
        gap: 6px;
        padding-block: 5px 10px;
    }
    .token
    {
        padding: 5px 9px;
        font-size: 15px;
    }
    .token small
    {
        font-size: 8px;
        margin-top: 3px;
    }
    .map
    {
        max-height: 195px;
    }
    #diagram > svg:not(.map)
    {
        max-height: 70px;
        width: 100%;
    }
    .attention-tokens
    {
        gap: 4px;
    }
    .attention-scene
    {
        padding-top: 70px;
    }
    .attention-tokens button
    {
        font-size: 11px;
        padding: 3px 8px;
        min-height: 36px;
    }
    .bar-chart
    {
        padding-block: 4px;
    }
    .bar-row
    {
        margin-block: 3px;
        font-size: 10px;
        grid-template-columns: 57px 1fr 40px;
        gap: 8px;
    }
    .bar-row > div
    {
        height: 9px;
    }
    .bar-row b
    {
        font-size: 8px;
    }
    .diagram-label
    {
        margin: 7px 0;
        font-size: 8px;
    }
    .stage-bottom
    {
        padding-top: 6px;
    }
    .stage-note
    {
        margin-top: 5px;
        font-size: 8px;
    }
    #controls
    {
        padding-top: 5px;
    }
    #controls label
    {
        font-size: 10px;
    }
    .roll-row
    {
        margin: 5px 0;
    }
    .roll-row .primary
    {
        padding: 4px 10px;
    }
    #draw-info
    {
        margin-bottom: 5px;
        font-size: 9px;
    }
    .honesty
    {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }
    .honesty h3
    {
        font-size: 24px;
    }
    .recap
    {
        padding-block: 60px 30px;
    }
    .recap-strip
    {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .recap-strip article, .recap-strip article:first-child
    {
        padding: 0 0 15px 60px;
        position: relative;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }
    .recap-strip svg
    {
        position: absolute;
        left: 0;
        top: 0;
    }
    .recap-strip h3
    {
        margin-bottom: 4px;
    }
    .notes
    {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-block: 35px 50px;
    }
    .closing
    {
        gap: 20px;
        padding-block: 30px;
    }
    .closing p
    {
        font-size: 21px;
    }
    footer
    {
        flex-direction: column;
        padding-block: 30px;
    }
    footer > div:last-child
    {
        text-align: left;
    }
}
@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }
    *, *::before, *::after
    {
        transition: none !important;
        animation: none !important;
    }
}
