/* Shared by every public page: fonts, palette, header and footer.
   Night is the default. Day is chosen with the toggle and remembered alongside the workspace's theme. */
@font-face { font-family: Alegreya; src: url('/public-site/alegreya.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: Alegreya; src: url('/public-site/alegreya-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Alegreya Sans'; src: url('/public-site/alegreya-sans-500.woff2') format('woff2'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Alegreya Sans'; src: url('/public-site/alegreya-sans-700.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Alegreya Sans'; src: url('/public-site/alegreya-sans-800.woff2') format('woff2'); font-weight: 800 900; font-display: swap; }

:root {
  color-scheme: dark;
  --serif: Alegreya, Georgia, 'Times New Roman', serif;
  --sans: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --width: 1180px;

  --bg: #0a1124;
  --bg-2: #0f1830;
  --panel: #141e3a;
  --panel-2: #1b2748;
  --line: #2b3862;
  --text: #f6eedf;
  --text-2: #d9d6d6;
  --muted: #aab3cc;
  --lantern: #ffc46b;
  --ember: #ff8a6b;
  --accent-fill: #ffc46b;
  --accent-fill-hover: #ffd894;
  --accent-ink: #231203;
  --focus: #ffe2a8;
}
:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f6f2ea;
  --bg-2: #ede6d6;
  --panel: #fffdf8;
  --panel-2: #f5eedf;
  --line: #d9ccb2;
  --text: #10233c;
  --text-2: #2d3d55;
  --muted: #4d5a70;
  --lantern: #99500a;
  --ember: #b83d1c;
  --accent-fill: #b83d1c;
  --accent-fill-hover: #9c3216;
  --accent-ink: #fff;
  --focus: #0b5d78;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.6; overflow-wrap: break-word; }
main { display: block; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--width), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 20; padding: 10px 16px; border-radius: 6px; background: var(--accent-fill); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.site-head { position: relative; z-index: 5; border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-family: var(--serif); font-size: 25px; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand img { display: block; border-radius: 10px; }
.brand .dot { color: var(--ember); }
.site-head nav { display: flex; gap: 4px; margin-inline-start: auto; font-size: 17px; font-weight: 500; }
.site-head nav a { padding: 8px 12px; border-radius: 6px; color: var(--text-2); text-decoration: none; }
.site-head nav a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 10%, transparent); }
.site-head nav a[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--lantern); border-radius: 6px 6px 0 0; }
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.theme-toggle:hover { border-color: var(--lantern); color: var(--lantern); }
.theme-toggle[hidden] { display: none; }
.theme-toggle .icon-sun { display: none; }
[data-theme='light'] .theme-toggle .icon-sun { display: block; }
[data-theme='light'] .theme-toggle .icon-moon { display: none; }

