:root {
  --burgundy: #56070b;
  --burgundy-mid: #7a1520;
  --burgundy-end: #8b1a22;
  --gold: #c4a15a;
  --gold-soft: #f6ead0;
  --cream: #fff8f7;
  --cream-deep: #f6e4e2;
  --ink: #231919;
  --muted: #5c4745;
  --line: #ead9d6;
  --card: #ffffff;
  --header: 4.5rem;
  --radius: 1.375rem;
  --shadow: 0 22px 50px rgba(86, 7, 11, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Noto Sans Myanmar", system-ui, sans-serif;
  --my: "Noto Sans Myanmar", "Outfit", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(196, 161, 90, 0.22), transparent 60%),
    radial-gradient(700px 380px at -10% 8%, rgba(86, 7, 11, 0.08), transparent 55%),
    var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--burgundy);
  color: #fff;
  border-radius: 0.6rem;
}

.skip:focus { top: 0.75rem; }

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

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

.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  box-shadow: 0 6px 16px rgba(86, 7, 11, 0.22);
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand small {
  display: block;
  font-family: var(--my);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

html[lang="my"] .lang-en,
html[lang="en"] .lang-my { display: none; }

html[lang="my"] :is(h1, h2, h3, .brand strong) {
  font-family: var(--my);
  letter-spacing: 0;
  line-height: 1.4;
}

html[lang="my"] .eyebrow {
  text-transform: none;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: inline-flex;
  flex: none;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(86, 7, 11, 0.06);
}

.lang-switch button {
  border: 0;
  background: transparent;
  font-family: var(--my);
  font-size: 0.82rem;
  min-height: 2.25rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--burgundy);
  box-shadow: 0 1px 4px rgba(86, 7, 11, 0.12);
}

.site-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--burgundy); background: rgba(86, 7, 11, 0.06); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 560;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-end) 100%);
  box-shadow: 0 10px 24px rgba(86, 7, 11, 0.22);
}

.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost {
  color: var(--burgundy);
  background: transparent;
  border: 1px solid rgba(86, 7, 11, 0.22);
}

.header-download { margin-left: auto; padding-inline: 0.9rem; white-space: nowrap; }

.nav-toggle {
  margin-left: 0.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.8rem;
  background: transparent;
  display: grid;
  place-items: center;
  gap: 5px;
}

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

#features,
#support,
#download { scroll-margin-top: calc(var(--header) + 0.75rem); }

.hero { padding: 2.5rem 0 3.5rem; }

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--burgundy-mid);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.12; }

h1 { margin: 0 0 1rem; font-size: clamp(2.4rem, 7vw, 4.4rem); }

.lede {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.store-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.store {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border-radius: 0.9rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.store svg { width: 1.35rem; height: 1.35rem; flex: none; }

.store small { display: block; font-size: 0.68rem; opacity: 0.75; line-height: 1.1; }

.store strong { display: block; font-size: 0.98rem; font-weight: 560; line-height: 1.15; }

.phone {
  width: min(280px, 78vw);
  margin-inline: auto;
  padding: 0.55rem;
  border-radius: 2.2rem;
  background: linear-gradient(180deg, #2a1616, #120808);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--cream);
  min-height: 520px;
  padding: 0.9rem 0.75rem 0.7rem;
}

.phone-bar {
  width: 5.2rem;
  height: 0.28rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  background: #1c1212;
}

.phone h2 {
  margin: 0 0.35rem 0.7rem;
  font-family: var(--my);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
}

.phone-search,
.live-card,
.mini-card,
.phone-nav {
  background: #fff;
  border: 1px solid var(--line);
}

.phone-search {
  height: 2.1rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  color: #857371;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
}

.live-card {
  padding: 0.85rem;
  border: 0;
  border-radius: 1.1rem;
  color: #fff;
  background: linear-gradient(145deg, var(--burgundy), var(--burgundy-end));
}

.live-card span { display: block; font-family: var(--my); font-size: 0.95rem; }

.live-card em { font-style: normal; opacity: 0.8; font-size: 0.75rem; }

.play {
  margin-top: 0.8rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

.play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 7px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.section-label {
  margin: 0.9rem 0.2rem 0.45rem;
  font-family: var(--my);
  font-size: 0.78rem;
  color: var(--muted);
}

.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }

.mini-card {
  height: 4.4rem;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, #fff, var(--cream-deep));
}

.phone-nav {
  margin-top: 1rem;
  height: 2.6rem;
  border-radius: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 0.3rem;
}

.dot {
  width: 0.42rem;
  height: 0.42rem;
  margin: 0 auto;
  border-radius: 50%;
  background: #d8c2bf;
}

.dot.on { background: var(--burgundy); width: 1.1rem; border-radius: 999px; }

.band { padding: 4.5rem 0; }

.band h2 { margin: 0 0 0.6rem; font-size: clamp(2rem, 4vw, 3rem); }

.band .intro { margin: 0 0 1.8rem; max-width: 36rem; color: var(--muted); }

.features {
  display: grid;
  gap: 0.9rem;
}

.feature {
  padding: 1.25rem 1.2rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature .mark {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  color: var(--burgundy);
  background: linear-gradient(180deg, #fff, var(--gold-soft));
}

.feature h3 { margin: 0 0 0.35rem; font-size: 1.25rem; }

.feature p { margin: 0; color: var(--muted); }

.support {
  display: grid;
  gap: 1.2rem;
  padding: 1.5rem;
  border-radius: 1.6rem;
  color: #fff;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(196, 161, 90, 0.35), transparent 50%),
    linear-gradient(150deg, var(--burgundy), var(--burgundy-end));
}

.support p { margin: 0.4rem 0 0; color: rgba(255, 255, 255, 0.84); }

.support .btn-ghost {
  color: var(--burgundy);
  background: #fff;
  border-color: transparent;
}

.page-hero { padding: 2.2rem 0 0.5rem; }

.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }

.policy {
  padding: 1rem 0 4rem;
}

.policy article {
  max-width: 44rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.4rem 1.2rem 1.6rem;
}

.policy h2 { margin: 1.6rem 0 0.4rem; font-size: 1.45rem; }

.policy h2:first-child { margin-top: 0; }

.policy p, .policy li { color: var(--muted); }

.policy ul { padding-left: 1.15rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav { display: flex; gap: 1rem; }

.site-footer a { color: var(--burgundy); }

@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
  .header-download { margin-left: 0.4rem; }
  .hero { padding: 4rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .phone { justify-self: end; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .support { grid-template-columns: 1.4fr auto; align-items: center; padding: 2rem 2.2rem; }
  .policy article { padding: 2rem 2.2rem 2.4rem; }
}

@media (max-width: 759px) {
  .site-header .wrap { gap: 0.4rem; }
  .brand small { display: none; }
  .brand strong { font-size: 0.95rem; }
  .header-download { padding-inline: 0.7rem; font-size: 0.9rem; }
  .lang-switch button { padding-inline: 0.45rem; }
  html[lang="my"] h1 { font-size: clamp(1.9rem, 8.2vw, 2.7rem); }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    display: grid;
    padding: 0.6rem 1rem 1rem;
    background: rgba(255, 248, 247, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a { padding: 0.85rem 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav { transition: none; }
}
