@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root
{
    --paper:#f6f4ed;
    --white:#fffefa;
    --ink:#19332f;
    --muted:#66736c;
    --line:#dce0d5;
    --sage:#dce6d7;
    --orange:#b94f2e;
    --soft:#f2dfcf;
    --blue:#e6ecee;
    --radius:16px
}

*
{
    box-sizing:border-box
}

body
{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'DM Sans',Arial,sans-serif;
    font-size:15px;
    line-height:1.6
}

button,input,select,textarea
{
    font:inherit
}

button,a
{
    -webkit-tap-highlight-color:transparent
}

button
{
    cursor:pointer
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,#how-it-works:focus-visible,.guide-frame:focus-visible,.reply-entry:focus-visible,.posted-reply:focus-visible
{
    outline:3px solid var(--orange);
    outline-offset:4px
}

button
{
    color:inherit
}

a
{
    color:inherit
}

button:disabled
{
    opacity:.45;
    cursor:default
}

h1,h2,h3,p
{
    margin:0
}

h1,h2
{
    font-family:'Libre Caslon Display',Georgia,serif;
    font-weight:400;
    line-height:1.08;
    letter-spacing:-.035em
}

h1
{
    font-size:clamp(40px,5.4vw,72px)
}

h2
{
    font-size:clamp(32px,3.4vw,44px)
}

h3
{
    font-size:18px;
    line-height:1.35;
    letter-spacing:-.02em
}

small,.small
{
    font-size:12px
}

.muted
{
    color:var(--muted)
}

.eyebrow
{
    text-transform:uppercase;
    letter-spacing:.15em;
    font-size:11px;
    font-weight:700;
    color:var(--orange);
    margin-bottom:15px
}

.concept-bar
{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:9px 4%;
    background:#19332f;
    color:#f8f7ef;
    font-size:10px;
    letter-spacing:.04em
}

.concept-bar b
{
    letter-spacing:.12em
}

.view-switch
{
    display:flex;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
    padding:12px 18px;
    background:#e9ede3;
    border-bottom:1px solid #d4dcd0
}

.view-switch button
{
    border:0;
    background:transparent;
    padding:8px 18px;
    border-radius:6px;
    font-size:12px;
    font-weight:600;
    color:#54655b
}

.view-switch button.active
{
    background:var(--ink);
    color:white
}

.wrap
{
    max-width:1200px;
    margin:auto;
    padding:0 36px
}

.site-header
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    padding-top:26px;
    padding-bottom:26px
}

.brand
{
    display:flex;
    align-items:center;
    gap:10px;
    border:0;
    background:none;
    text-align:left;
    font-weight:700;
    font-size:16px;
    line-height:1.15;
    padding:0
}

.brand small
{
    display:block;
    font-size:9px;
    letter-spacing:.18em;
    margin-top:5px;
    font-weight:500
}

.brand-mark
{
    display:grid;
    grid-template-columns:repeat(2,8px);
    gap:3px;
    transform:rotate(-8deg);
    padding:9px;
    background:var(--ink);
    border-radius:4px
}

.brand-mark i
{
    width:8px;
    height:8px;
    background:#e4e6d6
}

.brand-mark i:last-child
{
    background:#ee9564
}

.nav-links
{
    display:flex;
    align-items:center;
    gap:24px
}

.text-button
{
    border:0;
    background:transparent;
    padding:0;
    font-size:13px;
    font-weight:500
}

.button
{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    border:1px solid var(--ink);
    border-radius:6px;
    padding:12px 20px;
    background:var(--ink);
    color:white;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    line-height:1.5
}

.button:hover
{
    background:#2d4c40
}

.button.secondary
{
    background:transparent;
    color:var(--ink);
    border-color:#b8c1b6
}

.button.secondary:hover
{
    background:#e8ede2
}

.button.orange
{
    background:var(--orange);
    border-color:var(--orange)
}

.button.small
{
    padding:8px 13px;
    font-size:12px
}

.button.light
{
    background:white;
    color:var(--ink);
    border-color:white
}

.button-row
{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap
}

.hero
{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:60px;
    padding-top:46px;
    padding-bottom:64px
}

.hero-copy>p:not(.eyebrow)
{
    color:var(--muted);
    max-width:450px;
    margin:24px 0;
    font-size:16px
}

.hero-copy .fine
{
    font-size:11px;
    color:var(--muted);
    margin:16px 0 0
}

.hero h1 em
{
    font-style:normal;
    color:var(--orange)
}

.hero-art
{
    position:relative;
    background:var(--sage);
    border-radius:16px;
    padding:24px;
    min-height:430px;
    overflow:hidden
}

.art-heading
{
    display:flex;
    justify-content:space-between;
    font-size:10px;
    letter-spacing:.12em;
    font-weight:700
}

.hero-art svg
{
    width:100%;
    height:310px;
    margin-top:12px
}

.art-card
{
    background:var(--white);
    border:1px solid #cfdbc9;
    border-radius:8px;
    padding:14px 17px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    box-shadow:0 8px 20px #19332f0b
}

.art-card b
{
    display:block;
    font-size:13px
}

.art-card span
{
    font-size:11px;
    color:var(--muted)
}

.play-round
{
    border:0;
    background:var(--ink);
    color:white;
    border-radius:50%;
    height:36px;
    width:36px;
    flex:none
}

