/* lokala.app's full site (shown when SITE_LIVE), scoped to body.site so the dashboard keeps application.css.
   The design is the mockup at https://claude.ai/artifact/1Yh2M7aCZButENhockL2Zv. Fonts are the app's own (OFL). */
@font-face { font-family: "Figtree"; src: url("/assets/Figtree-Regular-109737b5.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/Figtree-Medium-a1ac8b75.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/Figtree-SemiBold-a72227f7.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/Figtree-Bold-50e66a9c.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/Figtree-ExtraBold-4d68236c.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("/assets/Mukta-Regular-d405ee66.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("/assets/Mukta-Bold-55ed5a7d.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("/assets/NotoNaskhArabic-Regular-7c90ea06.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans Hanifi Rohingya"; src: url("/assets/NotoSansHanifiRohingya-Regular-2c0e4eb1.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }

/* Layout: the site walks through the app's worlds. Full-bleed drawn places (the street, the lane) carry
   speech bubbles at the neighbors' heads; between them, quiet paper sections with the app's own screens.
   Site chrome is Lokala's own (madder, saffron, turquoise: the design system's front door); each locale's colors
   and motifs stay inside its own section. */
body.site {
  --paper: #FBF5EC;
  --paper-2: #F5EBDD;
  --card: #FFFFFF;
  --ink: #2A1418;
  --muted: #6E5650;
  --line: #EADBC8;
  --strike: #A39E93;
  --bubble: #FFFFFF;
  --bubble-ink: #1E2136;
  --shadow: 0 1px 2px rgba(30,33,54,.08), 0 6px 18px rgba(30,33,54,.10);
  --button: #7E1A2C;
  --button-ink: #FBEFD9;
  --madder: #7E1A2C;
  --saffron: #F6A800;
  --on-saffron: #3A0A12;
  --turquoise: #0E7C74;
  --cream: #FBEFD9;
  --cream-muted: #F1DCD6;
  --heading: #7E1A2C;
  --gt: #23786A;
  --gt-soft: #E3F0EC;
  --gt-cloth: #1F2347;
  --kb: #2B4C8C;
  --kb-soft: #E6ECF6;
  --kb-cloth: #8E2323;
  --good: #2E8B57;
  --sky: #7BCEFD;
  --sky-ink: #7E1A2C;
  --sky-muted: #5E1E29;
  --day: block;
  --night: none;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --naskh: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", serif;
  --hanifi: "Noto Sans Hanifi Rohingya", sans-serif;
  --devanagari: "Mukta", "Kohinoor Devanagari", "Nirmala UI", sans-serif;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.site {
    --paper: #1C1012; --sky: #08347A; --sky-ink: #FFF6E6; --sky-muted: #D6D9F0; --paper-2: #241518; --card: #2C1B1E; --ink: #F6E9E4; --muted: #C7ADA6; --line: #3D262A;
    --strike: #6E7190; --bubble: #FFFDF8; --bubble-ink: #1E2136; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    --button: #F6A800; --button-ink: #3A0A12; --heading: #F6A800; --gt: #6DBBA8; --gt-soft: #1B3233; --kb: #8FA8DC; --kb-soft: #1E2748;
    --good: #5CC08A; --day: none; --night: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] body.site {
  --paper: #1C1012; --sky: #08347A; --sky-ink: #FFF6E6; --sky-muted: #D6D9F0; --paper-2: #241518; --card: #2C1B1E; --ink: #F6E9E4; --muted: #C7ADA6; --line: #3D262A;
  --strike: #6E7190; --bubble: #FFFDF8; --bubble-ink: #1E2136; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --button: #F6A800; --button-ink: #3A0A12; --heading: #F6A800; --gt: #6DBBA8; --gt-soft: #1B3233; --kb: #8FA8DC; --kb-soft: #1E2748;
  --good: #5CC08A; --day: none; --night: block; color-scheme: dark;
}

.site *, .site *::before, .site *::after { box-sizing: border-box; }
body.site { background: var(--paper); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
.site h1, .site h2, .site h3, .site p, .site ul, .site ol, .site figure { margin: 0; }
.site ul, .site ol { padding: 0; list-style: none; }
.site h1, .site h2, .site h3 { text-wrap: balance; letter-spacing: -0.025em; line-height: 1.08; }
.site h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
.site .section h2 { color: var(--heading); }
.site h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.site a { color: inherit; }
.site :focus-visible { outline: 3px solid var(--gt); outline-offset: 3px; border-radius: 8px; }
.site .wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.site .lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34ch; }
.site .section { padding-block: clamp(64px, 9vw, 112px); }
.site .section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 52px); }
.site .tint { background: var(--paper-2); }
.site [lang="prs"], .site [lang="arz"] { font-family: var(--naskh); }
.site [lang="ne"] { font-family: var(--devanagari); }
.site .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site .button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--button); color: var(--button-ink); font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s ease; }
.site .button:hover { transform: translateY(-1px); }
.site .button.on-art { background: var(--turquoise); color: #fff; }

/* Top bar */
body.site::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--madder); }
.site .topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--madder); }
.site .topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site .brand { display: inline-flex; align-items: center; text-decoration: none; }
.site .topbar .logo { height: 34px; }
.site footer .logo { height: 26px; }
.site .topbar nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.site .topbar nav a { text-decoration: none; }
.site .topbar nav .quiet { color: var(--cream-muted); }
.site .topbar .button { min-height: 40px; padding: 0 18px; font-size: 15px; background: var(--saffron); color: var(--on-saffron); }

