/* Mindful Solutions LLC — mindfulsolutions.io — v1 (October 2026) */

:root {
  --bg: #0a0c10;
  --bg-2: #0e1117;
  --bg-3: #141821;
  --bg-4: #1a1f29;
  --line: #1f2430;
  --line-2: #2b3240;
  --ink: #e8ecf2;
  --ink-2: #a8b2c1;
  --mute: #778292;      /* nudged from #6f7a8a: 4.85:1 on --bg-2, 4.56:1 on --bg-3 — clears AA for small text */
  --signal: #4fd1c5;
  --signal-2: #7ee8de;
  --signal-dim: rgba(79, 209, 197, 0.12);
  --warn: #f0a868;
  --max: 1120px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  --r: 12px;
  --r-lg: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--signal); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--signal-2); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--signal); color: #04221f;
  padding: 10px 18px; border-radius: 0 0 var(--r) 0;
  font-weight: 600; z-index: 200;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 26px; height: 26px; flex: none; border-radius: 7px;
  background: linear-gradient(145deg, #1d2432 0%, #11151c 100%);
  border: 1px solid var(--line-2);
  position: relative;
}
.brand .mark::before,
.brand .mark::after {
  content: ""; position: absolute; border-radius: 1px;
}
.brand .mark::before {
  left: 6px; top: 12px; width: 6px; height: 6px;
  background: var(--signal);
}
.brand .mark::after {
  left: 14px; top: 7px; width: 6px; height: 11px;
  background: var(--mute);
}
.brand small {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute);
  display: block; margin-top: -2px;
}

.site-nav { display: flex; gap: 2px; align-items: center; }
.site-nav a {
  color: var(--ink-2); font-size: 0.875rem; font-weight: 500;
  padding: 8px 13px; border-radius: 999px;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-3); }
.site-nav a.cta {
  color: #04221f; background: var(--signal); font-weight: 600;
  margin-left: 8px;
}
.site-nav a.cta:hover { background: var(--signal-2); color: #04221f; }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 0.94rem; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary { background: var(--signal); color: #04221f; }
.btn-primary:hover { background: var(--signal-2); color: #04221f; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--mute); color: var(--ink); background: var(--bg-3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- eyebrow / section head ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--signal); opacity: 0.5;
}

section { padding: 88px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); margin-bottom: 16px; }
.sec-head p { color: var(--ink-2); font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero {
  padding: 104px 0 92px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 420px at 78% -8%, rgba(79, 209, 197, 0.09), transparent 70%),
    radial-gradient(620px 380px at 8% 108%, rgba(79, 209, 197, 0.045), transparent 70%);
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 60px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  letter-spacing: -0.035em; margin: 20px 0 22px;
}
.hero h1 em {
  font-style: normal; color: var(--signal);
}
.hero .lede { font-size: 1.14rem; color: var(--ink-2); max-width: 42ch; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: 28px; }
.hero-note {
  font-size: 0.86rem; color: var(--mute);
  display: flex; align-items: center; gap: 9px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--signal); box-shadow: 0 0 0 3px var(--signal-dim);
}

