/* Cairn — marketing site. Plain CSS, no build step. */

:root {
  --paper: #f6f4ef;
  --paper-2: #efece5;
  --card: #fbfaf7;
  --ink: #1d1d1b;
  --ink-2: #3a3936;
  --muted: #6d6b65;
  --faint: #9a978f;
  --line: rgba(29, 29, 27, .1);
  --line-2: rgba(29, 29, 27, .16);
  --stone: #4a4946;
  --moss: #5d7461;
  --radius: 20px;
  --wrap: 1180px;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: #d9d3c4; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.wrap-narrow { width: min(760px, calc(100% - 48px)); margin: 0 auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 500 15.5px/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s;
}
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 18px -8px rgba(0,0,0,.5); }
.btn-ink:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-ghost:hover { background: rgba(0,0,0,.03); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 24px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--muted);
  padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--card);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.eyebrow b { font-weight: 600; color: var(--ink); background: #e6e1d6; border-radius: 999px; padding: 2px 9px; font-size: 12px; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.015em; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.hero h1 { font-family: var(--display); font-size: clamp(46px, 7.4vw, 92px); line-height: .98; margin: 26px auto 0; max-width: 13ch; }
.hero h1 em, .section-title em { font-style: italic; color: var(--stone); }
.hero .lede { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); max-width: 40ch; margin: 22px auto 0; line-height: 1.55; }
.cta-row { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 32px; flex-wrap: wrap; }
.dl-meta { font-size: 13px; color: var(--faint); margin-top: 14px; }

