/* ===== Comfy.vn — design tokens (dark-only theo design 2026-07-15) ===== */
:root {
  --bg: radial-gradient(1000px 560px at 85% -5%, rgba(242, 255, 89, .09), transparent 60%),
        radial-gradient(900px 560px at -10% 30%, rgba(214, 232, 60, .06), transparent 55%),
        linear-gradient(165deg, #1A1B12 0%, #101108 55%, #15160C 100%);
  --surface: #1A1B14;
  --ink: #F1F1F7;
  --muted: #B6B7A6;
  --faint: #858677;
  --border: rgba(255, 255, 255, .1);
  --border2: rgba(255, 255, 255, .22);
  --chip: #25261B;
  --accent: #F2FF59;
  --accent-strong: #F7FF8C;
  --accent-soft: rgba(242, 255, 89, .12);
  --accent-line: rgba(242, 255, 89, .34);
  --on-accent: #16170E;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }

.mono { font-family: 'IBM Plex Mono', monospace; }

@keyframes tlUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tlIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Icons ===== */
.ic { width: 20px; height: 20px; flex: none; }

/* ===== Nav ===== */
.nav {
  animation: tlIn .5s ease 0s both;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.nav-brand:hover { color: var(--ink); }
.nav-brand img { width: 26px; height: 31px; }
.nav-brand span { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.nav-brand .tld { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--ink); }


.nav-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  background: var(--chip);
  border: 1px solid var(--border2);
  cursor: pointer;
  padding: 0;
  flex: none;
}
.nav-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav.open .nav-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .nav-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 88px 48px 56px; text-align: center; }

.hero-badge {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .05s both;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero h1 {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .12s both;
  margin: 0 auto;
  max-width: 820px;
  font-size: 58px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
}

.hero .lead {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .2s both;
  margin: 20px auto 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== Featured tool cards ===== */
.featured { padding: 0 48px 24px; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.card-featured {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 18px;
  padding: 34px;
  transition: box-shadow .3s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}
.card-featured:hover { transform: translateY(-6px); }

.card-featured.lime {
  background: #F2FF59;
  color: #14142B;
  box-shadow: 0 12px 36px rgba(180, 200, 30, .28);
}
.card-featured.lime:first-child { animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .32s both; }
.card-featured.lime:last-child { animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .42s both; }
.card-featured.lime:hover {
  color: #14142B;
  box-shadow: 0 20px 48px rgba(180, 200, 30, .4);
}

.card-featured .card-top { display: flex; align-items: center; justify-content: space-between; }
.card-featured .index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(20, 20, 43, .55);
}
.card-featured .badge {
  font-size: 11px;
  font-weight: 600;
  color: #14142B;
  background: rgba(20, 20, 43, .1);
  padding: 4px 10px;
  border-radius: 999px;
}
.card-featured .title-row { display: flex; align-items: center; gap: 12px; }
.card-featured .icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(20, 20, 43, .1);
  display: grid;
  place-items: center;
  flex: none;
}
.card-featured .title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.card-featured p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(20, 20, 43, .75); }

.card-featured .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-featured .tags span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: #14142B;
  background: rgba(20, 20, 43, .08);
  padding: 4px 9px;
  border-radius: 6px;
}

.card-featured .cta {
  margin-top: auto;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  background: #14142B;
  color: #F2FF59;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
}
.card-featured .cta .ic { width: 15px; height: 15px; }

/* ===== Training tools (collapsible) ===== */
.tools { padding: 12px 48px 84px; }
.tools-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 18px;
}
.tools-head p { margin: 0; font-size: 14px; color: var(--faint); }
.tools-toggle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--faint);
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
}
.tools-toggle:hover { color: var(--accent); }

.tools-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.22, 1, .36, 1);
}
.tools-collapse-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s .45s;
}
.tools.open .tools-collapse { grid-template-rows: 1fr; }
.tools.open .tools-collapse-inner {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease .1s, visibility 0s;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.tools-grid + .tools-grid { margin-top: 16px; }

.tools.open .card-tool { animation: tlUp .5s cubic-bezier(.22, 1, .36, 1) both; }
.tools.open .card-tool:nth-child(2) { animation-delay: .07s; }
.tools.open .card-tool:nth-child(3) { animation-delay: .14s; }
.tools.open .tools-grid + .tools-grid .card-tool { animation-delay: .21s; }
.tools.open .tools-grid + .tools-grid .card-tool:nth-child(2) { animation-delay: .28s; }
.tools.open .tools-grid + .tools-grid .card-tool:nth-child(3) { animation-delay: .35s; }

.card-tool {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(20, 20, 43, .05);
  transition: border-color .2s ease, box-shadow .25s ease;
}
.card-tool:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .16);
  color: var(--ink);
}
.card-tool .card-top { display: flex; align-items: center; justify-content: space-between; color: var(--faint); }
.card-tool .index { font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
.card-tool .card-top .ic { width: 16px; height: 16px; }
.card-tool .title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.card-tool .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tool .tags span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  background: var(--chip);
  padding: 3px 8px;
  border-radius: 6px;
}
.card-tool .cta { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--accent); }

