/* =========================================================
   Moaviz Hassan — site styles
   All colors live in the :root block below. Change them
   there and the whole site updates.
   ========================================================= */

/* Archivo font, hosted on this site (free, SIL Open Font License) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/fonts/archivo.woff2") format("woff2-variations"), url("/fonts/archivo.woff2") format("woff2");
}

:root {
  --bg: #eceef1;          /* page background (cool light grey) */
  --surface: #ffffff;     /* sidebar, call card, test sheet */
  --ink: #000000;         /* headings */
  --text: #23272e;        /* body text */
  --muted: #59606b;       /* secondary text */
  --line: #d5d9df;        /* borders and rules */
  --accent: #1f44d6;      /* cobalt: links, focus, small highlights */
  --accent-soft: #e3e8fb;
  --live: #14a44d;        /* "call is live" dot and pass ticks */
  --btn-bg: #000000;
  --btn-text: #ffffff;
  --sidebar: 272px;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --base-size: 17px;
  --lift: 0 1px 2px rgba(16, 24, 48, .06), 0 24px 48px -28px rgba(16, 24, 64, .35);
}

html[data-theme="dark"] {
  --bg: #0f1114;
  --surface: #171a1f;
  --ink: #ffffff;
  --text: #d9dde3;
  --muted: #9aa1ac;
  --line: #2a2f37;
  --accent: #8aa2ff;
  --accent-soft: #1c2440;
  --live: #3ddc84;
  --btn-bg: #ffffff;
  --btn-text: #000000;
  --lift: 0 0 0 1px #2a2f37, 0 24px 48px -28px rgba(0, 0, 0, .8);
}

/* High contrast (accessibility option) */
html[data-contrast="high"] {
  --bg: #ffffff; --surface: #ffffff; --ink: #000000; --text: #000000; --muted: #1a1a1a;
  --line: #000000; --accent: #0030b0; --accent-soft: #ffffff; --live: #006b2c;
  --btn-bg: #000000; --btn-text: #ffffff; --lift: 0 0 0 2px #000;
}
html[data-theme="dark"][data-contrast="high"] {
  --bg: #000000; --surface: #000000; --ink: #ffffff; --text: #ffffff; --muted: #f0f0f0;
  --line: #ffffff; --accent: #ffe14d; --accent-soft: #000000; --live: #7dff9e;
  --btn-bg: #ffffff; --btn-text: #000000; --lift: 0 0 0 2px #fff;
}
html[data-contrast="high"] main a:not(.btn) { text-decoration: underline; }

html[data-text="large"]  { --base-size: 19px; }
html[data-text="xlarge"] { --base-size: 21px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--base-size); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-stretch: 100%; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; }
h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.1rem); font-weight: 850; font-stretch: 84%;
  line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; font-stretch: 82%;
  line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance;
}
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-text); padding: .6em 1em; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Layout: sidebar + main ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar);
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 26px 20px; display: flex; flex-direction: column; gap: 20px;
  overflow-y: auto; z-index: 40;
}
.main { margin-left: var(--sidebar); min-height: 100vh; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  background: var(--btn-bg); color: var(--btn-text);
  display: grid; place-items: center; font-weight: 850; font-stretch: 80%; font-size: 1.15rem; letter-spacing: .02em;
}
.brand-name { font-weight: 800; font-stretch: 88%; font-size: 1.1rem; line-height: 1.15; letter-spacing: -0.01em; }
.brand-role { font-size: .8rem; color: var(--muted); font-weight: 500; }
.side-note { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.5; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); font-weight: 500; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 22%, transparent); }

.nav { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.nav a {
  text-decoration: none; color: var(--text); padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem;
}
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--btn-bg); color: var(--btn-text); }

.side-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.tool-row { display: flex; gap: 8px; }
.tool-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 10px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
}
.tool-btn:hover { border-color: var(--ink); }
.tool-btn svg { width: 18px; height: 18px; }

