/* kunjaro.in, the public site (docs/web-plan.md section 8): a website layout,
   not the phone app stretched wide. Kept from the app: the teal key, Mukta,
   white or near-black pages, grey blocks, teal only for actions. */

@font-face { font-family: Mukta; font-weight: 400; font-display: swap; src: url(/fonts/mukta-400.woff2) format("woff2"); }
@font-face { font-family: Mukta; font-weight: 700; font-display: swap; src: url(/fonts/mukta-700.woff2) format("woff2"); }
@font-face { font-family: Mukta; font-weight: 800; font-display: swap; src: url(/fonts/mukta-800.woff2) format("woff2"); }

:root {
  --bg: #FFFFFF; --surface: #F3F3F3; --border: #E6E6E6;
  --fg: #111111; --muted: #6B6B6B; --primary: #1F7A6C; --primary-tint: #E1F1EE; --on-primary: #FFFFFF;
  --phone: #111111;
  --font: Mukta, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212; --surface: #242424; --border: #2E2E2E;
    --fg: #F5F5F5; --muted: #A3A3A3; --primary: #5CC2B0; --primary-tint: #16332E; --on-primary: #0C1F1C;
    --phone: #2E2E2E;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.5; }
a { color: var(--primary); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--bg); padding: 6px 10px; z-index: 10; }

/* Top menu */
.snav { border-bottom: 1px solid var(--border); }
.snav .wrap { display: flex; align-items: center; gap: 26px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--fg); text-decoration: none; }
.brand svg { width: 28px; height: 28px; color: var(--primary); }
.links { display: flex; gap: 22px; }
.links a { color: var(--fg); text-decoration: none; font-weight: 700; font-size: 15.5px; white-space: nowrap; }
.links a[aria-current="page"] { color: var(--primary); }
.end { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn.big { min-height: 52px; padding: 10px 24px; font-size: 17px; }

/* Home: two-column opening */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
h1 { font-size: 54px; line-height: 1.04; margin: 0 0 16px; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.stores { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.play { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 10px; padding: 8px 18px 8px 14px; text-decoration: none; border: 1px solid #444; }
.play b { display: block; font-size: 18px; line-height: 1.1; }
.play small { display: block; font-size: 11px; opacity: .85; line-height: 1.1; }
.soon { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 14.5px; border: 1px dashed var(--border); border-radius: 10px; padding: 10px 14px; }
.small-print { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.small-print a { font-weight: 700; }

/* Drawn phones showing the app (not screenshots) */
.phones { position: relative; height: 440px; }
.phones.one { height: 440px; display: grid; place-items: center; }
.phone { position: absolute; width: 214px; height: 428px; border-radius: 30px; background: var(--phone); padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.phones.one .phone { position: static; }
.phone.tilt-left { left: 4%; top: 10px; transform: rotate(-4deg); }
.phone.tilt-right { left: 44%; top: 0; transform: rotate(3deg); }
.phone .scr { width: 100%; height: 100%; border-radius: 23px; background: var(--bg); padding: 22px 12px 10px; display: grid; gap: 8px; align-content: start; overflow: hidden; font-size: 11.5px; line-height: 1.35; }
.phone .pt { font-weight: 800; font-size: 15px; }
.phone .blk { background: var(--surface); border-radius: 10px; padding: 9px; display: grid; gap: 2px; }
.phone .blk b { font-size: 17px; }
.phone .row { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px solid var(--border); padding: 6px 0; }
.phone .row span:last-child { color: var(--muted); white-space: nowrap; }
.phone .cta { background: var(--primary); color: var(--on-primary); border-radius: 999px; text-align: center; font-weight: 700; font-size: 12px; padding: 7px; }
.phone .ghost { border: 1px solid var(--border); border-radius: 999px; text-align: center; font-weight: 700; font-size: 12px; padding: 6px; }
.phone .circles { display: flex; justify-content: space-between; }
.phone .circles i { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: block; }
.phone .bubble { background: var(--surface); border-radius: 12px; padding: 7px 9px; max-width: 85%; }
.phone .bubble.me { background: var(--primary-tint); justify-self: end; }

/* Blocks */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 52px; }
.feat > div, .card { background: var(--surface); border-radius: 14px; padding: 22px; display: grid; gap: 8px; align-content: start; }
h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.15; font-weight: 800; }
h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 800; }
.feat p, .card p { margin: 0; color: var(--muted); }
.band { padding-top: 44px; padding-bottom: 44px; border-top: 1px solid var(--border); }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 4px; align-content: start; font-size: 15.5px; color: var(--muted); }
.steps li b { color: var(--fg); font-size: 17px; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); font-weight: 800; display: grid; place-items: center; }

/* Reading pages */
.page { padding-top: 48px; padding-bottom: 56px; }
.page h1 { font-size: 44px; }
.prose { max-width: 44em; }
.prose h2 { font-size: 26px; margin-top: 36px; }
.prose p, .prose li { color: var(--fg); }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: start; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.note { background: var(--primary-tint); border-radius: 12px; padding: 14px 18px; margin: 20px 0; }
.note p { margin: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 14px 0; }
summary { cursor: pointer; font-weight: 800; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; }

/* Footer */
.sfoot { border-top: 1px solid var(--border); }
.sfoot .wrap { display: flex; gap: 10px 22px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; font-size: 15px; color: var(--muted); }
.sfoot a { color: var(--muted); }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); }
  .phones { display: none; }
  .phones.one { display: grid; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .snav .wrap { gap: 10px 16px; }
  /* The menu becomes a scrolling row under the logo. */
  .links { order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 2px; }
  .links a { line-height: 44px; }
  .end .btn:not(.primary) { display: none; }
  .hero { padding-top: 36px; padding-bottom: 36px; }
  h1 { font-size: 38px; }
  .page { padding-top: 32px; }
  .page h1 { font-size: 34px; }
  h2 { font-size: 26px; }
}
