/* lahochat.com — Laho brand colours (teal → green), light and dark. */
:root {
  --bg: #f4faf8;
  --bg2: #e9f6f2;
  --card: #ffffff;
  --ink: #0f2a26;
  --muted: #557069;
  --line: #dcebe6;
  --primary: #0d9488;
  --primary2: #14b8a6;
  --green: #22c55e;
  --lime: #84cc16;
  --pink: #ec4899;
  --grad: linear-gradient(120deg, #0b8a7d 0%, #0d9488 35%, #14b8a6 65%, #4ade80 100%);
  --shadow: 0 1px 2px rgba(15, 42, 38, .06), 0 12px 32px rgba(15, 42, 38, .08);
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1513;
    --bg2: #0f1f1c;
    --card: #12221f;
    --ink: #e4f1ee;
    --muted: #9bb6af;
    --line: #20342f;
    --primary: #2dd4bf;
    --primary2: #5eead4;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 850; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.3rem; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 650; padding: 8px 12px; border-radius: 12px; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg2); color: var(--primary); }
.nav .cta { background: var(--grad); color: #fff; padding: 9px 18px; border-radius: 999px; margin-left: 6px; }
.nav .cta:hover { color: #fff; filter: brightness(1.05); background: var(--grad); }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); line-height: 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 16px; top: 64px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow); display: grid; min-width: 220px; }
.menu nav a { color: var(--ink); text-decoration: none; font-weight: 650; padding: 11px 14px; border-radius: 12px; }
.menu nav a:hover { background: var(--bg2); }
@media (max-width: 860px) { .nav { display: none; } .menu { display: block; } }

/* Hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; z-index: -1; }
.hero::before { width: 520px; height: 520px; background: #14b8a6; right: -140px; top: -160px; }
.hero::after { width: 420px; height: 420px; background: #4ade80; left: -160px; bottom: -200px; opacity: .3; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero .wordmark { width: min(360px, 80%); margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9rem; color: var(--primary); margin-bottom: 16px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 25%, transparent); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; } .hero .wordmark { margin-inline: auto; } .hero p.lead { margin-inline: auto; } .get { justify-content: center; } }

/* Get-the-app buttons */
.get { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #0f2a26; color: #fff; border-radius: 16px; padding: 10px 20px 10px 16px; min-width: 200px;
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .08); transition: transform .15s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: .72rem; opacity: .8; letter-spacing: .02em; }
.store b { display: block; font-size: 1.1rem; line-height: 1.2; }
.store.android { background: var(--grad); }
.store.soon { background: var(--card); color: var(--ink); border: 1px dashed var(--line); cursor: default; }
.store.soon:hover { transform: none; }
.store.soon .tag { margin-left: auto; font-size: .7rem; font-weight: 800; color: var(--primary); background: var(--bg2); padding: 3px 8px; border-radius: 999px; }
.web-link { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; row-gap: 2px; font-weight: 700; color: var(--muted); margin: 0; }
.web-link svg { flex: none; }
@media (max-width: 900px) { .hero .web-link, .band .web-link { justify-content: center; } }
@media (max-width: 560px) { .get .store { width: 100%; max-width: 320px; } .get { flex-direction: column; align-items: center; } }
.web-link a { font-weight: 800; }

/* Phones */
.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 250px; border-radius: 38px; padding: 10px; background: #0f2a26;
  box-shadow: 0 30px 60px rgba(15, 42, 38, .25); border: 1px solid rgba(255, 255, 255, .12);
}
.phone img { border-radius: 29px; width: 100%; aspect-ratio: 540 / 947; object-fit: cover; }
.phone.p1 { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.phone.p2 { left: 4%; top: 70px; transform: rotate(-8deg) scale(.9); z-index: 2; }
.phone.p3 { right: 4%; top: 70px; transform: rotate(8deg) scale(.9); z-index: 1; }
@media (max-width: 900px) { .phones { height: 500px; } }
@media (max-width: 560px) { .phones { height: 470px; } .phone { width: 220px; } .phone.p2, .phone.p3 { display: none; } }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: var(--bg2); margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 32px; position: relative; margin: 10px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .8rem; font-weight: 900; display: grid; place-items: center; }
.band { background: var(--grad); color: #fff; border-radius: 30px; padding: 44px 32px; text-align: center; box-shadow: var(--shadow); }
.band h2 { color: #fff; }
.band p { opacity: .92; }
.band .get { justify-content: center; }
.band .store { background: rgba(255, 255, 255, .16); }
.band .store.soon { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.band .store.soon .tag { background: rgba(255, 255, 255, .2); color: #fff; }
.band .web-link, .band .web-link a { color: #fff; }
.btn { display: inline-block; background: var(--grad); color: #fff; text-decoration: none; font-weight: 800; padding: 13px 24px; border-radius: 999px; }
.btn.ghost { background: var(--card); color: var(--primary); border: 1px solid var(--line); }
.stat { text-align: center; }
.stat b { display: block; font-size: 2rem; font-weight: 900; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 750; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-weight: 900; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); }

/* Text pages (policies, rules) */
.page-hero { padding: 48px 0 24px; text-align: center; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.doc { max-width: 820px; margin: 0 auto; padding: 8px 20px 64px; }
.doc .card { padding: 32px; }
.doc h2 { font-size: 1.45rem; margin-top: 1.6em; }
.doc h2:first-child { margin-top: 0; }
.doc li { margin: 6px 0; }
.doc .updated { color: var(--muted); font-size: .95rem; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.toc a { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; font-size: .9rem; font-weight: 650; }
.rule { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: 0; }
.rule .em { width: 54px; height: 54px; border-radius: 16px; background: var(--bg2); display: grid; place-items: center; font-size: 1.6rem; }
.rule ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.note { background: var(--bg2); border-radius: 16px; padding: 16px 18px; border-left: 4px solid var(--primary); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 20px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.site-footer .copy { margin-top: 28px; color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > div:first-child { grid-column: 1 / -1; } }