/* terminal card */
.term {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.term-bar span {
  font-family: var(--mono); font-size: 0.72rem; color: var(--mute);
  margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.term-body {
  padding: 20px 18px; font-family: var(--mono);
  font-size: 0.775rem; line-height: 2; color: var(--ink-2);
}
.term-body div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-body .c { color: var(--mute); }
.term-body .k { color: var(--signal); }
.term-body .w { color: var(--warn); }
.term-body .arrow { color: var(--mute); }

/* ---------- services ---------- */
/* Grid and flex children default to min-width:auto, so a child with nowrap
   content (the terminal card) refuses to shrink and overflows small screens. */
.hero-grid > *,
.cards > *,
.product-grid > *,
.flow > *,
.contact > *,
.foot-grid > *,
.step > *,
.spec li > span { min-width: 0; }

.cards { display: grid; gap: 18px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card .ico {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 18px;
  background: var(--signal-dim); border: 1px solid rgba(79, 209, 197, 0.22);
  display: grid; place-items: center; color: var(--signal);
  font-family: var(--mono); font-size: 0.95rem; font-weight: 600;
}
.card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 0.925rem; }
.card ul { list-style: none; margin-top: 14px; }
.card ul li {
  font-size: 0.86rem; color: var(--mute); padding-left: 16px;
  position: relative; line-height: 1.75;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 5px; height: 1px; background: var(--mute);
}

/* ---------- product strip ---------- */
.product {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.product-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; }
.product-main { padding: 40px 38px; }
.product-side {
  padding: 40px 38px; background: var(--bg-3);
  border-left: 1px solid var(--line);
}
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: var(--signal-dim); color: var(--signal);
  border: 1px solid rgba(79, 209, 197, 0.24);
}
.pill.neutral {
  background: var(--bg-4); color: var(--ink-2); border-color: var(--line-2);
}
.product-main h3 { font-size: 1.7rem; margin: 18px 0 12px; letter-spacing: -0.025em; }
.product-main > p { color: var(--ink-2); margin-bottom: 24px; }
.spec { list-style: none; }
.spec li {
  display: flex; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.spec li:last-child { border-bottom: none; }
.spec li strong {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mute); font-weight: 500;
  flex: none; width: 92px; padding-top: 2px;
}
.spec li span { color: var(--ink-2); }

/* ---------- case study ---------- */
.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--bg-2);
}
.flow-step {
  padding: 26px 22px; border-right: 1px solid var(--line);
  position: relative;
}
.flow-step:last-child { border-right: none; }
.flow-step .n {
  font-family: var(--mono); font-size: 0.7rem; color: var(--signal);
  letter-spacing: 0.1em; margin-bottom: 12px;
}
.flow-step h4 { font-size: 0.98rem; margin-bottom: 8px; }
.flow-step p { font-size: 0.855rem; color: var(--mute); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px 22px;
}
.metric .v {
  font-size: 1.65rem; font-weight: 600; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 4px;
}
.metric .v small { font-size: 0.9rem; color: var(--mute); font-weight: 500; }
.metric .l {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--mute);
}

.prose { max-width: 740px; }
.prose h3 { font-size: 1.25rem; margin: 36px 0 12px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 0; list-style: none; }
.prose ul li {
  color: var(--ink-2); font-size: 0.96rem; padding-left: 20px;
  position: relative; margin-bottom: 9px;
}
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: transparent; border: 1px solid var(--signal); opacity: 0.8;
}
.prose code {
  font-family: var(--mono); font-size: 0.86em;
  background: var(--bg-3); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 5px; color: var(--signal-2);
}
.callout {
  border-left: 2px solid var(--signal);
  background: var(--bg-2); padding: 20px 24px;
  border-radius: 0 var(--r) var(--r) 0; margin: 24px 0;
}
.callout p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.callout p + p { margin-top: 10px; }

/* ---------- process ---------- */
.steps { counter-reset: s; display: grid; gap: 2px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step .num {
  counter-increment: s; font-family: var(--mono);
  font-size: 0.8rem; color: var(--signal); padding-top: 3px;
}
.step .num::before { content: "0" counter(s); }
.step h3 { font-size: 1.05rem; margin-bottom: 7px; }
.step p { color: var(--ink-2); font-size: 0.945rem; max-width: 62ch; }

/* ---------- contact ---------- */
.contact {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 52px 46px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 12px; }
.contact p { color: var(--ink-2); max-width: 52ch; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 46px 0 36px;
  background: var(--bg-2);
}
.foot-grid {
  display: flex; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; align-items: flex-start;
}
.foot-grid .col { font-size: 0.875rem; color: var(--mute); }
.foot-grid .col h4 {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; font-weight: 500;
}
.foot-grid .col a { display: block; color: var(--mute); margin-bottom: 7px; }
.foot-grid .col a:hover { color: var(--signal); }
.legal {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--mute);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}

/* ---------- page header (subpages) ---------- */
.page-head { padding: 76px 0 52px; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 {
  font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.032em; margin-bottom: 18px;
}
.page-head .lede { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; }
.breadcrumb {
  font-family: var(--mono); font-size: 0.74rem; color: var(--mute);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--mute); }
