/* alyr.ai v2 (CO-280): the site's one stylesheet — the four pages, the not-found page and the privacy notice. Drawn in DEV/20-wireframes/design-project/alyr.ai Site v2/;
   its README's "Responsive behaviour" is built here, the four additions marked "Added". Colours and fonts are the design
   system's tokens, by name, each value checked against DEV/10-design-system/tokens/ (src/build/public-site.test.ts). */
:root{
  --ivory:#FAF6EC;--parchment:#EDE3CE;--navy:#2C3E5A;--navy-tint:#7088A3;--walnut:#2D2A24;--brass:#A8893A;
  --brass-deep:#75601F;--text-secondary:#5A5448;--text-tertiary:#6E675B;--hairline:#E5DDD0;--border-soft:#DCD2BF;
  --border-strong:#C9BCA0;
  --font-display:"TRT Northem","Source Serif 4",Georgia,serif;
  --font-serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --font-ui:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color-scheme:light;
}
@font-face{font-family:"TRT Northem";src:url("/fonts/TRTNorthem-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("/fonts/SourceSerif4-48pt-Light.ttf") format("truetype");font-weight:300;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("/fonts/SourceSerif4-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("/fonts/SourceSerif4-SemiBold.ttf") format("truetype");font-weight:600;font-display:swap}
@font-face{font-family:"Inter";src:url("/fonts/Inter-Regular.ttf") format("truetype");font-weight:400;font-display:swap}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--ivory);color:var(--walnut);font-family:var(--font-serif);overflow-wrap:break-word}
a{color:var(--navy)}
a:hover{color:var(--navy-tint)}
a:focus-visible,summary:focus-visible{outline:2px solid var(--navy-tint);outline-offset:3px;border-radius:2px}
img{display:block;max-width:100%}
p,h1,h2,h3,ul,ol,dl,dd{margin:0}

/* The page frame: a 1120px column, centred. */
.frame{max-width:1120px;margin:0 auto;padding:0 clamp(16px,5vw,64px)}

/* Header: the wordmark left; the nav wraps beneath it on a narrow phone, all four links visible, no menu. */
.site-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:28px 0}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--navy);text-decoration:none}
.brand img{width:32px;height:32px}
.wordmark{font-family:var(--font-display);font-size:28px;line-height:1;letter-spacing:-0.01em}
.site-nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 24px;font-family:var(--font-ui);font-size:15px}
.site-nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.site-nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px;text-decoration-color:var(--brass)}
.site-nav .pill{padding:0 18px;border:1px solid var(--border-strong);border-radius:999px}

/* Type. Nothing under 12px, and 12px only for eyebrows. */
.eyebrow{font-family:var(--font-ui);font-size:12px;letter-spacing:0.12em;text-transform:uppercase;color:var(--brass-deep)}
h1{font-weight:300;font-size:clamp(36px,4.6vw,54px);line-height:1.12;letter-spacing:-0.015em;color:var(--navy)}
.home h1{font-size:clamp(38px,5vw,60px);line-height:1.1}
h2{font-weight:400;font-size:clamp(28px,3.4vw,40px);line-height:1.2;color:var(--navy)}
.lede{font-size:20px;line-height:1.6;color:var(--text-secondary)}
.body{font-size:17px;line-height:1.6;color:var(--text-secondary)}
.body-18{font-size:18px;line-height:1.6;color:var(--text-secondary)}
.note{font-family:var(--font-ui);font-size:14px;line-height:1.5;color:var(--text-tertiary)}
strong{font-weight:600;color:var(--navy)}

/* Links and buttons, each at least 44px tall. */
.more{display:inline-flex;align-items:center;min-height:44px;align-self:flex-start;font-family:var(--font-ui);font-size:15px}
.buttons{display:flex;flex-wrap:wrap;gap:12px;padding-top:4px}
.button{display:inline-flex;align-items:center;min-height:44px;padding:13px 24px;border-radius:999px;font-family:var(--font-ui);font-size:15px;line-height:1.2;text-decoration:none}
.button-primary,.button-primary:hover{background:var(--navy);color:var(--ivory)}
.button-secondary{border:1px solid var(--border-strong);color:var(--navy)}
.button-light,.button-light:hover{background:var(--ivory);color:var(--navy)}

/* Sections. */
.section{padding:80px 0;border-top:1px solid var(--hairline)}
.stack{display:flex;flex-direction:column;gap:40px}
.heading{display:flex;flex-direction:column;gap:12px;max-width:640px}
/* Two columns that wrap to one at about 860px. "Reversed": the picture is drawn on the right, and sits above its text
   on a phone. */