/* ---------- The Mac (stage) ---------- */
.stage-wrap { margin-top: 56px; }
.display-frame {
  position: relative; margin: 0 auto; width: min(1240px, calc(100% - 32px));
  padding: 14px; border-radius: 26px;
  background: linear-gradient(180deg, #2b2b2a, #161615);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 1px 0 rgba(255,255,255,.12) inset,
    0 60px 120px -50px rgba(40, 32, 20, .55),
    0 30px 60px -30px rgba(40, 32, 20, .35);
}
.screen { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 13px; background: #ccc; touch-action: pan-y; }
.stand { width: 210px; height: 74px; margin: 0 auto; background: linear-gradient(180deg, #c9c6bf, #e4e1da 40%, #d3d0c9); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.stand-foot { width: 330px; height: 10px; margin: 0 auto; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #d9d6cf, #bdbab3); box-shadow: 0 22px 30px -12px rgba(0,0,0,.25); }
@media (max-width: 720px) {
  .display-frame { padding: 7px; border-radius: 16px; }
  .screen { border-radius: 9px; }
  .stand { width: 120px; height: 36px; }
  .stand-foot { width: 190px; height: 6px; }
}

.scene-bar { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 34px; }
.scenes { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; flex-wrap: wrap; justify-content: center; }
.scene-tab {
  position: relative; overflow: hidden;
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 500 14px/1 var(--sans); height: 36px; padding: 0 16px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.scene-tab:hover { color: var(--ink); }
.scene-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.scene-tab .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: rgba(255,255,255,.55); }
.scene-tab.playing .prog { animation: prog var(--dur, 8s) linear forwards; }
@keyframes prog { to { width: 100%; } }
.scene-caption { max-width: 62ch; text-align: center; color: var(--muted); font-size: 15.5px; min-height: 3.2em; margin: 0 auto; }
.scene-caption b { color: var(--ink); font-weight: 600; }
.look-switch { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--faint); flex-wrap: wrap; justify-content: center; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); box-shadow: 0 0 0 1px var(--line) inset; }
.seg button { border: 0; background: transparent; font: 500 12.5px/1 var(--sans); color: var(--muted); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--line) inset; }
.kbd { font: 500 11.5px/1 var(--mono); padding: 3px 6px; border-radius: 6px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2) inset, 0 1px 0 var(--line-2); color: var(--ink-2); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.kicker { font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--moss); }
.section-title { font-family: var(--display); font-size: clamp(38px, 5vw, 62px); line-height: 1.02; margin-top: 16px; max-width: 18ch; }
.section-lede { color: var(--muted); font-size: 18.5px; max-width: 54ch; margin: 18px 0 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-title, .section-head.center .section-lede { margin-left: auto; margin-right: auto; }

/* Three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px/1 var(--sans); }
.step h3 { font: 600 18px/1.3 var(--sans); margin: 20px 0 8px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cell { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; padding: 30px; display: flex; flex-direction: column; min-height: 340px; }
.cell h3 { font: 600 19px/1.3 var(--sans); letter-spacing: -.012em; }
.cell p { color: var(--muted); font-size: 15.5px; margin: 8px 0 0; max-width: 44ch; }
.cell .demo { margin-top: auto; padding-top: 26px; }
.c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; } .c-2 { grid-column: span 2; }
@media (max-width: 960px) { .c-4, .c-3, .c-2 { grid-column: span 6; } }
.cell.dark { background: #1d1d1b; color: #f3f1ec; box-shadow: none; }
.cell.dark p { color: #a9a69e; }

/* OCR demo */
.ocr { position: relative; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(0,0,0,.3); overflow: hidden; font: 13px/1.5 -apple-system, BlinkMacSystemFont, var(--sans); }
.ocr-bar { height: 30px; background: #f1f0ed; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #e7e5e0; }
.ocr-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dedbd4; }
.ocr-body { padding: 18px 22px 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.ocr-body .l { color: #333; }
.ocr-body .l div { margin: 5px 0; position: relative; width: fit-content; }
.ocr-body .l .h { font-weight: 600; font-size: 15px; color: #111; }
.ocr-body .l .dim { color: #8b8a86; }
.ocr-body .box { position: absolute; inset: -3px -6px; border-radius: 5px; border: 1.5px solid #3b82f6; background: rgba(59,130,246,.08); opacity: 0; }
.ocr.run .box { animation: boxin .5s ease forwards; }
.ocr.run .l div:nth-child(1) .box { animation-delay: .3s } .ocr.run .l div:nth-child(2) .box { animation-delay: .5s }
.ocr.run .l div:nth-child(3) .box { animation-delay: .7s } .ocr.run .l div:nth-child(4) .box { animation-delay: .9s }
.ocr.run .l div:nth-child(5) .box { animation-delay: 1.1s }
@keyframes boxin { to { opacity: 1; } }
.ocr-scan { position: absolute; left: 0; right: 0; top: 30px; height: 60px; background: linear-gradient(180deg, transparent, rgba(59,130,246,.16), transparent); opacity: 0; pointer-events: none; }
.ocr.run .ocr-scan { animation: scan 1.6s ease-in-out; }
@keyframes scan { 0% { opacity: 0; transform: translateY(-40px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(180px); } }
.ocr-out { border-left: 1px solid #eeece7; padding-left: 20px; font-size: 12px; color: #6b6a65; }
.ocr-out .q { display: flex; gap: 6px; align-items: center; background: #f3f2ee; border-radius: 999px; padding: 6px 12px; color: #222; font-size: 12.5px; }
.ocr-out .hit { margin-top: 12px; line-height: 1.5; }
.ocr-out mark { background: #ffe58a; color: inherit; border-radius: 3px; padding: 0 2px; }
.reads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.reads span { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }

/* Rename demo */
.rn { display: grid; gap: 8px; font: 13px/1.3 -apple-system, BlinkMacSystemFont, var(--sans); }
.rn-row { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.rn-ic { width: 26px; height: 32px; border-radius: 4px; background: #e9e7e2; position: relative; }
.rn-ic.pdf { background: linear-gradient(#fff,#fff) padding-box; box-shadow: 0 0 0 1px #e2dfd8 inset; }
.rn-ic.pdf::after { content: "PDF"; position: absolute; bottom: 3px; left: 2px; right: 2px; font: 700 6.5px/1.4 var(--sans); background: #e3544a; color: #fff; text-align: center; border-radius: 2px; }
.rn-ic.img { background: linear-gradient(160deg, #8ec5e8, #f3d9a4 60%, #e9b676); }
.rn-ic.png { background: linear-gradient(#f4f3f0 30%, #d9e4f5 30%); box-shadow: 0 0 0 1px #e2dfd8 inset; }
.rn-old { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); font-size: 12px; }
.rn-new { color: var(--ink); font-weight: 500; min-height: 1.3em; }
.rn-new .caret { display: inline-block; width: 1.5px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Collections demo */
.colls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.coll { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.coll .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.coll .ic svg { width: 18px; height: 18px; }
.coll b { display: block; font-weight: 500; font-size: 13.5px; line-height: 1.25; }
.coll small { color: var(--faint); font-size: 12px; }

/* Sources demo */
.srcs { display: flex; flex-wrap: wrap; gap: 8px; }
.src-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; }
.src-chip i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 10.5px/1 var(--sans); font-style: normal; }
.src-chip small { color: var(--faint); font-size: 12px; }

/* Everywhere demo */
.every { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.widget { border-radius: 22px; padding: 16px; background: linear-gradient(160deg, #ffffff, #f3f1ec); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -22px rgba(0,0,0,.35); font: 12px/1.3 -apple-system, BlinkMacSystemFont, var(--sans); }
.widget h4 { margin: 0 0 10px; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: 6px; }
.widget h4 img { width: 16px; height: 16px; }
.widget li { list-style: none; display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); }
.widget li:first-child { border-top: 0; }
.widget li span:last-child { color: var(--faint); flex: none; }
.widget ul { margin: 0; padding: 0; }
.places { display: grid; gap: 8px; align-content: start; }
.place { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.place svg { width: 18px; height: 18px; color: var(--stone); flex: none; }
.place small { margin-left: auto; color: var(--faint); font-size: 12px; }
@media (max-width: 560px) { .every, .colls { grid-template-columns: 1fr; } }

/* Safety list */
.safe { display: grid; gap: 10px; font-size: 14px; }
.safe div { display: flex; gap: 10px; align-items: flex-start; }
.safe svg { width: 18px; height: 18px; flex: none; color: #9fc6a4; margin-top: 2px; }
.hist { margin-top: 18px; border-radius: 14px; background: rgba(255,255,255,.06); padding: 6px 14px; font-size: 13px; }
.hist div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); }
.hist div:first-child { border-top: 0; }
.hist button { border: 0; background: rgba(255,255,255,.1); color: #fff; font: 500 12px/1 var(--sans); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.hist button:hover { background: rgba(255,255,255,.18); }
.hist .done { color: #8e8b84; }

/* Looks demo */
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.look { border: 0; padding: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.look .lk { height: 120px; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 38% 1fr; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.look[aria-pressed="true"] .lk { box-shadow: 0 0 0 2px var(--ink); }
.look:hover .lk { transform: translateY(-2px); }
.look .lk .s { background: #f0efec; padding: 10px 8px; display: grid; gap: 6px; align-content: start; }
.look .lk .s i { height: 8px; border-radius: 4px; background: #d8d6d0; }
.look .lk .s i.sel { background: #2a2a28; }
.look .lk .m { background: #fbfbfa; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.look .lk .m i { height: 34px; border-radius: 6px; background: #ecebe7; }
.look.colour .lk .s i:nth-child(2) { background: #ed8c45; } .look.colour .lk .s i:nth-child(3) { background: #e3544a; } .look.colour .lk .s i:nth-child(4) { background: #38a86b; }
.look.colour .lk .s i.sel { background: #2f7cf6; }
.look.colour .lk .m i:nth-child(1) { background: #fde2cf; } .look.colour .lk .m i:nth-child(2) { background: #dceafd; } .look.colour .lk .m i:nth-child(3) { background: #d6f1e1; } .look.colour .lk .m i:nth-child(4) { background: #fbd9d6; }
.look span { display: block; font-size: 13.5px; font-weight: 500; margin-top: 10px; }
.look small { color: var(--faint); font-size: 12px; }

/* Privacy band */
.band-dark { background: #1b1b19; color: #f1efe9; }
.band-dark .section-lede, .band-dark .muted { color: #a7a49c; }
.band-dark .kicker { color: #9fc6a4; }
.band-dark .section-title em { color: #c9c4b8; }
.priv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.priv div { background: #1f1f1d; padding: 30px; }
.priv h3 { font: 600 17px/1.3 var(--sans); margin: 16px 0 8px; }
.priv p { margin: 0; color: #a7a49c; font-size: 15px; }
.priv svg { width: 26px; height: 26px; color: #d8d3c7; }
@media (max-width: 860px) { .priv { grid-template-columns: 1fr; } }
.net-note { margin-top: 28px; font-size: 14.5px; color: #a7a49c; display: flex; gap: 10px; align-items: flex-start; max-width: 70ch; }
.net-note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #9fc6a4; }

/* Free */
.free { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.price-card { border-radius: 26px; padding: 36px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset, 0 40px 80px -50px rgba(60,48,30,.35); }
.price { display: flex; align-items: baseline; gap: 12px; }
.price b { font: 400 76px/1 var(--display); letter-spacing: -.02em; }
.price span { color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; font-size: 15.5px; }
.price-card li { display: flex; gap: 10px; }
.price-card li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--moss); }
.req { font-size: 13px; color: var(--faint); margin-top: 14px; }
@media (max-width: 860px) { .free { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 500 18px/1.35 var(--sans); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; margin-top: 6px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-4px, -4px); }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 66ch; }

/* Final CTA */
.final { text-align: center; padding: 120px 0 130px; }
.final img { width: 104px; height: 104px; margin: 0 auto 26px; filter: drop-shadow(0 18px 30px rgba(60,48,30,.25)); }
.final h2 { font-family: var(--display); font-size: clamp(40px, 5.6vw, 70px); line-height: 1; }

/* Footer (laid out like FnScribe's: brand, link columns, disclaimer, bottom row) */
.site-footer { background: #1b1b19; color: rgba(243, 241, 236, .72); padding: 64px 0 34px; font-size: 14px; line-height: 1.6; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 38px; }
.site-footer .brand { color: #f3f1ec; font-size: 20px; }
.site-footer .brand img { width: 30px; height: 30px; }
.site-footer a { color: rgba(243, 241, 236, .78); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: #9fc6a4; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 30em; }
.footer-brand .brand { margin-bottom: 4px; }
.footer-tagline { margin: 0; font: 400 22px/1.2 var(--display); color: #f3f1ec; }
.footer-about { margin: 0; color: rgba(243, 241, 236, .58); }
.site-footer .footer-dl { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; background: #f3f1ec; color: #1b1b19; font-weight: 500; font-size: 13.5px; }
.site-footer .footer-dl:hover { background: #fff; color: #1b1b19; text-decoration: none; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col small { display: block; font-size: 12.5px; color: rgba(243, 241, 236, .45); }
.footer-heading { margin: 0 0 4px; font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #9fc6a4; }
.footer-disclaimer { padding: 20px 22px; border: 1px solid rgba(243, 241, 236, .14); border-radius: 16px; background: rgba(243, 241, 236, .05); }
.footer-disclaimer p { margin: 0; font-size: 13px; line-height: 1.65; color: rgba(243, 241, 236, .58); }
.footer-disclaimer strong { font-weight: 600; color: rgba(243, 241, 236, .85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(243, 241, 236, .1); font-size: 13px; color: rgba(243, 241, 236, .55); }
.footer-legal { margin: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.footer-love { display: inline-flex; vertical-align: -1px; color: #e5484d; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { font-size: 13px; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 760px) {
  .site-footer { padding: 44px 0 28px; }
  .site-footer .wrap { gap: 28px; }
  .footer-disclaimer { padding: 18px; }
  .footer-disclaimer p { font-size: 12.5px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Prose pages */
.prose { padding: 80px 0 100px; }
.prose h1 { font-family: var(--display); font-size: clamp(44px, 6vw, 68px); line-height: 1; margin-bottom: 18px; }
.prose h2 { font: 600 21px/1.3 var(--sans); margin: 40px 0 10px; letter-spacing: -.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose .date { color: var(--faint); font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .section { padding: 84px 0; }
  .hero { padding-top: 48px; }
  .cell { padding: 24px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 720px) {
  .scenes { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; justify-content: flex-start; scrollbar-width: none; border-radius: 999px; }
  .scenes::-webkit-scrollbar { display: none; }
  .scene-tab { flex: none; }
  .look-switch > span { display: none; }
}

/* Small demos added with the full feature list */
.qline { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 14px/1.2 -apple-system, BlinkMacSystemFont, var(--sans); margin-top: 8px; }
.qline svg { width: 14px; height: 14px; color: var(--faint); flex: none; }
.sens { display: grid; gap: 8px; font: 13px/1.3 -apple-system, BlinkMacSystemFont, var(--sans); }
.sens div { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.sens small { color: var(--faint); font-size: 12px; }
.tag-k { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #fbe3df; color: #a8372b; text-align: center; }

/* Everything in Cairn: three ruled columns */
.all-feats-head { margin-top: 110px; margin-bottom: 40px; }
.all-feats-head a { color: var(--ink); text-underline-offset: 3px; }
.all-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; }
.all-feats h3 { font: 600 15px/1 var(--sans); letter-spacing: .02em; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.all-feats dl { margin: 0; }
.all-feats dt { font-weight: 600; font-size: 15.5px; margin-top: 14px; display: flex; gap: 8px; align-items: center; letter-spacing: -.005em; }
.all-feats dd { margin: 3px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 960px) { .all-feats { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- What's new (layout from FnScribe's page, in Cairn's colours) ----------
   One group per release day. The date sits in a sticky rail and gets a stone marker while you read
   it; the rule beside the entries fills as you scroll; each entry's square turns moss once passed. */
.crumbs { display: flex; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; font-size: 14px; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--ink); }
.wn-hero { padding: 64px 0 0; }
.wn-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
.wn-hero h1 { font-family: var(--display); font-size: clamp(52px, 7vw, 96px); line-height: .95; margin-top: 16px; max-width: 9ch; }
.wn-hero h1 em { color: var(--stone); }
.wn-hero .lede { color: var(--muted); font-size: 18.5px; max-width: 34em; margin: 20px 0 0; }
.wn-hero .cta-row { justify-content: flex-start; margin-top: 28px; }
.wn-latest-head { font: 600 14px/1 var(--sans); letter-spacing: .02em; margin-bottom: 12px; }
.wn-latest ol { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.wn-latest li { border-bottom: 1px solid var(--line-2); }
.wn-latest a { display: grid; grid-template-columns: 58px minmax(0, 1fr) 18px; align-items: baseline; gap: 12px; padding: 14px 4px; text-decoration: none; }
.wn-latest a::after { content: "→"; color: var(--faint); transition: transform .2s, color .2s; }
.wn-latest a:hover::after { transform: translateX(3px); color: var(--ink); }
.wn-latest time { color: var(--faint); font-size: 14px; font-variant-numeric: tabular-nums; }
.wn-latest b { font: 400 21px/1.2 var(--display); letter-spacing: -.005em; }
.wn-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin: 72px 0 0; border-top: 1.5px solid var(--ink); }
.wn-figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.wn-figures dd { margin: 0; font: 400 clamp(48px, 5.4vw, 76px)/.95 var(--display); letter-spacing: -.02em; }
.wn-figures dt { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.4; max-width: 26ch; }

.wn-sec { padding: 72px 0 110px; }
.wn-filter {
  position: sticky; top: 74px; z-index: 20;
  display: flex; gap: 4px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  margin: 0 0 64px; padding: 5px; border-radius: 999px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line) inset, 0 10px 30px -18px rgba(60,48,30,.35), 0 -14px 0 2px var(--paper);
}
.wn-filter::-webkit-scrollbar { display: none; }
.wn-filter button { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px; border: 0; border-radius: 999px; background: none; font: 500 14px/1 var(--sans); color: var(--muted); cursor: pointer; }
.wn-filter button:hover { color: var(--ink); background: var(--paper-2); }
.wn-filter button span { color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.wn-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.wn-filter button[aria-pressed="true"] span { color: rgba(255,255,255,.6); }

.wn-day { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 64px; }
.wn-day + .wn-day { margin-top: 96px; }
.wn-day .when { position: sticky; top: 150px; align-self: start; }
.wn-day .when h2 { margin: 0; font: 400 clamp(34px, 3.4vw, 46px)/1 var(--display); color: var(--faint); }
.wn-day .when h2 span {
  color: var(--ink);
  background: linear-gradient(100deg, transparent .4%, #e2dac8 1.4%, #e2dac8 97%, transparent 99%) 0 88% / 0% .4em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .5s cubic-bezier(.2,.8,.2,1);
}
.wn-day .when h2 time { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.wn-day.is-current .when h2 span { background-size: 100% .4em; }
.wn-day .when small { display: block; margin-top: 12px; color: var(--muted); font: 500 14px/1.35 var(--sans); }
.wn-scribble { margin: 12px 0 0; font: italic 400 24px/1 var(--display); color: var(--moss); }

.wn-day .list { position: relative; padding-left: 34px; border-left: 1px solid var(--line-2); }
.wn-day .list::before { content: ""; position: absolute; left: -2px; top: 0; width: 3px; height: var(--p, 0%); background: var(--ink); border-radius: 0 0 2px 2px; }
.wn-entry { position: relative; padding: 28px 0 36px; border-top: 1px solid var(--line-2); scroll-margin-top: 160px; }
.wn-entry:first-child { padding-top: 0; border-top: 0; }
.wn-entry::before { content: ""; position: absolute; left: -40px; top: 35px; width: 11px; height: 11px; border-radius: 3px; background: var(--paper); border: 1.5px solid var(--line-2); transition: background .3s, border-color .3s; }
.wn-entry:first-child::before { top: 7px; }
.wn-entry.passed::before { background: var(--moss); border-color: var(--moss); }
.wn-entry.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 28px 44px; align-items: center; }
.wn-entry:target h3 { background: #ece6d8; box-shadow: 0 0 0 6px #ece6d8; border-radius: 2px; }
.wn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--faint); font-size: 14px; }
.wn-meta time { font-variant-numeric: tabular-nums; }
.wn kbd { font: 500 12.5px/1 var(--mono); padding: 3px 7px; border-radius: 6px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2) inset, 0 1px 0 var(--line-2); color: var(--ink-2); }
.wn-entry .cat { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 500; }
.wn-entry .cat::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--moss); }
.wn-entry h3 { margin: 12px 0 0; font: 400 clamp(26px, 2.6vw, 34px)/1.1 var(--display); text-wrap: balance; }
.wn-entry p { margin: 10px 0 0; color: var(--muted); font-size: 16.5px; line-height: 1.6; max-width: 62ch; }
.wn-entry ul { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 62ch; }
.wn-entry li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.wn-entry li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 2px; background: #c9c1ae; }
.wn-entry[hidden], .wn-day[hidden] { display: none !important; }

/* Sketches beside the bigger updates (decorative) */
.wn-vis { padding: 20px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset, 0 24px 50px -36px rgba(60,48,30,.4); font: 14px/1.45 -apple-system, BlinkMacSystemFont, var(--sans); }
.wn-vis .lbl { display: block; color: var(--faint); font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.wn-vis p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.v-q { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.v-q::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--faint); flex: none; }
.v-row, .v-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.v-row b, .v-card b { display: block; font-size: 13.5px; font-weight: 600; }
.v-row small, .v-card small { color: var(--faint); font-size: 12px; }
.v-card { justify-content: space-between; }
.v-card > b + small { margin-right: auto; margin-left: 8px; }
.v-ic.mail { width: 30px; height: 30px; border-radius: 8px; background: #e6eefc; flex: none; position: relative; }
.v-ic.mail::after { content: ""; position: absolute; inset: 9px 7px; border: 1.6px solid #4085ed; border-radius: 2px; }
.v-tg { width: 30px; height: 18px; border-radius: 9px; background: #34c759; position: relative; flex: none; }
.v-tg::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.v-tg.off { background: #d6d3cc; } .v-tg.off::after { right: auto; left: 2px; }
.v-btn { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.v-k { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #fbe3df; color: #a8372b; }
.v-ans { font-size: 16px !important; color: var(--ink) !important; }
.v-ans sup, .v-src sup { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 9.5px; font-weight: 700; vertical-align: 3px; }
.v-badge { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin-right: 4px; }
.v-badge.ok { background: rgba(47,163,107,.14); color: #1f8a57; }
.v-src { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--paper-2); font-size: 12.5px; color: var(--muted); }
.v-src mark { background: #ffe58a; color: inherit; border-radius: 3px; padding: 0 2px; }
.v-sw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.v-sw i { aspect-ratio: 4 / 3; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.v-note { font-size: 12.5px !important; color: var(--muted) !important; }
.v-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--paper-2); font-size: 12px; color: var(--ink-2); }
.v-before { color: var(--faint) !important; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); font-size: 13px !important; }
.v-after { font-weight: 600; color: var(--ink) !important; padding: 8px 12px; border-radius: 10px; background: rgba(47,163,107,.12); }
.wn-dark { background: #1d1d1b; box-shadow: none; text-align: center; padding: 30px 20px; }
.wn-dark img { margin: 0 auto 14px; }
.v-launch { font: 400 24px/1.15 var(--display) !important; color: #f3f1ec !important; }

.wn-note { margin: 88px 0 0; padding-top: 18px; border-top: 1.5px solid var(--ink); color: var(--muted); font-size: 15.5px; max-width: 62ch; }
.wn-note a { color: var(--ink); }
.wn-end { padding: 100px 0 110px; background: var(--paper-2); border-top: 1px solid var(--line); }
.wn-end .dl-meta { margin-top: 16px; }
.nav-links a[aria-current="page"] { color: var(--ink); }

@media (max-width: 900px) {
  .wn-hero-grid { grid-template-columns: 1fr; }
  .wn-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .wn-day { grid-template-columns: 1fr; }
  .wn-day + .wn-day { margin-top: 64px; }
  .wn-day .when { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 22px; }
  .wn-day .when small, .wn-scribble { margin-top: 0; }
  .wn-day .when h2 time { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
  .wn-day .list { padding-left: 22px; }
  .wn-entry::before { left: -28px; }
  .wn-entry.feat { grid-template-columns: minmax(0, 1fr); }
  .wn-filter { top: 70px; margin-bottom: 44px; }
}
@media (max-width: 760px) { .wn-hero { padding-top: 40px; } .wn-sec { padding: 48px 0 80px; } }
@media (prefers-reduced-motion: reduce) { .wn-day .when h2 span, .wn-entry::before { transition: none; } }
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