.topbar { display: none; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .topbar {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 30; padding: 10px 18px;
    background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .topbar .logo { width: 38px; height: 38px; font-size: .9rem; border-radius: 10px; }
  .menu-btn { display: inline-flex; }
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; width: min(86vw, 320px); box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .wrap { padding: 0 20px; }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 35; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg); color: var(--btn-text); text-decoration: none;
  padding: 15px 24px; border-radius: 12px; font-weight: 700; font-size: .98rem; font-family: inherit;
  border: 2px solid var(--btn-bg); cursor: pointer; transition: transform .15s ease;
}
.btn:hover { color: var(--btn-text); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
.page-head { padding: 88px 0 32px; }
.page-head + section { border-top: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; line-height: 1.55; }
.small { font-size: .86rem; color: var(--muted); }
.section-intro { max-width: 38em; color: var(--muted); margin: -4px 0 40px; font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { margin: 0; }
.card li { margin-bottom: 6px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 30px; }
.hero-note { margin: 22px 0 0; font-size: .92rem; color: var(--muted); max-width: 30em; }
.hero-note strong { color: var(--ink); }
@media (max-width: 1180px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .call { max-width: 520px; } }

/* The example call */
.call {
  margin: 0; background: var(--surface); border-radius: 22px; box-shadow: var(--lift);
  border: 1px solid var(--line); overflow: hidden; position: relative;
}
.call-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); line-height: 1.35;
}
.call-head strong { color: var(--ink); font-size: .95rem; }
.call-live { width: 10px; height: 10px; border-radius: 50%; background: var(--live); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 45%, transparent); } 50% { box-shadow: 0 0 0 7px transparent; } }
.call-time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.call-lines { list-style: none; margin: 0; padding: 18px 20px 6px; display: flex; flex-direction: column; gap: 12px; }
.line { max-width: 88%; }
.line .who { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.line p { margin: 0; padding: 10px 14px; border-radius: 14px; font-size: .93rem; line-height: 1.45; }
.line-caller p { background: var(--bg); color: var(--text); border-top-left-radius: 4px; }
.line-agent { align-self: flex-end; text-align: left; }
.line-agent .who { color: var(--accent); text-align: right; }
.line-agent p { background: var(--btn-bg); color: var(--btn-text); border-top-right-radius: 4px; }
.call-result {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); margin-top: 14px; font-size: .78rem; color: var(--muted); line-height: 1.35;
}
.call-result span { background: var(--surface); padding: 12px 14px; }
.call-result b { display: block; color: var(--ink); font-size: .85rem; margin-bottom: 2px; }
.call-result b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-right: 6px; vertical-align: 2px; }
.call figcaption { position: absolute; top: 18px; right: 70px; font-size: .7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
@media (max-width: 520px) { .call figcaption { display: none; } .call-result { grid-template-columns: 1fr; } }

/* One orchestrated moment: the call plays out on page load */
.call-lines .line, .call-result { opacity: 0; transform: translateY(6px); animation: lineIn .45s ease forwards; }
.call-lines .line:nth-child(1) { animation-delay: .3s; }
.call-lines .line:nth-child(2) { animation-delay: 1.1s; }
.call-lines .line:nth-child(3) { animation-delay: 2.1s; }
.call-lines .line:nth-child(4) { animation-delay: 2.8s; }
.call-lines .line:nth-child(5) { animation-delay: 3.7s; }
.call-lines .line:nth-child(6) { animation-delay: 4.2s; }
.call-result { animation-delay: 5s; }
@keyframes lineIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .call-lines .line, .call-result { opacity: 1; transform: none; } }

/* ---------- Offer (two tools) ---------- */
.offer { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); margin-top: 32px; }
.offer-item { padding: 32px 40px 8px 0; }
.offer-item + .offer-item { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.offer-item h3 { font-size: 1.45rem; font-weight: 800; font-stretch: 85%; letter-spacing: -0.01em; }
.offer-item ul { list-style: none; padding: 0; margin: 0 0 18px; }
.offer-item li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; }
.offer-item li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 2px; background: var(--accent); }
.offer-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.offer-icon svg { width: 22px; height: 22px; }
@media (max-width: 800px) {
  .offer { grid-template-columns: 1fr; }
  .offer-item, .offer-item + .offer-item { padding: 28px 0 8px; border-left: 0; }
  .offer-item + .offer-item { border-top: 1px solid var(--line); }
}