.benefit-strip
{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:25px 0;
    gap:26px
}

.benefit
{
    display:flex;
    gap:14px
}

.benefit-number
{
    font-family:Georgia,serif;
    color:var(--orange);
    font-size:25px;
    line-height:1.2
}

.benefit b
{
    font-size:13px;
    display:block
}

.benefit p
{
    font-size:12px;
    color:var(--muted);
    margin-top:4px
}

.section
{
    padding-top:54px;
    padding-bottom:54px
}

.section-head
{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:24px;
    margin-bottom:28px
}

.section-head p
{
    color:var(--muted);
    font-size:13px;
    margin-top:11px;
    max-width:610px
}

.card-grid
{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px
}

.project-card
{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:12px;
    overflow:hidden;
    display:flex;
    flex-direction:column
}

.project-art
{
    height:160px;
    padding:12px;
    background:var(--sage)
}

.project-art.tone-1
{
    background:#e6dfcf
}

.project-art.tone-2
{
    background:#e1e9ed
}

.project-art svg
{
    height:100%;
    width:100%
}

.project-card-body
{
    padding:22px;
    display:flex;
    flex-direction:column;
    flex:1;
    gap:12px
}

.project-card-body .eyebrow
{
    margin:0;
    font-size:9px
}

.project-card-body p
{
    font-size:12px;
    color:var(--muted);
    flex:1
}

.card-bottom
{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:4px;
    padding-top:15px;
    border-top:1px solid var(--line)
}

.card-bottom span
{
    font-size:10px;
    color:var(--muted)
}

.link-button
{
    background:none;
    border:0;
    font-size:12px;
    font-weight:700;
    padding:0;
    color:var(--orange)
}

.how-grid
{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:32px;
    margin-top:25px
}

.how-grid .number
{
    display:inline-flex;
    border:1px solid #bdc8b8;
    border-radius:50%;
    width:34px;
    height:34px;
    align-items:center;
    justify-content:center;
    font-size:12px;
    margin-bottom:16px
}

.how-grid p
{
    font-size:13px;
    color:var(--muted);
    margin-top:10px
}

.join-panel
{
    background:var(--ink);
    color:white;
    border-radius:14px;
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:30px;
    padding:40px;
    align-items:center
}

.join-panel h2
{
    font-size:42px
}

.join-panel p
{
    color:#c8d4c8;
    font-size:13px;
    margin-top:16px
}

.join-panel .price
{
    text-align:right
}

.price strong
{
    font-size:64px;
    font-weight:500;
    letter-spacing:-.06em
}

.price small
{
    display:block;
    margin-bottom:17px;
    color:#c8d4c8
}

.site-footer
{
    border-top:1px solid var(--line);
    padding-top:25px;
    padding-bottom:28px;
    display:flex;
    justify-content:space-between;
    gap:20px;
    font-size:11px;
    color:var(--muted)
}

.site-footer div
{
    display:flex;
    gap:22px
}

.page-heading
{
    padding:32px 0 30px
}

.page-heading p:not(.eyebrow)
{
    max-width:680px;
    color:var(--muted);
    margin-top:16px
}

.toolbar
{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    align-items:center;
    margin-bottom:25px
}

.toolbar input
{
    flex:1;
    min-width:180px
}

.field,input,select,textarea
{
    border:1px solid #cfd7ca;
    border-radius:6px;
    padding:11px 13px;
    background:var(--white);
    color:var(--ink);
    min-width:0
}

textarea
{
    resize:vertical;
    min-height:110px
}

label
{
    font-size:12px;
    font-weight:600;
    display:grid;
    gap:6px
}

form
{
    display:grid;
    gap:18px
}

.form-grid
{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px
}

.check-label
{
    display:flex;
    gap:10px;
    align-items:start;
    font-weight:400
}

.check-label input
{
    margin-top:4px;
    flex:none
}

.badge
{
    font-size:10px;
    background:var(--sage);
    padding:4px 8px;
    border-radius:4px;
    display:inline-block;
    font-weight:600;
    white-space:nowrap
}

.badge.orange
{
    background:var(--soft);
    color:#843e25
}

.badge.blue
{
    background:var(--blue)
}

.split
{
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:28px;
    align-items:start
}

.panel
{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:12px;
    padding:28px
}

.panel>p
{
    font-size:13px;
    color:var(--muted);
    margin:12px 0
}

.panel h3
{
    margin-bottom:12px
}

.feature-list
{
    list-style:none;
    margin:22px 0;
    padding:0;
    display:grid;
    gap:13px;
    font-size:13px
}

.feature-list li::before
{
    content:'✓';
    color:var(--orange);
    margin-right:12px
}

.price-panel
{
    padding:35px
}

.price-panel .big-price
{
    font-size:60px;
    letter-spacing:-.05em;
    line-height:1.2
}

.price-panel .big-price span
{
    font-size:16px;
    letter-spacing:0;
    color:var(--muted)
}

.price-panel .button
{
    width:100%;
    margin-top:20px
}

.notice
{
    padding:14px 17px;
    background:#e9eee4;
    border-radius:6px;
    font-size:12px;
    line-height:1.6;
    margin:20px 0
}

.member-shell
{
    display:grid;
    grid-template-columns:205px 1fr;
    gap:38px;
    padding-top:30px;
    padding-bottom:60px
}

