/* AIvisible front page (aivisible.dk). Uses the tokens from aivisible.css. */

body.site { background: var(--surface); overflow-x: hidden; }
.site .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site .narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.site .center { text-align: center; }
.site section { padding: 72px 0; }
.site section.band { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.site h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; margin: 0 0 24px; }
.site h3 { font-size: 16px; font-weight: 650; margin: 0 0 6px; }
.site .lead { font-size: 18px; line-height: 1.6; color: var(--text2); }
.site p { color: var(--text2); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border); }
.site-header .inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 24px; }
.site-nav { display: flex; gap: 4px; flex: 1; }
.site-nav a { color: var(--text2); font-size: 14px; font-weight: 500; padding: 6px 10px; border-radius: var(--radius-sm); }
.site-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.site-actions { display: flex; align-items: center; gap: 8px; }
.site-actions .lang { font-size: 13px; color: var(--muted); padding: 6px 8px; }

/* hero */
.hero { padding: 72px 0 64px; background: radial-gradient(1000px 420px at 80% -10%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--brand) !important; margin-bottom: 12px; }
.hero h1 { font-size: 48px; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 12px; }
.hero .note { font-size: 13px; color: var(--muted); }
.engines { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.chip { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 3px 10px; font-weight: 600; color: var(--text); }

.chat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 22px; }
.bubble { border-radius: 14px; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; }
.bubble.q { background: var(--brand); color: var(--brand-ink); margin-left: auto; max-width: 85%; width: fit-content; border-bottom-right-radius: 4px; font-weight: 500; }
.bubble.a { background: var(--surface-2); border: 1px solid var(--border); margin-top: 12px; border-bottom-left-radius: 4px; }
.bubble.a p { margin: 0 0 6px; color: var(--text); }
.bubble.a ol { margin: 0; padding-left: 20px; color: var(--text); }
.bubble.a li { margin: 3px 0; }
.verdict { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 13px; }
.verdict .miss { color: var(--down); background: var(--down-soft); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.verdict .stat { color: var(--text2); padding: 3px 0; }

/* why, how, who */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cols3.cards { gap: 16px; margin-bottom: 20px; }
.cols3 p { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps .n { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--brand-line); }
.steps p { margin: 0; font-size: 14.5px; }

/* demo */
.demo-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.demo-head h2 { margin-bottom: 4px; }
.demo-head p { margin: 0; }
.tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.tabs button { border: 0; box-shadow: none; background: transparent; height: 34px; color: var(--text2); }
.tabs button.on { background: var(--brand); color: var(--brand-ink); font-weight: 600; }
.demo-frame { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2);
  font-size: 13px; color: var(--text2); font-weight: 600; }
.demo-top .dots { display: inline-flex; gap: 5px; } .demo-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.demo-top .badge { margin-left: auto; font-weight: 600; font-size: 12px; color: var(--warn); background: var(--warn-soft);
  border: 1px solid var(--warn-line); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.demo-pane { padding: 20px; background: var(--bg); }
.demo-pane[hidden] { display: none; }
.demo-pane .tiles { margin-top: 0; grid-template-columns: repeat(4, 1fr); }
.demo-pane .panel { min-width: 0; }
.demo-pane .panel h3 { margin-bottom: 14px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.demo-pane > .panel + .demo-grid { margin-top: 16px; }
.up { color: var(--up); font-weight: 600; } .down { color: var(--down); font-weight: 600; }

.hbar { display: grid; grid-template-columns: 120px 1fr 44px; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; }
.hbar .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .track { height: 10px; background: var(--grid); border-radius: 4px; overflow: hidden; }
.hbar .fill { display: block; height: 100%; background: var(--other); border-radius: 0 4px 4px 0; }
.hbar.me .n { font-weight: 700; color: var(--text); } .hbar.me .fill { background: var(--s1); }
.hbar.src .fill { background: var(--s3); } .hbar.src.me .fill { background: var(--s1); }
.hbar .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--text2); }

