:root {
  --tnmix-red: #ff4757;
  --tnmix-orange: #ff9f43;
  --tnmix-dark: #2f3542;
  --tnmix-ink: #30313a;
  --tnmix-muted: #6f717c;
  --tnmix-surface: #ffffff;
  --tnmix-canvas: #f7f7f9;
  --tnmix-border: #ebeaf0;
  --tnmix-radius: 20px;
  --tnmix-shadow: 0 14px 40px rgba(79, 42, 49, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--tnmix-ink);
  background: var(--tnmix-canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #126de5; outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }

.site-header, .hero { color: #fff; background: linear-gradient(118deg, var(--tnmix-red), var(--tnmix-orange)); }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.navigation { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 28px; }
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}
.brand__mark { font-size: 1.35rem; font-weight: 850; letter-spacing: 0.02em; }
.brand__home { display: inline-flex; align-items: center; gap: 5px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.78rem; font-weight: 700; }
.brand__home svg { width: 14px; fill: currentColor; }
.navigation__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.navigation__links a { padding: 8px 13px; border-radius: 999px; font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.navigation__links a:hover, .navigation__links a[aria-current="page"] { background: rgba(255, 255, 255, 0.18); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 70px 0 82px; text-align: center; }
.hero::before, .hero::after { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, 0.09); content: ""; }
.hero::before { width: 460px; height: 460px; top: -330px; right: -40px; }
.hero::after { width: 300px; height: 300px; bottom: -250px; left: 12%; }
.hero__content { display: grid; justify-items: center; }
h1 { max-width: 840px; margin: 8px 0 16px; font-size: clamp(2.45rem, 6vw, 4.65rem); letter-spacing: -0.05em; line-height: 1.04; }
h2 { margin: 0 0 6px; font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.16; }
h3 { margin: 0 0 6px; font-size: clamp(1.25rem, 3vw, 1.7rem); line-height: 1.2; }
h4, p { margin-top: 0; }
.hero__lead { max-width: 680px; margin-bottom: 28px; color: rgba(255, 255, 255, 0.92); font-size: clamp(1rem, 2.2vw, 1.18rem); }
.hero__actions, .release-actions > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 19px; border: 0; border-radius: 999px; font-weight: 780; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
a.button:hover { transform: translateY(-2px); }
.button--light { color: #d83245; background: #fff; box-shadow: 0 10px 25px rgba(106, 26, 35, 0.14); }
.button--ghost { border: 1px solid rgba(255, 255, 255, 0.68); background: rgba(255, 255, 255, 0.08); }
.button--primary { color: #fff; background: linear-gradient(120deg, var(--tnmix-red), var(--tnmix-orange)); box-shadow: 0 9px 22px rgba(255, 71, 87, 0.18); }
.button--disabled { color: #73747d; background: #eae9ed; cursor: not-allowed; }

.section { padding-block: 72px; scroll-margin-top: 18px; }
.section--tinted { background: linear-gradient(180deg, #fff8f5, #fffdfc); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading > p, .section-heading div > p:last-child { margin-bottom: 0; color: var(--tnmix-muted); }
.section-heading--center { justify-content: center; text-align: center; }
.section-heading--center > div { max-width: 660px; }
.eyebrow { margin-bottom: 5px; color: #db3e4d; font-size: 0.75rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.hero .eyebrow { color: #fff; }

.platform-tabs { max-width: 920px; margin-inline: auto; }
.platform-tablist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; max-width: 470px; margin: 0 auto 22px; padding: 6px; border: 1px solid var(--tnmix-border); border-radius: 999px; background: #efeff3; }
.platform-tab { min-height: 46px; border: 0; border-radius: 999px; color: #666873; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.platform-tab[aria-selected="true"] { color: #fff; background: linear-gradient(118deg, var(--tnmix-red), var(--tnmix-orange)); box-shadow: 0 8px 20px rgba(255, 71, 87, 0.2); }
.release-card, details { border: 1px solid var(--tnmix-border); border-radius: var(--tnmix-radius); background: var(--tnmix-surface); box-shadow: var(--tnmix-shadow); }
.release-card { margin-bottom: 18px; padding: 28px; }
.release-card--latest { border-top: 4px solid var(--tnmix-red); }
.release-card__header { display: flex; justify-content: space-between; gap: 22px; }
.release-card__header p:last-child { max-width: 650px; margin-bottom: 0; color: var(--tnmix-muted); }
.status { align-self: start; flex: none; padding: 6px 13px; border-radius: 999px; color: #934516; background: #fff0dd; font-size: 0.86rem; font-weight: 780; }
.status--published { color: #146035; background: #e4f8ec; }
.release-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--tnmix-border); }
dt { color: var(--tnmix-muted); font-size: 0.77rem; }
dd { margin: 0; font-weight: 720; }
.release-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.release-actions > div { justify-content: flex-start; }
.release-actions > span { color: var(--tnmix-muted); font-size: 0.88rem; }
.text-link { align-self: center; color: #b92f42; font-weight: 700; }
.checksum { width: 100%; margin: 12px 0 0; }
.checksum code { display: block; overflow-wrap: anywhere; color: var(--tnmix-muted); font-size: 0.72rem; }
.accordion-trigger { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 13px 0 0; border: 0; border-top: 1px solid var(--tnmix-border); color: var(--tnmix-ink); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.accordion-trigger span:last-child { font-size: 1.35rem; transition: transform 160ms ease; }
.accordion-trigger[aria-expanded="true"] span:last-child { transform: rotate(180deg); }
.release-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; padding-top: 18px; }
.release-notes p { margin-bottom: 0; color: var(--tnmix-muted); }

.activation-pipeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 42px 0 0; padding: 0; list-style: none; }
.activation-pipeline::before { position: absolute; top: 34px; right: 9%; left: 9%; height: 2px; background: linear-gradient(90deg, var(--tnmix-red), var(--tnmix-orange)); content: ""; }
.activation-step { position: relative; text-align: center; }
.activation-step__visual { position: relative; z-index: 1; display: grid; width: 68px; height: 68px; margin: 0 auto 17px; place-items: center; border: 7px solid #fff8f5; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--tnmix-red), var(--tnmix-orange)); box-shadow: 0 8px 24px rgba(255, 71, 87, 0.2); }
.activation-step__visual svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.activation-step__number { display: block; margin-bottom: 4px; color: #d93b4b; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; }
.activation-step strong { display: block; min-height: 48px; line-height: 1.35; }
.activation-step p { margin: 8px 0 0; color: var(--tnmix-muted); font-size: 0.88rem; line-height: 1.55; }
.activation-step a { color: #b92f42; font-weight: 700; }
.notice { max-width: 850px; margin: 32px auto 0; padding: 15px 18px; border-left: 4px solid var(--tnmix-orange); border-radius: 0 13px 13px 0; background: #fff; }

.troubleshooting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
details { padding: 16px 18px; box-shadow: 0 7px 22px rgba(50, 38, 42, 0.045); }
summary { font-weight: 760; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--tnmix-muted); }

.site-footer { padding: 42px 0; color: #fff; background: var(--tnmix-dark); text-align: center; }
.footer-content { display: grid; justify-items: center; gap: 12px; }
.footer-brand { font-size: 1.65rem; font-weight: 900; letter-spacing: 0.04em; text-decoration: none; }
.footer-content p { margin: 0; color: rgba(255, 255, 255, 0.74); }
.footer-content small { color: rgba(255, 255, 255, 0.55); }
.footer-content nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.footer-content nav a { padding: 7px 11px; border-radius: 999px; font-weight: 650; text-decoration: none; }
.footer-content nav a:hover { background: rgba(255, 255, 255, 0.1); }
.zalo-fab { position: fixed; z-index: 3; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); padding: 12px 18px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #1689f8, #0468d7); box-shadow: 0 12px 30px rgba(0, 94, 210, 0.3); font-weight: 800; text-decoration: none; transition: transform 160ms ease; }
.zalo-fab:hover { transform: translateY(-2px); }

@media (max-width: 960px) {
  .release-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .activation-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activation-pipeline::before { display: none; }
  .activation-step { padding: 20px; border: 1px solid var(--tnmix-border); border-radius: 18px; background: #fff; text-align: left; }
  .activation-step__visual { margin: 0 0 15px; }
  .activation-step strong { min-height: 0; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1080px); }
  .navigation { flex-wrap: wrap; gap: 9px 14px; padding-block: 12px; }
  .brand__home { display: none; }
  .navigation__links { gap: 1px; }
  .navigation__links a { padding: 7px 9px; font-size: 0.82rem; }
  .hero { padding: 54px 0 66px; }
  .section { padding-block: 56px; }
  .section-heading, .release-card__header { align-items: flex-start; flex-direction: column; }
  .platform-tablist { width: 100%; }
  .release-card { padding: 21px 18px; }
  .release-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release-actions { align-items: flex-start; flex-direction: column; }
  .release-notes, .activation-pipeline, .troubleshooting-grid { grid-template-columns: 1fr; }
  .activation-step { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 17px; }
  .activation-step__visual { width: 54px; height: 54px; margin: 0; border-width: 5px; }
  .activation-step__visual svg { width: 25px; }
  .activation-step__number { margin-top: 2px; }
  .zalo-fab { padding: 11px 16px; }
}

@media (max-width: 380px) {
  .navigation { justify-content: center; }
  .navigation__links { width: 100%; justify-content: center; }
  .hero__actions, .hero__actions .button { width: 100%; }
  .release-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
