/* Snappy — corporate compliance design system */

:root {
  --bg: #0e0e16;
  --bg-soft: #16161f;
  --surface: #1a1a26;
  --ink: #ffffff;
  --ink-muted: #c6c6d4;
  --ink-faint: #8d8d9c;
  --accent: #f4589f;
  --accent-hover: #ff87bd;
  --accent-soft: #2a1622;
  --pink-hero: #ff5ba8;
  --pink-hero-2: #ff87bd;
  --green: #2dd4a7;
  --green-soft: #12241d;
  --red: #f87171;
  --red-soft: #2b1515;
  --line: #2b2b3a;
  --shadow: rgba(0, 0, 0, 0.35);
  --shadow-lg: rgba(0, 0, 0, 0.5);
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --max: 1200px;
  --pad: 24px;
  --page-inline: max(var(--pad), calc((100vw - var(--max)) / 2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  padding: 14px var(--page-inline);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--pink-hero), var(--accent));
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid #fff;
  border-radius: 3px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav {
  display: none;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  color: var(--ink-muted);
}

.nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-drawer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px var(--page-inline) 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav-drawer[hidden] {
  display: none;
}

.nav-drawer a:not(.btn) {
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  padding: 8px 0;
}

@media (min-width: 940px) {
  :root {
    --pad: 48px;
  }

  .nav {
    display: flex;
  }

  .nav-toggle,
  .nav-drawer {
    display: none !important;
  }

  .site-header {
    padding: 16px var(--page-inline);
  }
}

@media (min-width: 1100px) {
  :root {
    --pad: 64px;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  padding: 14px 24px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #1a1a2e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: var(--pink-hero);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink-faint);
  background: var(--bg-soft);
}

.btn-nav {
  display: none;
  background: #ffffff;
  color: #1a1a2e;
  padding: 11px 20px;
  font-size: 14px;
}

.btn-nav:hover {
  background: var(--pink-hero);
  color: #fff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

@media (min-width: 940px) {
  .btn-nav {
    display: inline-flex;
  }
}

/* —— Hero —— */
.hero {
  width: 100%;
  margin: 0 auto;
  padding: 56px var(--page-inline) 72px;
  display: grid;
  gap: 48px;
  align-items: center;
  background: linear-gradient(120deg, var(--pink-hero) 0%, var(--pink-hero-2) 100%);
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-hover);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 36rem;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-support {
  font-size: 1.08rem;
  max-width: 32rem;
  margin-bottom: 28px;
}

.hero .hero-support {
  color: #5e2b48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
  font-weight: 700;
}

.hero-panel {
  position: relative;
}

/* Audit card */
.audit-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px -24px var(--shadow-lg);
}

.audit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.audit-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.audit-title {
  margin: 0;
  font-size: 1.4rem;
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.score::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.audit-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.audit-list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.95rem;
  color: var(--ink);
}

.audit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.audit-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.audit-stat {
  display: flex;
  flex-direction: column;
}

.audit-stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.audit-stat span {
  font-size: 12px;
  color: var(--ink-faint);
}

@media (min-width: 940px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    padding-top: 80px;
    padding-bottom: 104px;
  }
}

/* —— Sections —— */
.section {
  width: 100%;
  margin: 0 auto;
  padding: 72px var(--page-inline);
}

.section.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 48px;
}

.section-head p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

@media (min-width: 940px) {
  .section {
    padding: 100px var(--page-inline);
  }
}

/* Why / results columns */
.why-grid {
  display: grid;
  gap: 32px;
}

.why-grid article {
  padding-top: 24px;
  border-top: 3px solid var(--accent);
}

.why-grid article h3,
.why-grid article h4 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  color: var(--ink);
}

.why-grid article p {
  margin: 0;
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* Cost / package table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 32px -20px var(--shadow-lg);
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 680px;
}

.cost-table th,
.cost-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cost-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--bg-soft);
}

.cost-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.cost-table tr:last-child td {
  border-bottom: 0;
}