.split{display:flex;flex-wrap:wrap;align-items:center;gap:40px 64px}
.split.reversed{flex-wrap:wrap-reverse}
.split-text{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:14px}
.split-art{flex:1 1 380px;min-width:0}

/* Illustrations: decorative, each in its own ratio box, cropped from the centre. */
.art{width:100%;height:auto;object-fit:cover;object-position:center;border-radius:6px;background:var(--parchment)}
.art-5-4{aspect-ratio:5/4}
.art-4-3{aspect-ratio:4/3}
.art-3-4{aspect-ratio:3/4}
/* Added: once About's intro is one column (its two need 844px: below about 938px wide), its tall picture is never over
   480px tall — 360px wide, its 3:4 kept, centred. */
@media (max-width:940px){.art-3-4{max-width:360px;margin:0 auto}}

/* Card rows: three across on a computer, one on a phone. */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:32px}
.card{display:flex;flex-direction:column;gap:14px}
.card h3{font-weight:600;font-size:22px;color:var(--navy)}

/* Home. */
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:48px;padding:64px 0 96px}
/* 440px, not the drawing's 420: in the design system's 48pt Light, "Stay close, wherever" needs 484px at 60px, and 420
   gives it 482 at 1280px wide; 440 gives 492, so the title sits on two lines as drawn (#393). */
.hero-text{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:24px}
.hero-text .lede{max-width:34ch}
.hero-art{flex:1 1 400px;min-width:0}
.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:32px}
.steps li{display:flex;flex-direction:column;gap:10px;padding-top:20px;border-top:1px solid var(--brass)}
.steps .number{font-weight:300;font-size:32px;color:var(--brass-deep)}
.steps h3{font-weight:600;font-size:20px;color:var(--navy)}
.vega-art{flex:1 1 340px;max-width:460px}
.vega-text{gap:12px}
.vega-text .body{max-width:60ch}
.band{display:flex;flex-direction:column;gap:32px;padding:72px clamp(20px,4vw,56px);margin:24px 0 80px;background:var(--parchment);border-radius:8px}
.promises{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px 40px;font-size:17px;line-height:1.55;color:var(--walnut)}
.promises li{padding-top:14px;border-top:1px solid var(--border-strong)}
.closing{display:flex;flex-wrap:wrap;gap:32px 64px;padding:0 0 80px}
.closing > div{min-width:0;display:flex;flex-direction:column;gap:12px}
.closing .maker{flex:1 1 380px}
.closing .maker h2{font-size:28px;line-height:1.3}
.closing .questions{flex:1 1 320px}
.closing .questions p:not(.eyebrow){font-size:19px;line-height:1.6;color:var(--walnut)}

/* What is alyr. */
.intro{display:flex;flex-direction:column;gap:20px;padding:64px 0 72px;max-width:720px}
.feature{padding:64px 0;border-top:1px solid var(--hairline)}
.feature h2{font-size:32px}
.facets{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:32px 48px;padding:72px 0;border-top:1px solid var(--hairline)}
.facets > div{display:flex;flex-direction:column;gap:10px}
.facets h2{font-weight:600;font-size:20px}
.invite-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:48px clamp(20px,4vw,48px);margin:8px 0 80px;background:var(--navy);border-radius:8px}
.invite-band p{font-size:24px;line-height:1.4;color:var(--ivory);max-width:30ch}

/* About. */
.about-intro{display:flex;flex-wrap:wrap;gap:40px 64px;padding:64px 0 80px}
.about-intro .split-text{flex:2 1 480px;gap:20px}
.about-art{flex:1 1 300px;min-width:0}
.charter{display:flex;flex-direction:column;gap:16px;padding:64px clamp(20px,4vw,56px);background:var(--parchment);border-radius:8px}
.charter h2{font-size:clamp(26px,3vw,34px);line-height:1.3;max-width:30ch}
.charter .body-18{max-width:62ch}
.company{display:flex;flex-wrap:wrap;gap:40px 64px;padding:80px 0}
.company h2{flex:1 1 240px;font-size:28px}
.facts{flex:2 1 480px;min-width:0;display:grid;grid-template-columns:minmax(140px,200px) minmax(0,1fr);font-size:17px;line-height:1.5}
.facts dt,.facts dd{padding:14px 0;border-top:1px solid var(--border-soft)}
.facts dt{font-family:var(--font-ui);font-size:14px;color:var(--text-tertiary)}
.facts dt:last-of-type,.facts dd:last-of-type{border-bottom:1px solid var(--border-soft)}

