/* cornerstonebrowser.com: the app's own palette and fonts (packages/ui tokens): warm paper,
   Literata for display, Hanken Grotesk for text. One reading column; legal pages are long-form. */
:root {
  --bg: #faf7f2; --card: #ffffff; --ink: #2b2620; --muted: #6d6253; --line: #ece5d9;
  --church: #61a3e6; --missions: #2f7d47; --missions-soft: #e4f2e7; --draft: #8a5a12; --draft-soft: #fbefd6;
  --display: "Literata", Georgia, "Times New Roman", serif;
  --text: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #221f1b; --card: #26221e; --ink: #efe8dc; --muted: #a59a8a; --line: #332d27;
    --missions: #7cc48e; --missions-soft: #1f3324; --draft: #e6b45e; --draft-soft: #3a2d16; color-scheme: dark; }
}
* { box-sizing: border-box; }
/* Owner rule: reading text 15pt or larger, which is 20px on a desktop screen. Sizes below are
   in rem, so they scale from this. */
html { -webkit-text-size-adjust: 100%; font-size: 20px; }
@media (max-width: 600px) { html { font-size: 18px; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--church); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right)); }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; }
.brand { font-family: var(--display); font-size: 1.3rem; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.mark { width: 22px; height: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.mark i { border: 2px solid currentColor; border-radius: 2px; }
.mark i:nth-child(3) { background: currentColor; }
nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
main { padding-block: 48px 72px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3rem); margin: 0 0 16px; }
h2 { font-size: 1.5rem; margin: 40px 0 10px; }
h3 { font-size: 1.15rem; margin: 26px 0 6px; }
p, li { max-width: 65ch; }
.lede { font-size: 1.2rem; color: var(--muted); }
.draft { background: var(--draft-soft); color: var(--draft); border-radius: 12px; padding: 14px 18px; font-size: 0.95rem; margin-bottom: 28px; }
.updated { color: var(--muted); font-size: 0.95rem; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 32px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.pillar h3 { margin-top: 0; }
.pillar p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.soon, .btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.soon.outline, .btn.outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 10.5px 20.5px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.eyebrow { color: var(--muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 10px; }
.wrap.wide { max-width: 1080px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(60,40,10,.06), 0 14px 36px rgba(60,40,10,.12); }
.shot figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.hero-shot { margin-top: 40px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 28px; margin-top: 40px; }
.steps { padding-left: 1.4em; }
.steps li { margin-bottom: 8px; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--church); border-radius: 14px; padding: 6px 22px 10px; margin-top: 32px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 44px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.feature img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.feature-text { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.95rem; }
.feature-text .eyebrow { margin: 0; }
.feature-title { font-family: var(--display); font-size: 1.35rem; color: var(--ink); line-height: 1.25; }
.feature:hover { border-color: var(--muted); }
@media (max-width: 640px) { .feature { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .shots { grid-template-columns: 1fr; } }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
.table { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; }
.table table { min-width: 520px; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { padding-block: 24px 40px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
address { font-style: normal; line-height: 1.6; }