.sidebar
{
    padding-top:8px
}

.sidebar p
{
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:var(--muted);
    margin:20px 10px 12px
}

.sidebar button
{
    display:block;
    text-align:left;
    width:100%;
    border:0;
    background:none;
    border-radius:6px;
    padding:12px;
    font-size:13px;
    margin-bottom:4px
}

.sidebar button.selected
{
    background:#dfe7d9;
    font-weight:700
}

.sidebar button span
{
    float:right;
    font-size:10px
}

.side-member
{
    border-top:1px solid var(--line);
    margin-top:26px;
    padding:20px 10px;
    font-size:12px
}

.side-member b
{
    display:block
}

.member-heading
{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin:0 0 26px
}

.member-heading h1
{
    font-size:43px
}

.member-heading p
{
    font-size:12px;
    color:var(--muted);
    margin-top:10px
}

.continue-card
{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:25px;
    background:var(--sage);
    border-radius:12px;
    padding:28px;
    margin-bottom:30px
}

.continue-card h2
{
    font-size:34px
}

.continue-card p
{
    font-size:12px;
    color:#57695b;
    margin:13px 0 20px
}

.continue-art
{
    min-height:160px;
    align-self:center
}

.continue-art svg
{
    width:100%;
    height:180px
}

.progress
{
    height:5px;
    border-radius:10px;
    background:#bdcdb6;
    overflow:hidden;
    margin:16px 0 10px
}

.progress>span
{
    display:block;
    height:100%;
    background:var(--ink);
    transition:width .2s
}

.portal-grid
{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px
}

.portal-grid .project-art
{
    height:125px
}

.mini-heading
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:26px 0 17px
}

.mini-heading h3
{
    font-size:17px
}

.account-grid
{
    display:grid;
    gap:20px
}

.row-between
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:14px 0;
    border-bottom:1px solid var(--line)
}

.row-between:last-child
{
    border:0
}

.row-between span
{
    font-size:12px;
    color:var(--muted)
}

.row-between b
{
    font-size:13px
}

.thread
{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:10px;
    padding:22px;
    margin-bottom:14px
}

.thread h3
{
    font-size:16px
}

.thread p
{
    font-size:12px;
    color:var(--muted);
    margin-top:9px
}

.thread-top
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-bottom:10px
}

.guide-shell
{
    display:grid;
    grid-template-columns:240px 1fr;
    gap:30px;
    padding-top:24px;
    padding-bottom:40px
}

.steps
{
    border-right:1px solid var(--line);
    padding-right:20px
}

.steps .eyebrow
{
    margin-bottom:20px
}

.steps button
{
    display:flex;
    text-align:left;
    gap:10px;
    align-items:baseline;
    width:100%;
    background:none;
    border:0;
    border-radius:5px;
    padding:11px 8px;
    font-size:11px
}

.steps button.active
{
    background:var(--sage);
    font-weight:700
}

.steps button span
{
    color:var(--muted);
    font-size:10px;
    min-width:19px
}

.guide-main h1
{
    font-size:42px
}

.guide-main>p
{
    font-size:13px;
    color:var(--muted);
    margin:15px 0
}

.lesson-stage
{
    margin-top:22px;
    background:#e2e9dc;
    border:1px solid #d0dccb;
    border-radius:10px;
    padding:22px
}

.lesson-stage .top
{
    display:flex;
    justify-content:space-between;
    font-size:10px;
    letter-spacing:.1em
}

.lesson-stage svg
{
    height:245px;
    width:100%;
    display:block
}

.lesson-controls
{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    padding:15px 0
}

.lesson-controls>div
{
    display:flex;
    gap:8px;
    align-items:center
}

.lesson-controls button
{
    padding:7px 11px;
    font-size:11px
}

.lesson-controls select
{
    font-size:11px;
    padding:7px
}

.affiliate-card
{
    display:flex;
    gap:20px;
    align-items:center;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:10px;
    padding:20px;
    margin-top:20px
}

.tool-icon
{
    font-size:25px;
    width:55px;
    height:55px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:var(--soft);
    color:var(--orange);
    font-family:Georgia,serif;
    flex:none
}

.affiliate-card .copy
{
    flex:1
}

.affiliate-card h3
{
    font-size:14px
}

.affiliate-card p
{
    font-size:11px;
    color:var(--muted);
    margin-top:4px
}

.affiliate-card .badge
{
    margin-bottom:6px;
    font-size:9px
}

.branch-form
{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
    padding:14px 0;
    border-bottom:1px solid var(--line)
}

.branch-form label
{
    flex:1;
    min-width:180px
}

.admin-shell
{
    display:grid;
    grid-template-columns:200px minmax(0,1fr);
    gap:34px;
    padding-top:28px;
    padding-bottom:60px
}

.stats
{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-bottom:26px
}

.stat
{
    padding:20px;
    border:1px solid var(--line);
    border-radius:9px;
    background:var(--white)
}

.stat p
{
    font-size:11px;
    color:var(--muted);
    margin-bottom:9px
}

.stat b
{
    font-size:30px;
    letter-spacing:-.04em
}

.table-wrap
{
    overflow:auto;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:9px
}

table
{
    border-collapse:collapse;
    width:100%;
    font-size:12px
}

