/* Shared styles for brain.resolutis.com, built on the Resolutis Chat app's design tokens
   (resolutis-chat/web/index.html). */
/* ---------- tokens: copied from the Resolutis Chat app ---------- */
:root {
  --bg: #0a0a0d;
  --glass: rgba(30,30,36,.58); --glass-strong: rgba(38,38,46,.78);
  --fill: rgba(120,120,128,.20); --fill-hover: rgba(120,120,128,.30);
  --line: rgba(255,255,255,.07); --line-strong: rgba(255,255,255,.13);
  --text: #f5f5f7; --muted: #a1a1a6; --faint: #8e8e93;
  --ink: 100%; /* how much of a colour to keep when it's used for small text */
  --accent: #ff9f0a; --accent-soft: rgba(255,159,10,.16);
  --blue: #0a84ff; --indigo: #5e5ce6; --purple: #bf5af2; --pink: #ff375f; --teal: #64d2ff; --green: #30d158;
  --shadow: 0 20px 50px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.25);
  --shadow-sm: 0 4px 16px rgba(0,0,0,.25);
  --blob-opacity: .62;
  --logo-dark: none; --logo-light: block;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f5f7;
    --glass: rgba(255,255,255,.62); --glass-strong: rgba(255,255,255,.82);
    --fill: rgba(120,120,128,.12); --fill-hover: rgba(120,120,128,.20);
    --line: rgba(0,0,0,.07); --line-strong: rgba(0,0,0,.12);
    --text: #1d1d1f; --muted: #636366; --faint: #6e6e73;
    --ink: 58%;
    --accent: #f56300; --accent-soft: rgba(255,149,0,.14);
    --blue: #007aff; --indigo: #5856d6; --purple: #af52de; --pink: #ff2d55; --teal: #32ade6; --green: #34c759;
    --shadow: 0 20px 50px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.05);
    --shadow-sm: 0 4px 16px rgba(0,0,0,.07);
    --blob-opacity: .58;
    --logo-dark: block; --logo-light: none;
    color-scheme: light;
  }
}
:root {
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--pink) 55%, var(--purple) 100%);
  --grad-text: linear-gradient(90deg, var(--blue), var(--purple) 35%, var(--pink) 65%, var(--accent));
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --glass-blur: saturate(180%) blur(28px);
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font: 16px/1.6 var(--sans); color: var(--text);
  background-color: var(--bg); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* Soft colour fields behind the glass, drifting slowly (as in the app). */
body::before {
  content: ""; position: fixed; inset: -10vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 12% 8%,  color-mix(in srgb, var(--purple) 70%, transparent), transparent 70%),
    radial-gradient(34vmax 34vmax at 92% 12%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 70%),
    radial-gradient(40vmax 40vmax at 78% 96%, color-mix(in srgb, var(--teal) 55%, transparent), transparent 70%),
    radial-gradient(30vmax 30vmax at 6% 88%,  color-mix(in srgb, var(--pink) 55%, transparent), transparent 70%);
  opacity: var(--blob-opacity);
  will-change: transform;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(3vmax, -2vmax, 0) scale(1.06) rotate(4deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }
::selection { background: color-mix(in srgb, var(--blue) 40%, transparent); }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.022em; }
a { color: var(--blue); }
a:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 2px; border-radius: 8px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.glass { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: .5px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* Small section heading, like an iOS grouped-list header. */
.label { font: 600 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: color-mix(in srgb, var(--c, var(--accent)) var(--ink), #000); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--accent)); box-shadow: 0 0 10px var(--c, var(--accent)); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: 44px; line-height: 1.1; font-weight: 700; }
.section-head p { font-size: 18px; color: var(--muted); }

.logo { display: block; height: auto; }
.logo.on-dark { display: var(--logo-light); }
.logo.on-light { display: var(--logo-dark); mix-blend-mode: multiply; } /* that PNG has a white background */

/* Colour cycle shared by chips, cards and step numbers (as in the app). */
.c0 { --c: var(--blue); } .c1 { --c: var(--purple); } .c2 { --c: var(--pink); }
.c3 { --c: var(--accent); } .c4 { --c: var(--green); } .c5 { --c: var(--teal); }

/* Buttons: gradient pill for primary, soft fill for secondary. */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 999px; color: var(--text); background: var(--fill); transition: background .2s var(--ease), transform .15s var(--ease), filter .2s; }
.btn:hover { background: var(--fill-hover); }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--pink) 32%, transparent); }
.btn.primary:hover { filter: brightness(1.08) saturate(1.1); }
.btn.small { font-size: 14px; padding: 8px 16px; }
.btn.large { font-size: 18px; padding: 16px 30px; }

