/* ============================================================
   CSS dùng chung cho 5 trang AI Agent (huqi.vn/ai-agent/...)
   Kế thừa token + component từ trang chủ (trang-chu/assets/style.css)
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f2f2f2;
  --card: #fff;
  --ink: #1a1a1a;
  --sub: #555;
  --mute: #888;
  --faint: #999;
  --line: #e2e2e2;
  --black: #111;
  --shadow: 0 8px 30px rgba(0, 0, 0, .1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto; /* giữ đúng tỉ lệ gốc khi bị bóp ngang — thiếu dòng này ảnh sẽ biến dạng */
  display: block;
}

/* ===== Nav ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--sub);
  padding: 7px 12px;
  border-radius: 999px;
  transition: background .15s, color .15s;
}

.nav-links a:hover {
  background: #f2f2f2;
  color: var(--ink);
}

.nav-cta {
  background: var(--black);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: #333 !important;
}

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ===== Hero (banner đen, bản gọn cho trang con) ===== */
.hero {
  background: var(--black);
  color: #fff;
  padding: 168px 0 74px; /* chừa chỗ cho nav (49px) + catbar (~51px) cố định */
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 65%);
  top: -180px;
  right: -120px;
  pointer-events: none;
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 14px;
}

.crumb:hover {
  color: #fff;
}

.crumb svg {
  width: 14px;
  height: 14px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}

.kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 16px 0 14px;
  font-weight: 800;
}

.hero h1 .ghost {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
}

.hero .lead {
  color: rgba(255, 255, 255, .72);
  font-size: 16.5px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .15s;
}

.btn:active {
  transform: scale(.98);
}

.btn-white {
  background: #fff;
  color: var(--black);
  font-weight: 700;
}

.btn-white:hover {
  background: #e8e8e8;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
}

.btn-dark {
  background: var(--black);
  color: #fff;
  font-weight: 600;
}

.btn-dark:hover {
  background: #333;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Khối visual bên phải hero */
.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.chip {
  position: absolute;
  background: #fff;
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
  white-space: nowrap;
  z-index: 3;
}

.chip.c1 {
  top: 6%;
  left: -8%;
  animation-delay: 0s;
}

.chip.c2 {
  top: 46%;
  right: -10%;
  animation-delay: 1.2s;
}

.chip.c3 {
  bottom: 8%;
  left: -6%;
  animation-delay: 2.4s;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 860px) {
  .hero-in {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 8px;
  }

  .chip.c1 {
    left: 0;
  }

  .chip.c2 {
    right: 0;
  }

  .chip.c3 {
    left: 2%;
  }
}

/* ===== Sections chung ===== */
section {
  padding: 84px 0;
  /* anchor không bị nav + catbar cố định (~100px) che mất tiêu đề */
  scroll-margin-top: 60px;
}

.sec-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.sec-label {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--sub);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.sec-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.01em;
  line-height: 1.15;
}