/* ===== Quick links ===== */
.quick-links {
  max-width: 1200px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.quick-links .row {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .74s both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.pill-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
}
.pill-accent:hover { background: var(--accent-strong); color: var(--on-accent); }
.pill-accent .ic { width: 15px; height: 15px; }

/* ===== Resources ===== */
.resources {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .15s both;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 48px;
}
.resources-inner { max-width: 1200px; margin: 0 auto; }
.resources h2 { margin: 0 0 6px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; text-align: center; }
.resources .sub { margin: 0 0 40px; font-size: 14px; color: var(--faint); text-align: center; }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resource { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
.resource + .resource { border-left: 1px solid var(--border); }
.resource .head { display: flex; align-items: center; gap: 9px; color: var(--accent); }
.resource .head .num { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; }
.resource .icon-chip {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
}
.resource .icon-chip .ic { width: 16px; height: 16px; }
.resource .title { font-size: 17px; font-weight: 700; color: var(--ink); }
.resource .title:hover { color: var(--accent); }
.resource p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ===== Community band ===== */
.community { padding: 72px 48px 84px; }
.community-band {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .15s both;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(120deg, #2A2C19 0%, #15160C 65%);
  border-radius: 18px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.community-band h2 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.community-band p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
  max-width: 560px;
}
.community-band .actions { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
}
.btn-accent:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn-accent .ic { width: 16px; height: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-ghost .ic { width: 16px; height: 16px; }

/* ===== Footer ===== */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer .brand { display: flex; align-items: center; gap: 10px; }
.footer .brand img { width: 18px; height: 22px; opacity: .75; }
.footer .brand a { font-size: 13.5px; color: var(--faint); }
.footer .brand a:hover { color: var(--accent); }
.footer .links { display: flex; gap: 24px; font-size: 13.5px; }
.footer .links a { color: var(--muted); }
.footer .links a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav { padding: 10px 20px; min-height: 60px; }
  .nav-right { gap: 12px; }
  .nav-menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .18);
    padding: 8px 0;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 24px; font-size: 15.5px; }
  .nav-links a.active { color: var(--accent); background: var(--accent-soft); }

  .hero { padding: 64px 24px 44px; }
  .hero h1 { font-size: 40px; }
  .featured { padding: 0 24px 20px; }
  .featured-grid { grid-template-columns: 1fr; }
  .tools { padding: 12px 24px 64px; }
  .resources { padding: 48px 24px; }
  .resources-grid { grid-template-columns: 1fr; gap: 28px; }
  .resource { padding: 0; }
  .resource + .resource { border-left: none; border-top: 1px solid var(--border); padding-top: 24px; }
  .community { padding: 48px 24px 64px; }
  .community-band { padding: 36px 28px; }
  .footer { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .tools-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
}

/* ===== Page header (trang phụ) ===== */
.page-header { padding: 72px 48px 44px; text-align: center; }
.page-header .eyebrow {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .05s both;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-header h1 {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .12s both;
  margin: 0 auto;
  max-width: 960px;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
}
.page-header .lead {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .2s both;
  margin: 16px auto 0;
  max-width: 680px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ===== Contact ===== */
.contact-rows {
  padding: 0 48px 88px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.contact-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(20, 20, 43, .05);
}
.contact-row.anim-a { animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .3s both; }
.contact-row.anim-b { animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .42s both; }
.contact-row .logo-tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #F7FF9E 0%, #F2FF59 48%, #D9EC2E 100%);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(180, 200, 30, .3);
}
.contact-row .logo-tile img { width: 110px; height: 133px; }
.contact-row .avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(20, 20, 43, .16);
}
.contact-row .body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.contact-row .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--accent);
}
.contact-row h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.contact-row .body p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 520px; }
.contact-row .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.contact-row .links.compact { flex-wrap: nowrap; gap: 8px; }

.pill-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  white-space: nowrap;
}
.pill-ghost:hover { border-color: var(--accent); color: var(--accent); }
.pill-ghost .ic { width: 14px; height: 14px; }
.contact-row .pill-accent { white-space: nowrap; font-size: 14px; padding: 11px 20px; }
.contact-row .links.compact .pill-accent,
.contact-row .links.compact .pill-ghost { font-size: 13.5px; padding: 10px 15px; gap: 6px; }

