/* Saung VPN — dark, gold and crimson, taken straight from the app icon:
   a black ground, the golden Saung (Myanmar harp) shaped like an S, and a
   lacquer-red neck. Big type, big buttons, plain words — built to be used by
   anyone, in Burmese or English. One committed visual world (dark). */

:root {
  --bg: #0b0b0d;
  --bg-alt: #121016;
  --card: #1a1620;
  --ink: #f7f2e6;
  --ink-dim: #cabfa6;
  --line: #2c2733;

  --gold: #e8b23a;
  --gold-soft: #f2cd77;
  --gold-deep: #b98a24;
  --crimson: #b02a3a;
  --on-gold: #201401;

  --font-display: "Baloo 2", "Noto Sans Myanmar", system-ui, sans-serif;
  --font-body: "Public Sans", "Noto Sans Myanmar", system-ui, -apple-system, sans-serif;
  --font-my: "Noto Sans Myanmar", "Public Sans", system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.55rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
  --step-4: clamp(2.2rem, 1.5rem + 3.4vw, 3.1rem);

  --wrap: 60rem;
  --measure: 40rem;
}

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

html {
  font-size: 112.5%; /* 18px base — comfortable for everyone */
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html[lang="my"] body { font-family: var(--font-my); line-height: 1.95; }
html[lang="my"] h1, html[lang="my"] h2, html[lang="my"] h3,
html[lang="my"] .brand-name { font-family: var(--font-my); font-weight: 700; line-height: 1.55; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
  color: var(--gold-soft);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); color: var(--ink); }
p { margin: 0; }