.trend { width: 100%; height: auto; display: block; }
.trend .grid { stroke: var(--grid); stroke-width: 1; }
.trend .axis { fill: var(--muted); font-size: 11px; }
.trend .line { fill: none; stroke: var(--s1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.trend .pt { fill: var(--s1); stroke: var(--surface); stroke-width: 2; }
.trend .lbl { fill: var(--text); font-size: 12px; font-weight: 700; }

.ask { font-weight: 600; color: var(--text); margin-bottom: 10px; }
.answer { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.answer p { margin: 0 0 6px; color: var(--text); } .answer ol { margin: 0 0 8px; padding-left: 20px; }
mark { border-radius: 4px; padding: 0 4px; font-weight: 600; }
mark.them { background: var(--grid); color: var(--text); }
mark.me { background: var(--brand-soft); color: var(--brand); outline: 1px solid var(--brand-line); }
.insight { font-size: 13.5px; margin: 12px 0 0; }
.scroll { overflow-x: auto; }
.brief .page { margin-bottom: 12px; }
.brief blockquote { margin: 6px 0 14px; padding: 10px 14px; border-left: 3px solid var(--brand); background: var(--brand-soft);
  border-radius: 0 8px 8px 0; font-size: 14px; color: var(--text); }
.brief ul { margin: 6px 0 0; padding-left: 20px; font-size: 14px; color: var(--text2); }
.more { margin: 14px 0 0; text-align: center; }
#demo .center { margin-top: 28px; }

/* industries */
.industries { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.industries li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); }
.industries .ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; }
.industries svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.industries h3 { font-size: 14.5px; margin: 1px 0 3px; }
.industries p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* pricing */
.prices { gap: 16px; margin: 8px 0 16px; }
.prices .panel { padding: 24px; display: flex; flex-direction: column; }
.prices .featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.amount { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 2px; color: var(--text); font-variant-numeric: tabular-nums; }
.amount small { font-size: 14px; font-weight: 500; color: var(--muted); }
.prices p { margin: 0 0 8px; }
.help { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; padding: 24px; }
.help p { margin: 0; }

/* faq, final, footer */
.faq { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--text); list-style-position: outside; }
.faq p { margin: 10px 0 0; }
.final { background: var(--brand-soft); border-top: 1px solid var(--brand-line); }
.final .lead { margin-bottom: 24px; }
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--muted); }
.site-footer .links { display: flex; gap: 16px; flex-wrap: wrap; }

/* tablet & phone */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 38px; }
  .steps, .industries { grid-template-columns: 1fr 1fr; }
  .demo-pane .tiles { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .site-header .inner { justify-content: space-between; }
}
@media (max-width: 720px) {
  .site .wrap, .site-header .inner { padding-left: 16px; padding-right: 16px; }
  .site section { padding: 52px 0; }
  .site h2 { font-size: 24px; }
  .hero { padding: 40px 0 44px; }
  .hero h1 { font-size: 31px; }
  .site .lead { font-size: 16px; }
  .cols3, .steps, .demo-grid, .industries { grid-template-columns: 1fr; gap: 16px; }
  .industries { gap: 10px; }
  .cols3:not(.cards) { gap: 22px; }
  .demo-pane { padding: 12px; }
  .demo-pane .tiles { gap: 10px; }
  .demo-pane .tile { padding: 14px; }
  .demo-pane .tile-value { font-size: 24px; }
  .hbar { grid-template-columns: 100px 1fr 40px; }
  .demo-top > span:nth-child(2) { display: none; }
  .help { flex-direction: column; align-items: flex-start; }
  .site-actions .login { display: none; }
  .cta-row .btn { flex: 1 1 auto; }
  .demo-pane .rank td, .demo-pane .rank th { padding: 9px 6px; }
  .demo-pane .hide-sm { display: none; }
}