.sec-head p {
  color: var(--sub);
  margin-top: 10px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== Stats band (dải số liệu dưới hero) ===== */
.stats-band {
  position: relative;
  margin-top: -1px;
  background: var(--black);
  padding: 0 0 64px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 22px 20px;
  color: #fff;
}

.stat b {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  display: block;
  white-space: nowrap;
}

.stat>span {
  display: block;
  color: rgba(255, 255, 255, .6);
  font-size: 13.5px;
  margin-top: 6px;
}

.stat b span {
  font-size: inherit;
  color: inherit;
  display: inline;
  margin: 0;
}

@media (max-width: 860px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Cards chung ===== */
.grid {
  display: grid;
  gap: 16px;
}

.g3 {
  grid-template-columns: repeat(3, 1fr);
}

.g2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 960px) {
  .g3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .g3,
  .g2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 17px;
  margin: 14px 0 6px;
}

.card p {
  color: var(--sub);
  font-size: 14.5px;
}

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-chip svg {
  width: 22px;
  height: 22px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pills span {
  background: var(--bg);
  color: #444;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===== Sơ đồ cấu trúc (flow diagram — bảng đen) ===== */
.schema {
  background: var(--black);
  border-radius: 20px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
}

.schema-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fnode {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  padding: 16px 18px;
  color: #fff;
  min-width: 158px;
  flex: 1 1 158px;
  max-width: 240px;
  text-align: center;
}

.fnode svg {
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  display: block;
  color: #fff;
}

.fnode b {
  display: block;
  font-size: 14.5px;
  letter-spacing: -.01em;
}

.fnode span {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: 12.5px;
  margin-top: 4px;
  line-height: 1.4;
}

.fnode.hl {
  background: #fff;
  color: var(--black);
  border-color: #fff;
}

.fnode.hl svg {
  color: var(--black);
}

.fnode.hl span {
  color: #666;
}

.farr {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .45);
  flex: 0 0 auto;
  padding: 0 2px;
}

.farr svg {
  width: 22px;
  height: 22px;
}

.farr.down {
  width: 100%;
}

.farr.down svg {
  transform: rotate(90deg);
}

.schema-note {
  text-align: center;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  margin-top: 22px;
}

@media (max-width: 720px) {
  .schema {
    padding: 26px 16px;
  }

  .schema-row {
    flex-direction: column;
    align-items: stretch;
  }

  .fnode {
    max-width: none;
  }

  .farr svg {
    transform: rotate(90deg);
  }
}

/* ===== Timeline các bước vận hành ===== */
.timeline {
  position: relative;
  margin-top: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.t-item {
  position: relative;
  padding: 0 0 26px 36px;
}

.t-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--black);
  border: 4px solid var(--bg);
}

.t-item time {
  font-size: 13px;
  color: var(--mute);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.t-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 8px;
  transition: transform .2s, box-shadow .2s;
}

.t-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.t-card h3 {
  font-size: 16px;
}

.t-card p {
  color: var(--sub);
  font-size: 14.5px;
  margin-top: 6px;
}

/* ===== Terminal mockup ===== */
.terminal {
  background: var(--black);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1d1d1d;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.term-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3a3a;
}

.term-bar i:first-child {
  background: #ff5f57;
}

.term-bar i:nth-child(2) {
  background: #febc2e;
}

.term-bar i:nth-child(3) {
  background: #28c840;
}

.term-bar em {
  font-style: normal;
  color: #777;
  font-size: 12.5px;
  margin-left: 10px;
  font-family: Consolas, "Courier New", monospace;
}

.term-body {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13.5px;
  padding: 18px 20px 24px;
  color: #d4d4d4;
  min-height: 180px;
}

.term-body div {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
  margin-top: 6px;
  white-space: pre-wrap;
}

.term-body div.on {
  opacity: 1;
  transform: none;
}

.t-cmd {
  color: #fff;
}

.t-ok {
  color: #4ade80;
}

.t-dim {
  color: #8a8a8a;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #d4d4d4;
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ===== Khung ảnh kết quả ===== */
/* Khung trình duyệt cho screenshot (KHÔNG tilt — giữ chữ trong ảnh luôn nét) */
.shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .25s ease;
}

.shot:hover {
  box-shadow: var(--shadow);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.shot-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ddd;
}

.shot-bar .url {
  margin-left: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--sub);
  padding: 3px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot-cap {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--sub);
}

.shot-cap b {
  color: var(--ink);
  display: block;
  font-size: 14px;
}

/* Khung điện thoại cho ảnh/video dọc 9:16 */
.phone {
  background: #000;
  border: 7px solid #111;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 16px;
  background: #111;
  border-radius: 999px;
  z-index: 2;
}

.phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
}

.phone-cap {
  text-align: center;
  color: var(--mute);
  font-size: 13px;
  margin-top: 10px;
}

/* Ảnh vuông trong khung card đơn giản */
.pic {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}

.pic:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.pic img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.pic figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--sub);
  border-top: 1px solid var(--line);
}

/* Placeholder cho ảnh thực tế sẽ bổ sung sau */
.ph-img {
  border: 2px dashed #ccc;
  border-radius: 16px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
  padding: 20px;
  min-height: 180px;
}