th
{
    text-align:left;
    background:#e9eee5;
    font-size:10px;
    letter-spacing:.03em;
    font-weight:600;
    color:#536452
}

td,th
{
    padding:15px 16px;
    border-bottom:1px solid var(--line)
}

tr:last-child td
{
    border-bottom:0
}

td small
{
    display:block;
    color:var(--muted);
    font-size:10px;
    margin-top:4px
}

.editor
{
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:20px
}

.editor label
{
    margin-bottom:16px
}

.admin-note
{
    font-size:11px;
    color:var(--muted);
    margin:14px 0
}

.architecture-grid
{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:28px
}

.architecture-node
{
    padding:25px;
    border:1px solid var(--line);
    border-radius:10px;
    background:var(--white)
}

.architecture-node .eyebrow
{
    margin-bottom:9px
}

.architecture-node h3
{
    font-size:18px
}

.architecture-node p
{
    font-size:12px;
    color:var(--muted);
    margin-top:11px
}

.architecture-node.wide
{
    grid-column:1/-1;
    background:var(--sage)
}

.flow
{
    display:flex;
    align-items:stretch;
    gap:8px;
    margin:25px 0;
    flex-wrap:wrap
}

.flow button
{
    flex:1;
    min-width:120px;
    border:1px solid var(--line);
    background:var(--white);
    border-radius:7px;
    padding:16px 11px;
    text-align:left;
    font-size:12px;
    font-weight:600
}

.flow button.active
{
    background:var(--ink);
    color:white;
    border-color:var(--ink)
}

.flow button small
{
    display:block;
    font-weight:400;
    opacity:.65;
    margin-bottom:7px
}

.flow-detail
{
    padding:23px 28px;
    background:var(--blue);
    border-radius:8px;
    min-height:125px
}

.flow-detail p
{
    font-size:13px;
    color:#53626a;
    margin-top:8px
}

.entity-grid
{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin:22px 0
}

.entity
{
    padding:17px;
    border:1px solid var(--line);
    border-radius:8px;
    font-size:11px;
    background:var(--white)
}

.entity b
{
    display:block;
    font-size:12px;
    margin-bottom:7px
}

.entity span
{
    display:block;
    color:var(--muted)
}

.sources
{
    font-size:12px;
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-top:22px
}

.empty
{
    padding:40px;
    border:1px dashed #bac6b5;
    border-radius:10px;
    color:var(--muted);
    font-size:13px
}

.thank-you
{
    padding:30px;
    text-align:center
}

.thank-you h2
{
    margin-bottom:18px
}

#toast
{
    position:fixed;
    bottom:24px;
    left:50%;
    transform:translateX(-50%);
    background:var(--ink);
    color:white;
    border-radius:8px;
    padding:12px 22px;
    font-size:12px;
    box-shadow:0 5px 24px #0002;
    max-width:90%;
    display:none;
    z-index:50
}

dialog
{
    border:1px solid var(--line);
    border-radius:14px;
    padding:35px;
    max-width:580px;
    width:calc(100% - 32px);
    background:var(--white);
    color:var(--ink)
}

dialog::backdrop
{
    background:#102b2380
}

.dialog-close
{
    position:absolute;
    right:14px;
    top:9px;
    border:0;
    background:none;
    font-size:26px
}

.dialog-copy p
{
    font-size:13px;
    color:var(--muted);
    margin:14px 0
}

.dialog-copy h2
{
    font-size:36px
}

.dialog-copy .button
{
    margin-top:15px
}

.sr-only
{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    overflow:hidden;
    clip:rect(0,0,0,0)
}

@media(min-width:1450px)
{
    .wrap
    {
        max-width:1320px
    }

    .hero
    {
        gap:80px
    }

    .hero-art
    {
        min-height:460px
    }

    .hero-art svg
    {
        height:340px
    }

}

@media(max-width:1000px)
{
    .nav-links
    {
        gap:15px
    }

    .nav-links .optional
    {
        display:none
    }

    .hero
    {
        gap:25px
    }

    .hero-art
    {
        min-height:390px;
        padding:18px
    }

    .hero-art svg
    {
        height:280px
    }

    .wrap
    {
        padding-left:25px;
        padding-right:25px
    }

    .member-shell,.admin-shell
    {
        grid-template-columns:170px minmax(0,1fr);
        gap:22px
    }

    .stats
    {
        grid-template-columns:repeat(2,1fr)
    }

    .continue-card
    {
        grid-template-columns:1fr
    }

    .continue-art
    {
        display:none
    }

    .card-grid
    {
        gap:15px
    }

    .project-card-body
    {
        padding:17px
    }

    .guide-shell
    {
        grid-template-columns:190px 1fr;
        gap:22px
    }

}

