/* GetNear — shared site stylesheet
 *
 * Extracted 2026-10-16 from the identical <style> blocks that index.html and
 * faq/index.html each carried a private copy of. 283 of 287 rules were
 * byte-identical in both files; those are here. The handful of rules unique
 * to one page stay inline on that page.
 *
 * Extraction only - no rule was rewritten, reordered or merged. Verified by
 * reconstructing each page's original rule set from this file plus its inline
 * remainder and comparing rule-for-rule.
 *
 * Load order is safe: zero selectors are shared between this file and either
 * page's inline remainder, so nothing here can be overridden by accident.
 *
 * Versioned filename on purpose. HTML is served no-cache while CSS is not,
 * so an unversioned name could pair new markup with a stale stylesheet. Bump
 * the version when this file changes, and update EVERY <link> tag.
 *
 * v1 -> v2, 2026-10-17. This is not cosmetic - it is the fix for a real live
 * defect. Measured on production:
 *     HTML  Cache-Control: no-cache, no-store, must-revalidate
 *     CSS   Cache-Control: max-age=3600          <- one hour
 * The phone mockup was rebuilt onto new `.pw-*` classes while the filename
 * stayed v1, so a visitor who had loaded the site within the previous hour got
 * FRESH markup paired with a STALE stylesheet that had no `.pw-*` rules. Every
 * one of those elements rendered unstyled: the brand <span>s went inline, the
 * card lost its background and radius, the avatar lost its circle, and
 * `.pw-banner .row` fell back to block so the tutor photo stacked BELOW the
 * text instead of sitting beside it. Bumping the filename makes that pairing
 * impossible, because new markup can only ever request a URL that did not
 * exist before.
 */

/* ============ TOKENS ============ */
/* Brand tokens, 2026-10-16.
 *
 * Normalized to the app's locked palette (gn_colors.dart in
 * getnear_flutter_frontend_integration), which the website had drifted from:
 *
 *   --blue       #1355d6 -> #2563EB   GnColors.brand        LOCKED   dE 6.3
 *   --blue-dark  #0f45b0 -> #1D4ED8   GnColors.brandStrong           dE 17.9
 *   --blue-soft  #eaf1fd -> #EFF6FF   GnColors.brandTint             dE 2.3
 *   --bg-soft    #f7f9fd -> #F4F7FF   GnColors.pageBackground LOCKED dE 2.2
 *   --panel      #f1f6fd -> #EFF6FF   GnColors.brandTint             dE 1.2
 *   --line       #e8ecf3 -> #E2E8F0   GnColors.slate200 / border     dE 1.7
 *
 * --blue-dark moved the most: the old value sat near blue-900, while the app's
 * pressed/hover shade is blue-700. Hover states are now lighter than before,
 * which is the app's real behaviour, not a regression.
 *
 * NOT changed in this pass - the neutral ramp. The site uses Tailwind gray
 * (--navy #0b1c3d, --text #1f2937, --muted #6b7280); the app locked slate
 * (#0F172A / #334155 / #64748B). Aligning them is dE 10.2 / 11.4 / 6.0 across
 * every line of body text on the site, so it is a separate, owner-confirmed
 * decision rather than something to fold into a token rename.
 */