.breadcrumb a:hover { color: var(--signal); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards.c3, .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .product-side { border-left: none; border-top: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step { border-bottom: 1px solid var(--line); }
  .flow-step:nth-child(2) { border-right: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; padding: 40px 30px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { border-right: none; }
  .metrics { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
  }
  .site-nav.open a { padding: 12px 10px; border-radius: var(--r); }
  .site-nav.open a.cta { margin: 8px 0 0; justify-content: center; }
  .nav-toggle {
    display: grid; place-items: center; width: 40px; height: 40px;
    background: var(--bg-3); border: 1px solid var(--line);
    border-radius: 10px; color: var(--ink); cursor: pointer;
  }
  .product-main, .product-side { padding: 30px 24px; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .term-body { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   Clock Out product components (v1 visual language)
   Phone frames reproduce the app's own light theme verbatim
   (app/src/components/theme.ts) so the UI shown is the real UI.
   =================================================================== */

.phone {
  --app-bg: #f6f7f9;
  --app-card: #ffffff;
  --app-text: #14171a;
  --app-muted: #5b6470;
  --app-border: #e1e4e8;
  --app-primary: #6b3fa0;
  --app-on: #1e8e3e;
  --app-off: #8a94a3;
  --app-warn-bg: #fff4d6;
  --app-warn-text: #6a4b00;
  width: 236px; flex: none;
  border-radius: 34px;
  padding: 9px;
  background: linear-gradient(170deg, #2b313c 0%, #161a21 60%);
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone-screen {
  background: var(--app-bg); border-radius: 26px;
  padding: 16px 13px 18px; position: relative; overflow: hidden;
  min-height: 420px;
}
.phone-notch {
  width: 62px; height: 5px; border-radius: 99px;
  background: #cdd2d8; margin: 0 auto 14px;
}
.phone-hello { font-size: 10.5px; color: var(--app-muted); margin-bottom: 10px; }
.app-card {
  background: var(--app-card); border: 1px solid var(--app-border);
  border-radius: 13px; padding: 13px; margin-bottom: 10px;
}
.app-card.is-on { border-color: var(--app-on); }
.app-card.is-prompt { border-color: var(--app-primary); }
.app-state { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.app-state .d { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.app-state .d.on { background: var(--app-on); }
.app-state .d.off { background: var(--app-off); }
.app-state span { font-size: 15px; font-weight: 700; color: var(--app-text); letter-spacing: -0.01em; }
.app-detail { font-size: 11px; line-height: 1.5; color: var(--app-muted); }
.app-detail.warn {
  color: var(--app-warn-text); background: var(--app-warn-bg);
  padding: 7px 9px; border-radius: 8px; margin-top: 8px;
}
.app-title { font-size: 13.5px; font-weight: 700; color: var(--app-text); margin-bottom: 4px; }
.app-btn {
  display: block; text-align: center; margin-top: 11px;
  background: var(--app-primary); color: #fff;
  font-size: 12.5px; font-weight: 600; padding: 9px; border-radius: 9px;
}
.app-btn.ghost {
  background: transparent; color: var(--app-muted);
  border: 1px solid var(--app-border); font-weight: 500;
}
.phone-caption {
  margin-top: 16px; text-align: center;
  font-size: 0.83rem; color: var(--mute); max-width: 236px;
}

.shots { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.shot { display: flex; flex-direction: column; align-items: center; }

/* hero: value copy beside a single phone */
.hero-shot { display: flex; justify-content: flex-end; }

/* plain-language numbered steps */
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.howto-step {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px;
}
.howto-step .n {
  width: 30px; height: 30px; border-radius: 50%; margin-bottom: 16px;
  background: var(--signal-dim); border: 1px solid rgba(79, 209, 197, 0.24);
  color: var(--signal); font-size: 0.8rem; font-weight: 600;
  display: grid; place-items: center;
}
.howto-step h3 { font-size: 1.1rem; margin-bottom: 9px; }
.howto-step p { color: var(--ink-2); font-size: 0.93rem; }

/* savings illustration */
.savings {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.savings-rows { padding: 8px 30px; }
.savings-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line);
}
.savings-row:last-child { border-bottom: none; }
.savings-row .k { color: var(--ink-2); font-size: 0.95rem; }
.savings-row .v { font-family: var(--mono); font-size: 0.95rem; color: var(--ink); white-space: nowrap; }
.savings-row.total { background: rgba(79, 209, 197, 0.05); margin: 0 -30px; padding: 18px 30px; }
.savings-row.total .k { color: var(--ink); font-weight: 600; }
.savings-row.total .v { color: var(--signal); font-size: 1.3rem; }
.savings-note {
  padding: 16px 30px 22px; font-size: 0.84rem; color: var(--mute);
  border-top: 1px solid var(--line);
}

/* integration logos / provider list */
.providers {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
.provider {
  font-size: 0.86rem; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 16px; background: var(--bg-2);
}
.provider.live { border-color: rgba(79, 209, 197, 0.35); color: var(--signal); }

@media (max-width: 920px) {
  .howto { grid-template-columns: 1fr; }
  .hero-shot { justify-content: center; }
}
@media (max-width: 640px) {
  .savings-rows { padding: 8px 20px; }
  .savings-row.total { margin: 0 -20px; padding: 18px 20px; }
  .savings-note { padding: 16px 20px 20px; }
  .shots { gap: 24px; }
}

/* ---------- geofence map illustration ---------- */
.mapwrap {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 26px 20px; margin-top: 36px;
}
.mapwrap svg { width: 100%; height: auto; display: block; }
.map-legend {
  display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.map-legend span {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.86rem; color: var(--ink-2);
}
.map-legend i { width: 13px; height: 13px; border-radius: 3px; flex: none; }
.map-legend i.fence { border: 1.5px dashed var(--signal); border-radius: 50%; background: var(--signal-dim); }
.map-legend i.route { height: 2px; border-radius: 0; background: var(--mute); }
.map-legend i.pin { background: var(--signal); border-radius: 3px; }

/* map svg parts */
.mp-block { fill: #11151d; }
.mp-street { stroke: #1b212c; stroke-linecap: round; }
.mp-fence-fill { fill: rgba(79, 209, 197, 0.07); }
.mp-fence { fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-dasharray: 7 6; opacity: 0.85; }
.mp-route { fill: none; stroke: #6c7686; stroke-width: 2.2; stroke-dasharray: 6 7; stroke-linecap: round; }
.mp-dot-halo { fill: rgba(79, 209, 197, 0.18); }
.mp-dot { fill: var(--signal); }
.mp-pin { fill: var(--signal); }
.mp-pin-ring { fill: none; stroke: var(--signal); stroke-width: 1.4; opacity: 0.45; }
.mp-t { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: var(--ink); }
.mp-s { font-family: var(--sans); font-size: 11.5px; fill: var(--mute); }
.mp-k {
  font-family: var(--mono); font-size: 10.5px; fill: var(--signal);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mp-lead { stroke: var(--line-2); stroke-width: 1; }

/* ---------- platform badges ---------- */
.platforms { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.platform {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2); background: var(--bg-2);
  border-radius: 999px; padding: 9px 18px 9px 14px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}
.platform svg { width: 17px; height: 17px; flex: none; fill: var(--ink-2); }
.hero-note .platforms { display: inline-flex; gap: 8px; margin-left: 4px; }

.trademark {
  font-size: 0.8rem; color: var(--mute); margin-top: 18px; max-width: 70ch;
}

@media (max-width: 640px) {
  .mapwrap { padding: 18px 16px 14px; }
  .map-legend { gap: 12px 18px; }
}

/* ---------- NFC tap photo + backup-method block ---------- */
.tapblock {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 38px; align-items: center; margin-top: 36px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.tapshot { position: relative; align-self: stretch; min-height: 300px; }
.tapshot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* blends the photo's edge into the card so it doesn't read as a pasted-in rectangle */
.tapshot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 55%, rgba(14, 17, 23, 0.85) 100%);
}
.tapcopy { padding: 36px 38px 36px 0; }
.tapcopy h3 { font-size: 1.35rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.tapcopy p { color: var(--ink-2); font-size: 0.96rem; margin-bottom: 12px; }
.tapcopy p:last-child { margin-bottom: 0; }
.tapcopy .who {
  list-style: none; margin-top: 16px;
}
.tapcopy .who li {
  font-size: 0.91rem; color: var(--ink-2);
  padding-left: 22px; position: relative; margin-bottom: 8px;
}
.tapcopy .who li::before {
  content: ""; position: absolute; left: 2px; top: 0.58em;
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--signal); opacity: 0.85;
}

@media (max-width: 920px) {
  .tapblock { grid-template-columns: 1fr; gap: 0; }
  .tapshot { min-height: 240px; }
  .tapshot::after {
    background: linear-gradient(180deg, transparent 60%, rgba(14, 17, 23, 0.9) 100%);
  }
  .tapcopy { padding: 28px 26px 30px; }
}
