/* Steady's website. Steady's own brand (Steady's docs/design/brand.md), not SlateNine's.
   IDEA: the lower edge of the violet top is Steady's mark, The Curve; the page rises as its newest level.
   COLOUR: the Violet top, the page and white cards by day; Night after dark, following the device. Never black.
   TYPE: SF Pro, the system font, bold for headings; no font file, nothing loaded from anyone but the host.
   LAYOUT: the landing page is the top, three cards and the small print; the other pages are one reading column.
   No JavaScript, nothing kept in the browser. Designed by Claude Fable 5.2, 6 Dec 2026. */
:root{
  --top:linear-gradient(135deg,#9A4DFF 0%,#6A45F5 52%,#3D6BF5 100%);
  --glow:rgba(52,170,255,.7);
  --page:#F3F2FA; --card:#FFFFFF; --ink:#17131F; --ink2:#5A5F6E; --violet:#5B2FE0; --pale:#EEE8FF; --line:#E2DFF0;
  --shadow:0 10px 26px rgba(64,42,140,.16); --shadow-up:0 16px 34px rgba(64,42,140,.24);
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --gutter:clamp(20px,5.5vw,88px); --wide:74rem;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root{
  --page:#130F20; --card:#221C37; --ink:#F4F1FF; --ink2:#BCB7D5; --violet:#C6B6FF; --pale:#2E2463; --line:#332B50;
  --shadow:inset 0 0 0 1px rgba(255,255,255,.075); --shadow-up:inset 0 0 0 1px rgba(255,255,255,.2);
  color-scheme:dark;
}}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.5;overflow-x:clip}
h1,h2,p{margin:0}
img,svg{display:block;max-width:100%}
a{color:var(--violet);text-underline-offset:3px}
a:focus-visible{outline:3px solid currentColor;outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-9999px;top:8px;background:var(--card);color:var(--violet);padding:10px 14px;border-radius:10px;font-weight:700;z-index:10}
.skip:focus{left:8px}
.in{max-width:var(--wide);margin-inline:auto;padding-inline:var(--gutter)}

/* The violet top */
.top{position:relative;background:var(--top);color:#fff;overflow:hidden}
.top::before{content:"";position:absolute;right:-12%;top:-34%;width:62%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,var(--glow),rgba(52,170,255,0));pointer-events:none}
.top > *{position:relative}
.top a{color:#fff}
.bar{display:flex;align-items:center;justify-content:space-between;gap:10px 24px;flex-wrap:wrap;padding-top:22px}
.logo{display:inline-flex;align-items:center;gap:11px;font-weight:700;font-size:22px;letter-spacing:-.01em;text-decoration:none}
.logo svg{width:42px;height:42px;flex:none}
.nav{display:flex;gap:6px 22px;flex-wrap:wrap;font-size:15.5px;font-weight:600}
.nav a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current="page"]{border-bottom-color:rgba(255,255,255,.75)}

/* The landing page's top: the words, and The Curve as the edge */
.hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);align-items:end;max-width:var(--wide);margin-inline:auto;padding-left:var(--gutter)}
.hero .words{padding:clamp(40px,6vw,76px) 0 clamp(52px,6.5vw,84px);display:flex;flex-direction:column;align-items:flex-start}
.hero h1{font-size:clamp(33px,5.3vw,62px);font-weight:700;letter-spacing:-.025em;line-height:1.06;text-wrap:balance}
.hero .sub{font-size:clamp(17px,1.9vw,23px);font-weight:600;opacity:.9;margin-top:.55em}
.hero .line{font-size:clamp(17px,1.75vw,21px);line-height:1.45;margin-top:1.15em;max-width:31em}
.pill{display:inline-flex;align-items:center;gap:9px;margin-top:1.7em;padding:10px 18px;border-radius:999px;font-weight:700;font-size:clamp(14.5px,1.4vw,16.5px);
  background:rgba(255,255,255,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.pill::before{content:"";width:.62em;height:.62em;border-radius:50%;background:#FFC65C}
.curve{width:100%;height:clamp(250px,36vw,470px)}
.curve .l1{fill:rgba(255,255,255,.16)} .curve .l2{fill:rgba(255,255,255,.3)} .curve .l3{fill:var(--page)}
@media (max-width:760px){
  .hero{grid-template-columns:minmax(0,1fr);padding-left:0}
  .hero .words{padding:34px var(--gutter) 0}
  .curve{height:clamp(150px,44vw,250px);margin-top:26px}
}

/* The three cards */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:26px}
.card{display:flex;align-items:center;gap:14px;background:var(--card);color:var(--ink);border-radius:20px;box-shadow:var(--shadow);padding:20px 20px;text-decoration:none;min-height:84px}
.card:hover{box-shadow:var(--shadow-up)}
@media (prefers-reduced-motion:no-preference){.card{transition:box-shadow .18s ease,transform .18s ease}.card:hover{transform:translateY(-2px)}}
.tile{flex:none;width:46px;height:46px;border-radius:13px;background:var(--pale);color:var(--violet);display:grid;place-items:center}
.tile svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card b{display:block;font-size:18px;font-weight:700;line-height:1.25}
.card small{display:block;font-size:14.5px;color:var(--ink2);line-height:1.35;margin-top:2px}
.card .go{margin-left:auto;color:var(--ink2);font-size:22px;line-height:1;font-weight:600}
@media (max-width:860px){.cards{grid-template-columns:minmax(0,1fr);gap:10px;padding-top:18px}.card{padding:15px 16px;min-height:0}}

.after{display:flex;flex-direction:column;gap:14px;padding-top:30px;padding-bottom:34px}
.small{font-size:14.5px;line-height:1.55;color:var(--ink2);max-width:62em}
.pub{font-size:15px;font-weight:600;color:var(--ink2)}
.pub a{font-weight:700;text-decoration:none}
.pub a:hover{text-decoration:underline}

/* The reading pages */
.title{padding-top:clamp(30px,5vw,54px);padding-bottom:clamp(28px,4.5vw,46px)}
.title h1{font-size:clamp(31px,4.6vw,48px);font-weight:700;letter-spacing:-.022em;line-height:1.1;text-wrap:balance}
.read{padding-top:clamp(26px,4vw,44px);padding-bottom:44px}
.read > *{max-width:41rem}
.read > * + *{margin-top:1em}
.read h2{font-size:clamp(21px,2.4vw,25px);font-weight:700;letter-spacing:-.012em;line-height:1.2;margin-top:1.9em;text-wrap:balance}
.read h2 + *{margin-top:.6em}
.read .dated{font-size:14.5px;font-weight:600;color:var(--ink2)}
.read a{font-weight:600}
.read .act{display:inline-flex;align-items:center;gap:8px;background:var(--pale);color:var(--violet);font-weight:700;text-decoration:none;padding:12px 18px;border-radius:14px}
.read .act:hover{text-decoration:underline}
.note{background:var(--card);box-shadow:var(--shadow);border-radius:18px;padding:16px 18px}

/* Every page's foot: where to go, and who publishes Steady */
.foot{border-top:1px solid var(--line);padding-top:20px;padding-bottom:calc(30px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:12px;font-size:13.5px;line-height:1.6;color:var(--ink2)}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 22px;font-size:14.5px;font-weight:600}
.foot nav a{text-decoration:none}
.foot nav a:hover{text-decoration:underline}
.foot a{color:var(--violet)}
.foot .co a{color:inherit}