@media(max-width:720px)
{
    .concept-bar
    {
        display:block;
        text-align:center;
        font-size:9px
    }

    .concept-bar>span+span
    {
        display:block;
        margin-top:4px;
        opacity:.75
    }

    .view-switch
    {
        gap:3px;
        padding:10px
    }

    .view-switch button
    {
        padding:7px 10px;
        font-size:10px
    }

    .site-header
    {
        padding-top:20px;
        padding-bottom:20px
    }

    .brand
    {
        font-size:13px
    }

    .brand-mark
    {
        padding:7px
    }

    .brand small
    {
        font-size:8px
    }

    .nav-links .text-button
    {
        display:none
    }

    .nav-links .button
    {
        font-size:11px;
        padding:9px 12px
    }

    .hero
    {
        grid-template-columns:1fr;
        padding-top:25px;
        gap:30px;
        padding-bottom:35px
    }

    .hero h1
    {
        max-width:460px
    }

    .hero-copy>p:not(.eyebrow)
    {
        font-size:14px;
        margin:20px 0
    }

    .hero-art
    {
        min-height:360px
    }

    .hero-art svg
    {
        height:245px
    }

    .benefit-strip,.how-grid
    {
        grid-template-columns:1fr;
        gap:20px
    }

    .benefit-strip
    {
        padding:25px 0
    }

    .section
    {
        padding-top:35px;
        padding-bottom:35px
    }

    .card-grid
    {
        grid-template-columns:1fr
    }

    .project-art
    {
        height:190px
    }

    .section-head
    {
        align-items:start
    }

    .section-head .text-button
    {
        white-space:nowrap;
        font-size:11px
    }

    .join-panel
    {
        grid-template-columns:1fr;
        padding:28px
    }

    .join-panel .price
    {
        text-align:left
    }

    .join-panel h2
    {
        font-size:35px
    }

    .price strong
    {
        font-size:49px
    }

    .site-footer
    {
        display:block
    }

    .site-footer>div
    {
        margin-top:16px;
        flex-wrap:wrap
    }

    .split,.form-grid,.architecture-grid,.editor
    {
        grid-template-columns:1fr
    }

    .member-shell,.admin-shell
    {
        grid-template-columns:1fr;
        gap:16px;
        padding-top:10px
    }

    .sidebar
    {
        display:flex;
        gap:6px;
        overflow:auto;
        padding-bottom:8px
    }

    .sidebar>p,.side-member
    {
        display:none
    }

    .sidebar button
    {
        width:auto;
        white-space:nowrap;
        font-size:11px;
        padding:9px 11px;
        margin:0
    }

    .sidebar button span
    {
        margin-left:6px
    }

    .member-heading
    {
        margin-top:12px
    }

    .member-heading h1
    {
        font-size:35px
    }

    .member-heading>.button
    {
        font-size:11px;
        padding:9px
    }

    .continue-card
    {
        padding:23px
    }

    .portal-grid
    {
        grid-template-columns:1fr
    }

    .guide-shell
    {
        grid-template-columns:1fr
    }

    .steps
    {
        display:flex;
        border:0;
        overflow:auto;
        gap:5px;
        padding:0
    }

    .steps .eyebrow
    {
        display:none
    }

    .steps button
    {
        min-width:150px;
        font-size:10px;
        align-items:center
    }

    .guide-main h1
    {
        font-size:35px
    }

    .lesson-stage
    {
        padding:12px
    }

    .lesson-stage svg
    {
        height:210px
    }

    .lesson-controls
    {
        flex-wrap:wrap
    }

    .affiliate-card
    {
        flex-wrap:wrap;
        padding:16px;
        gap:12px
    }

    .affiliate-card .copy
    {
        min-width:150px
    }

    .affiliate-card>.button
    {
        width:100%
    }

    .entity-grid
    {
        grid-template-columns:1fr 1fr
    }

    .architecture-node.wide
    {
        grid-column:auto
    }

    .flow button
    {
        min-width:100px;
        font-size:11px
    }

    .wrap
    {
        padding-left:20px;
        padding-right:20px
    }

    .page-heading
    {
        padding-top:20px
    }

    .page-heading h1
    {
        font-size:41px
    }

}

@media(prefers-reduced-motion:reduce)
{
    *
    {
        scroll-behavior:auto!important;
        transition:none!important
    }

}

/* Iteration 2: clearer navigation, interactive project art and independent embeds. */
.project-card-body .eyebrow
{
    flex:0 0 auto
}

.project-card-body>p:not(.eyebrow)
{
    flex:1
}

.project-card-body h3
{
    min-height:49px
}

.hero h1
{
    font-size:clamp(52px,6.5vw,88px);
    line-height:1.02;
    letter-spacing:-.045em
}

.hero h1 em
{
    position:relative;
    display:inline-block
}

.hero h1 em::after
{
    content:'';
    position:absolute;
    left:2px;
    right:-4px;
    bottom:0;
    height:5px;
    border:1.5px solid var(--orange);
    border-color:var(--orange) transparent transparent;
    border-radius:50%;
    transform:rotate(-3deg)
}

.hero-art
{
    border-radius:3px 18px 3px 18px;
    transform:rotate(1deg);
    box-shadow:7px 9px 0 #dee3d3,8px 10px 0 #bfccb9;
    overflow:visible
}

.hero-art::before
{
    content:'';
    position:absolute;
    top:-10px;
    left:35px;
    width:90px;
    height:23px;
    background:#e9cead9c;
    transform:rotate(-8deg);
    pointer-events:none
}

.hero-art>*
{
    transform:rotate(-1deg)
}

.art-transform svg
{
    transition:opacity .18s;
    max-height:275px;
    margin-top:0
}

.transform-controls
{
    display:flex;
    align-items:center;
    gap:5px;
    margin:-7px 0 20px;
    font-size:11px
}

