/* The Community website. Lifted from the Companion concept site (areas/community/styles.css, 16 Oct 2026)
   with the .community-site scoping removed: here the site is the whole page. */

@import url("tokens.css");

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link { position:absolute; left:-999px; top:auto; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background:var(--white); padding:10px 14px; border-radius:10px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(248,245,240,.86);
  border-bottom: 1px solid rgba(32,22,33,.06);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 78px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  position: relative;
  display: inline-block;
  background: linear-gradient(145deg, var(--mulberry), var(--mulberry-dark));
  box-shadow: 0 8px 18px rgba(87,37,68,.23);
}
.brand-mark::before, .brand-mark::after {
  content:"";
  position:absolute;
  border-radius:50%;
  background: var(--sky);
}
.brand-mark::before { width:11px; height:11px; left:7px; top:7px; }
.brand-mark::after { width:11px; height:11px; right:7px; bottom:7px; }
.brand-text small { display:block; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--mulberry-soft); margin-top:-3px; }
.nav-links { display:flex; align-items:center; gap:22px; margin-left:auto; }
.nav-links a { text-decoration:none; font-size:14px; font-weight:650; color:rgba(32,22,33,.8); white-space:nowrap; }
.nav-links a:hover { color:var(--mulberry); }
.nav-actions { display:flex; gap:10px; }
.nav-actions .btn { white-space:nowrap; }
/* A signed-in Citizen's Handle where the doors were: a plain link, cut off with an ellipsis if it is long. */
.nav-handle { align-self:center; max-width:16ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-decoration:none; font-size:14px; font-weight:650; color:var(--mulberry); }
.menu-toggle { display:none; border:0; background:transparent; padding:8px; }
.btn {
  appearance:none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 760;
  font-size: 14px;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: var(--white); background: var(--mulberry); box-shadow: 0 10px 24px rgba(87,37,68,.18); }
