/* Shared look of the public text pages (About, Privacy Policy, Terms of Service).
   It follows the landing page: lavender-blue background, rounded white cards, clean business type (Inter)
   and pill buttons. (Fredoka is used only for the MyanChat logo word, see logo.css.) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans Myanmar', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8faff;
  color: #0f172a;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */
/* the wordmark is a link: without this the browser's underline is painted under the letters, and the white outline turns it into a white strip */
.site-nav .logo-word, .site-footer .logo-word { text-decoration: none; }
/* same wordmark look as the landing page: a very light blue glow (the in-app default is a stronger grey shadow
   whose white outline showed as a white strip under the letters) */
.site-nav .logo-word { font-size: 30px; text-shadow: 0 1px 3px rgba(37, 99, 235, 0.06); }
.site-links { display: flex; align-items: center; gap: 30px; }
.site-links a { color: #0f172a; font-size: 15px; font-weight: 700; text-decoration: none; transition: color .15s; }
.site-links a:hover, .site-links a.current { color: #2563eb; }

/* Buttons: lift slightly on hover, like the landing page */
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; padding: 11px 24px;
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.25,.8,.25,1), box-shadow .6s ease, background-color .4s ease, border-color .4s ease, color .4s ease;
}
.pill-btn:hover { transform: translateY(-1px); }
.pill-btn:active { transform: none; }
.pill-primary { background: #2563eb; color: #fff; box-shadow: 0 3px 8px rgba(37, 99, 235, 0.12); }
.pill-primary:hover { background: #1d4ed8; box-shadow: 0 4px 10px rgba(37, 99, 235, 0.16); }
.pill-ghost { background: #fff; color: #0f172a; border: 1px solid #e5ecf7; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04); }
.pill-ghost:hover { border-color: #2563eb; color: #2563eb; }

/* ── Page header ─────────────────────────────────────────────────────────── */
.content { width: 100%; max-width: 780px; margin: 0 auto; padding: 56px 24px 96px; flex: 1; }

.legal-hero { text-align: center; margin-bottom: 36px; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', 'Noto Sans Myanmar', sans-serif; font-size: 16px; font-weight: 600; color: #2563eb;
  letter-spacing: 0; text-transform: none; margin-bottom: 12px;
}
.page-eyebrow::before, .page-eyebrow::after {
  content: ''; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233b82f6' d='M12 0c.8 6.3 5.7 11.2 12 12-6.3.8-11.2 5.7-12 12-.8-6.3-5.7-11.2-12-12C6.3 11.2 11.2 6.3 12 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.page-title {
  font-family: 'Inter', 'Noto Sans Myanmar', sans-serif; font-weight: 700;
  font-size: clamp(34px, 5.2vw, 52px); line-height: 1.15; letter-spacing: -1.2px; color: #0f172a; margin-bottom: 14px;
}
.page-lead { font-size: 18px; color: #64748b; line-height: 1.8; max-width: 620px; margin: 6px auto 0; }

/* "On this page" chips (filled in by a small script; the page works without it) */
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 32px; max-width: 700px; }
.toc a {
  font-size: 13px; font-weight: 700; color: #2563eb; text-decoration: none;
  background: #eff6ff; border: 1px solid #dbeafe; border-radius: 999px; padding: 6px 14px; transition: background-color .2s, color .2s, border-color .2s;
}
.toc a:hover { background: #2563eb; border-color: #2563eb; color: #fff; }

/* ── Sections as cards ───────────────────────────────────────────────────── */
.section {
  background: #fff; border: 1px solid #e5ecf7; border-radius: 28px; padding: 30px 32px; margin-bottom: 18px;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.025); scroll-margin-top: 92px;
}
.section-label {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #2563eb; background: #eff6ff; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.section-heading {
  font-family: 'Inter', 'Noto Sans Myanmar', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.3;
  letter-spacing: -0.3px; color: #0f172a; margin-bottom: 12px;
}
.section p { font-size: 15.5px; color: #475569; margin-bottom: 12px; }
.section p:last-child { margin-bottom: 0; }
.section strong { color: #0f172a; font-weight: 700; }
.section a { color: #2563eb; }

.item-list { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 14px; }
.item { display: flex; align-items: flex-start; gap: 12px; }
.item-dot {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px; background: #eff6ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}
.item p { margin: 0; }

.highlight-box {
  background: #eff6ff; border: 1px solid #dbeafe; border-left: 4px solid #2563eb; border-radius: 16px;
  padding: 16px 20px; margin: 4px 0 16px; font-size: 15.5px; font-weight: 600; color: #1e3a8a; line-height: 1.7;
}

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pill { font-size: 14px; font-weight: 700; color: #2563eb; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 999px; padding: 8px 18px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.contact-card {
  display: block; text-decoration: none; background: #f8faff; border: 1px solid #e5ecf7; border-radius: 20px; padding: 16px 20px;
  transition: border-color .3s, box-shadow .3s, transform .6s cubic-bezier(.25,.8,.25,1); transform-origin: left center;
}
.contact-card:hover { border-color: #2563eb; box-shadow: 0 3px 8px rgba(37, 99, 235, 0.06); transform: rotate(-1.5deg); }
.contact-card p { margin: 0 !important; }
.contact-card-label { font-size: 11px !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8 !important; margin-bottom: 2px !important; }
.contact-card-value { font-size: 15px !important; font-weight: 700; color: #0f172a !important; word-break: break-word; }

.contact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.contact-row a {
  display: inline-block; font-size: 14px; font-weight: 700; text-decoration: none; color: #2563eb; background: #eff6ff;
  border: 1px solid #dbeafe; border-radius: 999px; padding: 8px 18px; transition: background-color .3s, color .3s, border-color .3s;
}
.contact-row a:hover { background: #2563eb; border-color: #2563eb; color: #fff; }

/* ── Footer (same design as the landing page footer) ─────────────────────── */
.site-footer { background: #0f172a; padding: 60px 24px 0; }
.site-footer-inner { max-width: 1100px; margin: 0 auto; }
.site-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.site-footer-main .logo-word { font-size: 30px; text-decoration: none; }
.site-footer-about { font-size: 13.5px; color: #94a3b8; line-height: 1.75; max-width: 340px; margin: 12px 0 32px; }
.site-footer-cols { display: flex; gap: 32px; flex-wrap: wrap; }
.site-footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #64748b; margin-bottom: 12px; }
.site-footer-col a { display: block; font-size: 13px; color: #94a3b8; text-decoration: none; margin-bottom: 10px; transition: color .15s; }
.site-footer-col a:hover { color: #cbd5e1; }
.site-footer-devices { display: flex; justify-content: flex-end; align-items: flex-end; }
.site-footer-devices-inner { position: relative; padding: 0 52px 28px 0; }
.site-footer-macbook { width: 400px; max-width: 100%; display: block; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.site-footer-phone { position: absolute; bottom: 0; right: 0; height: 220px; width: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.site-footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; font-size: 12px; color: #64748b; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.site-footer-bottom a { color: #64748b; text-decoration: none; transition: color .15s; }
.site-footer-bottom a:hover { color: #94a3b8; }
.site-footer-bottom-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ── Phones ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) { .site-links { display: none; } }
@media (max-width: 768px) {
  .site-footer-grid { grid-template-columns: 1fr; gap: 0; }
  .site-footer-devices { justify-content: center; margin-top: 32px; }
  .site-footer-devices-inner { width: 100%; max-width: 340px; margin: 0 auto; padding: 0 40px 20px 0; }
  .site-footer-macbook { width: 100%; max-width: none; height: auto; }
  .site-footer-phone { height: 82%; }
}
@media (max-width: 640px) {
  .site-nav .logo-word { font-size: 24px !important; }
  .pill-btn { padding: 9px 16px; font-size: 13px; }
  .content { padding: 36px 16px 72px; }
  .legal-hero { margin-bottom: 26px; }
  .page-lead { font-size: 16px; }
  .section { padding: 22px 20px; border-radius: 22px; }
  .section-heading { font-size: 21px; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 44px 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill-btn, .contact-card { transition: none; }
  .pill-btn:hover, .contact-card:hover { transform: none; }
}