/* Places: a drawn scene with bubbles at the neighbors' heads. No height cap: on a wide screen a cap cropped the
   picture from the top (the volcano, the Kabul peaks) and pulled it up under the hero's text. */
.site .place { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #7EC8F2; }
.site .place img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The frame is always the picture's own 3:2, anchored to the bottom of the place, so a bubble's
   left/top are the head's spot in the picture however the place crops it. */
.site .frame { position: absolute; bottom: 0; left: var(--frame-x, 0%); width: var(--frame-w, 100%); aspect-ratio: 3 / 2; }
.site .place .day { display: var(--day); }
.site .place .night { display: var(--night); }
.site .place.no-night .day { display: block; }
.site .say {
  position: absolute; transform: translate(-50%, calc(-100% - 14px)); z-index: 2;
  background: var(--bubble); color: var(--bubble-ink); border-radius: 18px; padding: 9px 15px 10px;
  box-shadow: 0 2px 4px rgba(20,22,40,.12), 0 10px 26px rgba(20,22,40,.18);
  font-weight: 700; font-size: clamp(14px, 1.45vw, 19px); line-height: 1.2; white-space: nowrap; text-align: center;
  animation: pop .5s cubic-bezier(.2,1.4,.4,1) both;
}
.site .say::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 18px; height: 18px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.site .say.r { transform: translate(calc(-100% + 34px), calc(-100% - 14px)); }
.site .say.r::after { left: auto; right: 34px; transform: translateX(50%) rotate(45deg); }
.site .say.l { transform: translate(-34px, calc(-100% - 14px)); }
.site .say.l::after { left: 34px; }
.site .phone .say.r { transform: translate(calc(-100% + 22px), calc(-100% - 10px)); }
.site .phone .say.r::after { right: 22px; }
.site .say small { display: block; font-weight: 500; font-size: .74em; color: #6A6C7E; margin-top: 2px; }
.site .say .script { display: block; font-family: var(--naskh); font-weight: 400; font-size: 1.12em; line-height: 1.5; direction: rtl; }
.site .say .latn { display: block; font-family: var(--font); font-weight: 600; font-size: .78em; color: #6A6C7E; margin-top: 1px; }
.site .say:nth-of-type(2) { animation-delay: .25s; } .site .say:nth-of-type(3) { animation-delay: .5s; } .site .say:nth-of-type(4) { animation-delay: .75s; }
@keyframes pop { from { opacity: 0; scale: .85; } }
@media (prefers-reduced-motion: reduce) { .site .say { animation: none; } .site .button { transition: none; } }

/* Hero */
.site .hero { background: var(--sky); }
.site .hero-copy { position: relative; z-index: 3; padding-block: clamp(36px, 6vw, 80px) 0; }
.site .hero .place { aspect-ratio: 3 / 1.72; background: var(--sky); margin-top: clamp(-120px, -6vw, -24px); }
.site .hero-copy .inner { max-width: 560px; display: grid; gap: 18px; }
.site .hero h1 { font-size: clamp(44px, 6.6vw, 88px); font-weight: 800; letter-spacing: -0.045em; color: var(--sky-ink); }
.site .hero .lede { color: var(--sky-muted); font-weight: 500; }
.site .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 6px; }
.site .hero-note { font-size: 15px; font-weight: 600; color: var(--sky-muted); }

/* Versus */
.site .versus { display: grid; gap: 28px; align-items: start; }
@media (min-width: 880px) { .site .versus { grid-template-columns: 1fr 1.25fr; gap: 56px; } }
.site .label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site .old { display: grid; gap: 14px; padding-top: 6px; }
.site .old ul { display: grid; gap: 4px; }
.site .old li { display: flex; align-items: baseline; gap: 14px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.03em; color: var(--strike); }
.site .old li s { text-decoration-thickness: 3px; }
.site .old li span { font-size: 15px; font-weight: 500; letter-spacing: 0; }
.site .old p { color: var(--muted); max-width: 30ch; margin-top: 10px; }

/* The app's chat (es-GT world) */
.site .chat-card { background: var(--card); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.site .chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.site .chat-top img { width: 44px; height: 44px; border-radius: 50%; background: var(--gt-soft); }
.site .chat-top b { display: block; font-size: 16px; }
.site .chat-top span { font-size: 13px; color: var(--muted); }
.site .thread { display: grid; gap: 10px; padding: 20px 18px 22px; background:
  radial-gradient(circle at 12px 12px, color-mix(in srgb, var(--gt) 9%, transparent) 2px, transparent 2.5px) 0 0 / 24px 24px, var(--card); }
.site .row { display: flex; align-items: flex-end; gap: 8px; }
.site .row.me { justify-content: flex-end; }
.site .row img { width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--gt-soft); }
.site .b { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-weight: 600; font-size: 17px; line-height: 1.3; }
.site .them .b { background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 6px; }
.site .me .b { background: var(--gt); color: #fff; border-bottom-right-radius: 6px; }
.site .b small { display: block; font-weight: 500; font-size: 13px; opacity: .72; }
.site .me .b.turn { background: transparent; color: var(--gt); border: 2px dashed var(--gt); font-weight: 600; }
.site .choices { display: grid; gap: 8px; padding: 0 18px 20px; background: var(--card); }
.site .key { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 16px; border: 2px solid var(--line); border-bottom-width: 4px; font-weight: 700; font-size: 17px; background: var(--card); }
.site .key.right { border-color: var(--good); color: var(--good); background: color-mix(in srgb, var(--good) 10%, var(--card)); }
.site .after { font-size: 15px; color: var(--muted); margin-top: 16px; max-width: 52ch; }

/* Pairs */
.site .pairs { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.site .pair { background: var(--card); border-radius: 24px; border: 1px solid var(--line); padding: 22px; display: grid; gap: 6px; align-content: start; }
.site .pair img { width: 112px; height: 112px; margin: -4px 0 8px -6px; }
.site .pair .book { font-size: 15px; color: var(--strike); }
.site .pair .book s { text-decoration-thickness: 2px; }
.site .pair .local { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.site .pair .local .alt { color: var(--gt); }
.site .pair .en { font-size: 15px; color: var(--muted); }
.site .pair .note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }

/* How a stop works: four phones */
.site .steps { display: grid; gap: 28px 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .site .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site .steps { grid-template-columns: minmax(0, 1fr); justify-items: center; } }
.site .step { display: grid; gap: 16px; align-content: start; max-width: 270px; width: 100%; }
.site .step-cap { display: grid; gap: 4px; }
.site .step-cap .n { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--gt); }
.site .step-cap p { font-size: 15px; color: var(--muted); }
.site .phone { position: relative; width: 100%; aspect-ratio: 9 / 18.5; border-radius: 34px; border: 8px solid #15172A; background: #F7F2E7; overflow: hidden; box-shadow: var(--shadow); color: #1E2136; }
.site .phone .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site .phone .say { font-size: 13px; padding: 7px 11px 8px; border-radius: 14px; animation: none; }
.site .phone .say::after { width: 12px; height: 12px; bottom: -5px; }
/* home's loom */
.site .loom { position: absolute; left: 10px; right: 10px; bottom: 12px; border-radius: 18px; background: #F7F2E7; padding: 10px 12px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.25); display: grid; gap: 8px; }
.site .loom .t { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9A6A0F; }
.site .loom .s { font-size: 14px; font-weight: 700; line-height: 1.2; margin-top: -4px; }
.site .weave { height: 26px; border-radius: 4px; background: var(--gt-cloth); display: flex; align-items: center; gap: 3px; padding: 0 6px; position: relative; }
.site .weave::before, .site .weave::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #C9A24A; }
.site .weave::before { top: 2px; } .site .weave::after { bottom: 2px; }
.site .st { width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1px; background: var(--c, #D9534F); flex: none; }
.site .st.loose { opacity: .45; }
.site .st.bare { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.site .gap { width: 6px; flex: none; }
.site .phone .key { min-height: 40px; font-size: 14px; border-radius: 13px; color: #1E2136; background: #fff; border-color: #E2DACB; }
.site .phone .key.go { background: #23786A; border-color: #1A5C51; color: #fff; }
.site .phone .key.right { border-color: #2E8B57; color: #2E8B57; background: #EAF5EE; }
/* practice */
.site .prac { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 14px 12px 12px; gap: 10px; }
.site .prac-top { display: flex; align-items: center; gap: 8px; }
.site .prac-top .x { font-size: 15px; color: #8D8778; width: 14px; }
.site .prac-top .weave { flex: 1; height: 20px; }
.site .prac-top .st { width: 6px; height: 6px; }
.site .prac-mid { display: grid; align-content: center; gap: 12px; }
.site .prac .row img { width: 34px; height: 34px; background: #E3F0EC; }
.site .prac .b { font-size: 16px; }
.site .prac .them .b { background: #fff; color: #1E2136; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.site .prac .me .b.turn { color: #23786A; border-color: #23786A; font-size: 14px; }
.site .prac-keys { display: grid; gap: 7px; }
.site .pic-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.site .pic-keys .key { min-height: 0; aspect-ratio: 1; padding: 6px; }
.site .pic-keys img { width: 100%; height: 100%; object-fit: contain; }
/* conversation */
.site .convo { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; background: #F7F2E7; }
.site .convo .chat-top { padding: 12px; gap: 9px; border-color: #E6DFD1; background: #fff; }
.site .convo .chat-top img { width: 32px; height: 32px; background: #E3F0EC; }
.site .convo .chat-top b { font-size: 14px; } .site .convo .chat-top span { font-size: 11px; color: #75705F; }
.site .convo .thread { padding: 12px 10px; gap: 7px; align-content: start; background: radial-gradient(circle at 10px 10px, rgba(35,120,106,.09) 2px, transparent 2.5px) 0 0 / 20px 20px, #F7F2E7; }
.site .convo .b { font-size: 13.5px; padding: 8px 11px; border-radius: 15px; }
.site .convo .row img { width: 24px; height: 24px; background: #E3F0EC; }
.site .convo .them .b { background: #fff; color: #1E2136; }
.site .convo .me .b { background: #23786A; }
.site .convo .me .b.turn { background: transparent; color: #23786A; border-color: #23786A; }
.site .place-card { border-radius: 12px; overflow: hidden; height: 70px; margin-bottom: 4px; }
.site .place-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.site .tray { display: grid; gap: 6px; padding: 10px; background: #fff; border-top: 1px solid #E6DFD1; }
/* kite */
.site .phone .kite { position: absolute; width: 38%; left: 56.5%; top: 6%; transform: rotate(-8deg); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-3deg) translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .site .phone .kite { animation: none; } }
.site .lift { position: absolute; left: 10px; right: 10px; bottom: 12px; background: #F7F2E7; border-radius: 18px; padding: 12px; display: grid; gap: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.site .lift .praise { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: #23786A; }
.site .lift .next { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5C5F72; }
.site .lift .next img { width: 28px; height: 28px; border-radius: 50%; background: #E3F0EC; }
.site .lift .next b { color: #1E2136; display: block; font-size: 13.5px; }

/* Answers of my own */
.site .mine { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .site .mine { grid-template-columns: 1fr 1fr; gap: 64px; } }
.site .mine-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.site .mine-card .q { display: flex; align-items: center; gap: 14px; }
.site .mine-card .q img { width: 64px; height: 64px; }
.site .mine-card .q b { font-size: 22px; letter-spacing: -0.02em; }
.site .mine-card .q span { display: block; font-size: 14px; color: var(--muted); }
.site .ans { display: grid; gap: 8px; }
.site .ans li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; border: 2px solid var(--line); font-weight: 700; font-size: 18px; }
.site .ans li span { font-weight: 500; font-size: 14px; color: var(--muted); }
.site .ans li.picked { border-color: var(--gt); background: var(--gt-soft); }
.site .ans li.own { border-style: dashed; }
.site .ans .tag { font-size: 12px; font-weight: 700; color: var(--gt); text-transform: uppercase; letter-spacing: .06em; }

/* Kabul */
.site .kabul { background: var(--kb-soft); }
.site .kabul .place { background: #6FB6EE; }
.site .kabul-head { padding-block: clamp(56px, 8vw, 96px) clamp(28px, 4vw, 40px); }
.site .kabul-head .label { color: var(--kb); }
.site .kabul-head h2 { margin-top: 12px; }
.site .kabul-head .lede { margin-top: 14px; max-width: 46ch; }
.site .kabul-foot { padding-block: clamp(32px, 5vw, 48px) clamp(56px, 8vw, 96px); display: grid; gap: 28px; }
@media (min-width: 880px) { .site .kabul-foot { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; } }
.site .d-lines { display: grid; gap: 10px; }
.site .d-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline; padding: 14px 18px; background: var(--card); border-radius: 18px; border: 1px solid var(--line); }
.site .d-line .lat { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.site .d-line .scr { font-family: var(--naskh); font-weight: 400; font-size: 22px; direction: rtl; grid-row: span 2; color: var(--kb); }
.site .d-line .en { font-size: 14px; color: var(--muted); }
.site .carpet { display: grid; gap: 10px; }
.site .knots { height: 34px; border-radius: 5px; background: var(--kb-cloth); display: flex; align-items: center; gap: 3px; padding: 0 8px; position: relative; }
.site .knots::before, .site .knots::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: repeating-linear-gradient(90deg, #EFE2C4 0 4px, transparent 4px 7px); }
.site .knots::before { top: 2px; } .site .knots::after { bottom: 2px; }
.site .kn { width: 7px; height: 14px; border-radius: 2px; background: var(--c); flex: none; }
.site .kn.bare { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.site .carpet p { font-size: 15px; color: var(--muted); }

/* Languages: each in its own place, a neighbor's line at their head */
.site .worlds { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.site .world { display: grid; grid-template-rows: auto 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
/* The top of the street, 4:5; its frame is the picture's whole 2:3, so a bubble's left/top are the head's spot */
.site .world-place { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.site .world-place .frame { top: 0; bottom: auto; aspect-ratio: 2 / 3; }
.site .world-place img { position: absolute; inset: 0; width: 100%; height: 100%; }
.site .world-place .say { font-size: 15px; animation: none; }
.site .world-text { display: grid; gap: 4px; align-content: start; padding: 18px 20px 22px; }
.site .world-text b { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.site .world-text .name-script { font-weight: 400; font-size: .92em; color: var(--muted); }
.site [lang="rhg-Rohg"] { font-family: var(--hanifi); }
.site .world-text .where { color: var(--muted); font-size: 15px; }
.site .world-text .heard { font-weight: 700; margin-top: 8px; }
.site .world-text .heard span { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }
.site .world-text .made { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }
.site .world.more { border-style: dashed; background: transparent; align-content: center; padding: 22px; gap: 4px; grid-template-rows: none; }
.site .world.more b { font-size: 24px; letter-spacing: -0.02em; }
.site .world.more span { color: var(--muted); font-size: 15px; }

/* Sign-up: the form under each language's passed stop, each whole in its own place (kite and sepet at their spots from world.ts) */
.site .join { padding-block: clamp(56px, 8vw, 104px); background: var(--madder); color: var(--cream); }
.site .join h2 { color: var(--cream); }
.site .join .fine, .site .join .fine a { color: var(--cream-muted); }
.site .join .done { color: var(--cream); }
.site .join .signup .button { background: var(--saffron); color: var(--on-saffron); }
.site .join .wrap { display: grid; gap: 40px; justify-items: center; }
.site .join .inner { display: grid; gap: 18px; text-align: center; justify-items: center; }
.site .flights { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 1080px; }
.site .join p { color: var(--cream-muted); max-width: 40ch; }
.site .flight { position: relative; aspect-ratio: 2 / 3; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.site .flight .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.site .flight .kite { position: absolute; transform: translate(-50%, -50%) rotate(var(--tilt)); animation: fly 4.5s ease-in-out infinite; }
.site .flight.gt .kite { left: 75.5%; top: 17%; width: 38%; --tilt: -8deg; }
.site .flight.kb .kite { left: 84%; top: 37%; width: 28%; --tilt: 10deg; animation-delay: -2s; }
.site .flight .basket { position: absolute; left: 50.8%; top: 25.3%; width: 17.5%; transform: translateX(-50%); transform-origin: top; animation: sway 5s ease-in-out infinite; }
/* Utrecht: the flag with the schoolbag, its pole's foot in the bracket by Lotte's window */
.site .flight .flag { position: absolute; left: 62.2%; top: 24.3%; width: 30%; translate: -1.5% -96.5%; transform-origin: 1.5% 96.5%; animation: wave 5s ease-in-out infinite; }
@keyframes wave { 50% { rotate: -3deg; } }
@keyframes sway { 25% { rotate: 2deg; } 75% { rotate: -2deg; } }
@keyframes fly { 50% { transform: translate(-50%, calc(-50% - 8px)) rotate(calc(var(--tilt) + 4deg)); } }
@media (prefers-reduced-motion: reduce) { .site .flight .kite, .site .flight .basket, .site .flight .flag { animation: none; } }
.site .flight figcaption { position: absolute; left: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(20,22,40,.55); color: #fff; font-size: 13px; font-weight: 700; }
@media (max-width: 900px) {
  .site .join .wrap { gap: 32px; }
  .site .flights { gap: 12px; }
  .site .flight { border-radius: 18px; }
  .site .flight figcaption { left: 8px; bottom: 8px; font-size: 12px; padding: 3px 8px; }
}
/* Phone width: the seven side by side, scrolled across */
@media (max-width: 640px) {
  .site .flights { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 4px 20px 12px; scrollbar-width: none; }
  .site .flight { flex: none; width: 42%; scroll-snap-align: center; }
}
.site .signup { display: flex; align-items: center; gap: 6px; width: 100%; max-width: 460px; margin-top: 6px; padding: 6px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.site .signup:focus-within { border-color: var(--gt); }
.site .signup:has(input[aria-invalid="true"]) { border-color: #C2413A; }
.site .signup input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 17px var(--font); }
.site .signup input:focus { outline: none; }
.site .signup .button { flex: none; min-height: 46px; }
@media (max-width: 480px) {
  .site .signup { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .site .signup input { border: 2px solid var(--line); background: var(--card); min-height: 50px; padding: 0 18px; }
  .site .signup input:focus { border-color: var(--gt); }
  .site .signup input[aria-invalid="true"] { border-color: #C2413A; }
  .site .signup .button { min-height: 50px; }
}
.site .error { color: #C2413A; font-weight: 600; font-size: 15px; }
.site .join .error { color: #FFD9B0; }
.site .done { font-size: 20px; font-weight: 700; }
.site .fine { font-size: 13px; color: var(--muted); }

.site footer { background: var(--madder); }
.site footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding-block: 28px; font-size: 15px; color: var(--cream-muted); }
.site footer a { color: var(--cream); }
.site footer nav { display: flex; gap: 22px; }

/* The floating sign-up: rises once the hero's button scrolls away, steps aside at the sign-up section */
.site .float {
  position: fixed; z-index: 8; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: min(640px, calc(100% - 2 * max(16px, env(safe-area-inset-left, 0px))));
  transform: translate(-50%, 0); transition: transform .35s cubic-bezier(.2,1.2,.4,1), opacity .25s ease;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 2px 6px rgba(20,22,40,.10), 0 18px 44px rgba(20,22,40,.22);
}
.site .float.away { transform: translate(-50%, calc(100% + 40px)); opacity: 0; pointer-events: none; }
.site .float-faces { display: flex; flex: none; }
.site .float-faces img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--card); background: var(--gt-soft); }
.site .float-faces img + img { margin-left: -12px; }
.site .float-faces img.kb { background: var(--kb-soft); }
.site .float-text { flex: none; display: grid; line-height: 1.2; font-size: 14px; }
.site .float-text b { font-size: 15px; }
.site .float-text span { color: var(--muted); font-size: 13px; }
.site .float form { flex: 1; display: flex; gap: 8px; min-width: 0; }
.site .float input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); font: 500 16px var(--font); }
.site .float input:focus { outline: none; border-color: var(--gt); }
.site .float input[aria-invalid="true"] { border-color: #C2413A; }
.site .float .button { min-height: 46px; padding: 0 20px; font-size: 15px; flex: none; }
.site .float .done { font-size: 16px; padding: 0 12px; }
.site .float .error { position: absolute; left: 24px; bottom: calc(100% + 8px); font-size: 14px; background: var(--card); padding: 6px 12px; border-radius: 10px; box-shadow: var(--shadow); }
.site footer { padding-bottom: 96px; }
@media (prefers-reduced-motion: reduce) { .site .float { transition: none; } }
@media (max-width: 760px) { .site .float-text { display: none; } }
@media (max-width: 480px) {
  .site .float { border-radius: 24px; padding: 8px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .site .float-faces { display: none; }
  .site .float .button { padding: 0 16px; }
}

/* Phone width: the headline sits above the street; fewer bubbles */
@media (max-width: 720px) {
  .site .topbar nav .quiet { display: none; }
  .site .hero .place { aspect-ratio: 4 / 3; margin-top: 0; }
  .site .place { aspect-ratio: 4 / 3; --frame-w: 112.5%; --frame-x: -6.25%; }
  .site .say { font-size: 13px; padding: 6px 10px 7px; }
  .site .say small { display: none; }
  .site .say.wide-only { display: none; }
  .site .d-line .scr { font-size: 19px; }
}

/* Skip link */
.site .skip { position: absolute; left: 16px; top: -48px; z-index: 11; padding: 8px 12px; border-radius: 8px; background: var(--card); color: var(--ink); }
.site .skip:focus { top: 12px; }