.btn-primary:hover { background: var(--mulberry-dark); }
.btn-secondary { background: var(--white); border-color: var(--line); color: var(--mulberry); }
.btn-secondary:hover { border-color: rgba(87,37,68,.35); }
.btn-sky { background: var(--sky); color: var(--mulberry-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-lg { padding: 15px 22px; font-size:15px; }
.hero {
  position:relative;
  overflow:hidden;
  min-height: 760px;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 78% 18%, rgba(143,215,232,.32), transparent 25%),
    radial-gradient(circle at 5% 85%, rgba(87,37,68,.12), transparent 27%),
    var(--cream);
}
.hero::after {
  content:"";
  position:absolute;
  width: 520px; height:520px;
  right:-170px; bottom:-220px;
  border-radius:50%;
  border: 80px solid rgba(87,37,68,.04);
}
.hero-inner {
  width:100%; max-width:var(--max); margin:0 auto; padding:90px 24px 92px;
  display:grid; grid-template-columns: 1.1fr .9fr; gap:70px; align-items:center;
}
.eyebrow {
  display:inline-flex; align-items:center; gap:9px;
  text-transform:uppercase; letter-spacing:.14em; font-size:12px; font-weight:800;
  color:var(--mulberry);
}
.eyebrow::before { content:""; width:28px; height:2px; background:var(--sky-deep); }
h1, h2, h3 { line-height:1.05; margin:0; letter-spacing:-.045em; }
h1 { font-size: clamp(52px, 6.8vw, 94px); max-width: 820px; }
h2 { font-size: clamp(38px, 4.7vw, 64px); }
h3 { font-size: 25px; }
.lead { font-size: clamp(19px, 2vw, 25px); max-width: 720px; color: rgba(32,22,33,.75); margin:26px 0 0; line-height:1.45; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.hero-note { margin-top:20px; font-size:13px; color:rgba(32,22,33,.57); }
.hero-visual { position:relative; min-height:520px; }
.orbit {
  position:absolute; inset:0; border-radius:50%;
  border:1px solid rgba(87,37,68,.14);
  transform:scale(.9);
}
.orbit::before, .orbit::after {
  content:""; position:absolute; inset:12%; border-radius:50%; border:1px dashed rgba(87,37,68,.15);
}
.orbit::after { inset:28%; border-style:solid; background:rgba(255,255,255,.45); }
.core {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:190px; height:190px; border-radius:50%;
  display:grid; place-items:center; text-align:center; padding:25px;
  color:var(--white);
  background:linear-gradient(145deg,var(--mulberry),var(--mulberry-dark));
  box-shadow:0 40px 80px rgba(52,21,43,.28);
  z-index:3;
}
.core strong { font-size:28px; letter-spacing:-.04em; }
.core span { display:block; opacity:.74; font-size:12px; margin-top:4px; text-transform:uppercase; letter-spacing:.12em; }
.node {
  position:absolute; width:145px; padding:16px 17px; background:rgba(255,255,255,.92);
  border:1px solid rgba(32,22,33,.08); border-radius:18px; box-shadow:0 18px 45px rgba(32,22,33,.1); z-index:4;
}
.node strong { display:block; color:var(--mulberry); font-size:14px; }
.node span { display:block; margin-top:4px; color:rgba(32,22,33,.6); font-size:12px; }
.node-a { top:6%; left:6%; }
.node-b { top:5%; right:2%; }
.node-c { left:-1%; bottom:11%; }
.node-d { right:-2%; bottom:8%; }
.node-dot { display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--sky-deep); margin-right:7px; }
.section { padding: 112px 24px; }
.section-tight { padding: 78px 24px; }
.container { max-width: var(--max); margin:0 auto; }
.section-head { max-width:820px; margin-bottom:52px; }
.section-head p { font-size:19px; color:rgba(32,22,33,.68); max-width:720px; }
.problem-grid { display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.problem-card {
  min-height: 300px; padding:34px; border-radius:var(--radius); position:relative; overflow:hidden;
  background:var(--white); border:1px solid rgba(32,22,33,.07); box-shadow:var(--shadow);
}
.problem-card.dark { background:var(--mulberry-dark); color:var(--white); }
.problem-card .kicker { font-size:12px; text-transform:uppercase; letter-spacing:.13em; font-weight:800; opacity:.62; }
.problem-card h3 { margin-top:16px; max-width:440px; }
.problem-card p { max-width:480px; color:rgba(32,22,33,.68); }
.problem-card.dark p { color:rgba(255,255,255,.68); }
.big-number { position:absolute; right:22px; bottom:-24px; font-size:135px; line-height:1; font-weight:900; color:rgba(87,37,68,.06); letter-spacing:-.08em; }
.problem-card.dark .big-number { color:rgba(255,255,255,.06); }
.pillars { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
.pillar { padding:28px; border-radius:22px; border:1px solid rgba(32,22,33,.08); background:rgba(255,255,255,.7); }
.pillar .num { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:var(--sky); color:var(--mulberry-dark); font-weight:900; }
.pillar h3 { margin-top:46px; font-size:24px; }
.pillar p { color:rgba(32,22,33,.62); font-size:14px; }
.pillar a { color:var(--mulberry); font-weight:800; font-size:14px; text-decoration:none; }
.band { background:var(--mulberry-dark); color:var(--white); position:relative; overflow:hidden; }
.band::before { content:""; position:absolute; width:520px; height:520px; border-radius:50%; border:1px solid rgba(143,215,232,.15); right:-120px; top:-210px; box-shadow:0 0 0 80px rgba(143,215,232,.025), 0 0 0 160px rgba(143,215,232,.02); }
.band .section-head p { color:rgba(255,255,255,.68); }
.audience-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; position:relative; z-index:1; }
.audience { padding:30px; border-radius:24px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.055); min-height:315px; }
.audience .tag { display:inline-block; font-size:11px; font-weight:850; text-transform:uppercase; letter-spacing:.13em; color:var(--sky); }
.audience h3 { margin:48px 0 14px; }
.audience p { color:rgba(255,255,255,.66); }
.audience a { color:var(--white); text-decoration:none; font-weight:800; }
.flow { display:grid; grid-template-columns: repeat(5, 1fr); gap:10px; align-items:stretch; }
.flow-step { padding:24px 20px; border-radius:20px; background:var(--white); border:1px solid rgba(32,22,33,.07); position:relative; }
.flow-step:not(:last-child)::after { content:"→"; position:absolute; right:-15px; top:50%; transform:translateY(-50%); width:20px; text-align:center; color:var(--mulberry-soft); font-weight:900; z-index:2; }
.flow-step strong { display:block; font-size:16px; }
.flow-step span { display:block; color:rgba(32,22,33,.57); font-size:13px; margin-top:6px; }
.quote-panel { border-radius:32px; background:linear-gradient(135deg, var(--sky), #d8f1f6); padding:54px; display:grid; grid-template-columns:1.2fr .8fr; gap:50px; align-items:end; }
.quote-panel blockquote { margin:0; font-size:clamp(30px,4vw,54px); font-weight:850; letter-spacing:-.045em; line-height:1.03; color:var(--mulberry-dark); }
.quote-panel p { margin:0; color:rgba(52,21,43,.72); font-size:17px; }
.cta { background:var(--paper); }
.cta-panel { border-radius:34px; padding:64px; background:var(--mulberry); color:var(--white); position:relative; overflow:hidden; }
.cta-panel::after { content:""; position:absolute; width:340px; height:340px; border:70px solid rgba(143,215,232,.12); border-radius:50%; right:-100px; bottom:-140px; }
.cta-panel h2 { max-width:740px; position:relative; z-index:1; }
.cta-panel p { max-width:630px; color:rgba(255,255,255,.7); font-size:18px; position:relative; z-index:1; }
.cta-panel .hero-actions { position:relative; z-index:1; }
.page-hero { padding:110px 24px 72px; background:radial-gradient(circle at 80% 10%, rgba(143,215,232,.28), transparent 24%), var(--cream); }
.page-hero .container { max-width:var(--max); }
.page-hero h1 { font-size:clamp(48px,7vw,88px); max-width:940px; }
.page-hero p { font-size:21px; max-width:760px; color:rgba(32,22,33,.68); }
.prose { max-width:820px; }
.prose h2 { font-size:38px; margin-top:60px; }
.prose h3 { margin-top:38px; }
.prose p, .prose li { font-size:18px; color:rgba(32,22,33,.76); }
.prose blockquote { margin:40px 0; padding:28px 32px; background:var(--white); border-left:5px solid var(--sky-deep); border-radius:0 20px 20px 0; font-size:24px; font-weight:780; color:var(--mulberry); }
.prose ul { padding-left:22px; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature { background:var(--white); border-radius:22px; padding:28px; border:1px solid rgba(32,22,33,.07); }
.feature h3 { font-size:22px; margin:8px 0 12px; }
.feature p { color:rgba(32,22,33,.64); font-size:15px; }
.icon-tile { width:44px; height:44px; border-radius:13px; display:grid; place-items:center; background:var(--sky); font-weight:900; color:var(--mulberry-dark); }
.site-footer { background:#1e131d; color:var(--white); padding:64px 24px 30px; }
.footer-grid { max-width:var(--max); margin:0 auto; display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:50px; }
.site-footer p, .site-footer a { color:rgba(255,255,255,.62); font-size:14px; }
.site-footer a { text-decoration:none; }
.site-footer a:hover { color:var(--white); }
.footer-links { display:grid; gap:8px; }
.footer-bottom { max-width:var(--max); margin:44px auto 0; padding-top:20px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.form-grid { display:grid; gap:14px; margin-top:24px; }
.field label { display:block; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; margin-bottom:7px; color:rgba(32,22,33,.65); }
.field input, .field select { width:100%; border:1px solid rgba(32,22,33,.15); background:var(--white); border-radius:14px; padding:13px 14px; outline:none; }
.field input:focus, .field select:focus { border-color:var(--pick); box-shadow:var(--pick-ring); }
.share-box { background:var(--white); border:1px solid rgba(32,22,33,.09); border-radius:16px; padding:16px; font-size:14px; color:rgba(32,22,33,.7); }
/* The header's five links and two doors fit on one line from 1200px; below it they fold into the menu. */
@media (max-width: 1200px) {
  .nav-links { display:none; position:absolute; left:20px; right:20px; top:76px; flex-direction:column; align-items:flex-start; background:var(--paper); padding:20px; border-radius:20px; box-shadow:var(--shadow); }
  .nav-links.open { display:flex; }
  .menu-toggle { display:block; margin-left:auto; }
  .nav-actions { margin-left:0; }
}
@media (max-width: 980px) {
  .nav-actions .btn-secondary { display:none; }
  .hero-inner { grid-template-columns:1fr; gap:30px; }
  .hero { min-height:auto; }
  .hero-visual { min-height:520px; max-width:620px; width:100%; margin:0 auto; }
  .pillars { grid-template-columns:1fr 1fr; }
  .audience-grid { grid-template-columns:1fr; }
  .flow { grid-template-columns:1fr; }
  .flow-step:not(:last-child)::after { content:"↓"; right:50%; top:auto; bottom:-18px; transform:translateX(50%); }
  .quote-panel { grid-template-columns:1fr; }
  .feature-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-wrap { min-height:68px; padding:0 16px; }
  .brand-text small { display:none; }
  .nav-actions .btn-primary { padding:10px 14px; }
  .section { padding:82px 18px; }
  .section-tight { padding:60px 18px; }
  .hero-inner { padding:66px 18px 78px; }
  .hero-visual { min-height:480px; transform:scale(.92); }
  .node { width:125px; padding:13px; }
  .node-a { left:0; }
  .node-b { right:0; }
  .node-c { left:0; }
  .node-d { right:0; }
  .problem-grid, .pillars, .feature-grid { grid-template-columns:1fr; }
  .problem-card { min-height:260px; }
  .quote-panel, .cta-panel { padding:34px 26px; border-radius:24px; }
  .footer-grid { grid-template-columns:1fr; }
  .page-hero { padding:80px 18px 54px; }
}
.ph-ico { display:inline-block; vertical-align:-.125em; }

/* ---- One section per screen. The header lies over the content, so every snap position is a section's own top; a section
   taller than the window (the prose pages) scrolls inside itself, as scroll snap allows. ---- */
html { scroll-snap-type: y mandatory; }
.site-header { position: fixed; top: 0; left: 0; right: 0; }
@media (max-width: 680px) {
  .hero-inner { padding-top: 88px; }
  .nav-wrap { gap: 12px; }
  .nav-actions .btn { white-space: nowrap; }
}
@media (max-width: 520px) { .brand-text { display: none; } }
main > section { min-height: 100vh; min-height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; justify-content: center; }
.container { width: 100%; }
.site-footer { scroll-snap-align: end; }
.prose [id] { scroll-margin-top: 90px; }

/* the Scroll prompt at the foot of the window, until the page's end (script.js: body.at-end) */
.scroll-cue { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 45; display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 16px; border-radius: 999px; background: rgba(32,22,33,.62); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); pointer-events: none; transition: opacity .25s ease; }
.scroll-cue i { width: 8px; height: 8px; margin-top: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: scroll-cue 1.6s ease-in-out infinite; }
@keyframes scroll-cue { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(4px) rotate(45deg); } }
body.at-end .scroll-cue { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .scroll-cue i { animation: none; } html { scroll-behavior: auto; } }
