/* Bliink — info.bliink.vn company site.
 *
 * Light editorial treatment. Deliberately NOT the app's visual identity:
 * docs/design-system.md §1 describes that as "sticker/stamp kiosk energy",
 * which is right for the product and wrong for a page whose job is
 * "we are a registered business, here is our tax code".
 *
 * No custom fonts — the wordmark is an SVG, so Bungee is not loaded. Zero
 * third-party requests; everything renders from system-available faces.
 */

:root {
  /* Surfaces — warm off-white rather than pure white; reads as paper. */
  --bg: #faf9f7;
  --surface: #ffffff;

  /* Ink */
  --ink: #1a1a18;
  --ink-2: #55534e;
  --ink-3: #8a877f;

  /* Rules */
  --rule: #e4e1da;
  --rule-strong: #c9c5bb;

  /* Brand accent. Honey has poor contrast on light, so it is decorative
   * only — rules, markers, the star. Never text, never a link colour. */
  --accent: #ffe500;
  --accent-ink: #6b5d00;

  --font-serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --maxw: 640px;
  --maxw-wide: 900px;
  --pad-x: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- layout ---------- */

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.page-wide {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: 52px 0;
  border-bottom: 1px solid var(--rule);
}

.section:last-of-type {
  border-bottom: 0;
}

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--rule);
}

/* ---------- typography ---------- */

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(30px, 6.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(20px, 3.6vw, 27px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 17px;
  line-height: 1.4;
}

/* Small caps eyebrow above a section — sans, not serif. */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

p {
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(18px, 3.2vw, 21px);
  line-height: 1.6;
  color: var(--ink-2);
}

.muted {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.65;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--ink);
}

ul,
ol {
  padding-left: 20px;
  margin: 0 0 18px;
}

li {
  margin-bottom: 10px;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.site-header .page-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark img.mark {
  width: 84px;
  height: auto;
  display: block;
}

.wordmark .star {
  width: 13px;
  height: 13px;
  color: var(--accent-ink);
  flex: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 14.5px;
}

.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--rule-strong);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* ---------- three-up ---------- */

.cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 4px;
}

@media (min-width: 700px) {
  .cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.col h3 {
  margin-bottom: 8px;
  padding-top: 14px;
  border-top: 2px solid var(--accent);
}

.col p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--ink-2);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 21px;
  height: 21px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 19px;
  text-align: center;
  color: var(--ink-3);
}

/* ---------- entity block ----------
 * Hairline rows rather than a bordered card — reads as a record, not a form. */

.entity-block {
  margin: 4px 0 0;
}

.entity-block dl {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.entity-block dt {
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding-top: 14px;
}

.entity-block dd {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 16px;
}

@media (min-width: 620px) {
  .entity-block dl {
    display: grid;
    grid-template-columns: 220px 1fr;
  }

  .entity-block dt {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule);
  }
}

/* ---------- legal prose ---------- */

.legal-prose {
  font-size: 16px;
}

.legal-prose h2 {
  margin-top: 42px;
  font-size: clamp(18px, 3vw, 21px);
}

.legal-prose ul {
  margin-bottom: 18px;
}

.legal-prose li {
  color: var(--ink-2);
}

.updated {
  color: var(--ink-3);
  font-size: 14px;
  margin: -6px 0 32px;
}

/* ---------- notice ---------- */

.notice {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 18px 20px;
  margin: 26px 0;
  font-size: 15.5px;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
  margin-top: 8px;
  padding: 36px 0 56px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.7;
}

.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 18px;
}

.footer-legal {
  margin: 0;
  max-width: 62ch;
}

/* ---------- a11y ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: var(--pad-x);
  top: 10px;
  background: var(--ink);
  color: var(--bg);
  padding: 9px 15px;
  border-radius: 4px;
  z-index: 10;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}