/* Support. */
.support-intro{display:flex;flex-wrap:wrap;gap:32px 64px;padding:64px 0}
.support-intro .split-text{flex:2 1 460px;gap:18px}
.contact-card{flex:1 1 300px;min-width:0;align-self:flex-start;display:flex;flex-direction:column;gap:12px;padding:28px;background:var(--parchment);border-radius:8px}
.contact-card h2{font-weight:600;font-size:20px}
.contact-card .email{font-size:17px;line-height:1.6}
.contact-card .note{color:var(--text-secondary)}
.faq{padding:16px 0 80px}
.faq > h2{font-size:28px;margin:0 0 16px}
/* Added: real <details>, the first open on load; the whole summary row is the tap target; + turns to − when open. */
.faq details{border-top:1px solid var(--border-soft);padding:4px 0}
.faq details:last-of-type{border-bottom:1px solid var(--border-soft)}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;padding:18px 0;font-size:20px;line-height:1.35;color:var(--navy);cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::marker{content:""}
.faq .sign{flex:none;font-family:var(--font-ui);color:var(--brass-deep)}
.faq .sign::before{content:"+"}
.faq details[open] .sign::before{content:"\2212"}
.faq details p{margin:0 0 20px;max-width:68ch}

/* The not-found page: its one line, centred over a brass rule. */
.notfound{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:120px 0 140px;text-align:center}
.notfound p{font-size:24px;line-height:1.4;color:var(--navy)}
.notfound .rule{width:48px;height:1px;background:var(--brass)}

/* A page written in Markdown (the privacy notice, src/build/public-site.ts): a reading column; a wide table scrolls on
   its own. */
.notice{max-width:40rem;padding:32px 0 64px;font-size:18px;line-height:1.6;color:var(--walnut)}
.notice h1{margin:0 0 8px;font-weight:400;font-size:32px;line-height:1.2;letter-spacing:-0.01em;text-wrap:balance}
.notice h2{margin:40px 0 8px;font-size:23px;line-height:1.3}
.notice h3{margin:28px 0 4px;font-weight:600;font-size:18px;line-height:1.6;color:var(--navy)}
.notice p,.notice ul{margin:0 0 16px}
.notice ul{padding-left:1.25em}
.notice li{margin:0 0 8px}
.notice li::marker{color:var(--brass)}
.notice strong{color:inherit}
.notice a{text-decoration-color:var(--brass);text-underline-offset:3px}
.notice .table{overflow-x:auto;margin:0 0 16px}
.notice table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5}
.notice th{font-family:var(--font-ui);font-weight:400;font-size:12px;letter-spacing:0.08em;text-transform:uppercase;color:var(--text-tertiary);text-align:left;vertical-align:bottom;padding:0 12px 8px 0}
.notice td{border-top:1px solid var(--hairline);vertical-align:top;padding:12px 12px 12px 0}
.notice th:last-child,.notice td:last-child{padding-right:0}
@media (min-width:600px){.notice{padding:48px 0 80px}.notice h1{font-size:40px}}

/* Footer, on every page. */
.site-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:24px;padding:32px 0 48px;border-top:1px solid var(--border-soft);font-family:var(--font-ui);font-size:13px;line-height:1.6;color:var(--text-tertiary)}
.site-footer .company-lines{display:flex;flex-direction:column;gap:4px}
.site-footer nav{display:flex;flex-wrap:wrap;gap:4px 24px}
.site-footer nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}

/* Added, below 600px: sections pad about 48px; About's facts stack, label over value. */
@media (max-width:599px){
  .hero{padding:48px 0}
  .section,.feature,.facets,.company{padding:48px 0}
  .intro,.about-intro,.support-intro{padding:48px 0}
  .band{padding:48px clamp(20px,4vw,56px);margin:16px 0 48px}
  .charter{padding:48px clamp(20px,4vw,56px)}
  .closing{padding:0 0 48px}
  .invite-band{margin:8px 0 48px}
  .faq{padding:16px 0 48px}
  .facts{grid-template-columns:minmax(0,1fr)}
  .facts dt{padding:14px 0 2px}
  .facts dd{padding:0 0 14px;border-top:0}
  .facts dt:last-of-type{border-bottom:0}
}