.transform-controls button
{
    border:1px solid #b6c5af;
    border-radius:5px;
    background:transparent;
    padding:8px 14px;
    font-size:11px;
    min-height:40px
}

.transform-controls button[aria-pressed=true]
{
    background:var(--ink);
    border-color:var(--ink);
    color:white
}

.transform-controls>span
{
    margin-left:auto;
    color:#596d59;
    font-family:Georgia,serif;
    font-style:italic;
    transform:rotate(-5deg)
}

.mobile-menu-toggle
{
    display:none;
    border:1px solid #bec9b7;
    border-radius:5px;
    background:transparent;
    align-items:center;
    gap:10px;
    min-height:44px;
    padding:9px 12px;
    font-size:12px
}

.mobile-navigation
{
    padding-top:4px;
    padding-bottom:18px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px
}

.mobile-navigation button
{
    border:0;
    text-align:left;
    background:#e6ecdf;
    border-radius:5px;
    padding:12px;
    min-height:44px;
    font-size:12px;
    display:flex;
    justify-content:space-between
}

.mobile-navigation [aria-current=page]
{
    background:var(--ink);
    color:white
}

.project-readiness
{
    display:flex;
    gap:8px;
    align-items:center;
    font-size:11px;
    color:#4b6450;
    margin:20px 0
}

.readiness-dot
{
    height:6px;
    width:6px;
    border-radius:50%;
    background:#4f7953
}

.guide-page-top
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:30px
}

.guide-title
{
    max-width:780px;
    margin-bottom:28px
}

.guide-title h1
{
    font-size:clamp(37px,4.2vw,58px)
}

.guide-title>p:last-child
{
    color:var(--muted);
    margin-top:17px;
    max-width:670px;
    font-size:14px
}

.embed-placeholder
{
    border:1px solid #bbc7b4;
    border-radius:13px;
    background:var(--white);
    overflow:hidden
}

.embed-browser-bar
{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 22px;
    background:#e7ecdf;
    font-size:10px;
    letter-spacing:.08em
}

.browser-dots
{
    color:#a2ae95;
    letter-spacing:3px;
    white-space:nowrap
}

.embed-browser-bar .link-button
{
    font-size:10px;
    letter-spacing:0
}

.embed-stage
{
    min-height:540px;
    padding:40px 30px 45px;
    text-align:center;
    position:relative;
    background:radial-gradient(ellipse at center,#f8f8ed,#f2f4e9);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center
}

.embed-stage::before
{
    content:'';
    position:absolute;
    inset:18px;
    border:1px dashed #ccd5bf;
    border-radius:5px;
    pointer-events:none
}

.embed-art
{
    width:260px;
    max-width:70%;
    margin-top:-15px;
    margin-bottom:0
}

.embed-art svg
{
    height:165px;
    width:100%;
    opacity:.8
}

.embed-stage h2
{
    font-size:43px;
    margin:15px 0
}

.embed-stage p
{
    font-size:13px;
    color:var(--muted);
    margin-bottom:22px
}

.embed-stage>.button
{
    position:relative
}

.embed-footer
{
    display:flex;
    justify-content:space-between;
    gap:20px;
    font-size:10px;
    padding:13px 22px;
    border-top:1px solid var(--line);
    color:var(--muted)
}

.guide-support
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    margin-top:30px;
    padding:24px 0
}

.guide-support h3
{
    font-size:17px
}

.guide-support p
{
    font-size:12px;
    max-width:460px;
    margin-top:8px;
    color:var(--muted)
}

@media(max-width:720px)
{
    .mobile-menu-toggle
    {
        display:inline-flex
    }

    .nav-links
    {
        gap:8px
    }

    .nav-links .button
    {
        min-height:44px
    }

    .hero h1
    {
        font-size:clamp(52px,12vw,72px)
    }

    .hero-art
    {
        margin:8px 5px
    }

    .hero-art svg
    {
        height:235px
    }

    .transform-controls button
    {
        min-height:44px
    }

    .transform-controls>span
    {
        font-size:10px
    }

    .text-button,.link-button
    {
        min-height:44px
    }

    .link-button
    {
        display:inline-flex;
        align-items:center
    }

    .project-card-body h3
    {
        min-height:0
    }

    .section-head
    {
        display:block
    }

    .section-head>.text-button
    {
        margin-top:10px
    }

    .guide-page-top
    {
        margin-bottom:20px
    }

    .guide-page-top>.badge
    {
        font-size:9px
    }

    .embed-browser-bar
    {
        padding:14px;
        gap:7px;
        font-size:8px
    }

    .embed-browser-bar>.link-button
    {
        font-size:9px
    }

    .embed-stage
    {
        min-height:440px;
        padding:30px 24px
    }

    .embed-stage h2
    {
        font-size:35px
    }

    .embed-stage::before
    {
        inset:10px
    }

    .embed-footer
    {
        display:block;
        padding:12px 16px
    }

    .embed-footer>span
    {
        display:block
    }

    .guide-support
    {
        display:block;
        padding-top:10px
    }

    .guide-support .button-row
    {
        margin-top:20px
    }

    .brand small
    {
        letter-spacing:.08em
    }

    .nav-links>.button
    {
        display:none
    }

    .member-heading
    {
        align-items:start
    }

    .member-heading>.badge
    {
        font-size:9px
    }

}

