/* The home page's look (index.html, my/index.html): Zayat's own colors (the app's palettes,
   app/src/ui/theme/palettes.ts), light and dark as the visitor's system says, the wordmark in
   Outfit Bold with the green dot (app/src/ui/brand/Wordmark.tsx), the phone and the feature cards
   drawn here rather than pictures, so they're sharp, light, and in the page's own language.
   No script: everything here works without one. */
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Outfit-Bold.ttf") format("truetype"); }

:root {
  color-scheme: light dark;
  --bg: #ffffff; --bg-soft: #f4f4f2; --fg: #0a0a0a; --muted: #616a63; --line: #e4e4e2;
  --green: #1daa61; --green-text: #157e48; --green-soft: #d8fdd2; --green-soft-text: #15603e; --on-green: #0a0a0a;
  --bubble-own: #d9fdd3; --bubble-other: #f1f1ef; --card: #ffffff; --shadow: 0 18px 50px rgba(10, 10, 10, .12);
  --band: #0f2a1d; --band-fg: #f1f8f2; --band-muted: #b7cdbd;
  --radius: 22px; --max: 1120px;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a; --bg-soft: #161717; --fg: #fbfbfb; --muted: #a5a4a4; --line: #2e2e2e;
    --green: #6bc680; --green-text: #6bc680; --green-soft: #224337; --green-soft-text: #e5fbde; --on-green: #0a0a0a;
    --bubble-own: #144d37; --bubble-other: #242626; --card: #1d1e1e; --shadow: 0 18px 50px rgba(0, 0, 0, .5);
    --band: #10241a; --band-fg: #eef7f0; --band-muted: #a8c2b0;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--green-text); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }

/* The wordmark: "Zayat" and the green dot, as in the app. */
.wordmark { display: inline-flex; align-items: baseline; gap: .06em; font: 700 1.6rem/1 "Outfit", var(--body); letter-spacing: -.02em; color: var(--fg); text-decoration: none; }
.wordmark::after { content: ""; width: .17em; height: .17em; border-radius: 50%; background: var(--green); }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a, .lang { color: var(--fg); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .lang:hover { color: var(--green-text); }
.lang { color: var(--muted); }
@media (max-width: 820px) { .nav { display: none; } .top .wrap { gap: 16px; } .lang { margin-left: auto; } }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.button.primary { background: var(--green); color: var(--on-green); }
.button.primary:hover { filter: brightness(1.06); }
.button.quiet { border-color: var(--line); color: var(--fg); }
.button.quiet:hover { border-color: var(--green); }
.top .button { padding: 9px 18px; font-size: .95rem; }

/* Hero */
.hero { padding: 72px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font: 700 clamp(2.5rem, 6vw, 4.4rem)/1.04 "Outfit", var(--body); letter-spacing: -.035em; }
.hero .lead { margin-top: 22px; font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-soft-text); font-weight: 600; font-size: .9rem; }
@media (max-width: 900px) { .hero { padding-top: 40px; } .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* The phone, drawn */
.phone { justify-self: center; width: min(320px, 86vw); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: #111; box-shadow: var(--shadow), inset 0 0 0 2px #2b2b2b; position: relative; }
.screen { height: 100%; border-radius: 34px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.4; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 34px 14px 12px; border-bottom: 1px solid var(--line); }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #0a0a0a; background: #9fe3b1; }
.avatar.b { background: #b9d7fb; } .avatar.c { background: #f6c9a8; } .avatar.d { background: #d8c5f6; }
.chat-name { font-weight: 700; font-size: 14.5px; }
.chat-sub { color: var(--muted); font-size: 12px; }
.messages { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: var(--bg-soft); }
.bubble { max-width: 82%; padding: 7px 11px 6px; border-radius: 16px; background: var(--bubble-other); }
.bubble .who { display: block; font-weight: 700; font-size: 12px; color: var(--green-text); }
.bubble.own { align-self: flex-end; background: var(--bubble-own); border-bottom-right-radius: 6px; }
.bubble:not(.own) { border-bottom-left-radius: 6px; }
.meta { display: block; text-align: right; font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.meta .ticks { color: var(--green-text); font-weight: 700; letter-spacing: -.1em; }
.voice { display: flex; align-items: center; gap: 8px; }
.voice .play { width: 26px; height: 26px; border-radius: 50%; background: var(--green); flex: none; position: relative; }
.voice .play::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 9px solid var(--on-green); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.wave i { display: block; width: 3px; height: 10px; border-radius: 2px; background: var(--muted); }
.wave i:nth-child(1) { height: 8px; } .wave i:nth-child(2) { height: 16px; } .wave i:nth-child(3) { height: 11px; } .wave i:nth-child(4) { height: 20px; } .wave i:nth-child(5) { height: 13px; } .wave i:nth-child(6) { height: 7px; } .wave i:nth-child(7) { height: 17px; } .wave i:nth-child(8) { height: 12px; } .wave i:nth-child(9) { height: 19px; } .wave i:nth-child(10) { height: 9px; } .wave i:nth-child(11) { height: 14px; } .wave i:nth-child(12) { height: 6px; }
.event { display: flex; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.event .day { flex: none; width: 40px; text-align: center; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); font-weight: 700; line-height: 1.2; }
.event .day b { display: block; background: var(--green); color: var(--on-green); font-size: 10px; padding: 2px 0; text-transform: uppercase; }
.event .day span { display: block; padding: 3px 0 4px; font-size: 16px; }
.event strong { display: block; font-size: 13px; }
.event small { color: var(--muted); font-size: 11.5px; }
.compose { display: flex; align-items: center; gap: 8px; padding: 10px 12px 22px; border-top: 1px solid var(--line); }
.compose span { flex: 1; padding: 8px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 12.5px; }
.compose i { width: 32px; height: 32px; border-radius: 50%; background: var(--green); flex: none; }

/* Features */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .text { order: 2; }
.feature h2, .center h2 { font: 700 clamp(2rem, 4.2vw, 3rem)/1.08 "Outfit", var(--body); letter-spacing: -.03em; }
.feature .text p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; }
.points li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--green-soft); }
.points li::after { content: ""; position: absolute; width: 22px; height: 22px; margin-top: 2px; background: var(--green-soft-text); -webkit-mask: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.4 2.4L10 3.3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.4 2.4L10 3.3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.points li { position: relative; }
@media (max-width: 900px) { .section { padding: 64px 0; } .feature { grid-template-columns: 1fr; gap: 36px; } .feature.flip .text { order: 0; } }

/* The feature cards, drawn */
.stage { display: grid; place-items: center; min-height: 340px; padding: 32px; border-radius: 32px; background: linear-gradient(160deg, var(--green-soft), color-mix(in srgb, var(--green-soft) 30%, var(--bg-soft))); }
.card { width: min(380px, 100%); padding: 18px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.card + .card { margin-top: -20px; transform: translateX(28px); }
.card h3 { font-size: 1rem; letter-spacing: 0; }
.card .row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.card .row + .row { border-top: 1px solid var(--line); }
.card .row div { flex: 1; min-width: 0; }
.card .row strong { display: block; font-size: .95rem; }
.card .row small { color: var(--muted); font-size: .82rem; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-soft-text); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.lock { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 12px; background: var(--bg-soft); color: var(--muted); font-size: .82rem; }
.lock::before { content: ""; width: 12px; height: 14px; background: var(--muted); -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Crect x='1' y='6' width='10' height='7.5' rx='2'/%3E%3Cpath d='M3.3 6V4.3a2.7 2.7 0 015.4 0V6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Crect x='1' y='6' width='10' height='7.5' rx='2'/%3E%3Cpath d='M3.3 6V4.3a2.7 2.7 0 015.4 0V6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tiles div { aspect-ratio: 4 / 3; border-radius: 14px; display: grid; place-items: center; background: var(--bg-soft); }
.tiles .avatar { width: 44px; height: 44px; font-size: 17px; }
.call-bar { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.call-bar i { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); }
.call-bar i:last-child { background: #e0484f; }
.poll .option { margin-top: 10px; }
.poll .option span { display: flex; justify-content: space-between; font-size: .9rem; }
.poll .bar { height: 8px; margin-top: 5px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; }
.poll .bar b { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.poll .bar .w72 { width: 72%; } .poll .bar .w28 { width: 28%; }

/* Privacy band */
.band { background: var(--band); color: var(--band-fg); }
.band .center p.lead { color: var(--band-muted); }
.center { text-align: center; max-width: 46rem; margin: 0 auto; }
.center .lead { margin-top: 18px; font-size: 1.15rem; color: var(--muted); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.trio div { padding: 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--band-fg) 7%, transparent); }
.trio h3 { font-size: 1.1rem; letter-spacing: 0; }
.trio p { margin-top: 8px; color: var(--band-muted); font-size: .98rem; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }

/* Download */
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 16px; border: 1.5px solid var(--line); color: var(--fg); text-align: left; min-width: 210px; }
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; color: var(--muted); font-size: .78rem; }
.store strong { display: block; font-size: 1.05rem; }
.note { margin-top: 18px; color: var(--muted); font-size: .95rem; }

/* Footer */
.foot { padding: 48px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--green-text); }
.foot .wordmark { font-size: 1.3rem; }
.foot p { margin-top: 10px; }

/* The Burmese page: a Myanmar face, and room for the script's tall stacks. */
@font-face { font-family: "Noto Sans Myanmar"; font-weight: 400; font-display: swap; src: url("/assets/fonts/NotoSansMyanmar-Regular.ttf") format("truetype"); }
@font-face { font-family: "Noto Sans Myanmar"; font-weight: 700; font-display: swap; src: url("/assets/fonts/NotoSansMyanmar-Bold.ttf") format("truetype"); }
:lang(my) body, body:lang(my) { font-family: "Noto Sans Myanmar", var(--body); line-height: 1.9; }
:lang(my) h1, :lang(my) h2, :lang(my) h3 { font-family: "Noto Sans Myanmar", var(--body); letter-spacing: 0; line-height: 1.5; }
:lang(my) .hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.45; }
:lang(my) .feature h2, :lang(my) .center h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.5; }
:lang(my) .screen { line-height: 1.7; }