/* ===== Donate ===== */
.donate-cards { padding: 0 48px 88px; flex: 1; }
.donate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.card-donate {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 1px 3px rgba(20, 20, 43, .05);
}
.card-donate.anim-a { animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .3s both; }
.card-donate.anim-b { animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .42s both; }
.card-donate .card-top { display: flex; align-items: center; justify-content: space-between; }
.card-donate .title-wrap { display: flex; align-items: center; gap: 11px; }
.card-donate .icon-chip {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.card-donate .icon-chip .ic { width: 17px; height: 17px; }
.card-donate .title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.card-donate .badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.card-donate > img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.card-donate .fields { display: flex; flex-direction: column; gap: 8px; }
.card-donate .fields.push { margin-top: auto; }
.card-donate .field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--chip);
  border-radius: 10px;
  padding: 12px 18px;
}
.card-donate .field .label { font-size: 13px; color: var(--faint); }
.card-donate .field .value { font-size: 14.5px; font-weight: 700; }
.card-donate .field .value.mono { font-family: 'IBM Plex Mono', monospace; font-weight: 600; }
.card-donate .btn-accent { justify-content: center; padding: 14px 22px; }
.card-donate .btn-accent .ic { width: 15px; height: 15px; }

/* ===== Feedback form ===== */
.feedback { padding: 0 48px 88px; flex: 1; }
.feedback-card {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .3s both;
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(20, 20, 43, .05);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.fb-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
}
.fb-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fb-cat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--chip);
  color: var(--muted);
  border: 1px solid var(--border);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  text-align: left;
}
.fb-cat .ic { width: 17px; height: 17px; }
.fb-cat.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group > span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field-group > span .opt { font-weight: 400; color: var(--faint); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-group input,
.field-group textarea {
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--chip);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: border-color .15s ease;
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--faint); }
.field-group input:focus,
.field-group textarea:focus { border-color: var(--accent); }
.field-group textarea { line-height: 1.6; padding: 14px 16px; resize: vertical; min-height: 130px; }
.fb-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px dashed var(--border2);
  border-radius: 12px;
  padding: 26px;
  color: var(--faint);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.fb-drop:hover, .fb-drop.dragover { border-color: var(--accent); color: var(--accent); }
.fb-drop .ic { width: 18px; height: 18px; }
.fb-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fb-submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
.fb-submit:hover { background: var(--accent-strong); }
.fb-submit:disabled { opacity: .6; cursor: default; }
.fb-submit .ic { width: 15px; height: 15px; }
.form-status { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #E07B6A; font-weight: 500; }
.form-status.error a { color: var(--accent); }

/* ===== Hướng dẫn ===== */
.guide-hero { padding: 64px 48px 36px; text-align: center; }
.guide-hero .hero-badge { margin-bottom: 22px; }
.guide-hero h1 {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .12s both;
  margin: 0 auto;
  max-width: 820px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
}
.guide-hero .lead {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .2s both;
  margin: 16px auto 0;
  max-width: 640px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
}
.guide-video {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .22s both;
  padding: 0 48px 40px;
}
.video-frame {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.guide-tabs {
  animation: tlUp .7s cubic-bezier(.22, 1, .36, 1) .26s both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 48px 44px;
}
.guide-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--muted);
  border: 1px solid var(--border2);
  transition: background .15s ease, color .15s ease;
}
.guide-tab .ic { width: 15px; height: 15px; }
.guide-tab.active { background: var(--accent); color: var(--on-accent); border-color: transparent; }

.guide-panel { display: none; padding: 0 48px 84px; }
.guide-panel.active { display: block; }
.guide-inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 38px; }
.guide-block { display: flex; flex-direction: column; gap: 12px; }
.guide-block + .guide-block { border-top: 1px solid var(--border); padding-top: 36px; }
.guide-block.no-line { border-top: none; padding-top: 0; }
.guide-block .step-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.guide-block .step-title { font-size: 19px; font-weight: 700; }
.guide-block p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.guide-block p.note { font-size: 13.5px; color: var(--faint); }
.guide-block img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 6px;
}
.guide-block .img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.guide-block .img-pair img { margin-top: 0; }
.kbd {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  background: var(--chip);
  padding: 2px 7px;
  border-radius: 5px;
}
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.path-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}
.path-row .k { font-size: 13.5px; color: var(--muted); }
.path-row .v { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink); }

@media (max-width: 860px) {
  .page-header { padding: 56px 24px 36px; }
  .page-header h1 { font-size: 32px; }
  .contact-rows { padding: 0 24px 64px; }
  .contact-row { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .contact-row .logo-tile, .contact-row .avatar { max-width: 300px; }
  .contact-row .links.compact { flex-wrap: wrap; }
  .donate-cards { padding: 0 24px 64px; }
  .donate-grid { grid-template-columns: 1fr; }
  .feedback { padding: 0 24px 64px; }
  .feedback-card { padding: 24px; }
  .fb-cats, .form-row { grid-template-columns: 1fr; }
  .guide-hero { padding: 48px 24px 28px; }
  .guide-hero h1 { font-size: 30px; }
  .guide-video { padding: 0 24px 28px; }
  .video-frame { border-radius: 12px; }
  .guide-tabs { padding: 0 24px 36px; }
  .guide-panel { padding: 0 24px 64px; }
  .guide-block .img-pair, .path-grid { grid-template-columns: 1fr; }
  .path-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}