.site-foot { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 48px 28px; font-size: 16.5px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-tag { margin: 14px 0 0; color: var(--muted); }
.foot-title { margin: 0 0 10px; color: var(--text); font-weight: 700; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a:not(.brand) { color: var(--muted); text-decoration: none; }
.site-foot a:not(.brand):hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.foot-base p { margin: 0; }

@media (max-width: 720px) {
  .site-head .wrap { justify-content: space-between; }
  .site-head nav { order: 3; width: 100%; margin: 0 -12px; justify-content: space-between; }
  .site-head nav a { padding: 8px 10px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Quotid's two pages keep their own look, by the owner's decision (2026-10-10): own palette and type,
   only the shared header and footer changed. These are the previous public styles, narrowed to what
   those pages use and scoped to <main> so they cannot touch the shared frame. */
@font-face{font-family:Bricolage;src:url('/public-site/bricolage.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Inter;src:url('/public-site/inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
.quotid{--ink:#0d0d12;--bg:#0d0d12;--bg-2:#0d0d12;--panel:#13131a;--line:#303040;--text:#f0f0f5;--text-2:#d1cfdf;--muted:#aaaabc;--coral:#a294ff;--ember:#a294ff;--lantern:#a294ff;--gold:#c6bfff;--focus:#c6bfff;--project-primary:#7c6af7;background:radial-gradient(ellipse at 85% 5%,#7c6af711,transparent 32%),var(--ink)}
.quotid .site-head .wrap,.quotid .site-foot .wrap{width:100%;max-width:1440px;padding-inline:6%}
.quotid .site-head .brand,.quotid .site-foot .brand{font-family:Bricolage,'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:-.045em}
.quotid main{font-family:Inter,system-ui,sans-serif;font-size:16px;line-height:1.75}
main a{color:inherit;text-decoration:none}main a:hover{color:var(--coral)}main a:focus-visible{outline:2px solid var(--gold);outline-offset:6px}
main h1,main h2,main h3{font-family:Bricolage,'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:-.045em;line-height:1.12}main h1,main h2,main h3,main p{margin:0}main h1{font-size:clamp(3rem,5.3vw,5.4rem);font-weight:700}main h2{font-size:clamp(2.1rem,3.5vw,3.6rem);font-weight:650}main h3{font-size:1.5rem}main p+p{margin-top:1.1rem}
.accent{color:var(--coral)}.lead{font-size:clamp(1.1rem,1.4vw,1.35rem);line-height:1.7}.quotid .lead{color:#d1cfdf}.muted{color:var(--muted)}
.hero,.section,.page-intro{max-width:1440px;margin:auto;padding:95px 6%}.hero{position:relative;display:grid;grid-template-columns:1.25fr 1fr;align-items:center;min-height:740px;padding-top:95px;padding-bottom:55px;overflow:hidden}.eyebrow{font-size:11px;font-weight:650;letter-spacing:.16em;text-transform:uppercase;color:var(--coral);margin-bottom:26px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--project-primary);margin-right:8px}.hero h1 span{color:var(--coral)}.hero .lead{max-width:540px;margin-top:28px}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:34px}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;background:#705deb;color:#fff;padding:13px 20px;border-radius:12px;font-size:14px;font-weight:700}main a.button:hover,.button:hover{background:#6551df;color:#fff}.text-link{font-size:14px;font-weight:600;display:inline-block}.hero-facts{display:flex;flex-wrap:wrap;gap:28px;margin-top:55px;padding-top:24px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);max-width:555px}.hero-facts strong{display:block;color:var(--text);font-size:13px;font-weight:500}
.section{border-top:1px solid var(--line)}.split{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:start}.split p{color:var(--muted)}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:60px}.practice-grid article{padding:30px;border:1px solid var(--line);border-radius:20px;background:var(--panel)}.practice-grid article>span{font-size:11px;color:var(--coral)}.practice-grid h3{font-size:21px;margin:20px 0 15px}.practice-grid p{font-size:14px;color:var(--muted)}.page-intro{padding-bottom:65px}.page-intro .lead{max-width:700px;margin-top:26px}
@media(max-width:900px){.hero{grid-template-columns:1fr;min-height:auto;padding-top:65px}.hero-copy{z-index:1}.section,.page-intro{padding:65px 6%}.split{grid-template-columns:1fr;gap:32px}.practice-grid{grid-template-columns:1fr;gap:14px;margin-top:35px}.practice-grid article{padding:25px}.hero-facts{gap:22px}.hero-actions{flex-wrap:wrap;gap:22px}}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted);margin-bottom:44px}.breadcrumbs a:hover{color:var(--coral)}.breadcrumbs [aria-current]{color:var(--text)}
.project-icon{border-radius:22%;margin-bottom:20px;display:block}.project-attribution{font-size:13px;color:var(--muted);margin-top:18px}.split .text-link,.split .button{margin-top:28px}
.quotid-hero{grid-template-columns:1.12fr 1fr;gap:5%;align-items:center;padding-top:52px;padding-bottom:76px;min-height:820px}.quotid-hero h1{font-size:clamp(4.8rem,7.5vw,7.5rem);line-height:1}.quotid-hero .lead{font-size:19px}.quotid-hero .hero-facts{gap:22px}.quotid-hero .hero-actions{gap:20px}.quotid-hero .breadcrumbs{margin-bottom:42px}.quotid-hero .eyebrow{margin-bottom:20px}
.phone-pair{position:relative;display:flex;align-items:center;gap:18px;padding:34px 0 45px;background:radial-gradient(ellipse,#7c6af724,transparent 68%)}.phone-shot{margin:0;min-width:0}.phone-screen{position:relative;aspect-ratio:375 / 844;overflow:hidden;border-radius:24px;border:1px solid #444052;box-shadow:0 18px 45px #0005;background:#0d0d12}
/* Captures are 390px wide. Clip their 15px web scrollbar without retouching source images. */
.phone-screen img{display:block;width:104%;max-width:none;height:auto}.hero-phone{width:48%;flex-shrink:0;transform:translateY(-20px) rotate(-4deg)}.hero-phone+.hero-phone{transform:translateY(20px) rotate(4deg)}.capture-note{position:absolute;bottom:-12px;left:0;width:100%;font-size:11px;line-height:1.6;text-align:center;color:var(--muted)}
.section-lead{max-width:760px;margin-top:26px}.media-disclosure{font-size:12px;color:var(--muted);max-width:840px;line-height:1.8;margin-top:22px}.screenshot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin-top:44px}.screenshot-grid .phone-screen{border-radius:20px}.phone-shot figcaption{margin-top:24px}main .phone-shot h3{font-size:20px;line-height:1.25}.phone-shot figcaption p{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.7}
.technology-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:42px 0 0;border-top:1px solid var(--line)}.technology-grid>div{padding:28px 24px 28px 0;border-bottom:1px solid var(--line)}.technology-grid dt{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--coral);margin-bottom:14px}.technology-grid dd{margin:0;color:var(--muted);font-size:14px;max-width:300px}
.provider-list{margin-top:40px;border-top:1px solid var(--line)}.provider-list article{display:grid;grid-template-columns:1fr 2fr;gap:30px;padding:25px 0;border-bottom:1px solid var(--line)}main .provider-list h3{font-size:24px}.provider-list p{font-size:14px;color:var(--muted);max-width:690px}.engineering-note{padding:32px;border:1px solid var(--line);border-radius:20px;background:var(--panel);margin-top:36px}.engineering-note h3{margin-bottom:16px}.engineering-note p{font-size:14px;color:var(--muted)}
.relationship{background:linear-gradient(125deg,#7c6af70c,transparent)}.relationship .lead{max-width:860px;margin-top:30px}.relationship .text-link{margin-top:26px}.timeline{padding-top:0}.milestone{display:grid;grid-template-columns:1fr 2fr;gap:9%;padding:42px 0;border-top:1px solid var(--line)}.milestone-number{font-family:Bricolage,system-ui;font-size:34px;color:var(--coral)}.milestone-date p{color:var(--text);font-size:13px;margin-top:12px}.milestone-kind{display:block;color:var(--muted);font-size:11px;margin-top:8px}main .milestone h2{font-size:clamp(1.7rem,2.5vw,2.5rem);margin-bottom:20px}.milestone>div>p{color:var(--muted)}
@media(max-width:1100px){.screenshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}.screenshot-grid .phone-shot{max-width:320px;margin:auto}.quotid-hero .hero-facts{flex-wrap:wrap}.technology-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.quotid-hero{grid-template-columns:1fr;padding-top:38px;gap:35px}.quotid-hero .lead{font-size:18px}.phone-pair{max-width:500px;width:100%;margin:0 auto}.quotid-hero .hero-facts{margin-top:34px}.milestone{grid-template-columns:1fr;gap:20px}.milestone-date{display:flex;align-items:baseline;flex-wrap:wrap;gap:16px}.milestone-kind{width:100%;margin-top:0}.milestone-date p{margin-top:0}.breadcrumbs{margin-bottom:34px}}
@media(max-width:520px){.screenshot-grid{gap:32px 18px}.screenshot-grid .phone-screen{border-radius:14px}main .phone-shot h3{font-size:17px}.phone-shot figcaption p{font-size:11px}.phone-pair{gap:14px;padding:26px 6px 42px}.phone-screen{border-radius:18px}.hero-phone{width:47%}.technology-grid{grid-template-columns:1fr}.technology-grid dd{max-width:none}.provider-list article{grid-template-columns:1fr;gap:12px}main .provider-list h3{font-size:22px}.engineering-note{padding:24px}.quotid-hero .hero-facts{gap:20px}.quotid-hero .hero-facts strong{font-size:12px}main .quotid-hero h1{font-size:4.8rem}}
