/* Ofage — public pages (the website in src/pages.js).
   "Ember lounge": ink page, velvet panels, one ember light per page (the landing hero's check demo),
   radius by hierarchy, spacing instead of rules. Builds on tokens.css. */
:root {
  --pg-wrap: 1120px;
  --pg-gutter: 20px;
  --pg-body: #E8DAD4;       /* long-form text: a softened bone, 14:1 on ink */
  --pg-section: 64px;
  --pg-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (min-width: 720px) { :root { --pg-gutter: 32px; --pg-section: 96px; } }
@media (min-width: 1100px) { :root { --pg-section: 120px; } }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: hidden; }
.wrap { max-width: calc(var(--pg-wrap) + 2 * var(--pg-gutter)); margin: 0 auto; padding: 0 var(--pg-gutter); }
h1, h2 { font-family: var(--av-font-display); font-weight: 600; color: var(--av-text); text-wrap: balance; }
h3 { font: 700 1.1875rem/1.3 var(--av-font-body); color: var(--av-text); text-wrap: balance; }
p, li { text-wrap: pretty; }
[id] { scroll-margin-top: 88px; }
code { font-family: var(--pg-mono); font-size: .875em; background: var(--av-surface-2); color: var(--av-text); padding: .12em .4em; border-radius: var(--av-radius-sm); overflow-wrap: anywhere; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 30; background: var(--av-cta-bg); color: var(--av-cta-text); padding: 10px 16px; border-radius: var(--av-radius); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--av-cta-text); }

/* header: frosted, sticky */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--av-bg);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top { background: rgba(22, 8, 13, .72); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--av-text); text-decoration: none; font: 600 16px/1 var(--av-font-display); letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: var(--av-text); }
.brand img { display: block; height: 28px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 9px 14px; border-radius: var(--av-radius-pill);
  color: var(--av-text); text-decoration: none; font: 600 15px/1.2 var(--av-font-body);
}
.nav a:hover { background: var(--av-surface-2); color: var(--av-text); }
.nav a[aria-current="page"] { background: var(--av-surface); }
@media (min-width: 720px) {
  .top .wrap { min-height: 72px; }
  .brand { font-size: 18px; gap: 12px; }
  .brand img { height: 32px; }
}

/* ---------------------------------------------------------------- landing hero */
.hero { position: relative; isolation: isolate; overflow-x: clip; } /* the glow may spill up under the frosted header */
.hero .wrap { display: grid; gap: 56px; align-items: center; padding-top: 32px; padding-bottom: 8px; }
.hero h1 {
  font-size: clamp(2rem, 1rem + 3.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.025em;
  margin: 0 0 28px;
}
.hero h1 span { display: block; }
.hero h1 .warm { color: var(--av-flame); }
.hero .lead { font-size: 1.125rem; line-height: 1.6; color: var(--pg-body); margin: 0 0 32px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.hero .fine { color: var(--av-muted); font-size: 14px; margin: 0; max-width: 40em; }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; padding-top: 64px; }
  .hero .lead { font-size: 1.1875rem; }
}
@media (min-width: 1180px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) 380px; gap: 96px; } }
@media (max-width: 480px) { .hero .actions .av-btn { width: 100%; } }