/* ---------- Timeline (a real sequence) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.timeline li { position: relative; padding-top: 34px; counter-increment: step; }
.timeline li::before {
  content: counter(step); position: absolute; top: -14px; left: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-text); display: grid; place-items: center; font-size: .8rem; font-weight: 800; z-index: 1;
}
.timeline li::after { content: ""; position: absolute; top: 0; left: 0; right: -32px; height: 2px; background: var(--line); }
.timeline li:last-child::after { right: 0; }
.timeline .when { display: block; font-size: .85rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 44px; }
  .timeline li { padding: 0 0 28px; }
  .timeline li::before { top: 0; left: -44px; }
  .timeline li::after { top: 28px; bottom: 0; left: -31px; right: auto; width: 2px; height: auto; }
  .timeline li:last-child::after { display: none; }
}

/* ---------- Go-Live Test sheet ---------- */
.golive { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.golive-copy { position: sticky; top: 40px; }
.golive-copy p { color: var(--muted); font-size: 1.05rem; max-width: 26em; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--lift); padding: 28px 30px 24px; }
.sheet-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.sheet-head strong { display: block; color: var(--ink); font-size: 1.35rem; font-weight: 800; font-stretch: 82%; letter-spacing: -0.01em; }
.sheet-head > div > span { font-size: .85rem; color: var(--muted); }
.sheet-head dl { margin: 0; display: flex; gap: 22px; font-size: .82rem; text-align: right; }
.sheet-head dt { color: var(--muted); }
.sheet-head dd { margin: 0; font-weight: 700; color: var(--ink); }
.sheet-list { list-style: none; padding: 0; margin: 0; }
.sheet-list li { display: grid; grid-template-columns: 28px 1fr 30px; gap: 14px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sheet-no { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .9rem; padding-top: 1px; }
.sheet-list strong { display: block; color: var(--ink); font-size: .98rem; }
.sheet-list span { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.sheet-pass { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--live); color: var(--live); display: grid; place-items: center; }
.sheet-pass svg { width: 15px; height: 15px; }
.sheet-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; }
.sheet-sign small { display: block; border-top: 1px solid var(--ink); padding-top: 6px; font-size: .78rem; color: var(--muted); }
.sig { display: block; height: 34px; font-weight: 500; font-stretch: 66%; transform: skewX(-10deg); transform-origin: left; font-size: 1.5rem; color: var(--accent); line-height: 34px; }
.sig-line { display: block; height: 34px; }
@media (max-width: 960px) { .golive { grid-template-columns: 1fr; gap: 32px; } .golive-copy { position: static; } }
@media (max-width: 520px) { .sheet { padding: 22px 18px; } .sheet-head { flex-direction: column; align-items: flex-start; } .sheet-head dl { text-align: left; } }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink); }

/* ---------- Quote (hidden until real) ---------- */
.quote { margin: 0; max-width: 40em; }
.quote blockquote { margin: 0 0 14px; font-size: 1.5rem; font-weight: 600; font-stretch: 88%; color: var(--ink); line-height: 1.3; }
.quote figcaption { color: var(--muted); }

/* ---------- CTA ---------- */
.cta-box { background: var(--btn-bg); color: var(--btn-text); border-radius: 22px; padding: 56px; display: grid; gap: 4px; justify-items: start; }
.cta-box h2, .cta-box p { color: var(--btn-text); }
.cta-box p { opacity: .8; max-width: 34em; margin-bottom: 22px; }
.cta-box .btn { background: var(--btn-text); color: var(--btn-bg); border-color: var(--btn-text); }
@media (max-width: 800px) { .cta-box { padding: 36px 24px; } }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.price-card.featured h3, .price-card.featured .amount { color: var(--btn-text); }
.price-card.featured .small, .price-card.featured .per, .price-card.featured .price-setup { color: color-mix(in srgb, var(--btn-text) 70%, transparent); }
.price-card.featured li { border-color: color-mix(in srgb, var(--btn-text) 18%, transparent); }
.price-card.featured li::before { color: var(--btn-text); }
.price-card.featured .btn { background: var(--btn-text); color: var(--btn-bg); border-color: var(--btn-text); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; width: fit-content; }
.price { margin: 14px 0 6px; line-height: 1.2; }
.price .amount { font-size: 2.6rem; font-weight: 850; font-stretch: 80%; color: var(--ink); letter-spacing: -0.02em; }
.price .per { color: var(--muted); font-size: .9rem; }
.price-setup { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price-card li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--line); font-size: .93rem; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }
.price-card .btn { margin-top: auto; }
.not-list li::before { content: "✕" !important; color: var(--muted) !important; }

/* ---------- Demos ---------- */
.media-slot {
  aspect-ratio: 16 / 9; border: 2px dashed var(--line); border-radius: 12px; background: var(--bg);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .9rem; padding: 16px; margin-bottom: 18px;
}
.media-slot img, .media-slot video, .media-slot iframe { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 0; }
.demo-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pill { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 700; color: var(--ink); font-size: 1.1rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; max-width: 40em; color: var(--text); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; margin: 0; }
.form-status.ok { color: var(--live); }
.form-status.err { color: #c0271d; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }
.footer-links { display: inline-flex; gap: 18px; }

/* ---------- Accessibility panel ---------- */
.a11y-panel {
  position: fixed; left: calc(var(--sidebar) + 16px); bottom: 16px; z-index: 60;
  width: 290px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--lift);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.05rem; font-stretch: 100%; margin-bottom: 14px; }
.a11y-group { margin-bottom: 16px; }
.a11y-group > span { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { flex: 1; background: transparent; border: 0; padding: 9px 6px; font: inherit; font-size: .85rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-text); }
.a11y-close { position: absolute; top: 10px; right: 10px; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--ink); line-height: 1; padding: 4px 8px; }
@media (max-width: 960px) { .a11y-panel { left: 16px; right: 16px; width: auto; } }