/* Iteration 3: purposeful interaction and final accessibility polish. */
.mobile-navigation[hidden]
{
    display:none
}

.dialog-close
{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    top:5px;
    right:7px
}

.project-card
{
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}

.project-card:has(button:focus-visible),.project-card:hover
{
    transform:translateY(-3px);
    border-color:#a8b99e;
    box-shadow:0 12px 30px #19332f08
}

.art-transform.is-changing svg
{
    animation:project-reveal .42s cubic-bezier(.2,.7,.2,1)
}

.art-transform.is-changing svg>g
{
    animation:project-lines .5s ease-out
}

.hero-art
{
    background:linear-gradient(125deg,#e5eadb,#d9e4d1)
}

.hero-copy
{
    position:relative
}

.hero-copy::after
{
    content:'Measure twice.';
    font-family:Georgia,serif;
    font-style:italic;
    font-size:13px;
    color:#87916f;
    position:absolute;
    right:24px;
    bottom:-30px;
    transform:rotate(-7deg)
}

.project-art
{
    position:relative
}

.project-art::after
{
    content:'';
    position:absolute;
    right:15px;
    bottom:12px;
    height:9px;
    width:9px;
    border-right:1px solid #a3ac92;
    border-bottom:1px solid #a3ac92
}

.flow button:focus-visible
{
    outline-offset:4px
}

.flow-detail h3
{
    font-size:18px
}

.review-grid
{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px
}

.review-card
{
    border:1px solid var(--line);
    background:var(--white);
    border-radius:12px;
    overflow:hidden
}

.review-card>a
{
    display:block;
    overflow:hidden;
    border-bottom:1px solid var(--line);
    height:250px;
    background:#e4e9dc
}

.review-card img
{
    display:block;
    width:100%;
    height:auto;
    transition:transform .3s
}

.review-card>a:hover img
{
    transform:translateY(-15px)
}

.review-card>div
{
    padding:22px
}

.review-card>div p:not(.eyebrow)
{
    color:var(--muted);
    font-size:12px;
    margin:15px 0
}

.review-card .eyebrow
{
    margin-bottom:10px
}

.review-card .button
{
    margin-top:8px
}

.review-card h3
{
    font-size:19px
}

.button,.text-button,.link-button,.view-switch button
{
    touch-action:manipulation
}

.embed-browser-bar .link-button
{
    min-height:36px
}

@keyframes project-reveal
{
    from
    {
        transform:translateY(5px) rotate(-1deg) scale(.985);
        opacity:.55
    }

    to
    {
        transform:translateY(0) rotate(0) scale(1);
        opacity:1
    }

}

@keyframes project-lines
{
    from
    {
        stroke-dasharray:600;
        stroke-dashoffset:60
    }

    to
    {
        stroke-dasharray:600;
        stroke-dashoffset:0
    }

}

@media(max-width:720px)
{
    .review-grid
    {
        grid-template-columns:1fr
    }

    .review-card>a
    {
        height:270px
    }

    .review-card img
    {
        width:100%
    }

    .hero-copy::after
    {
        display:none
    }

    .view-switch button
    {
        min-height:40px
    }

    .view-switch
    {
        gap:4px
    }

    .embed-browser-bar
    {
        flex-wrap:wrap
    }

    .embed-browser-bar>span:nth-child(2)
    {
        letter-spacing:.035em
    }

    .guide-support .button-row .button
    {
        flex:1
    }

    .entity-grid
    {
        grid-template-columns:1fr
    }

    .flow button
    {
        min-height:70px
    }

}

@media(prefers-reduced-motion:reduce)
{
    .art-transform.is-changing svg,.art-transform.is-changing svg>g
    {
        animation:none
    }

    .project-card:hover
    {
        transform:none
    }

    .review-card>a:hover img
    {
        transform:none
    }

}

/* Application states use the existing design system. */
[hidden]
{
    display:none!important
}

.skip-link
{
    position:absolute;
    left:16px;
    top:-80px;
    background:var(--ink);
    color:white;
    padding:12px;
    z-index:100
}

.skip-link:focus
{
    top:12px
}

.auth-layout
{
    max-width:560px;
    margin:24px auto 65px
}

.auth-layout h1
{
    font-size:47px
}

.auth-layout form
{
    margin-top:26px
}

.auth-links
{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:22px
}

.form-error
{
    color:#8c2b20;
    background:#fbe8e0;
    border:1px solid #d9a28d;
    border-radius:6px;
    padding:12px;
    font-size:13px
}

.form-error:empty
{
    display:none
}

.status-message
{
    padding:18px;
    background:#e6eddf;
    border-radius:8px;
    margin:18px 0;
    font-size:13px
}

.loading-panel
{
    padding:60px 24px;
    text-align:center
}

.empty-state
{
    padding:32px;
    border:1px dashed #bcc9b5;
    border-radius:10px;
    margin:18px 0
}

.empty-state p
{
    color:var(--muted);
    font-size:13px;
    margin:10px 0 18px
}

.guide-frame
{
    display:block;
    width:100%;
    min-height:680px;
    border:0;
    background:white
}

.guide-frame-stage
{
    position:relative
}

.guide-frame-status
{
    padding:20px;
    color:var(--muted);
    font-size:12px
}

.owner-actions
{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:18px 0
}

.owner-actions .button
{
    font-size:11px
}

.admin-heading
{
    min-width:0
}

.admin-heading h1
{
    overflow-wrap:anywhere
}

.message-body
{
    white-space:pre-wrap;
    overflow-wrap:anywhere
}

.record-list
{
    display:grid;
    gap:16px
}

.record-card
{
    padding:20px;
    border:1px solid var(--line);
    border-radius:9px;
    background:var(--white)
}

.record-card h3
{
    font-size:16px;
    margin:8px 0
}

.record-card p
{
    font-size:13px
}

.record-meta
{
    font-size:11px;
    color:var(--muted);
    margin:8px 0
}

.record-card .button-row
{
    margin-top:15px
}

.auth-name
{
    max-width:150px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
}

.finance-form
{
    margin:18px 0
}

.finance-form .button-row
{
    align-self:end
}

.table-wrap td
{
    vertical-align:top
}

.table-wrap td .button
{
    white-space:nowrap
}

.small-copy
{
    font-size:12px;
    color:var(--muted);
    margin:10px 0
}

.danger
{
    color:#8b3324
}

.field-note
{
    font-size:11px;
    font-weight:400;
    color:var(--muted)
}

.profile-email
{
    overflow-wrap:anywhere
}

.status-band
{
    margin:0 0 20px
}

.guide-editor-stack
{
    display:grid;
    gap:20px
}

.terms-content
{
    max-width:780px
}

.terms-content p,.terms-content li
{
    margin:16px 0;
    color:var(--muted)
}

.dialog-copy .reply-list
{
    max-height:350px;
    overflow:auto
}

.project-card-body .badge
{
    align-self:start
}

.contact-honeypot
{
    position:absolute;
    left:-10000px;
    width:1px;
    height:1px;
    overflow:hidden
}

.banner-link
{
    color:inherit
}

.launch-state
{
    padding:14px;
    margin:15px 0;
    background:#f0e4d4;
    border-radius:6px
}

.file-selection
{
    max-width:100%
}

.catalog-status
{
    font-size:11px;
    color:var(--muted)
}

.error-reference
{
    display:block;
    font-size:11px;
    margin-top:6px;
    overflow-wrap:anywhere
}

.owner-report-panel
{
    margin-bottom:20px
}

.checkbox-label
{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-weight:400;
    font-size:12px
}

.checkbox-label input
{
    flex:none;
    margin-top:4px
}

.readable-title
{
    overflow-wrap:anywhere
}

.mobile-navigation .text-button
{
    text-align:left
}

.empty-library
{
    grid-column:1/-1
}

.member-shell>div,.admin-shell>div
{
    min-width:0
}

.button:disabled:hover
{
    background:var(--ink)
}

.button.secondary:disabled:hover
{
    background:transparent
}

.support-thread
{
    margin:18px 0;
    border-left:2px solid var(--line);
    padding-left:16px
}

.support-thread p
{
    margin-bottom:12px
}

.download-status
{
    font-size:12px;
    color:var(--muted);
    margin-top:12px
}

.back-to-site
{
    margin-top:20px
}

.footer-note
{
    font-size:11px;
    max-width:570px
}

.status-details
{
    display:grid;
    gap:12px
}

.status-details div
{
    padding:10px 0;
    border-bottom:1px solid var(--line)
}

.status-details dt
{
    font-size:11px;
    color:var(--muted)
}

.status-details dd
{
    margin:0;
    font-size:13px;
    overflow-wrap:anywhere
}

.public-service-note
{
    max-width:850px
}

.card-bottom .link-button
{
    flex:none
}

.form-actions
{
    display:flex;
    gap:12px;
    flex-wrap:wrap
}

.local-guide-preview
{
    margin-top:12px
}

.owner-tab-title
{
    font-size:20px;
    margin-bottom:18px
}

.finance-warning
{
    background:#f5e7d5;
    border:1px solid #dcc5a7
}

.file-input-row
{
    display:grid;
    gap:16px
}

.owner-status
{
    font-size:11px;
    color:var(--muted)
}

@media(max-width:720px)
{
    .auth-layout
    {
        padding-left:20px;
        padding-right:20px
    }

    .auth-layout .panel
    {
        padding:24px
    }

    .auth-layout h1
    {
        font-size:39px
    }

    .guide-frame
    {
        min-height:600px
    }

    .nav-links .auth-name
    {
        display:none
    }

    .finance-form .form-grid
    {
        grid-template-columns:1fr
    }

    .owner-actions .button
    {
        flex:1
    }

    .record-card
    {
        padding:17px
    }

    .guide-title h1
    {
        overflow-wrap:anywhere
    }

    .status-band
    {
        font-size:11px
    }

    .form-actions>.button
    {
        flex:1
    }

    .guide-frame-status
    {
        padding:14px
    }

}
.detail-list
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.detail-list dt
{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .65;
    margin-bottom: 7px;
}

.detail-list dd
{
    margin: 0;
    font-size: 16px;
}
.mfa-secret
{
    margin: 22px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.mfa-secret span
{
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.mfa-secret code
{
    display: block;
    overflow-wrap: anywhere;
    user-select: all;
}

.recovery-codes
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.recovery-codes li
{
    padding: 8px 10px;
    background: var(--paper);
    overflow-wrap: anywhere;
}
