/* SoneYar website. Colours come from the app's theme (src/ui/theme/tokens.ts). */
:root {
  --bg: #fff8e8;
  --surface: #ffffff;
  --surface2: #f6eed9;
  --line: #e7dbbd;
  --ink: #2b1612;
  --muted: #705b52;
  --lantern: #ffb81f;
  --lantern-deep: #b97400;
  --lantern-ink: #2a1a00;
  --hero: #a82321;
  --hero-deep: #741514;
  --on-hero: #ffffff;
  --on-hero-muted: #fbdcd3;
  --link: #a82321;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17100e;
    --surface: #241916;
    --surface2: #32231e;
    --line: #4a352d;
    --ink: #fdf4ea;
    --muted: #c4ad9f;
    --lantern: #ffc247;
    --lantern-deep: #c98a12;
    --hero: #9a2120;
    --hero-deep: #661312;
    --on-hero-muted: #f8d5cb;
    --link: #ffc247;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Noto Sans',
    'Noto Sans Myanmar',
    'Myanmar Text',
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
/* Myanmar script is taller than Latin: it needs more room between lines. */
:lang(my) {
  line-height: 1.9;
}
a {
  color: var(--link);
  text-underline-offset: 0.15em;
}
a:focus-visible {
  outline: 3px solid var(--lantern);
  outline-offset: 2px;
  border-radius: 4px;
}
code {
  background: var(--surface2);
  border-radius: 4px;
  padding: 0 0.3em;
}
.skip {
  position: absolute;
  left: -999rem;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--surface);
  padding: 0.5rem 1rem;
  z-index: 1;
}
.top,
main,
.bottom {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
}
.brand img {
  border-radius: 10px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.8rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
nav a:hover {
  background: var(--surface2);
}
nav a[aria-current='page'] {
  background: var(--surface2);
}
nav a.lang {
  border: 2px solid var(--line);
}
section {
  margin: 2.5rem 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.6rem;
}
:lang(my) h1,
:lang(my) h2,
:lang(my) h3 {
  line-height: 1.7;
}
h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
}
h2 {
  font-size: 1.6rem;
  font-weight: 800;
}
h3 {
  font-size: 1.15rem;
  font-weight: 800;
}
.hero {
  background: var(--hero);
  border-bottom: 8px solid var(--hero-deep);
  border-radius: 28px;
  color: var(--on-hero);
  margin-top: 0.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.hero img {
  border-radius: 24%;
}
.hero a {
  color: var(--on-hero);
}
.tagline {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 0.5rem;
  max-width: 34rem;
}
.meaning {
  color: var(--on-hero-muted);
  margin: 0;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.store,
.button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  min-height: 56px;
  padding: 0.5rem 1.25rem;
  background: var(--lantern);
  border-bottom: 5px solid var(--lantern-deep);
  border-radius: 18px;
  color: var(--lantern-ink);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}
.hero a.button {
  color: var(--lantern-ink);
}
.store small {
  font-size: 0.8rem;
  font-weight: 700;
}
.lead {
  font-size: 1.2rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
}
.cards li {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem 1.25rem;
}
.cards p {
  margin: 0;
  color: var(--muted);
}
.plain {
  padding-left: 1.25rem;
}
.plain li {
  margin: 0.4rem 0;
}
.note {
  color: var(--muted);
}
.warn {
  background: var(--surface2);
  border-left: 6px solid var(--lantern);
  border-radius: 12px;
  font-weight: 700;
  padding: 1rem 1.25rem;
}
.doc {
  max-width: 44rem;
  margin: 2rem auto;
  overflow-wrap: break-word;
}
.doc h2 {
  margin-top: 2.25rem;
}
.doc h3 {
  margin-top: 1.5rem;
}
.doc li {
  margin: 0.45rem 0;
}
.updated {
  color: var(--muted);
}
.bottom {
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}
/* Tables in the privacy policy: scroll sideways on a small phone, never squeeze the page. */
.table {
  overflow-x: auto;
  margin: 1rem 0;
}
table {
  border-collapse: collapse;
  min-width: 100%;
}
th,
td {
  border: 2px solid var(--line);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--surface2);
}
td {
  background: var(--surface);
}
.doc .warn {
  font-weight: 600;
}