a { color: var(--gold-soft); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

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

.skip {
  position: absolute; left: -999px;
}
.skip:focus {
  left: 1rem; top: 1rem; z-index: 10;
  background: var(--card); color: var(--ink);
  padding: 0.6rem 1rem; border: 2px solid var(--gold); border-radius: 8px;
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.7rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-logo { width: 2.4rem; height: 2.4rem; border-radius: 10px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.01em; }

.lang { display: inline-flex; gap: 0.4rem; }
.lang button {
  appearance: none;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  font: inherit; font-size: var(--step--1); font-weight: 600;
  padding: 0.45rem 0.85rem; border-radius: 999px; cursor: pointer;
  min-height: 40px;
}
.lang button[aria-pressed="true"] {
  background: var(--gold); color: var(--on-gold); border-color: var(--gold);
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding-block: clamp(2.5rem, 8vw, 5rem);
}
.hero-inner { max-width: 34rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-logo {
  width: clamp(120px, 34vw, 160px); height: auto; border-radius: 26px;
  filter: drop-shadow(0 0 40px rgba(232, 178, 58, 0.35));
}
.logo-caption {
  font-size: var(--step--1);
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-top: -0.2rem;
}
.hero h1 { margin-top: 0.3rem; }
.lede { font-size: var(--step-2); color: var(--ink); font-weight: 500; }
.hero-note { font-size: var(--step--1); color: var(--ink-dim); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.08s ease, background-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-big {
  background: var(--gold); color: var(--on-gold);
  font-size: var(--step-1);
  padding: 1rem 1.9rem; min-height: 60px;
  box-shadow: 0 10px 30px -12px rgba(232, 178, 58, 0.55);
  max-width: 100%;
}
.btn-big:hover { background: var(--gold-soft); }
.btn-ic { width: 1.5rem; height: 1.5rem; flex: none; }
.btn-plan {
  background: transparent; color: var(--ink);
  border: 2px solid var(--gold-deep);
  font-size: var(--step-0);
  padding: 0.7rem 1.4rem; min-height: 48px;
  align-self: stretch;
}
.btn-plan:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-plan.btn-primary { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn-plan.btn-primary:hover { background: var(--gold-soft); }

@media (max-width: 34rem) {
  .btn-big { width: 100%; }
}

/* ---------- bands ---------- */
.band { padding-block: clamp(2.75rem, 8vw, 4.5rem); }
.band-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.band > .wrap > h2 { text-align: center; }
.section-lede {
  text-align: center; max-width: var(--measure); margin: 1rem auto 0;
  color: var(--ink-dim); font-size: var(--step-1);
}

/* ---------- steps ---------- */
.steps {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}
.steps li {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem 1.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.step-badge {
  width: 2.6rem; height: 2.6rem; border-radius: 999px;
  background: var(--gold); color: var(--on-gold);
  display: grid; place-items: center;
}
.step-n { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.step-ic { width: 3.25rem; height: 3.25rem; color: var(--gold); }
.steps h3 { color: var(--gold-soft); }
.steps p { color: var(--ink-dim); font-size: var(--step-0); }

/* ---------- plans ---------- */
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem; margin-top: 2.5rem; align-items: stretch;
}
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem; height: 100%;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.plan h3 { font-size: var(--step-2); color: var(--gold-soft); }
.plan .price { display: flex; align-items: baseline; gap: 0.4rem; }
.plan .amount { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--ink); }
.plan .unit { color: var(--ink-dim); font-size: var(--step--1); }
.plan-note { color: var(--ink-dim); font-size: var(--step-0); flex: 1; }
.plan-featured {
  border-color: var(--crimson);
  box-shadow: 0 0 0 1px var(--crimson), 0 24px 50px -30px rgba(176, 42, 58, 0.7);
}
.ribbon {
  align-self: flex-start;
  background: var(--crimson); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--step--1);
  padding: 0.3rem 0.8rem; border-radius: 999px;
}
.fineprint {
  margin-top: 1.75rem; text-align: center;
  color: var(--ink-dim); font-size: var(--step--1); max-width: var(--measure); margin-inline: auto;
}

/* ---------- is it safe ---------- */
.safe-wrap { max-width: 44rem; }
.checklist { list-style: none; padding: 0; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.checklist li {
  position: relative; padding-left: 3rem;
  font-size: var(--step-1); color: var(--ink);
  min-height: 2rem;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.15rem;
  width: 2rem; height: 2rem; border-radius: 999px;
  background: var(--gold);
  /* a checkmark drawn with a clip-path-free mask via background image */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='%23201401' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 1.3rem;
}

/* ---------- download band ---------- */
.band-download { text-align: center; }
.band-download .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.dl-logo { width: 5rem; height: auto; border-radius: 18px; filter: drop-shadow(0 0 28px rgba(232, 178, 58, 0.3)); }

/* ---------- faq ---------- */
.faq-wrap { max-width: 44rem; }
.faq { margin: 2rem 0 0; display: flex; flex-direction: column; }
.faq > div { padding-block: 1.35rem; border-top: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--gold-soft); }
.faq dd { margin: 0.5rem 0 0; color: var(--ink-dim); font-size: var(--step-0); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 2.5rem 1.5rem; margin-top: 1rem; }
.foot-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1.25rem 2rem;
}
.foot-brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.foot-brand img { border-radius: 8px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: var(--step--1); }
.foot-nav a { color: var(--ink-dim); text-decoration: none; }
.foot-nav a:hover { color: var(--gold-soft); text-decoration: underline; }
.copyright {
  width: min(100% - 2.5rem, var(--wrap)); margin: 1.75rem auto 0;
  color: var(--ink-dim); font-size: var(--step--1); text-align: center;
}

/* ---------- legal pages (privacy / terms) ---------- */
.legal { padding-block: clamp(2.5rem, 7vw, 4rem); }
.legal .wrap { max-width: 44rem; }
.legal h1 { font-size: var(--step-3); }
.legal .updated { color: var(--ink-dim); font-size: var(--step--1); margin-top: 0.5rem; }
.legal h2 { font-size: var(--step-1); color: var(--gold-soft); margin-top: 2.4rem; }
.legal p, .legal li { color: var(--ink-dim); max-width: var(--measure); }
.legal p { margin-top: 0.8rem; }
.legal ul { margin-top: 0.8rem; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.legal a { color: var(--gold-soft); }
.back-home { display: inline-block; margin-top: 2.5rem; font-size: var(--step-0); }
