/* =====================================================================
   WORDS ON PAPER SKIN FOR THE ACCOUNT AND SITE PAGES
   Served as /account/skin.css. Loaded after the page's own stylesheet on:
   sign in, create account, password recovery, account, membership and
   pricing, invitations, welcome after sign-up, roadmap, feedback, and the
   reader room. Roadmap and feedback load their own stylesheet inside the
   page, so their rules here start with 'body' to stay on top.
   Sections: fonts, tokens, base, header, headings, forms, buttons,
   notices and cards, membership, roadmap, feedback, reader room, small screens.
   ===================================================================== */

@font-face{font-family:'Bodoni Moda';font-style:normal;font-weight:400 800;font-display:swap;src:url('/fonts/bodoni-moda-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Bodoni Moda';font-style:normal;font-weight:400 800;font-display:swap;src:url('/fonts/bodoni-moda-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Bodoni Moda';font-style:italic;font-weight:400 800;font-display:swap;src:url('/fonts/bodoni-moda-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Bodoni Moda';font-style:italic;font-weight:400 800;font-display:swap;src:url('/fonts/bodoni-moda-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/instrument-sans-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/instrument-sans-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ---------- Tokens ---------- */
:root{color-scheme:light;--ink:#2e1a26;--ink-soft:#4a3b42;--muted:#6e5b66;--grey:#e4e1de;--blush:#f1e9e2;--light:#f8f4f0;--orange:#d9541c;--orange-hover:#c24814;--peach:#f2a97f;--night:#0a1322;--night-text:#f3ece3;--night-soft:#b9b2aa;--line:rgba(46,26,38,.17);--line-strong:rgba(46,26,38,.3);--display:'Bodoni Moda','Didot','Bodoni 72',Georgia,serif;--ui:'Instrument Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;font-family:var(--ui);color:var(--ink);background:var(--grey)}

/* ---------- Base ---------- */
body{font-family:var(--ui);color:var(--ink);background:var(--grey);-webkit-font-smoothing:antialiased}
p{color:var(--ink-soft)}
a{color:var(--ink);text-decoration-color:var(--orange);text-underline-offset:4px}
a:hover{color:var(--orange)}
::selection{background:rgba(242,169,127,.5)}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--orange);outline-offset:3px}

/* ---------- Header ---------- */
header{max-width:1240px;padding:30px clamp(20px,4vw,56px)}
.brand{font-family:var(--display);font-weight:700;font-size:28px;letter-spacing:-.01em;color:var(--ink)}
.brand em{font-style:italic;color:var(--orange)}
.brand span{display:none}
nav{gap:clamp(16px,2.6vw,34px);align-items:center;font-size:14px}
nav a{text-decoration:none;color:var(--ink)}
nav a:hover{color:var(--orange)}

/* ---------- Headings ---------- */
main{max-width:760px}
.eyebrow{font-size:10.5px;letter-spacing:.24em;font-weight:500;color:var(--muted)}
.eyebrow::before{content:'';display:block;width:28px;height:2px;background:var(--orange);margin-bottom:16px}
h1{font-family:var(--display);font-weight:700;font-size:clamp(46px,6vw,76px);line-height:1;letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
h2{font-family:var(--display);font-weight:700;letter-spacing:-.015em;color:var(--ink)}
h3{font-family:var(--display);font-weight:700;color:var(--ink)}
.intro{font-family:var(--ui);font-size:clamp(18px,1.5vw,21px);line-height:1.45;color:var(--ink-soft)}

/* ---------- Forms ---------- */
label{font-size:13px;font-weight:600;color:var(--ink)}
input,select,textarea{font-family:var(--ui);border:1px solid var(--line-strong);background:var(--light);border-radius:8px;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(217,84,28,.16)}
input[type=checkbox],input[type=radio]{accent-color:var(--orange)}

/* ---------- Buttons ---------- */
button,.button{background:var(--orange);color:#fff8f2;border-radius:999px;padding:14px 28px;font:500 15px var(--ui)}
button:hover,.button:hover{background:var(--orange-hover);filter:none;color:#fff8f2}
.secondary,button.secondary,.button.secondary{background:transparent;color:var(--ink);border:1px solid var(--line-strong)}
.secondary:hover{background:transparent;border-color:var(--ink);color:var(--ink)}

/* ---------- Notices and cards ---------- */
.muted,footer{color:var(--muted)}
footer{border-top:1px solid var(--line);padding-top:26px}
.error{color:#8a2f12;background:#f8e3d8;border:1px solid #efc2a8;border-radius:6px}
.success{background:var(--light);border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:6px}
.card{background:var(--light);border:1px solid var(--line);border-radius:6px}
.human-promise{background:var(--night);color:var(--night-text);border-radius:6px;padding:22px 26px;margin:0 0 30px}
.human-promise strong{display:block;font-family:var(--display);font-size:24px;margin-bottom:6px;color:var(--night-text)}
.human-promise p{color:var(--night-soft);margin:0}
.rows article{border-bottom:1px solid var(--line)}
details{border-top:1px solid var(--line)}
summary{font-family:var(--display);font-weight:700;font-size:20px}

/* ---------- Membership and pricing ---------- */
.trial-note{background:var(--blush);border:1px solid var(--line);border-radius:6px;color:var(--ink)}
.price-card{background:var(--light);border:1px solid var(--line);border-radius:6px}
.price-card.yearly{background:var(--night);border-color:var(--night);color:var(--night-text)}
.price-card.yearly h2,.price-card.yearly .price span{color:var(--night-text)}
.price-card.yearly p,.price-card.yearly .price{color:var(--night-soft)}
.price-card h2{font-family:var(--display);font-weight:700}
.price span{font-family:var(--display);font-weight:700;color:var(--ink)}
.feature-grid p{color:var(--muted)}
.feature-grid strong{color:var(--ink)}

/* ---------- Roadmap ---------- */
body .roadmap-top{border-color:var(--line)}
body .roadmap-top span{font-family:var(--display);font-style:italic;color:var(--ink)}
body .roadmap-note,body .roadmap-caption,body .roadmap-count{color:var(--muted)}
body .roadmap-column h2{font-family:var(--display);font-weight:700}
body .roadmap-dot{background:var(--line-strong)}
body .roadmap-dot.building{background:var(--peach)}
body .roadmap-dot.available{background:var(--orange)}
body .roadmap-card{background:var(--light);border:1px solid var(--line);border-radius:6px;box-shadow:none}
body .roadmap-empty{background:transparent;border:1px dashed var(--line-strong);border-radius:6px}
body .roadmap-empty>p:first-child{font-family:var(--display);font-style:italic}
body .roadmap-tag{letter-spacing:.22em;color:var(--orange)}
body .roadmap-card h3{font-family:var(--display);font-weight:700}
body .roadmap-card p:not(.roadmap-tag){color:var(--ink-soft)}
body .roadmap-card small{color:var(--muted)}
body .roadmap-suggest{background:var(--night);color:var(--night-text);border-radius:6px}
body .roadmap-suggest h2{font-family:var(--display);font-weight:700;color:var(--night-text)}
body .roadmap-suggest p,body .roadmap-suggest label{color:var(--night-soft)}
body .roadmap textarea,body .roadmap-admin textarea{background:var(--light);border:1px solid var(--line-strong);border-radius:8px;font-family:var(--ui);color:var(--ink)}
body .roadmap textarea:focus,body .roadmap-admin textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(217,84,28,.2)}
body .roadmap-receipt{background:var(--blush);border:1px solid var(--line);border-radius:6px}
body .roadmap-admin summary{font-family:var(--display)}

/* ---------- Feedback ---------- */
body .feedback-manuscript{background:var(--light);border:1px solid var(--line);border-radius:6px}
body .feedback-manuscript h4{font-family:var(--display);color:var(--muted)}
body .feedback-comment{border-left:3px solid var(--orange);background:var(--blush)}
body #feedback-projects button{background:transparent;color:var(--ink);border:1px solid var(--line-strong)}
body #feedback-projects button:hover{border-color:var(--orange);color:var(--orange)}
body #feedback-content textarea,body #feedback-content select{border:1px solid var(--line-strong);border-radius:8px;background:var(--light)}

/* ---------- Reader room ---------- */
body.reader-room{font-family:var(--ui)}
body.reader-room header a{font-family:var(--display);font-weight:700;font-size:28px;color:var(--ink)}
body.reader-room header a em{color:var(--orange)}
body.reader-room header span{letter-spacing:.24em;color:var(--muted);font-family:var(--ui)}
body.reader-room h1{font-family:var(--display)}
body.reader-room .author{font-family:var(--display);font-style:italic;color:var(--ink-soft)}
body.reader-room h2{font-family:var(--display);font-weight:700}
body.reader-room article{background:#fffdfa;border:1px solid var(--line);border-radius:4px;padding:clamp(28px,5vw,64px)}
body.reader-room nav{border:1px solid var(--line);border-radius:6px;background:var(--light)}
body.reader-room #writing-history{border-top:1px solid var(--line)}
body.reader-room #writing-history summary{font-family:var(--display)}
body.reader-room .history-notice,body.reader-room .history-arrival{background:var(--blush)}
body.reader-room footer{border-top:0;background:var(--night);color:var(--night-soft);max-width:none;margin:0;padding:26px}

/* ---------- Small screens ---------- */
@media(max-width:650px){h1{font-size:42px}.brand{font-size:24px}}

/* The reading copy itself stays in a book face, for long reading. */
body.reader-room article p:not(.author):not(.published){font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;color:var(--ink)}
body.reader-room .published{font-family:var(--ui);color:var(--muted)}

/* ---------- Bodoni weight ----------
   Bodoni Moda changes its hairlines with size. Left to the browser, large
   headlines get the display cut, whose thin strokes almost vanish. The landing
   hero turns that off; this does the same everywhere on these pages. */
*{font-optical-sizing:none!important}  /* !important because older rules use the "font" shorthand, which quietly turns it back on */

/* Pricing: the Free card and the "Yours to keep" card (night card, like the old yearly one). */
.plan-card{background:var(--light);border:1px solid var(--line);border-radius:6px}
.plan-card h2{font-family:var(--display);font-weight:700}
.tick-list li:before{border-color:var(--orange)}
.own-note{background:var(--blush);color:var(--ink)}
.plan-own{background:var(--night);border-color:var(--night);color:var(--night-text)}
.plan-own h2,.plan-own .price span{color:var(--night-text)}
.plan-own .plan-sub,.plan-own .price,.plan-own .eyebrow,.plan-own .plan-free-note{color:var(--night-soft)}
.plan-own .plan-switch{background:transparent}
.plan-own .plan-switch::before{background:rgba(255,255,255,.09)}
.plan-own .plan-panels{background:transparent}
.plan-own .plan-switch label{color:var(--night-soft)}
.plan-own .plan-switch input:checked+label{background:var(--light);color:var(--ink)}
.plan-own .own-note{background:rgba(255,255,255,.1);color:var(--night-text)}
.plan-own .tick-list li:before{border-color:var(--orange)}