.disclaimer {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* Card grid (company types) */
.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid .card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 32px -24px var(--shadow-lg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-grid .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -24px var(--shadow-lg);
}

.card-grid .card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card-grid .card p {
  margin: 0;
  font-size: 0.95rem;
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (min-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Package cards */
.pkg-grid {
  display: grid;
  gap: 24px;
}

.pkg {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px -28px var(--shadow-lg);
}

.pkg.featured {
  border-color: var(--accent);
  box-shadow: 0 24px 60px -28px rgba(244, 88, 159, 0.4);
}

.pkg-badge {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.pkg h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.pkg-price {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pkg-for {
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-faint);
}

.pkg ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
}

.pkg li {
  position: relative;
  padding-left: 26px;
}

.pkg li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}

@media (min-width: 880px) {
  .pkg-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .pkg {
    grid-column: span 2;
  }

  .pkg-wide {
    grid-column: span 3;
  }
}

/* Do / don't lists */
.dual-list {
  display: grid;
  gap: 40px;
}

.dual-list h3 {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dual-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.dual-list li {
  position: relative;
  padding-left: 34px;
  font-size: 0.95rem;
}

.dual-list li::before {
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.dual-list .do li::before {
  content: "✓";
  background: var(--green-soft);
  color: var(--green);
}

.dual-list .dont li::before {
  content: "✕";
  background: var(--red-soft);
  color: var(--red);
}

@media (min-width: 760px) {
  .dual-list {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* Process */
.guide-layout {
  display: grid;
  gap: 40px;
}

.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  counter-reset: step;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 16px;
  counter-increment: step;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.guide-steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
}

.guide-steps strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

.guide-steps span {
  font-size: 0.95rem;
}

@media (min-width: 940px) {
  .guide-layout {
    grid-template-columns: 1fr 1.25fr;
    gap: 72px;
    align-items: start;
  }

  .guide-layout .section-head {
    margin-bottom: 0;
    position: sticky;
    top: 110px;
  }
}

/* Value */
.value-block {
  max-width: 52rem;
}

.value-block > p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink);
}

.value-examples {
  display: grid;
  gap: 24px;
  margin: 36px 0 20px;
}

.value-examples > div {
  padding: 28px;
  background: var(--bg-soft);
  border-radius: 16px;
}

.value-examples h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-examples p {
  margin: 0;
  font-size: 0.95rem;
}

@media (min-width: 700px) {
  .value-examples {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* FAQ */
.faq {
  max-width: 46rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0 0 22px;
  padding-right: 32px;
  font-size: 0.95rem;
}

/* Final CTA */
.cta-final {
  background: linear-gradient(120deg, var(--pink-hero) 0%, var(--pink-hero-2) 100%);
  padding-bottom: 72px;
}

.cta-final .cta-inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 14px;
}

.cta-inner > p {
  color: #5e2b48;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-phone {
  margin: 18px 0 0;
  font-size: 14px;
  color: #7a3a58;
}

/* Footer */
.site-footer {
  width: 100%;
  margin: 0 auto;
  padding: 28px var(--page-inline) 40px;
  background: #0a0a12;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin: 0 0 6px;
  font-size: 14px;
  color: #aeb9c9;
}

.site-footer strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: var(--pink-hero-2);
}

.footer-note {
  font-size: 12px !important;
  color: #7c8798 !important;
}

/* —— Motion —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

/* —— Thiết kế website subpage —— */
.hero-compact {
  padding-top: 48px;
  padding-bottom: 64px;
}

.pkg-time {
  margin: -12px 0 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-faint);
}

.pkg-grid.cols-4 {
  grid-template-columns: 1fr;
}

.pkg-grid.cols-4 .pkg {
  grid-column: auto;
}

@media (min-width: 680px) {
  .pkg-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pkg-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-grid {
  display: grid;
  gap: 20px;
}

.benefit {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.benefit h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: var(--ink);
}

.benefit p {
  margin: 0;
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.feature-ico {
  font-size: 26px;
  line-height: 1.2;
}

.feature h3 {
  margin-bottom: 4px;
  font-size: 0.98rem;
  color: var(--ink);
}

.feature p {
  margin: 0;
  font-size: 0.88rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chip {
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}

.pkg-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.pkg-link:hover {
  color: var(--accent-hover);
}

/* —— Merged section subsection titles —— */
.block-title {
  margin: 56px 0 24px;
  font-size: 1.3rem;
  color: var(--ink);
}

.section-head + .block-title {
  margin-top: 12px;
}

.card-grid .card h3,
.card-grid .card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--ink);
}

.block-intro {
  margin: -8px 0 24px;
  max-width: 46rem;
  font-size: 0.98rem;
}