/* The "signal path": coloured nodes joined by hairlines (as in the app). */
.signal { display: flex; align-items: center; gap: 10px; }
.signal .node { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.signal .node:nth-child(1) { --c: var(--blue); }
.signal .node:nth-child(3) { --c: var(--purple); }
.signal .node:nth-child(5) { --c: var(--pink); }
.signal .node:nth-child(7) { --c: var(--accent); }
.signal .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c); flex: none; }
.signal .dot.filled { background: var(--c); box-shadow: 0 0 12px var(--c); }
.signal .wire { flex: 1; height: 1px; background: var(--line-strong); min-width: 16px; }

/* ---------- header ---------- */
header { position: sticky; top: 0; z-index: 10; border-bottom: .5px solid var(--line); background: color-mix(in srgb, var(--bg) 45%, transparent); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand .logo { width: 132px; }
.brand .label { padding-left: 12px; border-left: .5px solid var(--line-strong); color: var(--text); }
nav { display: flex; align-items: center; gap: 6px; }
nav a.link { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 7px 12px; border-radius: 999px; transition: background .2s, color .2s; }
nav a.link:hover { color: var(--text); background: var(--fill); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; animation: rise .6s var(--ease) both; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--fill); font-size: 14px; font-weight: 500; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero h1 { font-size: 64px; line-height: 1.04; font-weight: 700; letter-spacing: -.035em; }
.hero .lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .signal { max-width: 520px; margin-top: 8px; }

/* Mock of the app: a glass window with a question, an answer and its sources. */
.mock { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); animation: rise .7s .1s var(--ease) both; }
.mock .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: .5px solid var(--line); }
.mock .lights { display: flex; gap: 7px; }
.mock .lights span { width: 11px; height: 11px; border-radius: 50%; background: var(--fill-hover); }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--fill); text-transform: none; letter-spacing: 0; font-size: 12px; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.mock .log { padding: 22px 20px; display: flex; flex-direction: column; gap: 18px; }
.who { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; padding: 0 4px; }
.who .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.msg.user { display: flex; flex-direction: column; align-items: flex-end; }
.msg.user .who { flex-direction: row-reverse; }
.msg.user .body { background: linear-gradient(135deg, var(--blue), var(--indigo)); color: #fff; border-radius: 20px 20px 6px 20px; padding: 10px 16px; max-width: 88%; font-size: 15px; box-shadow: 0 6px 18px color-mix(in srgb, var(--blue) 28%, transparent); }
.msg.assistant .who .dot { background: var(--grad); }
.msg.assistant .body { background: var(--glass-strong); border: .5px solid var(--line-strong); border-radius: 6px 20px 20px 20px; padding: 14px 18px; font-size: 15px; line-height: 1.55; box-shadow: var(--shadow-sm); }
.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 6px; margin: 0 2px; border-radius: 999px; font: 700 10.5px/1 var(--sans); color: color-mix(in srgb, var(--c) var(--ink), #000); background: color-mix(in srgb, var(--c) 18%, transparent); vertical-align: 2px; }
.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.source { display: flex; gap: 10px; align-items: flex-start; background: var(--glass-strong); border: .5px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.num { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--sans); color: #fff; background: var(--c); box-shadow: 0 2px 8px color-mix(in srgb, var(--c) 45%, transparent); }
.source .title { font-weight: 600; font-size: 13.5px; line-height: 1.35; }
.source .meta { font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.badge { font: 600 10px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; color: color-mix(in srgb, var(--green) var(--ink), #000); background: color-mix(in srgb, var(--green) 15%, transparent); }
.mock .note { padding: 0 20px 18px; font-size: 12.5px; color: var(--faint); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--glass-strong); }
.card h3 { font-size: 20px; line-height: 1.3; font-weight: 650; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .num { width: 30px; height: 30px; font-size: 13px; margin-bottom: 6px; }

/* Problem cards: coloured top hairline. */
.problem { position: relative; overflow: hidden; }
.problem::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); opacity: .9; }

/* Why local: statement + list. */
.local .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.local .statement { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.local .statement h2 { font-size: 52px; line-height: 1.05; font-weight: 700; letter-spacing: -.035em; }
.local .statement p { font-size: 18px; color: var(--muted); }
.local .list { display: flex; flex-direction: column; gap: 12px; }
.local .item { border-radius: 18px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.local .item h3 { font-size: 18px; font-weight: 650; margin-bottom: 4px; }
.local .item p { color: var(--muted); font-size: 15.5px; }
.check { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.check svg { width: 15px; height: 15px; }

/* Pricing: the middle plan gets a gradient ring. */
.plan { gap: 14px; padding: 30px; }
.plan .plan-name { font: 700 28px/1.2 var(--display); letter-spacing: -.02em; }
.plan.featured { position: relative; background: var(--glass-strong); border-color: transparent; box-shadow: var(--shadow); }
.plan.featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan .tag { align-self: flex-start; font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 6px 10px; border-radius: 999px; }

/* FAQ: expandable glass rows. */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.qa { border-radius: 18px; padding: 0 22px; transition: background .2s var(--ease); }
.qa[open] { background: var(--glass-strong); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; }
.qa summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 4px; border-radius: 10px; }
.chev { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--fill); position: relative; transition: transform .25s var(--ease), background .2s; }
.chev::before { content: ""; position: absolute; left: 9px; top: 8px; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.qa[open] .chev { transform: rotate(180deg); background: var(--accent-soft); }
.qa p { color: var(--muted); font-size: 16px; line-height: 1.65; padding: 0 40px 20px 0; }

/* Who builds it. */
.about { border-radius: 26px; padding: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 44px; align-items: center; }
.about h2 { font-size: 34px; line-height: 1.15; font-weight: 700; margin-top: 14px; }
.about p { font-size: 17.5px; line-height: 1.7; color: var(--muted); }
.about p strong { color: var(--text); font-weight: 600; }

/* Closing call to action. */
.cta { border-radius: 32px; padding: 72px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; box-shadow: var(--shadow); }
.cta h2 { font-size: 48px; line-height: 1.08; font-weight: 700; letter-spacing: -.03em; max-width: 760px; }
.cta p { font-size: 18px; color: var(--muted); max-width: 600px; }
.cta .signal { width: 100%; max-width: 460px; margin-top: 12px; }

/* Contact form, styled like the app's inputs. */
.contact-form { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 8px; text-align: left; }
.contact-form .fields { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form label.wide { grid-column: 1 / -1; }
.contact-form .label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--faint); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 15.5px; color: var(--text); background: var(--fill); border: .5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: box-shadow .2s var(--ease), background .2s; }
.contact-form textarea { resize: vertical; min-height: 104px; }
.contact-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.contact-form ::placeholder { color: var(--faint); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; background: var(--fill-hover); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 30%, transparent); }
.contact-form [aria-invalid="true"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pink) 45%, transparent); }
.contact-form button { border: 0; cursor: pointer; font-family: inherit; }
.contact-form button:disabled { opacity: .6; cursor: default; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cta .form-status { min-height: 1.5em; font-size: 15px; text-align: center; }
.form-status.ok { color: var(--green); }
.form-status.error { color: var(--pink); }
.contact-form.sent .fields, .contact-form.sent button { display: none; }
.contact-form.sent .form-status { font-size: 18px; }

footer { padding: 36px 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; color: var(--faint); font-size: 14px; }
footer .logo { width: 110px; opacity: .8; }
footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
footer a[aria-label] { text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- editions: Local / Hybrid / Cloud ---------- */
.editions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.edition { text-decoration: none; color: var(--text); position: relative; }
.edition .ed-name { font: 700 24px/1.2 var(--display); letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.edition .ed-name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.edition .ed-line { color: var(--text); font-weight: 500; font-size: 16px; }
.edition ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.edition li::marker { color: var(--c); }
.edition .more { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; color: color-mix(in srgb, var(--c) var(--ink), #000); }
.edition.current { background: var(--glass-strong); box-shadow: 0 0 0 1.5px var(--c), var(--shadow); }
.edition.current .more { color: var(--muted); }

/* Comparison table. */
.compare-wrap { border-radius: 22px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: .5px solid var(--line-strong); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 600 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--fill); }
.compare thead th span { display: inline-flex; align-items: center; gap: 7px; }
.compare thead th span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.compare tbody th { font-weight: 600; color: var(--text); width: 26%; }
.compare td { color: var(--muted); }
.compare .hl { background: color-mix(in srgb, var(--c) 9%, transparent); color: var(--text); }

/* Hybrid mock: the "send to a cloud model?" prompt, styled like the app's notices. */
.notice { font-size: 13.5px; padding: 12px 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--accent-soft); color: var(--text); }
.notice strong { font-weight: 600; }
.notice .row { display: flex; gap: 8px; flex-wrap: wrap; }
.notice .chip { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--fill); }
.notice .chip.go { background: var(--grad); color: #fff; }
.route { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.route .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* Cross-links between editions in the footer. */
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- edition switcher under the header: [ ● Local ] [ Hybrid ] [ Cloud ] ---------- */
.edition-switch { display: block; } /* override the header's generic nav flex rule */
.edition-switch .wrap { display: flex; align-items: center; gap: 16px; padding-top: 20px; }
.seg { display: inline-flex; gap: 4px; border-bottom: .5px solid var(--line-strong); }
.seg a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.seg a:hover { color: var(--text); }
.seg a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--c); opacity: 0; transition: opacity .2s; }
.seg a:hover::after { opacity: .35; }
.seg a .dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--c); flex: none; opacity: .8; }
.seg a[aria-current="page"] { color: var(--text); font-weight: 600; }
.seg a[aria-current="page"]::after { opacity: 1; }
.seg a[aria-current="page"] .dot { background: var(--c); opacity: 1; box-shadow: 0 0 8px var(--c); }
.seg a:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 2px; border-radius: 8px; }
.seg-line { font-size: 14.5px; color: var(--muted); }
.edition-switch + main .hero { padding-top: 56px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .local .wrap, .about { grid-template-columns: minmax(0, 1fr); } /* minmax: never let wide content stretch the page */
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editions { grid-template-columns: 1fr; }
  .local .statement { position: static; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 42px; }
  .hero .lede { font-size: 18px; }
  .section-head h2, .local .statement h2 { font-size: 32px; }
  .cta h2 { font-size: 32px; }
  .cta { padding: 48px 22px; border-radius: 24px; }
  .contact-form .fields { grid-template-columns: 1fr; }
  .about { padding: 28px 22px; }
  .grid.three, .grid.four, .sources { grid-template-columns: 1fr; }
  nav a.link, .brand .label { display: none; }
  .edition-switch .wrap { padding-top: 14px; }
  .seg { display: flex; width: 100%; }
  .seg a { flex: 1; padding: 8px 6px 10px; }
  .seg a::after { left: 18%; right: 18%; }
  .seg-line { display: none; }
  .edition-switch + main .hero { padding-top: 32px; }
  .signal .label { font-size: 10px; letter-spacing: .04em; }
  .hero .signal { flex-wrap: wrap; row-gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