/* the page's one light source: the check demo, lit from behind */
.demo { position: relative; isolation: isolate; margin: 0; justify-self: center; width: min(100%, 360px); }
.demo__glow {
  position: absolute; z-index: -1; pointer-events: none;
  left: -42%; right: -42%; top: -9%; bottom: -16%;
  background: var(--av-glow); opacity: .8;
}
.demo.play .demo__glow { animation: demo-glow 8.8s ease-in-out both; }
.demo__stage {
  border-radius: var(--av-radius-xl); overflow: hidden; background: #0E0508;
  box-shadow: 0 0 0 1px rgba(255, 138, 61, .22), var(--av-shadow-hero);
}
.demo svg { display: block; width: 100%; height: auto; }
.demo figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; color: var(--av-muted); font-size: 14px; line-height: 1.45; }
.demo__replay {
  flex: none; cursor: pointer; padding: 7px 14px; border-radius: var(--av-radius-pill);
  background: transparent; border: 1px solid var(--av-line-strong); color: var(--av-text);
  font: 600 13px/1.2 var(--av-font-body);
}
.demo__replay:hover { background: var(--av-surface-2); }
.demo__head { fill: #2A1320; stroke: rgba(255, 214, 200, .16); stroke-width: 1.5; }
.demo__face { fill: none; stroke: #7A5763; stroke-width: 1.5; stroke-linecap: round; }
.demo__face .eye { fill: #7A5763; stroke: none; }
.demo__mask { fill: rgba(14, 5, 8, .64); }
.demo__ring { fill: none; stroke: var(--av-cam-ring); stroke-width: 3; }
.demo__track { fill: rgba(247, 237, 232, .16); }
.demo__bar { transform-box: fill-box; transform-origin: left center; }
.demo__p, .demo__ok { font: 700 17px var(--av-font-body); fill: var(--av-text); }
.demo__p { opacity: 0; }
.demo__ok { fill: var(--av-success); opacity: 0; }
.demo.play .demo__face { animation: demo-turn 7.8s ease-in-out .6s both; }
.demo.play .demo__bar { animation: demo-bar 7.8s linear .6s both; }
.demo.play .demo__ring { animation: demo-ring 8.8s linear both; }
.demo.play .demo__ok { animation: demo-in .5s ease 8.4s both; }
.demo.play .demo__p { animation: demo-cue var(--d) ease var(--t) both; }
.demo__p1 { --t: .6s; --d: 1.8s; }
.demo__p2 { --t: 2.4s; --d: 2.2s; }
.demo__p3 { --t: 4.6s; --d: 2.2s; }
.demo__p4 { --t: 6.8s; --d: 1.6s; }
@keyframes demo-cue { 0% { opacity: 0; } 10%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes demo-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes demo-ring { 0%, 5% { stroke: #F7EDE8; } 8%, 94% { stroke: #FF8A3D; } 100% { stroke: #43D69A; } }
@keyframes demo-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes demo-glow { 0% { opacity: .55; } 12%, 90% { opacity: 1; } 100% { opacity: .8; } }
@keyframes demo-turn {
  0%, 23% { transform: translateX(0); }
  31%, 47% { transform: translateX(-24px); }
  59%, 75% { transform: translateX(24px); }
  85%, 100% { transform: translateX(0); }
}
/* reduced motion: a still frame of the finished check */
@media (prefers-reduced-motion: reduce) {
  .demo.play * { animation: none !important; }
  .demo__ring { stroke: var(--av-success); }
  .demo__ok { opacity: 1; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: var(--pg-section) 0 0; }
.section:last-child { padding-bottom: var(--pg-section); }
.section h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; }
.section .intro { color: var(--pg-body); font-size: 1.0625rem; max-width: 40em; margin: 0 0 40px; }

.panel {
  background: var(--av-surface); border: 1px solid var(--av-line); border-radius: var(--av-radius-xl);
  padding: 24px;
}
@media (min-width: 720px) { .panel { padding: 32px; } }

/* how the check works: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li {
  counter-increment: step; display: flex; flex-direction: column;
  background: var(--av-surface); border: 1px solid var(--av-line); border-radius: var(--av-radius-lg);
  padding: 24px;
}
.steps li::before {
  content: counter(step); display: block; margin: 0 0 20px;
  font: 600 2.5rem/1 var(--av-font-display); letter-spacing: -.02em; color: var(--av-flame);
}
.steps h3 { margin: 0 0 8px; }
.steps p { color: var(--pg-body); margin: 0 0 12px; }
.steps p:last-child { margin-bottom: 0; }
.steps .note { margin-top: auto; padding-top: 4px; color: var(--av-muted); font-size: 14px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .steps li { padding: 28px; } }

/* private by design */
.split { display: grid; gap: 40px; }
.split > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.promises h2 { margin-bottom: 12px; }
.promises .intro { margin-bottom: 36px; }
.promise + .promise { margin-top: 28px; }
.promise h3 { margin: 0 0 6px; }
.promise p { color: var(--pg-body); margin: 0; }
.more { margin: 32px 0 0; font-weight: 600; }

.keep { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; }
.keep caption { text-align: left; font: 500 1.25rem/1.3 var(--av-font-display); letter-spacing: -.01em; color: var(--av-text); margin: 0 0 18px; }
.keep thead th { font: 600 14px/1.3 var(--av-font-body); color: var(--av-muted); text-align: left; padding: 0 12px 12px; border-bottom: 1px solid var(--av-line-strong); }
.keep thead th:last-child { text-align: right; }
.keep tbody th, .keep tbody td { vertical-align: top; padding: 14px 12px; }
.keep tbody tr:nth-child(even) > * { background: rgba(255, 214, 200, .035); }
.keep tbody tr:nth-child(even) > :first-child { border-radius: var(--av-radius) 0 0 var(--av-radius); }
.keep tbody tr:nth-child(even) > :last-child { border-radius: 0 var(--av-radius) var(--av-radius) 0; }
.keep tbody tr:first-child > * { padding-top: 18px; }
.keep tbody th { font-weight: 400; color: var(--pg-body); text-align: left; }
.keep td { text-align: right; white-space: nowrap; }
.dur {
  display: inline-block; padding: 3px 10px; border-radius: var(--av-radius-pill);
  background: var(--av-surface-3); color: var(--av-text); font-weight: 600; font-size: 14px; white-space: nowrap;
}
.keep .never th { color: var(--av-text); font-weight: 600; }
.keep .never .dur { background: rgba(67, 214, 154, .14); color: var(--av-success); }
/* phones: each record becomes a stacked row (roles in the markup keep the table semantics) */
@media (max-width: 559px) {
  .panel:has(> .keep) { padding: 20px 12px 12px; }
  .keep caption { padding: 0 8px; }
  .keep thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .keep tbody, .keep tr, .keep tbody th, .keep tbody td { display: block; }
  .keep tbody tr { padding: 12px; border-radius: var(--av-radius); }
  .keep tbody tr:nth-child(even) { background: rgba(255, 214, 200, .035); }
  .keep tbody tr > *, .keep tbody tr:first-child > * { background: none !important; padding: 0; text-align: left; }
  .keep tbody td { margin-top: 8px; }
}

/* network logos (not links: the page is shown before anyone is age-checked) */
.net { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.net li {
  display: flex; align-items: center; justify-content: center; height: 96px; padding: 18px;
  background: var(--av-surface); border-radius: var(--av-radius-lg); overflow: hidden;
}
.net li.light { background: var(--av-text); }
.net img { display: block; width: auto; height: auto; max-width: 100%; max-height: 52px; }
.net img.shift { transform: translateX(-13.9%); } /* lab.png: 28% empty space on the left */
@media (min-width: 560px) { .net { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 860px) { .net { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .net li { height: 108px; } }
@media (min-width: 1100px) { .net { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* FAQ */
.faq { max-width: 52em; display: grid; gap: 10px; }
.faq details { background: var(--av-surface); border-radius: var(--av-radius-lg); }
.faq details[open] { background: var(--av-surface-2); }
.faq summary {
  position: relative; cursor: pointer; list-style: none; border-radius: var(--av-radius-lg);
  padding: 20px 64px 20px 24px; font: 600 1.0625rem/1.4 var(--av-font-body); color: var(--av-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: ""; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--av-surface-2);
}
.faq details[open] summary::before { background: var(--av-surface-3); }
.faq summary::after {
  content: ""; position: absolute; right: 29px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--av-flame); border-bottom: 2px solid var(--av-flame);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--av-link); }
.faq .a { color: var(--pg-body); padding: 0 24px 22px; max-width: 46em; }
.faq .a p { margin: 0 0 12px; }
.faq .a p:last-child { margin-bottom: 0; }
.faq .a ul { margin: 0 0 12px; padding-left: 20px; }
.faq .a li + li { margin-top: 4px; }
@media (min-width: 720px) { .faq summary { font-size: 1.125rem; padding: 22px 72px 22px 28px; } .faq .a { padding: 0 28px 24px; } }

/* ---------------------------------------------------------------- long-form documents (privacy notice) */
.doc-head { position: relative; isolation: isolate; overflow: hidden; padding: 48px 0 8px; }
.doc-head h1 { font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 20px; }
.doc-head .lead { color: var(--pg-body); font-size: 1.125rem; max-width: 40em; margin: 0 0 16px; }
.doc-head .meta { color: var(--av-muted); font-size: 14px; margin: 0; }
@media (min-width: 720px) { .doc-head { padding-top: 80px; } }
.doc-layout { display: grid; gap: 40px; padding-top: 40px; padding-bottom: var(--pg-section); }
.doc-layout > * { min-width: 0; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; padding-top: 56px; } }
.toc { font-size: 15px; }
.toc nav { background: var(--av-surface); border-radius: var(--av-radius-lg); padding: 20px 12px 12px; }
.toc h2 { font: 600 14px/1.2 var(--av-font-body); color: var(--av-muted); margin: 0 12px 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 12px; border-radius: var(--av-radius); color: var(--pg-body); text-decoration: none; line-height: 1.35; }
.toc a:hover { background: var(--av-surface-2); color: var(--av-text); }
@media (max-width: 999px) { .toc ol { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
@media (min-width: 1000px) { .toc nav { position: sticky; top: 96px; } }
.doc { max-width: 44em; color: var(--pg-body); }
.doc section + section { margin-top: 64px; }
.doc h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 18px; }
.doc h3 { font-size: 1.125rem; margin: 32px 0 8px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--av-text); }
.doc .callout {
  background: var(--av-surface-2); border-radius: var(--av-radius-lg); padding: 20px 22px; margin: 24px 0;
  box-shadow: inset 3px 0 0 var(--av-flame);
}
.doc .callout p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; background: var(--av-surface); border-radius: var(--av-radius-lg); padding: 8px 8px 4px; }
.doc table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; }
.doc thead th { color: var(--av-muted); font: 600 14px/1.3 var(--av-font-body); border-bottom: 1px solid var(--av-line-strong); }
.doc tbody tr:nth-child(even) > * { background: rgba(255, 214, 200, .035); }
.doc tbody tr:nth-child(even) > :first-child { border-radius: var(--av-radius) 0 0 var(--av-radius); }
.doc tbody tr:nth-child(even) > :last-child { border-radius: 0 var(--av-radius) var(--av-radius) 0; }
.doc td:last-child { color: var(--av-text); min-width: 8.5em; }
/* phones: the privacy table stacks each record (roles in the markup keep the table semantics) */
@media (max-width: 559px) {
  .table-wrap:has(> .stack) { padding: 6px; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack tbody, .stack tr, .stack td { display: block; }
  .stack tbody tr { padding: 14px 12px; border-radius: var(--av-radius); }
  .stack tbody tr:nth-child(even) { background: rgba(255, 214, 200, .035); }
  .stack tbody tr > * { background: none !important; padding: 0; min-width: 0; }
  .stack td:first-child { color: var(--av-text); }
  .stack td[data-label] { margin-top: 10px; font-size: 14px; }
  .stack td[data-label]::before { content: attr(data-label); display: block; color: var(--av-muted); font-size: 13px; font-weight: 600; }
}

/* ---------------------------------------------------------------- footer */
.foot { padding: 56px 0 48px; color: var(--av-muted); font-size: 14px; background: #12060A; }
.foot .wrap { display: grid; gap: 24px; }
.foot .wordmark { display: block; height: 14px; width: auto; margin: 0 0 14px; opacity: .92; }
.foot p { margin: 0; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.foot a { color: var(--av-text); text-decoration: none; }
.foot a:hover { color: var(--av-link); text-decoration: underline; }
.foot .credit { font-size: 12px; line-height: 1.5; max-width: 60em; }
.foot .credit a { color: var(--av-muted); text-decoration: underline; }
.foot .credit a:hover { color: var(--av-text); }
@media (min-width: 860px) {
  .foot .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: end; row-gap: 32px; }
  .foot .credit { grid-column: 1 / -1; }
}

/* ================================================================ the website for site owners (src/pages.js) */
/* header: industries menu, sign-in, the start button; a menu button on phones */
.top .wrap { position: relative; }
.nav > ul { align-items: center; }
.nav .av-btn { padding: 9px 16px; border-radius: var(--av-radius); color: var(--av-cta-text); }
.nav .av-btn:hover { background: var(--av-cta-bg); color: var(--av-cta-text); }
.nav__end { margin-left: 8px; }
.drop { position: relative; }
.drop details > summary {
  list-style: none; cursor: pointer; padding: 9px 14px; border-radius: var(--av-radius-pill);
  font: 600 15px/1.2 var(--av-font-body); color: var(--av-text); display: flex; align-items: center; gap: 8px;
}
.drop details > summary::-webkit-details-marker { display: none; }
.drop details > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.drop details > summary:hover, .drop details[open] > summary, .drop .is-current > summary { background: var(--av-surface-2); }
.drop details ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; }
.menu-btn { display: none; }
@media (min-width: 900px) {
  .drop details ul { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; z-index: 30; background: var(--av-surface); border: 1px solid var(--av-line); border-radius: var(--av-radius-lg); box-shadow: var(--av-shadow-float); }
}
@media (max-width: 899px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding: 9px 14px; border-radius: var(--av-radius);
    background: transparent; border: 1px solid var(--av-line-strong); color: var(--av-text); font: 600 15px/1 var(--av-font-body);
  }
  .menu-btn__bars { position: relative; display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
  .menu-btn__bars::before { top: -5px; }
  .menu-btn__bars::after { top: 5px; }
  .top .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--av-bg); border-bottom: 1px solid var(--av-line); padding: 8px var(--pg-gutter) 20px; max-height: calc(100dvh - 64px); overflow-y: auto; }
  .top.is-open .nav { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a, .drop details > summary { padding: 12px 14px; font-size: 16px; }
  .nav__end { margin: 8px 0 0; border-top: 1px solid var(--av-line); padding-top: 8px; }
  .nav .av-btn { margin-top: 6px; padding: 13px 16px; text-align: center; }
  .drop details ul { padding: 0 0 4px 14px; }
}

/* small things */
.eyebrow { margin: 0 0 14px; color: var(--av-flame); font: 700 13px/1.3 var(--av-font-body); letter-spacing: .08em; text-transform: uppercase; }
.section--tight { padding-top: calc(var(--pg-section) * .5); }
.h-small { font-size: 1.25rem !important; }
.ticks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--pg-body); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--av-success); border-bottom: 2px solid var(--av-success); transform: rotate(-45deg); }
.ticks--cols { gap: 10px 32px; }
@media (min-width: 760px) { .ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fine { color: var(--av-muted); font-size: 14px; }
.crumbs { padding-top: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--av-muted); font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--av-muted); }
.crumbs a:hover { color: var(--av-text); }
.page-head { padding-top: 24px; }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.doc mark { padding: 0 3px; border-radius: 4px; background: rgba(255, 184, 77, .22); color: inherit; }
.draft-banner { margin-top: 16px; padding: 12px 16px; border-radius: var(--av-radius); background: rgba(255, 184, 77, .1); border: 1px solid rgba(255, 184, 77, .35); color: var(--av-text); }

/* laws strip */
.band { padding: 40px 0 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.chips li { padding: 8px 14px; border-radius: var(--av-radius-pill); background: var(--av-surface); border: 1px solid var(--av-line); color: var(--pg-body); font-size: 14px; font-weight: 600; }

/* feature cards */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.features li { background: var(--av-surface); border: 1px solid var(--av-line); border-radius: var(--av-radius-lg); padding: 24px; }
.features h3 { margin: 0 0 8px; }
.features p { margin: 0; color: var(--pg-body); }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .features li { padding: 28px; } }

/* industry cards (links) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cards a { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 22px; border-radius: var(--av-radius-lg); background: var(--av-surface); border: 1px solid var(--av-line); color: var(--av-text); text-decoration: none; transition: border-color .15s, background .15s; }
.cards a:hover { border-color: rgba(255, 138, 61, .55); background: var(--av-surface-2); color: var(--av-text); }
.cards h3 { margin: 0 0 6px; }
.cards p { margin: 0 0 16px; color: var(--pg-body); font-size: 15px; }
.cards__more { margin-top: auto; color: var(--av-flame); font-weight: 700; font-size: 14px; }
.cards__more::after { content: " \2192"; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* code */
.code-card { background: #0E0508; border: 1px solid var(--av-line); border-radius: var(--av-radius-lg); padding: 20px; box-shadow: var(--av-shadow-hero); align-self: center; min-width: 0; }
.code-card__label { margin: 0 0 10px; color: var(--av-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.code-card pre, .doc pre { margin: 0 0 12px; overflow-x: auto; padding: 14px 16px; background: var(--av-surface); border-radius: var(--av-radius); }
.code-card code, .doc pre code { background: none; padding: 0; font-size: 14px; line-height: 1.6; color: var(--av-text); white-space: pre; overflow-wrap: normal; }
.doc pre { margin: 0 0 16px; }

/* pricing cards */
.plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; background: var(--av-surface); border: 1px solid var(--av-line); border-radius: var(--av-radius-lg); }
.plan--pick { border-color: var(--av-flame); box-shadow: 0 0 0 1px rgba(255, 138, 61, .4), var(--av-shadow-hero); }
.plan__tag { position: absolute; top: -12px; left: 24px; margin: 0; padding: 4px 10px; border-radius: var(--av-radius-pill); background: var(--av-cta-bg); color: var(--av-cta-text); font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.plan h3 { margin: 0 0 6px; font: 600 1.25rem/1.2 var(--av-font-display); }
.plan__price { margin: 0 0 8px; font: 700 2rem/1.1 var(--av-font-body); color: var(--av-text); }
.plan__price small { font-size: 15px; font-weight: 600; color: var(--av-muted); }
.plan__desc { margin: 0 0 16px; color: var(--pg-body); font-size: 15px; }
.plan .ticks { margin-bottom: 22px; font-size: 15px; }
.plan .av-btn { margin-top: auto; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.included { margin-top: 56px; padding: 28px; background: var(--av-surface); border-radius: var(--av-radius-lg); }
.included h2 { font-size: 1.375rem; margin: 0 0 18px; }
.custom { margin: 28px 0 0; color: var(--pg-body); }

/* call to action */
.cta-band { display: grid; gap: 20px; align-items: center; padding: 32px 28px; border-radius: var(--av-radius-xl); background: radial-gradient(120% 140% at 100% 0%, rgba(255, 74, 46, .22), transparent 60%), var(--av-surface); border: 1px solid rgba(255, 138, 61, .3); }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); }
.cta-band p { margin: 0; color: var(--pg-body); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; padding: 40px 44px; } }

/* industry pages */
.callout-box { padding: 24px 26px; border-radius: var(--av-radius-lg); background: rgba(255, 184, 77, .08); border: 1px solid rgba(255, 184, 77, .3); }
.callout-box h2 { font-size: 1.25rem !important; margin: 0 0 8px; }
.callout-box p { margin: 0; color: var(--pg-body); max-width: 60em; }
.keep tr.blocked .dur { background: rgba(255, 107, 122, .14); color: var(--av-danger); }
.sources { margin: 0; padding-left: 20px; color: var(--pg-body); display: grid; gap: 6px; font-size: 15px; }

/* footer for the website */
.foot .wrap { grid-template-columns: 1fr; }
.foot__brand p { margin: 0 0 12px; max-width: 26em; }
.foot__brand .wordmark { height: 24px; margin-bottom: 16px; }
.foot__brand .av-btn { color: var(--av-cta-text); text-decoration: none; }
.foot__cols { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot__cols h2 { margin: 0 0 10px; font: 700 13px/1.3 var(--av-font-body); color: var(--av-text); letter-spacing: .06em; text-transform: uppercase; }
.foot__cols ul { display: grid; gap: 8px; }
.foot__op a { text-decoration: underline; }
@media (min-width: 640px) { .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
  .foot__op, .foot .credit { grid-column: 1 / -1; }
}
