/* My Yarnist: tokens from the Yarnist brand guide (same values as the main site). */
:root {
  --cream: #fcf8f1; --white: #ffffff; --plum: #361a42; --plum-lifted: #4b2e57;
  --fathom: #025065; --amber: #f2b23d; --verm: #f05a3c; --pink-pale: #fbd3dc;
  --bg: var(--cream); --bg-raised: var(--white); --ink: var(--plum);
  --ink-soft: rgba(54, 26, 66, 0.72); --rule: rgba(54, 26, 66, 0.14);
  --link: var(--fathom); --link-line: var(--fathom);
  --field-bg: var(--white); --field-border: rgba(54, 26, 66, 0.66); --focus: var(--fathom);
  --font-display: 'Literata', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-body: 1.1875rem; /* 19px */
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: var(--plum); --bg-raised: var(--plum-lifted); --ink: var(--cream);
    --ink-soft: rgba(252, 248, 241, 0.76); --rule: rgba(252, 248, 241, 0.18);
    --link: var(--cream); --link-line: var(--amber);
    --field-bg: var(--plum-lifted); --field-border: rgba(252, 248, 241, 0.5); --focus: var(--amber);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--t-body); line-height: 1.7; min-height: 100dvh; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 38rem; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: 2.75rem; } h2 { font-size: 1.9rem; }
p, ul, ol, dl { margin: 0 0 1.25em; }
a { color: var(--link); font-weight: 700; text-decoration: underline; text-decoration-color: var(--link-line); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.top { border-bottom: 1px solid var(--rule); }
.top .wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: block; line-height: 0; text-decoration: none; }
.logo { height: 40px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .logo-light { display: none; }
  :root:not([data-theme='light']) .logo-dark { display: block; }
}
:root[data-theme='dark'] .logo-light { display: none; }
:root[data-theme='dark'] .logo-dark { display: block; }
main.wrap { padding-top: 3rem; padding-bottom: 5rem; }
.hint { color: var(--ink-soft); font-size: 1rem; }
.btn { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; line-height: 1; padding: 0.9em 1.5em; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--bg); }
.btn-primary { background: var(--verm); border-color: var(--verm); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--verm); border-color: var(--verm); color: var(--white); filter: brightness(0.92); }
.btn-block { display: block; width: 100%; }
.stack > * + * { margin-top: 0.9rem; }
label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
input[type='email'] { width: 100%; font: inherit; padding: 0.8em 1em; border-radius: 10px; border: 2px solid var(--field-border); background: var(--field-bg); color: var(--ink); }
.notice { border-left: 6px solid var(--amber); background: var(--bg-raised); padding: 0.9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.5rem; }
.or { display: flex; align-items: center; gap: 1rem; color: var(--ink-soft); margin: 1.5rem 0; }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--rule); }
.cards { list-style: none; padding: 0; display: grid; gap: 1rem; }
.cards a { display: block; padding: 1.1rem 1.3rem; background: var(--bg-raised); border: 1px solid var(--rule); border-radius: var(--radius); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.5rem; }
dl.facts dt { font-weight: 700; } dl.facts dd { margin: 0; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 48rem) { h1 { font-size: 2.1rem; } .wrap { padding: 0 1rem; } }
