:root {
  --bg: #0c0b10;
  --bg-elevated: #14131a;
  --surface: #1b1a22;
  --surface-2: #24232d;
  --border: #2e2c38;
  --text: #f3ede4;
  --muted: #9a948a;
  --dim: #6f6a63;
  --accent: #d4a574;
  --accent-soft: rgba(212, 165, 116, 0.16);
  --sage: #8b9a7d;
  --danger: #c45c4a;
  --night: #5b6b9a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-lg: 24px;
  --header: 64px;
  --font: "Figtree", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

html[data-lang="vi"]:not(.ready) [data-i18n],
html[data-lang="vi"]:not(.ready) [data-i18n-html] {
  visibility: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(91, 107, 154, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(212, 165, 116, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

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

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(12, 11, 16, 0.78);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand img,
.brand svg {
  width: 28px;
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.lang {
  display: flex;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 40px;
}

.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1,
.h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 38ch;
  margin: 0 0 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font: 700 15px/1 var(--font);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  color: var(--bg);
  filter: brightness(1.06);
}

.btn-primary.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--accent);
}

.fine {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 13px;
}

.phone {
  justify-self: end;
  width: min(320px, 100%);
  background: linear-gradient(180deg, #14111a, #0c0b10);
  border: 1px solid var(--border);
  border-radius: 42px;
  padding: 14px 14px 10px;
  box-shadow: var(--shadow);
}

.notch {
  width: 108px;
  height: 22px;
  margin: 0 auto 8px;
  background: #07070a;
  border-radius: 0 0 14px 14px;
}

.phone-kicker {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.phone-title {
  font-family: var(--serif);
  font-size: 22px;
  margin: 4px 0 2px;
  letter-spacing: -0.03em;
}

.phone-lede {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 8px;
}

.ring-wrap {
  display: grid;
  place-items: center;
  position: relative;
  margin: 4px 0 8px;
}

.ring-wrap svg {
  width: 220px;
  height: 220px;
}

.ring-copy {
  position: absolute;
  text-align: center;
  pointer-events: none;
}

.ring-caption {
  color: var(--muted);
  letter-spacing: 0.28em;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.ring-time {
  font-variant-numeric: tabular-nums;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 2px 0;
}

.ring-detail {
  color: var(--muted);
  font-size: 11px;
  max-width: 180px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 12px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.stat span {
  color: var(--dim);
  font-size: 10px;
  font-weight: 650;
}

.chips {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.chip {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
}

.chip.on {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.pill {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.tabs span {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--dim);
}

.tabs span.on {
  color: var(--accent);
}

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 22px 0 8px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strip b {
  color: var(--accent);
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
  font-weight: 560;
  margin: 0 0 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.step h3,
.feature h3,
.faq-item h3 {
  margin: 8px 0 8px;
  font-size: 18px;
}

.step p,
.feature p,
.prose p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.features {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.feature:last-child {
  border-bottom: 1px solid var(--border);
}

.feature .label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.disclaimer {
  background: var(--accent-soft);
  border: 1px solid rgba(212, 165, 116, 0.28);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.disclaimer h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 48px;
  color: var(--dim);
  font-size: 13px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

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

.page {
  padding: 48px 0 80px;
}

.page > .wrap > h2 {
  font-size: 32px;
  margin: 8px 0 16px;
}

.page-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.page-head .lede {
  max-width: 52ch;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 32px 0 10px;
  letter-spacing: -0.02em;
}

.prose ul {
  color: var(--muted);
  padding-left: 18px;
}

.prose li + li {
  margin-top: 6px;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 36px;
  max-width: 720px;
}

.contact-card a.email {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.contact-card a.email:hover {
  color: var(--accent);
}

.faq {
  max-width: 720px;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font: 700 16px/1.4 var(--font);
  padding: 16px 18px;
  cursor: pointer;
}

.faq-item .a {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
}

.faq-item.is-open .a {
  display: block;
}

@media (max-width: 860px) {
  .hero,
  .steps,
  .feature {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .phone {
    justify-self: center;
  }

  .h1,
  h1 {
    font-size: 42px;
  }
}

@media (max-width: 720px) {
  .site-header .wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    row-gap: 8px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .lang {
    grid-column: 2;
    grid-row: 1;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .nav a {
    font-size: 13px;
  }

  .section {
    padding: 48px 0;
  }

  .lede,
  .prose p,
  .prose li {
    overflow-wrap: break-word;
  }
}