.ph-img svg {
  width: 30px;
  height: 30px;
  stroke: #ccc;
}

/* ===== Mockup Google Sheet ===== */
.sheet-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 13px;
}

.sheet-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
  font-weight: 600;
  font-size: 13px;
  color: var(--sub);
}

.sheet-top .sq {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #188038;
  flex: none;
}

.sheet-scroll {
  overflow-x: auto;
}

.sheet-mock table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
}

.sheet-mock th {
  background: #f3f3f3;
  color: #777;
  font-weight: 600;
  font-size: 11px;
  border: 1px solid #e6e6e6;
  padding: 5px 10px;
  text-align: left;
  white-space: nowrap;
}

.sheet-mock td {
  border: 1px solid #eee;
  padding: 7px 10px;
  color: #333;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sheet-mock .ok {
  color: #188038;
  font-weight: 600;
}

.sheet-mock .pend {
  color: #b26a00;
  font-weight: 600;
}

.sheet-tab {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  background: #fafafa;
}

.sheet-tab span {
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 6px 6px 0 0;
  color: var(--sub);
}

.sheet-tab span.on {
  background: #e6f4ea;
  color: #188038;
  font-weight: 700;
}

/* ===== Kết quả nổi bật (card viền trái đen) ===== */
.kq {
  border-left: 4px solid var(--black);
}

.kq b {
  font-size: 22px;
  letter-spacing: -.01em;
}

/* ===== Báo giá ===== */
.price-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px dashed #bbb;
  border-radius: 999px;
  color: var(--sub);
  font-size: 13px;
  padding: 7px 16px;
  margin-bottom: 26px;
}

.price-note svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.price:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price .tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}

.price .amount {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 10px;
}

.price .amount small {
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0;
}

.price .desc {
  color: var(--sub);
  font-size: 13.5px;
  margin-top: 6px;
}

.price ul {
  list-style: none;
  margin: 18px 0 22px;
  flex: 1;
}

.price li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--sub);
  padding: 5px 0;
}

.price li svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
}

.price .btn {
  justify-content: center;
}

.price.feat {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
  position: relative;
}

.price.feat .tier {
  color: rgba(255, 255, 255, .6);
}

.price.feat .desc,
.price.feat li {
  color: rgba(255, 255, 255, .72);
}

.price.feat .amount small {
  color: rgba(255, 255, 255, .55);
}

.price .tag-pop {
  position: absolute;
  top: -12px;
  right: 22px;
  background: #fff;
  color: var(--black);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* ===== Các agent khác ===== */
.agents-more .card {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.agents-more .card h3 {
  margin: 0 0 2px;
  font-size: 15.5px;
}

.agents-more .card p {
  font-size: 13px;
  color: var(--mute);
}

.agents-more .icon-chip {
  flex: none;
  width: 40px;
  height: 40px;
}

.agents-more .go {
  margin-left: auto;
  color: var(--faint);
  flex: none;
}

.agents-more .go svg {
  width: 18px;
  height: 18px;
}

/* ===== Contact ===== */
.contact {
  background: var(--black);
  color: #fff;
}

.contact .sec-label {
  background: transparent;
  border-color: rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.contact .sub {
  color: rgba(255, 255, 255, .65);
  margin-top: 12px;
}

.c-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  transition: background .15s, border-color .15s;
}

.c-btn:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .45);
}

.c-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.c-btn small {
  margin-left: auto;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
}

.c-btn.solid {
  background: #fff;
  color: var(--black);
  font-weight: 700;
  justify-content: center;
  border-color: #fff;
}

.c-btn.solid:hover {
  background: #e8e8e8;
}

footer {
  background: var(--black);
  color: var(--faint);
  text-align: center;
  font-size: 12.5px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

footer a {
  color: inherit;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .chip,
  .kicker .dot,
  .cursor {
    animation: none !important;
  }

  .term-body div {
    opacity: 1;
    transform: none;
  }
}