:root{
  --blue:#2563EB;--blue-dark:#1D4ED8;--blue-soft:#EFF6FF;--navy:#0b1c3d;
  --text:#1f2937;--muted:#6b7280;--line:#E2E8F0;--bg-soft:#F4F7FF;--panel:#EFF6FF;
  --red:#d5232a;--red-soft:#fdeced;--green:#16a34a;--amber:#f59e0b;
  --radius:14px;
  /* layered shadows: a tight contact shadow plus a wide diffuse one */
  --shadow-sm:0 1px 2px rgba(16,32,64,.05),0 4px 12px -4px rgba(16,32,64,.07);
  --shadow:0 2px 4px rgba(16,32,64,.04),0 12px 30px -10px rgba(16,32,64,.14);
  --shadow-lg:0 4px 8px rgba(16,32,64,.04),0 24px 60px -18px rgba(16,32,64,.22);
  --nav-h:72px;
  --skyline-drop:0px;    /* 0 = photo sits fully inside the hero, nothing clipped */
}
*,*::before,*::after{box-sizing:border-box}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:4px}
.search input:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
html{scroll-behavior:smooth;scroll-padding-top:var(--nav-h);overflow-x:clip}
body{margin:0;color:var(--text);background:#fff;font-size:16px;line-height:1.5;
  font-family:"Inter","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none}
h1,h2,h3,h4{margin:0;color:var(--navy);line-height:1.18;letter-spacing:-.02em}
h1{font-size:clamp(2.5rem,5.4vw,4.15rem);font-weight:800;letter-spacing:-.038em;line-height:1.08}
h2{font-size:clamp(1.65rem,2.9vw,2.45rem);font-weight:800;letter-spacing:-.03em;line-height:1.15}
h3{font-size:1.02rem;font-weight:700}
p{margin:0}
small{font-size:.78rem;color:var(--muted);display:block}
.i{width:18px;height:18px;fill:currentColor;flex:none}
.container{width:min(1720px,95%);margin-inline:auto}
.center{text-align:center}
.mt-lg{margin-top:36px}
.lead{color:#5a6a80;font-size:1.06rem;line-height:1.65;margin-top:14px;max-width:620px}
.center .lead{margin-inline:auto}
/* small uppercase kicker that sits above a section heading */
.eyebrow{display:inline-block;font-size:.76rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--blue);margin-bottom:14px}
/* pill list of sub-features under a heading */
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.center .chips{justify-content:center}
.chips span{background:#fff;border:1px solid rgba(16,32,64,.08);color:#3f4c5f;
  font-size:.86rem;font-weight:500;padding:8px 16px;border-radius:999px}
.panel .chips span{background:rgba(255,255,255,.9)}
.link{color:var(--blue);font-weight:600;font-size:.85rem}
.row-between{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* ============ BUTTONS ============ */
/* every variant carries the same 1.6px border - a transparent one on the solid
   buttons - so an outlined button is never 3.2px taller than a filled one */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;
  font-weight:600;transition:.2s ease;white-space:nowrap;padding:11px 22px;font-size:.95rem;
  border:1.6px solid transparent}
.btn-primary{background:var(--blue);color:#fff;
  box-shadow:0 1px 2px rgba(37,99,235,.28),0 8px 20px -6px rgba(37,99,235,.45)}
.btn-primary:hover{background:var(--blue-dark);transform:translateY(-2px);
  box-shadow:0 1px 2px rgba(37,99,235,.3),0 14px 28px -8px rgba(37,99,235,.5)}
.btn-ghost{background:#fff;color:var(--blue);border-color:var(--blue)}
.btn-ghost:hover{background:var(--blue-soft)}
.btn-outline{background:#fff;color:var(--blue);border-color:#c3d6f5}
.btn-outline:hover{background:var(--blue-soft);border-color:var(--blue)}
.btn-danger{background:var(--red);color:#fff}
.btn-danger:hover{background:#b41c22}
.btn-outline-white{border-color:rgba(255,255,255,.65);color:#fff}
.btn-outline-white:hover{background:rgba(255,255,255,.14)}
.btn-lg{padding:15px 30px;font-size:1.02rem}
.btn-icon{width:22px;height:22px;object-fit:contain;flex:none}
.btn-sm{padding:6px 14px;font-size:.78rem;border-radius:7px}
.btn-block{width:100%}
/* ============ CARD / PANEL ============ */
.card{background:#fff;border:1px solid rgba(16,32,64,.055);border-radius:20px;box-shadow:var(--shadow-sm);
  transition:box-shadow .25s ease,transform .25s ease}
.feature:hover,.post-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.card.pad{padding:24px}
.panel{background:var(--panel);border-radius:28px;padding:48px 44px}
.panel-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #d5e2f7;
  color:var(--blue);font-size:.82rem;font-weight:600;padding:7px 14px;border-radius:999px}
/* ============ AVATARS ============ */
.avatar{width:40px;height:40px;border-radius:50%;flex:none;position:relative;display:block}
.avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;background:#dde5ef}
.avatar.sm{width:32px;height:32px}
.avatar.lg{width:64px;height:64px}
/* No badge drawn on the photo itself - presence is shown by the pulsing dot
   next to the Online / Away label. The data-status attribute is left in the
   markup in case the avatar badge is ever wanted back. */
.stat{font-size:.74rem;font-weight:500;display:flex;align-items:center;gap:5px}
.stat::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);flex:none}
.stat.away::before{background:var(--amber)}
.stat.online{color:#3d7a4f}
.stat.away{color:#9a6a12}
/* placeholders for content with no photo */
/* .ph-stadium removed 2026-10-16: its only user was the old phone-demo
   thumbnail, replaced in the current-app parity rebuild. */
.ph-tech{background:linear-gradient(140deg,#2563EB,#1E3A8A)}
/* ============ NAV ============ */
.nav{position:sticky;top:0;z-index:80;border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.82);backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px)}
@supports not (backdrop-filter:blur(1px)){.nav{background:#fff}}
.nav-inner{height:var(--nav-h);display:flex;align-items:center;gap:20px}
.logo{font-size:1.62rem;font-weight:800;color:var(--blue);letter-spacing:-.03em}
.nav-links{margin-left:auto;display:flex;gap:30px;font-size:.95rem;font-weight:500;color:#334155}
.nav-links a{padding:6px 0;position:relative;transition:color .2s}
.nav-links a:hover{color:var(--blue)}
.nav-links a.active{color:var(--blue);font-weight:600}
.nav-links a.active::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2.5px;background:var(--blue);border-radius:2px}
.nav-cta{margin-left:auto}
.hamburger{display:none;flex-direction:column;gap:5px;padding:8px}
.hamburger span{width:22px;height:2.5px;background:var(--navy);border-radius:2px;transition:.25s}
.hamburger.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
/* ============ HERO ============ */
/* the extra 88px at the bottom is borrowed from the section below, so the page
   is no taller - it just moves the anchored background photo further down */
.hero{position:relative;overflow:hidden;padding:88px 0 200px;
  background:linear-gradient(180deg,#f3f7fd 0,#e8f0fb 55%,#e2ecf9 100%)}
/* --skyline-drop is the single knob: raise the number to push the background
   photo further down, lower it to bring the photo back up. The hero clips the
   overflow, so nothing else on the page shifts. */
.skyline{position:absolute;left:0;right:0;bottom:calc(-1 * var(--skyline-drop));
  height:62%;pointer-events:none;
  background:url('/assets/images/bg_upper.webp') center bottom/cover no-repeat}
.skyline::before{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,#eaf1fb 0,rgba(234,241,251,.6) 20%,rgba(234,241,251,0) 46%)}
/* Centred stack: headline, then buttons, then one wide visual underneath.
   Symmetric by construction, so nothing can drift into anything else. */
.hero-grid{position:relative}
.hero-copy{max-width:840px;margin-inline:auto;text-align:center}
.hero-sub{margin-top:22px;font-size:1.2rem;color:#5a6a80;line-height:1.65;
  max-width:560px;margin-inline:auto}
.hero-btns{margin-top:36px;display:flex;gap:16px;flex-wrap:wrap;justify-content:center}
.hero-visual{position:relative;margin-top:36px;display:grid;
  grid-template-columns:294px 352px 294px;gap:34px;
  justify-content:center;align-items:center}
.hero-visual>*{position:relative;inset:auto}
/* phone */
/* 640 not 790: beside a ~420px card a full-height phone leaves a dead band
   above and below it. The feed simply shows fewer posts, which reads as a
   real scrolling screen. */
.phone{position:relative;width:352px;height:640px;background:#0f1115;
  border-radius:44px;padding:11px;z-index:3;
  box-shadow:0 2px 6px rgba(11,28,61,.10),0 24px 48px -20px rgba(11,28,61,.30),
             0 60px 120px -40px rgba(11,28,61,.38)}
/* soft ambient glow so the device lifts off the page instead of sitting on it */
.phone::before{content:"";position:absolute;inset:-6% -14% -10%;z-index:-1;border-radius:50%;
  background:radial-gradient(closest-side,rgba(37,99,235,.20),rgba(37,99,235,0) 72%);
  filter:blur(26px);pointer-events:none}
.phone-notch{position:absolute;top:16px;left:50%;transform:translateX(-50%);width:112px;height:26px;
  background:#0f1115;border-radius:14px;z-index:6}
/* The screen is a fixed 412x772 app canvas scaled to fit, so every value in the
   phone UI below is the reference's own pixel value - nothing is hand-rescaled.
   412 x .8 = 329.6 and 772 x .8 = 617.6, which fills the 330 x 618 inner box. */
.phone-screen{position:relative;height:100%;background:#F4F7FF;border-radius:34px;overflow:hidden}
/* `.post`, `.post header …` and `.dots` were dropped 2026-10-17: the phone demo
   was their only user and it now has its own `.pw-*` scope. The marquee
   `.post-card` and the `.map-card` keep the rules they actually use. */
.post-card header,.map-card header{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.post-card header strong,.map-card header strong{font-size:.82rem;color:var(--navy);display:block}
.map-card header small{font-size:.68rem}
.media{margin-top:9px;height:86px;border-radius:8px;position:relative;overflow:hidden;
  display:grid;place-items:center;background-size:cover;background-position:center}
.media.sm{height:52px;margin-top:7px}
.media-tag{color:#fff;font-size:.52rem;font-weight:700;text-align:center;line-height:1.5;
  letter-spacing:.6px;background:rgba(0,0,0,.42);padding:6px 14px;border-radius:5px}
.media-tag b{font-size:.95rem;letter-spacing:0}
.post-stats{display:flex;justify-content:space-between;align-items:center;margin-top:8px;
  padding-bottom:6px;border-bottom:1px solid #eef1f5;font-size:.66rem;color:var(--muted)}
.reacts{font-size:.68rem;color:#4b5563}
.post-actions{display:flex;justify-content:space-between;padding-top:6px;font-size:.68rem;color:#5b6472;font-weight:500}
/* floating hero cards */
.float-people{padding:18px 19px;box-shadow:var(--shadow-lg);z-index:4}
.fp-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.fp-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.fp-list li{display:flex;align-items:center;gap:10px}
.fp-meta{flex:1;min-width:0}
.fp-meta strong{font-size:.8rem;color:var(--navy);display:block}
.fp-meta small{font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the profession line needs the ellipsis clip, but the status line must not be
   clipped or the expanding pulse ring gets cut off against the card */
.fp-meta .stat{overflow:visible;padding-left:3px}
.fp-foot{display:flex;align-items:center;gap:6px;margin-top:12px;padding-top:10px;
  border-top:1px solid var(--line);font-size:.7rem;color:var(--muted)}
.fp-foot .i{width:13px;height:13px;fill:var(--muted)}
.float-sos{padding:20px 18px;box-shadow:var(--shadow-lg);z-index:5}
.sos-head{display:flex;align-items:center;gap:10px}
.sos-head strong{color:var(--red);font-size:.95rem;display:block}
.sos-badge{width:34px;height:34px;border-radius:50%;background:var(--red);color:#fff;display:grid;
  place-items:center;font-size:.6rem;font-weight:800;flex:none}
.sos-badge.sm{width:26px;height:26px;font-size:.5rem}
.sos-badge.lg{width:52px;height:52px;font-size:.9rem;border-radius:12px}
.sos-note{background:var(--red-soft);color:#8a2b2f;font-size:.72rem;text-align:center;line-height:1.5;
  padding:10px;border-radius:8px;margin:11px 0}
.sos-foot{text-align:center;margin-top:8px;font-size:.68rem}
/* ============ SECTIONS ============ */
.section{padding:88px 0}
/* the 88px this section gives up at the bottom is what the hero borrowed */
.section.pt-sm{padding-top:64px;padding-bottom:0}
.section.pt-0{padding-top:0}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.grid-2-cta{display:grid;grid-template-columns:1fr 1.05fr;gap:30px}
.feature{padding:24px;display:flex;flex-direction:column;gap:10px}
.feature p{font-size:.85rem;color:var(--muted);line-height:1.6}
.center-card{align-items:center;text-align:center;padding:32px 22px}
/* full-colour illustrated icons - they carry their own colour, so no tile behind */
.ticon{width:60px;height:60px;object-fit:contain;margin-bottom:4px}
.center-card .ticon{width:64px;height:64px}
/* map panel */
.map-panel{display:grid;grid-template-columns:380px 1fr;gap:38px;align-items:center}
.map-copy p{margin-top:16px;color:#4b5768;line-height:1.65}
.map-points{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-direction:column;gap:13px}
.map-points li{display:flex;align-items:flex-start;gap:10px;font-size:.92rem;color:#3f4c5f;line-height:1.5}
.map-points .i{width:19px;height:19px;fill:var(--blue);margin-top:2px}
.map-canvas{position:relative;height:430px;border-radius:16px;overflow:hidden;background:#eef3f8;
  background-image:url('/assets/images/map_bg.webp');background-size:cover;background-position:center}
.map-card{position:absolute;background:#fff;border-radius:11px;padding:12px 13px;box-shadow:var(--shadow);z-index:3;font-size:.8rem}
.map-card p{font-size:.79rem;line-height:1.5;color:#374151}
/* keep every header to exactly two lines so the avatar stays optically centred */
.map-card header>div{flex:1;min-width:0}
.map-card header strong{font-size:.9rem}
.map-card header small{font-size:.75rem}
.map-card header strong,.map-card header small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-card .avatar.sm{width:36px;height:36px}
.map-card .post-stats{font-size:.72rem}
.map-card .reacts{font-size:.74rem}
.map-card .link{font-size:.8rem}
.map-card.alert{border-left:3px solid var(--red)}
.map-card.alert header{justify-content:space-between}
.map-card .link{display:inline-block;margin-top:6px}
/* Two rows hugging the top and bottom edges, leaving the middle band clear so
   the walkers and both 7 km circles stay visible. Columns are spaced so no two
   cards can collide at the authored canvas width. */
/* The two 7 km circles sit at 12-33% and 69.5-90.5% of the canvas width.
   Cards are pinned to the outer edges and to the clear strip between the
   circles, so the walkers and both circles stay readable. */
.mc1{left:0;top:0;width:206px}
.mc2{left:32%;top:2%;width:200px}
.mc3{left:50.5%;top:0;width:210px}
.mc4{right:0;top:4%;width:184px}
.mc5{left:0;bottom:0;width:208px}
.mc6{left:32%;bottom:6%;width:182px}
.mc7{left:49.5%;bottom:3%;width:216px}
.mc8{right:0;bottom:6%;width:184px}
/* social post cards */
.post-card{padding:20px}
.post-card header strong{font-size:.9rem}
.post-card p{font-size:.83rem;line-height:1.55;color:#374151}
.post-card .post-stats{font-size:.72rem;margin-top:12px}
.post-card .post-actions{font-size:.78rem;padding-top:9px}
.tag{margin-left:auto;background:#eef4ff;color:var(--blue);border:1px solid #d6e4fb;
  font-size:.68rem;font-weight:600;padding:3px 10px;border-radius:6px}
/* search */
.search-head{display:flex;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.sh-title{display:flex;align-items:center;gap:9px;font-weight:700;color:var(--navy);font-size:1rem}
.sh-icon{width:36px;height:36px;object-fit:contain}
.search{flex:1;min-width:190px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);
  border-radius:9px;padding:9px 12px;background:#fff}
.search input{flex:1;border:0;outline:0;font-size:.85rem;background:none;color:var(--text)}
.search .i{fill:var(--muted)}
.person,.biz{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;
  border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:18px}
.person:last-child,.biz:last-child{margin-bottom:0}
.p-main strong,.b-main strong{font-size:1.02rem;color:var(--navy);display:block}
.p-main small,.b-main small{margin-top:3px}
.dist{display:flex;align-items:center;gap:5px}
.dist .i{width:13px;height:13px;fill:var(--red)}
.p-side,.b-side{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.p-side .stat,.b-side .stat{justify-content:flex-end}
.verified{display:inline-flex;align-items:center;gap:5px;border:1.4px solid #bcd4f8;color:var(--blue);
  background:#f2f7ff;font-size:.74rem;font-weight:600;padding:5px 11px;border-radius:7px;white-space:nowrap}
.p-actions,.b-actions{grid-column:1/-1;display:flex;border-top:1px solid var(--line);margin-top:4px;
  padding-top:10px;font-size:.8rem;color:#5b6472;font-weight:500}
.p-actions span,.b-actions span{flex:1;text-align:center;border-right:1px solid var(--line)}
.p-actions span:last-child,.b-actions span:last-child{border-right:0}
.b-actions span{flex:none;padding:0 20px}
.biz-img{width:150px;height:104px;border-radius:10px;overflow:hidden;display:grid;place-items:center;
  color:#fff;font-weight:700;text-align:center;font-size:.95rem;padding:8px;line-height:1.3}
.biz-img img{width:100%;height:100%;object-fit:cover}
.update{margin-top:7px;color:#4b5563;line-height:1.45}
.update b{color:var(--navy)}
/* SOS + CTA */
.sos-panel{background:#fdf3f3;border:1px solid #f6d5d7;padding:28px}
.sos-title{display:flex;align-items:center;gap:14px}
.sos-title h3{font-size:1.35rem;font-weight:800}
.sos-title p{color:#5b6472;font-size:.9rem;margin-top:4px}
.sos-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;flex-wrap:wrap}
.sos-tags{display:flex;flex-wrap:wrap;gap:9px;max-width:420px}
.tagline{background:#fff;border:1px solid #f0d4d6;border-radius:8px;padding:7px 13px;font-size:.82rem;color:#4b5563}
.cta{position:relative;overflow:hidden;border-radius:16px;padding:40px;color:#fff;
  /* anchor right: the artwork (shop, buildings, pin) lives on that edge, so any
     crop has to come off the left, which is plain blue */
  background:#2563EB url('/assets/images/blue_bg.webp') right center/cover no-repeat}
.cta h2{color:#fff;position:relative;max-width:460px}
.cta p{margin-top:10px;opacity:.9;position:relative}
.cta-btns{margin-top:26px;display:flex;gap:14px;flex-wrap:wrap;position:relative;align-items:center}
/* badges are cropped inside their original grey stroke, so the rounding is ours */
.store-badge{height:52px;width:auto;border-radius:9px;transition:.2s}
/* the app is not released yet - the badges are shown as status, not as links */
.cta-status{position:relative;margin-top:22px;font-size:.9rem;font-weight:600;
  color:#cfe0fb;display:inline-flex;align-items:center;gap:9px}
.cta-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#7fe0a8;flex:none}
.store-badge-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;cursor:default}
.store-badge-wrap .store-badge{opacity:.62;filter:grayscale(.25)}
.store-badge-wrap small{font-size:.72rem;font-weight:600;letter-spacing:.04em;
  text-transform:uppercase;color:#bcd2f6}
/* FAQ - native details/summary elements, so it needs no JS and stays crawlable */
.faq-list{max-width:860px;margin:38px auto 0}
.faq-item{border-bottom:1px solid rgba(16,32,64,.09)}
.faq-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;
  justify-content:space-between;gap:20px;padding:20px 0}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"";width:11px;height:11px;flex:none;
  border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);
  transform:rotate(45deg);margin-right:4px;transition:transform .25s ease}
.faq-item[open] summary::after{transform:rotate(-135deg)}
.faq-answer{padding:0 40px 22px 0}
.faq-answer p{margin:0 0 12px;line-height:1.72;color:#4b5768;font-size:.98rem}
.faq-answer p:last-child{margin-bottom:0}
.faq-callout{background:var(--red-soft);border-left:3px solid var(--red);
  padding:12px 16px;border-radius:0 8px 8px 0;color:#8a2b2f!important}
.faq-callout a{color:var(--red);font-weight:700;text-decoration:underline}
/* footer */
.footer{border-top:1px solid var(--line);background:var(--bg-soft);padding:36px 0 26px}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:32px}
.f-logo{display:inline-block}
.f-logo img{width:100px;height:auto}
.f-brand p{color:var(--muted);font-size:.9rem;margin-top:8px}
.socials{display:flex;gap:12px;margin-top:14px}
.socials a{width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;transition:.2s}
.socials a:hover{background:var(--blue);transform:translateY(-2px)}
.socials .i{width:15px;height:15px}
.f-col a{display:block;color:#5b6472;font-size:.87rem;padding:4px 0;transition:.15s}
.f-col a:hover{color:var(--blue)}
.to-top{margin-left:14px;color:var(--blue);font-weight:600}
.to-top:hover{text-decoration:underline}
.copyright{border-top:1px solid var(--line);margin-top:24px;padding-top:16px;text-align:center;
  color:var(--muted);font-size:.85rem}
/* ============ MOTION ============ */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.22,1,.36,1)}
.reveal.in{opacity:1;transform:none}
/* hero plays on load rather than on scroll - it is already in view */
.hero-copy>*,.hero-visual>*{opacity:0;transform:translateY(22px);
  animation:rise .85s cubic-bezier(.22,1,.36,1) forwards}
.hero-copy>*:nth-child(1){animation-delay:.05s}
.hero-copy>*:nth-child(2){animation-delay:.15s}
.hero-copy>*:nth-child(3){animation-delay:.25s}
.hero-copy>*:nth-child(4){animation-delay:.35s}
.hero-visual>*:nth-child(1){animation-delay:.50s}
.hero-visual>*:nth-child(2){animation-delay:.42s}
.hero-visual>*:nth-child(3){animation-delay:.58s}
@keyframes rise{to{opacity:1;transform:none}}
/* the two side cards drift very slowly, so the composition never feels frozen */
.float-people{animation:rise .85s cubic-bezier(.22,1,.36,1) forwards,float1 7s ease-in-out 1.4s infinite}
.float-sos{animation:rise .85s cubic-bezier(.22,1,.36,1) forwards,float2 8s ease-in-out 1.8s infinite}
@keyframes float1{0%,100%{translate:0 0}50%{translate:0 -12px}}
@keyframes float2{0%,100%{translate:0 0}50%{translate:0 10px}}
/* live pulse on the availability dots */
.stat::before{box-shadow:0 0 0 0 rgba(22,163,74,.55);animation:pulse 2.4s ease-out infinite}
.stat.away::before{animation:none}
@keyframes pulse{70%{box-shadow:0 0 0 7px rgba(22,163,74,0)}100%{box-shadow:0 0 0 0 rgba(22,163,74,0)}}
/* nav gains depth once the page moves */
.nav{transition:box-shadow .3s ease,background .3s ease}
.nav.scrolled{box-shadow:0 1px 0 rgba(16,32,64,.06),0 8px 24px -12px rgba(16,32,64,.18)}
/* infinite feed marquee */
.marquee{overflow:hidden;margin-top:36px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marquee-track{display:flex;gap:26px;width:max-content;animation:marquee 60s linear infinite}
.marquee:hover .marquee-track,.marquee:focus-within .marquee-track{animation-play-state:paused}
.marquee .post-card{width:340px;flex:none}
@keyframes marquee{to{transform:translateX(calc(-50% - 13px))}}

/* ============ USE CASES (Step G) ============ */
/* auto-fit rather than .grid-4: there are seven cards, and a fixed 4-column
   grid leaves a one-and-a-half-card hole on the second row. */
.use-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(252px,1fr));gap:22px}
.uc{padding:22px;display:flex;flex-direction:column;gap:11px}
.uc-glyph{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;
  background:var(--blue-soft);border:1px solid #DBEAFE;color:var(--blue)}
.uc-glyph .i{width:23px;height:23px}
.uc h3{font-size:1rem}
.uc p{font-size:.85rem;color:var(--muted);line-height:1.6}
.use-note{max-width:720px;margin:30px auto 0;font-size:.9rem;color:var(--muted);line-height:1.65}

/* ============ APP DESTINATION RAIL (Step H) ============ */
/* The app's five destinations translated for the web: a horizontal rail of
   described destinations, NOT a reproduction of the mobile bottom bar. Only
   the two signature treatments carry over literally - the brand Create square
   and the bordered SOS text box - because those are the app's identity. */
.app-rail{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin-top:38px}
.rail-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:11px}
.rail-glyph{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;
  background:var(--blue-soft);border:1px solid #DBEAFE;color:var(--blue)}
.rail-glyph .i{width:25px;height:25px}
.rail-item.is-create .rail-glyph{background:var(--blue);border-color:var(--blue);color:#fff;
  box-shadow:0 8px 24px -2px rgba(37,99,235,.42)}
.rail-item.is-create .rail-glyph .i{width:28px;height:28px}
.rail-sos{border:2px solid var(--blue);border-radius:4px;padding:2px 5px;line-height:1;
  font-size:.78rem;font-weight:800;letter-spacing:-.2px;color:var(--blue)}
.rail-name{font-size:.95rem;font-weight:700;color:var(--navy)}
.rail-desc{font-size:.8rem;color:var(--muted);line-height:1.55}
.rail-foot{margin-top:26px;font-size:.85rem;color:var(--muted);line-height:1.6}

/* ============ PHONE DEMO - REFERENCE PARITY ============ */
/* Rebuilt 2026-10-17 against the owner-supplied reference (screen.png +
   code.html), which is the visual source of truth for this mockup.
 *
 * The app UI is authored on a fixed 412 x 772 canvas (.pscale) and scaled to
 * 0.8 to fill the phone's 330 x 618 inner box. Every value below is therefore
 * the reference's own pixel value - no hand-rescaling, no drift.
 *
 * Everything is scoped under .pscale. The base .post / .post header / .post p /
 * .post-actions / .media rules are shared with the marquee .post-card and the
 * .map-card, so an unscoped rule here would silently restyle two other
 * homepage sections. */

/* .st = outline icon style. NOT scoped: the #inside-the-app rail uses the same
   glyphs, and without it a stroke-only path inherits `.i{fill:currentColor}`
   and renders as a blob (or, for the Create plus, as nothing at all). */
.i.st{fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round}

.pscale{position:absolute;inset:0;width:412px;height:772px;
  transform:scale(.8);transform-origin:0 0;
  background:#F4F7FF;display:flex;flex-direction:column;overflow:hidden;
  font-family:"Plus Jakarta Sans",Inter,system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;color:#0F172A}
.pscale *{box-sizing:border-box}

/* --- Android status bar --- */
.pw-status{flex:none;display:flex;justify-content:space-between;align-items:center;
  padding:12px 20px 4px;color:#1E293B;font-size:14px;font-weight:700;letter-spacing:-.01em}
.pw-status .r{display:flex;align-items:center;gap:8px}
.pw-status .i{width:16px;height:16px;color:#334155}
.pw-batt{display:flex;align-items:center;gap:4px;padding-left:4px}
.pw-batt span{font-size:12px;font-weight:700;color:#1E293B}
.pw-batt i{width:20px;height:10px;border:1px solid #334155;border-radius:3px;
  padding:1px;display:block}
.pw-batt i::after{content:"";display:block;height:100%;width:100%;
  background:#1E293B;border-radius:1px}

/* --- Top navigation bar --- */
.pw-top{flex:none;position:relative;min-height:56px;display:flex;align-items:center;
  justify-content:space-between;padding:10px 16px}
.pw-burger{width:40px;height:40px;display:grid;place-items:center;border-radius:999px;
  color:#2563EB;position:relative;z-index:1}
.pw-burger .i{width:24px;height:24px;stroke-width:2.5}
.pw-brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  display:flex;flex-direction:column;align-items:center;text-align:center}
.pw-brand b{font-size:24px;font-weight:800;color:#2563EB;letter-spacing:-.025em;line-height:1}
.pw-brand span{font-size:12px;font-weight:500;color:#64748B;margin-top:2px;line-height:1}
.pw-acts{position:relative;z-index:1;display:flex;align-items:center;gap:14px}
.pw-act{width:40px;height:40px;display:grid;place-items:center;border-radius:999px;
  color:#2563EB;position:relative}
.pw-act .i{width:24px;height:24px;stroke-width:2}
.pw-act .dot{position:absolute;top:8px;right:8px;width:10px;height:10px;
  background:#F43F5E;border-radius:999px;box-shadow:0 0 0 2px #F4F7FF}

/* --- Scrollable feed --- */
.pw-feed{flex:1;min-height:0;overflow:hidden;padding:2px 4px 96px;
  display:flex;flex-direction:column;gap:16px}
/* flex-shrink:0 is load-bearing. The feed is a fixed-height flex column, so by
   default its cards SHRINK to fit and `.pw-card{overflow:hidden}` then eats
   the bottom of the hero card - measured: the expiry row and the whole action
   bar disappeared. At natural height the overflow falls past the feed's own
   clip instead, which is what a scrolled feed should look like. */
.pw-feed>*{flex:0 0 auto}
.pw-search{margin:0 8px;height:48px;position:relative;display:flex;align-items:center}
.pw-search .i{position:absolute;left:16px;width:20px;height:20px;color:#94A3B8;
  stroke-width:2.2;pointer-events:none}
.pw-search span{width:100%;height:100%;background:#fff;border:1px solid rgba(226,232,240,.8);
  border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.05);display:flex;align-items:center;
  padding:0 16px 0 44px;font-size:14px;color:#94A3B8;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}

/* --- Post card --- */
.pw-card{background:#fff;border:1px solid rgba(241,245,249,.9);border-radius:16px;
  padding:16px;overflow:hidden;
  box-shadow:0 2px 14px -2px rgba(37,99,235,.06),0 1px 4px rgba(0,0,0,.03)}
.pw-head{display:flex;align-items:center;justify-content:space-between}
.pw-who{display:flex;align-items:center;gap:12px;min-width:0}
.pw-av{width:46px;height:46px;border-radius:999px;overflow:hidden;flex:none;
  background:#F1F5F9;box-shadow:0 0 0 2px rgba(59,130,246,.2)}
.pw-av img{width:100%;height:100%;object-fit:cover;display:block}
.pw-av.ini{display:grid;place-items:center;color:#fff;font-size:14px;font-weight:600;
  background:linear-gradient(to top right,#059669,#2DD4BF);
  box-shadow:0 0 0 2px rgba(16,185,129,.2)}
.pw-name{font-size:17px;font-weight:700;color:#2563EB;line-height:1.2;margin:0}
.pw-meta{display:flex;align-items:center;gap:6px;margin-top:4px;
  font-size:13px;color:#64748B;line-height:1.2}
.pw-meta .pin{color:#F43F5E}
.pw-meta b{font-weight:500;color:#334155}
.pw-meta .i{width:14px;height:14px;color:#3B82F6;stroke-width:2}
.pw-dots{width:36px;height:36px;display:grid;place-items:center;border-radius:999px;
  color:#94A3B8;flex:none}
.pw-dots .i{width:20px;height:20px}
.pw-body{margin:12px 0}
.pw-title{font-size:19px;font-weight:700;color:#0F172A;line-height:1.375;
  letter-spacing:-.02em;margin:0}
.pw-text{font-size:15px;color:#334155;line-height:1.625;margin-top:6px}

/* --- Full-bleed banner: left content column + right photo --- */
.pw-banner{margin:0 -16px;border-top:1px solid rgba(226,232,240,.7);
  border-bottom:1px solid rgba(226,232,240,.7);color:#fff;position:relative;overflow:hidden;
  background:linear-gradient(to bottom right,#1E3A8A,#1E40AF,#2563EB)}
.pw-banner .row{display:flex;align-items:stretch;min-height:190px}
.pw-bl{width:56%;padding:14px;display:flex;flex-direction:column;justify-content:space-between;
  position:relative;z-index:1}
.pw-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.2);
  padding:2px 10px;border-radius:999px;font-size:10px;font-weight:800;
  text-transform:uppercase;letter-spacing:.05em;color:#DBEAFE;margin-bottom:8px}
.pw-bt{font-size:18px;font-weight:900;line-height:1.15;letter-spacing:-.02em;
  text-transform:uppercase;color:#fff;margin:0}
.pw-bt em{font-style:normal;font-weight:800;color:#FCD34D}
.pw-chip{display:inline-block;background:#fff;color:#1E3A8A;font-size:9px;font-weight:800;
  padding:2px 8px;border-radius:4px;text-transform:uppercase;letter-spacing:.05em;
  margin:4px 0 10px}
.pw-ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;
  font-size:11px;font-weight:500;color:#EFF6FF;line-height:1.25}
.pw-ul li{display:flex;align-items:center}
.pw-ul i{width:14px;height:14px;border-radius:999px;background:#34D399;color:#0F172A;
  display:grid;place-items:center;font-size:8px;font-weight:700;font-style:normal;
  margin-right:6px;flex:none}
.pw-br{width:44%;position:relative;overflow:hidden}
/* The asset is the photo half of the generated banner, cut from the approved
   PNG at source x>=830 (right of the blue panel's curve) and trimmed to this
   slot's 0.93 aspect so cover barely crops. The PNG's own "MATH TEACHER"
   artwork is deliberately outside the cut: that copy is rendered as live HTML
   in .pw-bl, and anchoring the full landscape banner here instead leaked the
   baked-in text back into frame behind it. object-position stays centred. */
.pw-br img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
/* the reference's soft fade where the photo meets the gradient */
.pw-br::before{content:"";position:absolute;inset:0 auto 0 0;width:40px;z-index:1;
  background:linear-gradient(to right,#1E3A8A,rgba(30,58,138,0))}

/* --- Expiry row + Static badge --- */
.pw-exp{margin-top:14px;padding:12px 0 4px;border-top:1px solid #F1F5F9;
  display:flex;align-items:center;justify-content:space-between}
.pw-exp .l{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:#475569}
.pw-exp .i{width:16px;height:16px;color:#94A3B8;stroke-width:2}
.pw-exp strong{color:#1E293B;font-weight:600}
.pw-pill{border:1px solid #BFDBFE;background:rgba(239,246,255,.8);color:#2563EB;
  border-radius:999px;padding:2px 12px;font-size:12px;font-weight:600}

/* --- Action bar: locked order Like / Dislike / Comment / Report / Share --- */
.pw-acts-bar{margin-top:10px;padding:8px 0;border-top:1px solid #F1F5F9;
  display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.pw-acts-bar span{min-height:44px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:4px;padding:6px 4px;border-radius:12px;color:#334155}
.pw-acts-bar .i{width:20px;height:20px;stroke-width:1.8}
.pw-acts-bar b{font-size:11px;font-weight:500;line-height:1}

/* --- Bottom navigation --- */
/* Absolutely positioned, exactly as the reference: the FAB is taken out of flow
   so nothing can re-centre it. See the note on .pw-fab below. */
.pw-nav{position:absolute;left:0;right:0;bottom:0;background:#fff;
  border-top:1px solid rgba(226,232,240,.7);box-shadow:0 -4px 20px rgba(15,23,42,.05);z-index:40}
/* align-items:center is load-bearing. The Create cell is only 16px tall (a
   spacer plus the out-of-flow FAB) while the tabs are ~41px, so with
   flex-end the short cell is pushed to the bottom of the line and the FAB's
   -28px offset starts 16px too low - measured at 7.3px BELOW the bar's top
   edge instead of above it. Centring the line matches the reference. */
.pw-nav nav{position:relative;display:flex;align-items:center;justify-content:space-between;
  padding:8px 12px 4px;text-align:center}
.pw-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:#64748B}
.pw-tab .i{width:24px;height:24px;stroke-width:1.8}
.pw-tab b{font-size:11px;font-weight:500;letter-spacing:-.01em;margin-top:4px}
.pw-tab.on{color:#2563EB}
.pw-tab.on b{font-weight:700}
.pw-sos{width:24px;height:24px;display:grid;place-items:center}
.pw-sos em{font-style:normal;font-size:12px;font-weight:800;letter-spacing:-.01em;
  color:#475569;border:2px solid #64748B;border-radius:4px;padding:1px 4px;line-height:1}
/* The Create slot. The FAB is position:absolute inside this relative cell.
   THIS IS THE FIX: the previous build lifted the FAB with `margin-top:-20px`
   inside a `align-items:center` flex row, so the row re-centred the FAB's
   shortened margin-box and gave back all but 7px of the lift - measured, it
   rose only 7px above the bar instead of 28px and read as half-buried.
   Out of flow, no centring can absorb it. */
.pw-create{flex:1;position:relative;display:flex;flex-direction:column;
  align-items:center;justify-content:center}
.pw-create .sp{display:block;height:16px}
.pw-fab{position:absolute;top:-28px;left:50%;transform:translateX(-50%);
  width:54px;height:54px;border-radius:16px;background:#2563EB;color:#fff;
  display:grid;place-items:center;
  box-shadow:0 0 0 4px #F4F7FF,0 10px 15px -3px rgba(59,130,246,.3)}
.pw-fab .i{width:28px;height:28px;stroke-width:3}
.pw-gesture{display:flex;justify-content:center;padding:4px 0 8px}
.pw-gesture i{display:block;width:128px;height:4px;background:#CBD5E1;border-radius:999px}

@media (max-width:1079px){
  .app-rail{grid-template-columns:repeat(5,1fr);gap:14px}
  .rail-desc{font-size:.76rem}
}
@media (max-width:880px){
  .app-rail{grid-template-columns:1fr 1fr;gap:24px}
}
@media (max-width:640px){
  .app-rail{grid-template-columns:1fr}
  .use-grid{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .hero-copy>*,.hero-visual>*,.float-people,.float-sos{opacity:1;transform:none;animation:none}
  .stat::before{animation:none}
  .marquee-track{animation:none;flex-wrap:wrap;width:auto}
  .marquee{mask-image:none;-webkit-mask-image:none}
  html{scroll-behavior:auto}
}
/* ============ RESPONSIVE ============
   No page-level zoom: it keys off viewport width, so manual browser zoom would
   fight with it. Each composition instead falls back to a layout that works at
   its own width.

   The floating map cards only fit without colliding when the canvas is about
   1135px wide, i.e. a viewport of ~1720px. Below that the map becomes a full
   width band with the cards laid out as a grid underneath. */
@media (max-width:1719px){
  .map-panel{grid-template-columns:1fr;gap:26px}
  .map-canvas{height:auto;overflow:visible;background:none;border-radius:0;
    display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
  .map-canvas::before{content:"";grid-column:1/-1;width:100%;aspect-ratio:2000/620;
    background:url('/assets/images/map_bg.webp') center/cover no-repeat;border-radius:14px}
  .map-card{position:static;width:auto!important}
}
/* The hero visual is a symmetric three-up row. Once the row no longer fits it
   simply wraps and centres - there is no absolute positioning left in the hero,
   so no arrangement of widths can make the pieces collide. */
@media (max-width:1079px){
  .hero-visual{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;margin-top:48px}
  .hero-visual>*{width:min(352px,100%);flex:none}
}
@media (max-width:1024px){
  .nav-links{position:fixed;inset:var(--nav-h) 0 auto 0;background:#fff;flex-direction:column;gap:0;
    padding:10px 6%;border-bottom:1px solid var(--line);box-shadow:var(--shadow);
    transform:translateY(-140%);transition:transform .3s ease;margin-left:0}
  .nav-links.open{transform:translateY(0)}
  .nav-links a{padding:13px 0;border-bottom:1px solid var(--line);width:100%}
  .nav-links a.active::after{display:none}
  .nav-cta{margin-left:auto}.hamburger{display:flex}
  .grid-4{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr 1fr}
}
@media (max-width:880px){
  .grid-2,.grid-2-cta{grid-template-columns:1fr}
  .map-canvas{grid-template-columns:1fr 1fr}
  .panel{padding:22px}
  .biz-img{width:110px;height:84px;font-size:.8rem}
}
@media (max-width:640px){
  .nav-cta{display:none}
  .hero{padding:44px 0 60px}
  .hero-sub br{display:none}
  .hero-btns .btn{flex:1}
  .phone,.float-people,.float-sos{width:min(352px,100%)}
  .grid-4{grid-template-columns:1fr}
  .map-canvas{grid-template-columns:1fr;gap:12px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .person,.biz{grid-template-columns:1fr;justify-items:start}
  .p-side,.b-side{align-items:flex-start;text-align:left}
  .p-side .stat,.b-side .stat{justify-content:flex-start}
  .biz-img{width:100%;height:120px}
  .p-actions span,.b-actions span{padding:0;font-size:.75rem}
  .sos-row{flex-direction:column;align-items:stretch}
  .sos-row .btn{width:100%}
  .section{padding:44px 0}
}
