:root {
  --paper: #ffffff;
  --ink: #1f1b2d;
  --muted: #5d5870;
  --rose: #b4235a;
  --rose-soft: #fbe9f0;
  --marigold: #f2b705;
  --line: #e7e3ee;
  --tint: #f6f4fa;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17141f;
    --ink: #f3f0f8;
    --muted: #b3adc2;
    --rose: #f07aa6;
    --rose-soft: #3a1f2c;
    --marigold: #f6c945;
    --line: #2f2a3b;
    --tint: #1f1b29;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Be Vietnam Pro", system-ui, sans-serif;
}
a { color: var(--rose); text-underline-offset: 0.2em; }
a:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }

.wrap { width: min(68rem, 100% - 2rem); margin-inline: auto; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -0.01em; font-size: 1.125rem; }
.brand span { color: var(--rose); }
.top nav { display: flex; gap: 1.25rem; font-size: 0.9375rem; }
.top nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.top nav a:hover { color: var(--ink); }

/* Hero: the shop's own promise in big type, with the shoe-tag stripe as the one bold element */
.hero { padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.6rem, 8vw, 5.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero p { max-width: 38rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.0625rem, 2.2vw, 1.25rem); }
.tag {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.1rem 0.6rem 1.4rem;
  background: var(--marigold);
  color: #1f1b2d;
  font-weight: 700;
  clip-path: polygon(0.8rem 0, 100% 0, 100% 100%, 0.8rem 100%, 0 50%);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.hero-art { width: 100%; height: auto; }
@media (max-width: 52rem) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 26rem; margin-inline: auto; } }

/* Two shops */
.shops { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
.shop { border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.75rem; background: var(--tint); }
.shop-art { height: 5.5rem; width: auto; margin-bottom: 1rem; }
.shop h2 { margin: 0; font-size: 1.625rem; letter-spacing: -0.02em; }
.shop p { margin: 0.5rem 0 1.25rem; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.25rem;
  border-radius: 999px; background: var(--rose); color: #fff; font-weight: 600; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { color: #17141f; } }

/* About */
.about { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.about-art { width: 100%; max-width: 22rem; height: auto; }
.about h2 { margin: 0 0 1rem; font-size: clamp(1.625rem, 3.5vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.2; }
.about p { margin: 0 0 0.75rem; max-width: 36rem; color: var(--muted); }
@media (max-width: 48rem) { .about-grid { grid-template-columns: 1fr; } .about-art { max-width: 16rem; } }

/* How buying works: a real sequence, so it is numbered */
.steps { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); }
.steps h2, .page h1 { margin: 0 0 1.5rem; font-size: clamp(1.625rem, 3.5vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.2; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; margin-bottom: 0.75rem; border-radius: 50%;
  background: var(--rose-soft); color: var(--rose); font-weight: 800;
}
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: 0.9375rem; }

/* Policy pages */
.page { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page .wrap { max-width: 44rem; }
.page h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.page p, .page li { color: var(--ink); }
.page .updated { color: var(--muted); font-size: 0.9375rem; margin-top: -0.75rem; }

/* Footer: the registered business, exactly as on the certificate */
.foot { background: var(--tint); border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: 0.9375rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem 3rem; }
@media (max-width: 48rem) { .foot .wrap { grid-template-columns: 1fr; } }
.foot h2 { margin: 0 0 0.5rem; font-size: 1rem; }
.foot dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.75rem; }
.foot dt { color: var(--muted); }
.foot dd { margin: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.foot .copy { grid-column: 1 / -1; color: var(--muted); margin: 0; }

@media (max-width: 30rem) {
  .top nav { gap: 0.85rem; font-size: 0.875rem; }
  .top nav a[href="/chinh-sach-bao-mat"] { display: none; }
  .foot dl { grid-template-columns: 1fr; }
  .foot dd { margin-bottom: 0.4rem; }
}
