/* Faraj brand kit: https://claude.ai/artifact/VA2YV6VEesMVkoPw7qhWap
   Light only, warm and inviting (Brahim, 2026-11-01: dark looked cold, Kufi headings hard to read).
   Readex Pro for all text; Reem Kufi only for the فَرَجْ wordmark. One red action per view; zellige teal, saffron, cobalt celebrate. */
:root {
  --ground: #FFF8F4; --surface: #FFFFFF; --ink: #1D2523; --muted: #56605D; --line: #F0E2DC;
  --pom: #C8243F; --pom-deep: #A61B33; --pom-tint: #FDE7EA;
  --zel: #0E7C74; --zel-tint: #E2F4F0; --saf: #F2A93B; --saf-tint: #FFF1DA; --cob: #2F55C4; --cob-tint: #E7EDFC;
  --display: "Reem Kufi", "Readex Pro", sans-serif;
  --sans: "Readex Pro", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 20px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(80, 30, 30, .05), 0 8px 24px rgba(120, 40, 40, .07);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.8 var(--sans); -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
a { color: var(--zel); }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
.narrow { max-width: 720px; }
.center { text-align: center; }
bdi, .big, .board .n, .podium b, .bubble b { font-variant-numeric: tabular-nums; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 248, 244, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top-in { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); }
.drop { width: 22px; height: 22px; fill: var(--pom); }
.word { font: 700 30px/1 var(--display); color: var(--ink); }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { display: flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--pom-tint); }
.nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lang { font: 600 14px var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
@media (min-width: 861px) { .nav svg { display: none; } }
@media (max-width: 860px) {
  .top { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ground); }
  .nav { position: fixed; inset: auto 0 0 0; background: var(--surface); border-top: 1px solid var(--line); justify-content: space-around; padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)); margin: 0; box-shadow: 0 -6px 20px rgba(120, 40, 40, .06); }
  .nav a { flex-direction: column; gap: 2px; font-size: 12px; padding: 6px 4px; border-radius: 12px; flex: 1; }
  .lang { margin-inline-start: auto; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* type */
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1 { font: 700 clamp(36px, 6.4vw, 64px)/1.3 var(--sans); }
h1 .hl { color: var(--pom); }
h2 { font: 700 clamp(28px, 4vw, 40px)/1.35 var(--sans); }
h3 { font: 600 19px/1.5 var(--sans); }
.sub { color: var(--muted); margin: 8px 0 0; font-size: 17px; max-width: 60ch; }
.center .sub { margin-inline: auto; }
.kicker { display: inline-block; margin: 0 0 8px; color: var(--pom); font-weight: 600; font-size: 15px; }
.note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.small { font-size: 14px; }

/* buttons, fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 16px var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn.big { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn.primary { background: var(--pom); color: #fff; box-shadow: 0 6px 18px rgba(200, 36, 63, .28); }
.btn.primary:hover { background: var(--pom-deep); }
.btn.soft { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn:focus-visible, .segb:focus-visible, .kind:focus-visible, .chip:focus-visible, .ans:focus-visible, select:focus-visible, input:focus-visible, .lang:focus-visible { outline: 3px solid var(--zel); outline-offset: 2px; }
.field { display: grid; gap: 6px; font-size: 15px; color: var(--muted); font-weight: 500; }
select, input { font: 400 17px var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; width: 100%; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }

/* hero */
.hero { background: linear-gradient(180deg, #FFEFEE 0%, var(--ground) 100%); overflow: hidden; }
.hero-in { display: grid; gap: 28px; padding-block: 36px 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.1fr .9fr; padding-block: 64px 72px; } }
.pill { display: inline-block; background: var(--surface); border: 1px solid var(--line); color: var(--zel); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin: 0 0 18px; }
.lead { font-size: 19px; color: #3B4442; max-width: 46ch; margin: 18px 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--zel-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%230E7C74' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; flex: none; }
.hero-art { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.hero-art svg { width: 100%; height: auto; display: block; }
.bubble { position: absolute; background: var(--surface); border-radius: 18px; padding: 10px 16px; box-shadow: var(--shadow); display: grid; line-height: 1.3; font-size: 13px; color: var(--muted); max-width: 170px; }
.bubble b { font-size: 26px; color: var(--ink); font-weight: 700; }
.b1 { top: 6%; inset-inline-end: -2%; }
.b2 { bottom: 8%; inset-inline-start: -2%; }
.b2 b { color: var(--pom); }
.float { animation: float 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes float { 50% { transform: translateY(-8px); } }
.beat { animation: beat 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.06); } 24% { transform: scale(1); } }

/* steps */
.steps ol { list-style: none; margin: -8px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; position: relative; }
@media (min-width: 760px) { .steps ol { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--zel); }
.steps li:nth-child(2) .n { background: var(--saf); color: #3A2600; }
.steps li:nth-child(3) .n { background: var(--pom); }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* bands */
.band { padding-block: 64px; }
.tint-zel { background: var(--zel-tint); }
.tint-saf { background: var(--saf-tint); }
.head { margin-bottom: 26px; }
.subhead { margin: 36px 0 14px; }

/* centres */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font: 500 15px var(--sans); padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ccard { background: var(--surface); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 6px; align-content: start; min-width: 0; }
.ccard .city { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.ccard .city i { width: 38px; height: 38px; border-radius: 12px; background: var(--pom-tint); display: grid; place-items: center; flex: none; }
.ccard .city svg { width: 20px; height: 20px; fill: var(--pom); }
.ccard .t { color: var(--muted); font-size: 15px; line-height: 1.6; }
.ccard .addr { font-weight: 500; }
.ccard .links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; margin-top: 6px; align-items: center; }
.ccard .links a.go { font-weight: 600; }
.ccard .src { font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--saf-tint); color: #8A5600; font-weight: 500; width: fit-content; }
.tag.zel { background: var(--zel-tint); color: var(--zel); }
.drives .ccard { box-shadow: none; border: 1px solid var(--line); }
.drives .ccard .city i { background: var(--zel-tint); }
.drives .ccard .city svg { fill: none; stroke: var(--zel); stroke-width: 2; }

/* quiz */
.quizbox { background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); min-height: 300px; display: grid; align-content: start; gap: 18px; }
.dots { display: flex; gap: 6px; justify-content: center; }
.dots span { width: 28px; height: 6px; border-radius: 3px; background: var(--line); }
.dots span.done { background: var(--zel); }
.qnum { color: var(--muted); font-size: 14px; text-align: center; margin: 0; }
.qtext { font: 600 clamp(22px, 3.4vw, 28px)/1.5 var(--sans); text-align: center; margin: 4px 0 0; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.ans { font: 600 19px var(--sans); min-height: 64px; border-radius: 18px; border: 2px solid var(--line); background: var(--ground); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.ans:hover { border-color: var(--zel); background: var(--zel-tint); }
.result { text-align: center; display: grid; gap: 10px; justify-items: center; }
.result .icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--zel-tint); }
.result .icon svg { width: 36px; height: 36px; fill: none; stroke: var(--zel); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.result.no .icon { background: var(--saf-tint); }
.result.no .icon svg { stroke: #8A5600; }
.result h3 { font-size: 24px; }
.result p { margin: 0; color: var(--muted); max-width: 46ch; }
.result .row { justify-content: center; margin-top: 8px; }

/* me */
.me-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .me-grid { grid-template-columns: .9fr 1.1fr; } }
.counter { background: linear-gradient(160deg, #FFE3E6, #FFF3F0); border-radius: 28px; padding: 28px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.ring { width: 200px; height: 200px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 10px rgba(200, 36, 63, .08), var(--shadow); display: grid; place-content: center; text-align: center; }
.big { font: 700 72px/1 var(--sans); color: var(--pom); }
.ring .cap { color: var(--muted); font-size: 16px; margin-top: 6px; }
.counter > .cap { color: var(--muted); margin: 6px 0 4px; }
.counter .row { justify-content: center; }
.badges { background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0 6px; }
.tile { aspect-ratio: 1; max-width: 100%; border-radius: 16px; border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.tile.on { border: 0; }
.tile svg { width: 72%; height: 72%; }
.tiles-cap { grid-column: 1 / -1; font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.prefs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }

/* league */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.segb, .kind { font: 600 15px var(--sans); border: 0; background: none; color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; min-height: 42px; }
.segb.on, .kind.on { background: var(--ink); color: #fff; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; margin: 28px 0 14px; max-width: 640px; }
.pod { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.pod .who { font-weight: 600; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.pod .col { width: 100%; border-radius: 18px 18px 6px 6px; display: grid; justify-items: center; align-content: start; padding-top: 14px; color: #fff; }
.pod .col b { font-size: 26px; }
.pod .col span { font-size: 13px; opacity: .9; }
.pod.p1 .col { height: 170px; background: var(--pom); }
.pod.p2 .col { height: 130px; background: var(--zel); }
.pod.p3 .col { height: 104px; background: var(--cob); }
.pod .medal { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--surface); box-shadow: var(--shadow); }
.pod.mine .who::after { content: " ★"; color: var(--saf); }
.board { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 640px; }
.board li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 18px; background: var(--surface); border-radius: 16px; }
.board li.mine { outline: 2px solid var(--zel); }
.board .rank { color: var(--muted); font-weight: 600; text-align: center; }
.board .name { min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.board .n { font-weight: 700; }
.sample::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--saf); margin-inline-end: 8px; }

/* card */
.card-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .card-grid { grid-template-columns: 1fr 340px; } }
.card-form { display: grid; gap: 16px; align-content: start; min-width: 0; }
.card-form .seg { justify-self: start; }
.phone { justify-self: center; background: var(--ink); padding: 10px; border-radius: 36px; box-shadow: 0 20px 50px rgba(60, 20, 20, .2); max-width: 300px; width: 100%; }
#cv { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 28px; }

.foot { background: var(--surface); border-top: 1px solid var(--line); padding-block: 32px 44px; color: var(--muted); font-size: 15px; }
.foot .word { font-size: 22px; margin-inline-end: 6px; }
.foot a { color: var(--muted); }

/* hero photo */
.hero-photo { width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 32px; box-shadow: 0 24px 60px rgba(120, 30, 40, .22); display: block; }
.hero-star { position: absolute; width: 74px; height: 74px; bottom: -18px; inset-inline-end: 18%; }
.hero-star svg, .star-big svg { width: 100%; height: 100%; display: block; }
.b1 { top: 8%; inset-inline-end: -14px; }
.b2 { bottom: 12%; inset-inline-start: -14px; }
@media (max-width: 560px) { .b1 { inset-inline-end: 8px; } .b2 { inset-inline-start: 8px; } .bubble { padding: 8px 12px; } .bubble b { font-size: 22px; } }

/* needs */
.needs { margin-top: 28px; }
.needs-in { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 24px; display: grid; gap: 14px 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .needs-in { grid-template-columns: 1.2fr 1fr; } .src-line { grid-column: 1 / -1; } }
.needs h3 { font-size: 22px; }
.muted { color: var(--muted); }
.types { display: flex; gap: 10px; flex-wrap: wrap; }
.bt { font: 700 22px var(--sans); direction: ltr; min-width: 70px; text-align: center; padding: 10px 14px; border-radius: 16px; background: var(--pom); color: #fff; }
.bt.soft { background: var(--pom-tint); color: var(--pom-deep); }
.src-line { margin: 0; font-size: 13px; color: var(--muted); }
.src-line a { color: var(--muted); }

/* map + nearest */
.near { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.near .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.near-msg { margin: 0; color: var(--muted); font-size: 15px; }
.near-msg b { color: var(--ink); }
.map-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 18px; background: var(--surface); }
#map { height: 360px; width: 100%; }
@media (max-width: 560px) { #map { height: 280px; } }
.leaflet-container { font-family: var(--sans); }
.leaflet-popup-content { font-size: 14px; line-height: 1.6; }
.pin { background: none; border: 0; }
.pin svg { width: 30px; height: 40px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }

/* centre cards with photos */
.ccard { padding: 0; overflow: hidden; gap: 0; }
.cbody { padding: 18px 20px 20px; display: grid; gap: 6px; }
.cimg { height: 150px; background-size: cover; background-position: center; position: relative; }
.credit { position: absolute; bottom: 6px; inset-inline-end: 8px; font-size: 10px; color: #fff; background: rgba(0, 0, 0, .45); padding: 1px 6px; border-radius: 6px; direction: ltr; }
.ccard.nearest { outline: 3px solid var(--zel); }
.dist { margin-inline-start: auto; font-size: 14px; font-weight: 600; color: var(--zel); background: var(--zel-tint); padding: 2px 10px; border-radius: 999px; }

/* stories */
.stories { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.story { margin: 0; background: var(--surface); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; align-content: space-between; position: relative; border-top: 6px solid var(--c); }
.story blockquote { margin: 0; font-size: 19px; line-height: 1.7; font-weight: 500; }
.story blockquote::before { content: "“"; display: block; font-size: 54px; line-height: .6; color: var(--c); margin-bottom: 8px; }
[dir="rtl"] .story blockquote::before { content: "”"; }
.story figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.story figcaption b { color: var(--ink); font-size: 15px; }
.ex { position: absolute; top: 14px; inset-inline-end: 14px; font-size: 12px; background: var(--saf-tint); color: #8A5600; padding: 1px 10px; border-radius: 999px; }

/* together + reminder */
.check { display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--zel); }
.remind { background: var(--surface); border-radius: 18px; padding: 14px 16px; display: grid; gap: 10px; justify-items: center; width: 100%; max-width: 420px; }
.remind p { margin: 0; }
.sex { font: 600 14px var(--sans); border: 0; background: none; color: var(--muted); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.sex.on { background: var(--zel); color: #fff; }
.next { font-size: 15px; }
.linkbtn { font: 600 15px var(--sans); color: var(--zel); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0 4px; }

/* challenge, wall, team */
.challenge { display: flex; gap: 18px; align-items: center; background: var(--surface) url("img/zellige.jpg") center/cover; border-radius: 24px; padding: 6px; margin-bottom: 24px; }
.challenge > div { background: rgba(255, 255, 255, .95); border-radius: 20px; padding: 18px 20px; flex: 1; min-width: 0; }
.challenge p.small { margin: 6px 0 0; color: var(--muted); }
.challenge .star-big { width: 70px; height: 70px; flex: none; margin-inline-start: 12px; }
@media (max-width: 560px) { .challenge .star-big { display: none; } }
.lg-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 860px) { .lg-grid { grid-template-columns: 1fr 1fr; } }
.wall, .team { background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nm { font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--ground); border: 2px solid var(--c); direction: ltr; }
.team img { width: 100%; height: 170px; object-fit: cover; border-radius: 14px; display: block; margin-bottom: 14px; }
.team p { margin: 6px 0 0; }
.mail { font-weight: 600; color: var(--ink); user-select: all; }

/* faq */
.faq-photo { width: 100%; height: 220px; object-fit: cover; border-radius: 24px; display: block; margin-bottom: 18px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 18px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--pom); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: #3B4442; }

/* illustrated map */
.map-wrap { background: radial-gradient(120% 90% at 30% 20%, #EAF5FB 0%, #F4F8FB 60%, var(--ground) 100%); display: grid; place-items: center; padding: 18px; }
#map { width: 100%; max-width: 760px; height: auto; display: block; overflow: hidden; }
#map .sea { font: italic 500 22px var(--sans); fill: #7FA3B5; letter-spacing: .02em; }
.mpin { cursor: pointer; outline: none; }
.mpin .drop { fill: var(--pom); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .25)); transition: transform .2s; }
#map .lbl { pointer-events: none; font: 700 22px var(--sans); direction: ltr; unicode-bidi: plaintext; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.mpin:hover .drop, .mpin:focus-visible .drop, .mpin.on .drop { transform: scale(1.25); }
#map .lbl.on { fill: var(--pom-deep); }
.pulse { fill: var(--pom); opacity: .25; animation: pulse 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { transform: scale(.4); opacity: .45; } to { transform: scale(2.2); opacity: 0; } }
.me-halo { fill: var(--cob); opacity: .18; }
.me-dot { fill: var(--cob); stroke: #fff; stroke-width: 4; }

.tag.medium { background: var(--cob-tint); color: var(--cob); }
.tag.low { background: #F3EEEC; color: var(--muted); }
.mpin .drop.medium { fill: #D9566B; }
.mpin .drop.low { fill: #fff; stroke: var(--pom); stroke-width: 4; }

.langs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.langs button { font: 600 13px var(--sans); border: 0; background: none; color: var(--muted); padding: 5px 10px; border-radius: 999px; cursor: pointer; min-width: 34px; }
.langs button.on { background: var(--ink); color: #fff; }
.langs button:focus-visible { outline: 3px solid var(--zel); outline-offset: 2px; }
@media (max-width: 860px) { .langs { margin-inline-start: auto; } }

/* accounts (2026-11-01): header button, gate, sheets */
.acct { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; max-width: 140px; }
.acct svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.acct span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.acct.in { border-color: var(--zel); color: var(--zel); }
.acct:focus-visible { outline: 3px solid var(--zel); outline-offset: 2px; }
@media (max-width: 860px) { .langs { margin-inline-start: auto; } .acct { padding: 6px 10px; } }
@media (max-width: 400px) { .acct span { display: none; } }
.gate { display: grid; gap: 18px; align-items: center; background: linear-gradient(160deg, #FFE3E6, #FFF3F0); border-radius: 28px; padding: 28px; }
.gate h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.4; }
.gate p { margin: 0 0 14px; }
.gate .star-big { width: 84px; height: 84px; display: block; }
@media (min-width: 760px) { .gate { grid-template-columns: 96px 1fr; padding: 36px; } }
.sheet { border: 0; border-radius: 28px; padding: 28px 24px 24px; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: var(--surface); color: var(--ink); box-shadow: 0 24px 64px rgba(80, 30, 30, .25); }
.sheet::backdrop { background: rgba(29, 37, 35, .45); }
.sheet h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.35; }
.sheet .sub { margin: 0 0 16px; color: var(--muted); }
.sheet-x { position: absolute; inset-inline-end: 12px; top: 10px; margin: 0; }
.sheet-x button { font: 400 28px/1 var(--sans); width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--ground); color: var(--muted); cursor: pointer; }
.consent { align-items: flex-start; font-size: 14px; line-height: 1.6; background: var(--zel-tint); border-radius: var(--r-sm); padding: 12px; margin-bottom: 16px; }
.consent input { flex: none; margin-top: 3px; }
.providers { display: grid; gap: 10px; }
.prov svg { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.si-email, .ac-form { display: grid; gap: 12px; }
.sheet input:not([type=checkbox]), .sheet select { font: 400 16px var(--sans); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); width: 100%; }
.sheet input[readonly] { background: var(--ground); color: var(--muted); }
.si-msg { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; color: var(--pom-deep); }
.sheet .prefs { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.phone-box { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; margin: 0; display: grid; gap: 8px; }
.phone-box legend { font-size: 15px; font-weight: 500; padding: 0 6px; }
.phone-box p { margin: 0; }
.danger { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.danger summary { cursor: pointer; color: var(--muted); font-size: 15px; }
.btn.del { color: var(--pom-deep); border-color: var(--pom-tint); }
.toast { position: fixed; inset-inline: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); margin-inline: auto; max-width: 420px; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 16px; font-size: 15px; text-align: center; z-index: 20; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.on { opacity: 1; transform: none; }
@media (min-width: 861px) { .toast { bottom: 24px; } }
