/* Shared styles for every page on thanhbtapp.com. Loaded by partials/head.php. */
:root {
  --navy: #131a33;
  --navy-2: #1c2547;
  --green: #1f7a58;
  --green-dark: #17664a;
  --mint: #6fdcb2;
  --bg: #f5f7fa;
  --card: #ffffff;
  --ink: #151b2f;
  --muted: #566078;
  --line: #e1e6ee;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(19, 26, 51, .05), 0 8px 24px rgba(19, 26, 51, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
section[id] { scroll-margin-top: 72px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mint); color: var(--navy); }
.btn-primary:hover { background: #8be9c4; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-sm { display: inline-block; padding: 10px 18px; font-size: .95rem; white-space: nowrap; }
.btn svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(19, 26, 51, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.01em; }
.brand-name { overflow: hidden; text-overflow: ellipsis; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--mint); color: var(--navy); font-size: .95rem; font-weight: 800; }
.nav ul { display: flex; gap: 28px; }
.nav ul a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav ul a:hover { color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 80px 0 150px;
  background:
    radial-gradient(800px 460px at 88% 0%, rgba(111, 220, 178, .20), transparent 60%),
    radial-gradient(640px 400px at 0% 100%, rgba(98, 120, 255, .18), transparent 60%),
    var(--navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(111, 220, 178, .25); }
.hero h1 { margin-top: 22px; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { margin-top: 22px; max-width: 34em; font-size: 1.18rem; color: rgba(255, 255, 255, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 22px; max-width: 34em; font-size: .95rem; color: rgba(255, 255, 255, .68); }
.hero-note strong { color: #fff; font-weight: 600; }

/* Hero illustration (decorative) */
.hero-art { position: relative; padding: 18px 0 40px; }
.browser { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); transform: rotate(1.5deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #eef1f6; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd2de; }
.browser-bar span { margin-left: 10px; flex: 1; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: .72rem; color: #7b8499; }
.browser-body { padding: 16px; }
.m-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.m-nav b { width: 54px; height: 10px; border-radius: 4px; background: var(--navy); }
.m-nav span { width: 30px; height: 6px; border-radius: 4px; background: #d5dbe6; }
.m-nav span:first-of-type { margin-left: auto; }
.m-hero { display: flex; align-items: center; height: 138px; padding: 0 20px; border-radius: 12px; background: linear-gradient(120deg, #e6f6ef, #cfeee0 55%, #b6e5d1); }
.m-hero div { display: grid; gap: 9px; }
.m-hero i { display: block; height: 11px; border-radius: 4px; background: var(--navy); width: 150px; }
.m-hero i + i { width: 110px; background: rgba(19, 26, 51, .35); height: 8px; }
.m-hero u { display: block; width: 74px; height: 24px; border-radius: 7px; background: var(--green); }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.m-card .img { height: 76px; border-radius: 8px; background: linear-gradient(135deg, #dfe5f2, #c4cde3); }
.m-card:nth-child(2) .img { background: linear-gradient(135deg, #f5e3d2, #ecc9aa); }
.m-card:nth-child(3) .img { background: linear-gradient(135deg, #e3dcf3, #c9bdea); }
.m-card i { display: block; height: 7px; margin-top: 8px; border-radius: 4px; background: #d5dbe6; width: 80%; }
.m-card i + i { width: 40%; background: var(--green); opacity: .7; }
.code {
  position: absolute; z-index: 2; left: -28px; bottom: 0; width: 290px; margin: 0; padding: 16px 18px; border-radius: 14px;
  background: #0b1022; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  font-family: var(--mono); font-size: .76rem; line-height: 1.7; color: #c9d3ea; white-space: pre; overflow: hidden;
}
.code .k { color: var(--mint); }
.code .s { color: #ffcf8b; }
.chip { position: absolute; z-index: 2; right: -6px; top: -4px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--navy); font-size: .82rem; font-weight: 700; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.chip svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -72px; }
.stats-card { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(19, 26, 51, .12); }
.stat { padding: 28px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 2.1rem; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--green); }
.stat span { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); }
.works-with { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin-top: 28px; font-size: .9rem; color: var(--muted); }
.works-with li { padding: 5px 14px; border-radius: 999px; background: #e9edf3; color: var(--navy-2); font-weight: 600; font-size: .85rem; }
.works-with li:first-child { background: none; padding: 0 4px; font-weight: 500; color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 96px 0 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }

/* Services */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(19, 26, 51, .05), 0 18px 40px rgba(19, 26, 51, .1); }
.icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: #e4f4ec; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.3rem; font-weight: 800; }
.card > p { margin-top: 10px; color: var(--muted); }
.ticks { margin-top: 18px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%; background: #e4f4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5-5.2' fill='none' stroke='%231f7a58' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Work */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-top { padding: 26px 28px; min-height: 132px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.work-top small { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.work-top h3 { margin-top: 6px; font-size: 1.45rem; }
.g1 { background: linear-gradient(135deg, #1c2547, #2b6b59); }
.g2 { background: linear-gradient(135deg, #3a2a58, #1c2547); }
.g3 { background: linear-gradient(135deg, #6a1f42, #1c2547); }
.work-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; gap: 20px; }
.work-body p { color: var(--muted); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags li { padding: 4px 12px; border-radius: 999px; background: #eef1f6; color: var(--navy-2); font-size: .8rem; font-weight: 600; }

/* Apps */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app { display: flex; flex-direction: column; padding: 26px; }
.app .label { align-self: flex-start; margin-bottom: 14px; padding: 3px 11px; border-radius: 999px; background: #e4f4ec; color: var(--green-dark); font-size: .74rem; font-weight: 700; }
.app h3 { font-size: 1.15rem; }
.app p { margin-top: 10px; color: var(--muted); font-size: .95rem; flex: 1; }
.app a { margin-top: 18px; font-weight: 700; font-size: .95rem; text-decoration: none; }
.app a:hover { text-decoration: underline; }
.center { margin-top: 36px; text-align: center; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: var(--mint); font-weight: 800; }
.step h3 { font-size: 1.1rem; font-weight: 800; }
.step p { margin-top: 8px; color: var(--muted); font-size: .96rem; }

/* About */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.about .section-head { margin-bottom: 0; }
.about-text p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.about-text .ticks { margin-top: 24px; }
.about-text .ticks li { color: var(--ink); }
.skills { padding: 30px; }
.skills h3 { font-size: 1.15rem; margin-bottom: 4px; }
.skill-group { margin-top: 20px; }
.skill-group h4 { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.skill-group ul { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-group li { padding: 5px 12px; border-radius: 8px; background: #eef1f6; color: var(--navy-2); font-size: .86rem; font-weight: 600; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e4f4ec; color: var(--green); font-size: 1.3rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* CTA */
.cta { margin-top: 96px; padding: 80px 0; text-align: center; color: #fff; background: radial-gradient(700px 360px at 50% 0%, rgba(111, 220, 178, .22), transparent 65%), var(--navy); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.cta p { max-width: 34em; margin: 16px auto 0; color: rgba(255, 255, 255, .78); font-size: 1.12rem; }
.cta .hero-cta { justify-content: center; }
.cta .pill { margin-bottom: 22px; }
.cta .cta-sub { margin-top: 26px; font-size: 1rem; color: rgba(255, 255, 255, .68); }
.cta-sub a { color: var(--mint); font-weight: 600; }

/* Responsive */
@media (max-width: 1020px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .work { flex-direction: row; }
  .work-top { flex: 0 0 38%; min-height: 0; }
}
@media (max-width: 900px) {
  .hero { padding: 56px 0 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 520px; width: 100%; margin: 0 auto; }
  .code { left: 0; }
  .cards-2 { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-top: 72px; }
  .card { padding: 26px 22px; }
  .card.work { padding: 0; }
  .nav { gap: 12px; }
  .brand { gap: 10px; white-space: nowrap; }
  .brand-name { font-size: .9rem; }
  .nav .btn-sm { padding: 9px 14px; font-size: .9rem; white-space: nowrap; }
  .cards-4, .steps { grid-template-columns: 1fr; }
  .work { flex-direction: column; }
  .work-top { flex: none; min-height: 112px; }
  .hero-cta .btn, .cta .btn { width: 100%; }
  .chip { right: 0; }
  .cta { margin-top: 72px; padding: 64px 0; }
  .stat { padding: 22px 12px; }
  .stat strong { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .nav .brand-mark { display: none; }
}
@media (max-width: 340px) {
  .brand-name { font-size: .8rem; }
  .nav .btn-sm { padding: 8px 12px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover, .card:hover { transform: none; }
}

/* ===== Shared layout: header menu ===== */
.nav .nav-actions { display: flex; align-items: center; gap: 10px; }
.nav ul a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--mint); }
.menu { display: none; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; color: #fff; list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu .i-close, .menu[open] .i-open { display: none; }
.menu[open] .i-close { display: block; }
.nav .menu-panel { position: absolute; left: 0; right: 0; top: 100%; padding: 6px 20px 24px; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 40px rgba(0, 0, 0, .35); }
.nav .menu-panel ul { display: grid; gap: 0; }
.nav .menu-panel li a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; font-size: 1.05rem; font-weight: 600; }
.nav .menu-panel .btn { display: none; width: 100%; margin-top: 18px; }

/* ===== Footer ===== */
.site-footer { margin-top: 0; padding: 60px 0 28px; background: #0d1226; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; max-width: 26em; line-height: 1.6; }
.foot-title { margin: 0 0 16px; color: var(--mint); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.foot-links { display: grid; gap: 10px; }
.foot-links a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.foot-links a:hover { color: var(--mint); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }

/* ===== Page banner (guides) ===== */
.page-hero {
  position: relative; overflow: hidden; padding: 64px 0 72px; color: #fff;
  background:
    radial-gradient(760px 420px at 90% 0%, rgba(111, 220, 178, .18), transparent 60%),
    radial-gradient(600px 380px at 0% 100%, rgba(98, 120, 255, .16), transparent 60%),
    var(--navy);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 20em; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.page-hero .lead { max-width: 38em; margin-top: 18px; color: rgba(255, 255, 255, .8); font-size: 1.15rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 20px; font-size: .88rem; color: rgba(255, 255, 255, .65); }
.crumbs li + li::before { content: "›"; margin-right: 10px; opacity: .6; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; font-size: .92rem; color: rgba(255, 255, 255, .68); }

/* ===== Article body ===== */
.article-wrap { padding-top: 56px; }
.prose { max-width: 740px; margin: 0 auto; color: #262e45; font-size: 1.1rem; line-height: 1.75; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; scroll-margin-top: 90px; }
.prose h3 { margin: 1.7em 0 .4em; font-size: 1.25rem; font-weight: 800; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .45em 0; padding-left: .2em; }
.prose a { color: var(--green-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--green); }
.prose strong { color: var(--ink); }
.callout { margin: 1.8em 0; padding: 20px 24px; border: 1px solid #c8e8d8; border-radius: 14px; background: #e4f4ec; }
.callout .callout-title { margin: 0 0 8px; color: var(--green-dark); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.callout ul { margin: 0; }
.callout li:first-child { margin-top: 0; }
.callout li:last-child { margin-bottom: 0; }
.toc { margin: 0 0 2.2em; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.toc .toc-title { margin: 0 0 8px; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.toc ol { margin: 0; }
.toc li { margin: .3em 0; }
.table-wrap { margin: 1.6em 0; overflow-x: auto; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .98rem; line-height: 1.55; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: #eef1f6; font-weight: 700; }
.prose td:first-child { font-weight: 600; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== Guide cards ===== */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.guide-card { display: flex; flex-direction: column; padding: 28px; color: inherit; text-decoration: none; }
.guide-card .guide-meta { margin-bottom: 10px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.guide-card h2, .guide-card h3 { font-size: 1.25rem; font-weight: 800; }
.guide-card p { flex: 1; margin-top: 10px; color: var(--muted); font-size: .98rem; }
.guide-card .more { margin-top: 18px; color: var(--green); font-weight: 700; }
.guide-card:hover .more { text-decoration: underline; }

/* ===== Responsive: shared layout ===== */
@media (max-width: 1020px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .nav nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 640px) {
  .page-hero { padding: 48px 0 56px; }
  .article-wrap { padding-top: 40px; }
  .prose { font-size: 1.04rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 48px; }
}
@media (max-width: 540px) {
  .nav .nav-cta { display: none; }
  .nav .menu-panel .btn { display: flex; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}
