@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("fonts/PlusJakartaSans-400.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("fonts/PlusJakartaSans-600.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("fonts/PlusJakartaSans-700.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("fonts/PlusJakartaSans-800.ttf") format("truetype"); }
:root {
  --bg: #f3f5f8; --surface: #fff; --text: #0b1220; --muted: #5b6577; --line: #e1e6ee;
  --blue: #2e5bff; --purple: #2e5bff; --grad: #0b1220;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1220; --surface: #141c2e; --text: #f3f5f8; --muted: #a3acbc; --line: #263049; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--blue); }
.top { display: flex; gap: 10px; align-items: center; padding: 14px 20px; font-size: 17px; }
.top img { width: 32px; height: 32px; border-radius: 9px; }
footer { text-align: center; font-size: 12px; color: var(--muted); padding: 24px 16px 32px; }

.share { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.map { width: 100%; height: 300px; display: block; border-radius: 22px 22px 0 0; background: #e8e6df; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; padding: 22px; box-shadow: 0 10px 30px rgba(16,24,40,.08); }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.sheet h1 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.02em; line-height: 1.25; }
.kind { display: inline-block; vertical-align: middle; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 8px; color: #fff; background: var(--blue); }
.k-hotel { background: #8c4df2; } .k-home { background: #ff7333; } .k-parking { background: #1a9ef2; }
.k-work { background: #5a6680; } .k-bike { background: #26b873; } .k-camping { background: #669e33; } .k-star { background: #e0a100; }
.addr { margin: 4px 0; font-size: 17px; }
.addr.local { color: var(--muted); font-size: 15px; }
.note { background: var(--bg); border-radius: 12px; padding: 10px 14px; margin: 12px 0; }
.coords { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.btn { flex: 1; min-width: 140px; white-space: nowrap; text-align: center; text-decoration: none; padding: 14px 18px; border-radius: 14px; font-weight: 700; color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.btn.primary { background: var(--grad); color: #fff; border: 0; box-shadow: none; }

.doc { max-width: 760px; margin: 0 auto; padding: 8px 20px 20px; }
.doc h1 { font-size: 30px; letter-spacing: -.02em; margin: 10px 0 0; }
.doc h2 { font-size: 19px; margin: 28px 0 8px; }
.doc li { margin-bottom: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; padding-top: 80px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs a { white-space: nowrap; text-decoration: none; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.langs a.active { background: var(--grad); color: #fff; border-color: transparent; }

/* In-app popup: no chrome, tighter rhythm, app-like type scale */
body.embed { background: var(--surface); }
.doc.embed { padding: 4px 20px 28px; font-size: 15px; line-height: 1.6; }
.doc.embed .muted { margin-top: 0; font-size: 13px; }
.doc.embed h2 { font-size: 16px; margin: 22px 0 6px; }
.doc.embed ul { padding-left: 18px; }
/* The in-app policy always reads on white, also in dark mode. */
body.embed {
  --bg: #f3f5f8; --surface: #fff; --text: #0b1220; --muted: #5b6577; --line: #e1e6ee;
  color-scheme: light; background: #fff; color: #0b1220;
}
.contact { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 8px 0 14px; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-size: 13px; line-height: 1.45; }
.contact dt { color: var(--muted); font-weight: 600; }
.contact dd { margin: 0; font-weight: 600; color: var(--text); min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

.del-form { display: grid; gap: 14px; margin-top: 20px; }
.del-form label { display: grid; gap: 6px; font-weight: 600; }
.del-form input[type=email], .del-form input[type=password] { padding: 12px 14px; border: 1px solid #d3c9ee; border-radius: 12px; font: inherit; }
.del-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.del-form button { padding: 14px; border: 0; border-radius: 14px; background: #c4251a; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.form-error { color: #c4251a; font-weight: 600; }
.form-done { color: #1f9d55; font-weight: 700; }

/* "Get the app" box on shared places */
.promo { margin-top: 22px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: 16px; }
.promo strong { font-size: 16px; }
.promo p { margin: 6px 0 12px; color: var(--muted); }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { flex: 1; min-width: 130px; text-align: center; text-decoration: none; padding: 11px 14px; border-radius: 12px; font-weight: 700; color: #fff; background: #111; }
