/* Pracino landing — brand tokens from DESIGN.md
 *
 * vědomé odchylky od DESIGN.md (schválené web-only výjimky):
 * - Inter 900 pro display titulky (design systém má max 800)
 * - full-bleed barevné panely (design systém má "white canvas")
 */

:root {
  --green: #00C9A7;
  --teal: #008E76;
  --green-light: #E6FAF7;
  --ink: #1A1A2E;
  --ink-soft: #26263E;
  --muted: #6E7188;
  --surface: #F7F7F7;
  --border: #EFEFEF;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --r-card: 20px;
  --r-btn: 14px;
  --r-pill: 100px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green-light); color: var(--teal); }

a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* content shells: .wrap (header/padded) and .shell (margin-based, allows full-bleed math) */
.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.shell {
  width: min(100% - 48px, 1172px);
  margin-inline: auto;
}

h1, h2, h3, p { text-wrap: pretty; }

/* ============ Header (from claude-attempt, unchanged) ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.scrolled { border-bottom-color: var(--border); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
}

.brand img { display: block; }

.brand span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  background: var(--green-light);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-pill);
  transition: transform 0.2s var(--ease-out), background 0.2s ease;
}

.header-cta:hover { background: #d5f5ef; transform: translateY(-1px); }
.header-cta:active { transform: scale(0.98); }

/* ============ Hero ============ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 112px);
}

.hero h1 {
  margin: 0 0 24px;
  max-width: 620px;
  font-size: clamp(46px, 6.4vw, 88px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em; /* max allowed — multiword headlines must stay readable */
  text-wrap: balance;
}

.hero-sub {
  margin: 0 0 36px;
  max-width: 500px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

/* ============ Store buttons ============ */

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 56px;
  padding: 0 20px;
  background: var(--ink);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: var(--r-btn);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}

.store-btn:active { transform: scale(0.98); }

.store-btn .labels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-btn .labels small {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

.store-btn .labels b {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

/* ============ Hero stage (full-bleed green panel) ============ */

.hero-stage {
  position: relative;
  min-height: clamp(560px, 60vw, 720px);
  margin-right: calc((100vw - min(100vw - 48px, 1172px)) / -2);
  border-radius: 40px 0 0 40px;
  background: var(--green);
  overflow: hidden;
  isolation: isolate;
}

.stage-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-street { stroke: rgba(255, 255, 255, 0.34); stroke-linecap: round; }
.stage-street.thin { stroke: rgba(255, 255, 255, 0.2); }
.stage-park { fill: rgba(255, 255, 255, 0.14); }

/* ============ Phone mockup ============ */

.phone {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(4deg);
  width: min(300px, 44vw);
  aspect-ratio: 0.5;
  padding: 11px;
  background: linear-gradient(160deg, #2C2C46, #14141F 55%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 46px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 34px 70px rgba(10, 10, 24, 0.32);
}

/* side buttons */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 2px;
  background: #2C2C46;
}

.phone::before { top: 18%; height: 44px; }
.phone::after { top: 18%; translate: 0 56px; height: 78px; }

.phone-cam {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #14141F;
  box-shadow: inset 0 0 0 3px #060609;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  background: #EDF1EF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-map {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.phone-map > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pm-street { stroke: #FFFFFF; stroke-linecap: round; }
.pm-street.thin { stroke: rgba(255, 255, 255, 0.7); }
.pm-park { fill: var(--green-light); }

.salary-pill { position: absolute; }

.salary-pill .float {
  padding: 6px 11px;
  background: #FFFFFF;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.salary-pill.selected .float {
  background: var(--green);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 201, 167, 0.4);
}

.phone-logo,
.phone-menu {
  position: absolute;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: var(--shadow);
  pointer-events: none;
}

.phone-logo { left: 12px; }
.phone-menu { right: 12px; }

/* candidate bottom sheet */
.cand-sheet {
  position: relative;
  z-index: 2;
  margin: 0 8px;
  padding: 12px 14px 14px;
  background: #FFFFFF;
  border-radius: 18px 18px 8px 8px;
  box-shadow: 0 -8px 26px rgba(26, 26, 46, 0.1);
}

.sheet-handle {
  display: block;
  width: 34px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 4px;
  background: var(--border);
}

.sheet-close {
  position: absolute;
  top: 14px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  pointer-events: none;
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* blur = app treatment for locked candidate identity */
.sheet-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  overflow: hidden;
}

.sheet-avatar i {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  filter: blur(4px);
}

.sheet-head strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.sheet-head small {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.chip-mint { background: var(--green-light); color: var(--teal); }
.chip-surface { background: var(--surface); color: var(--ink); }

.sheet-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.sheet-meta strong { font-size: 15px; letter-spacing: -0.01em; }

.phone-bottombar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px 10px 16px;
  background: #FFFFFF;
}

.phone-bottombar > span:first-child {
  font-size: 11.5px;
  font-weight: 700;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #FFFFFF;
}

/* ============ Floating cards + chat notification ============ */

.float-card { position: absolute; z-index: 4; }

.float-card .float {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.pin-dot {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-light);
}

.float-card strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.float-card small {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: var(--muted);
}

.chat-notif {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 250px;
  padding: 12px 16px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  animation: bubblePop 0.55s var(--ease-out) forwards;
  animation-delay: 1.6s;
}

.notif-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.chat-notif strong {
  display: block;
  font-size: 12.5px;
}

.chat-notif em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.chat-notif p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--ink);
}

@keyframes bubblePop {
  from { opacity: 0; transform: translateY(10px) scale(0.85); }
  to { opacity: 1; transform: none; }
}

/* ============ Motion primitives (from claude-attempt) ============ */

/* pop-in wrapper (runs once), float loops on the inner element */
.pin {
  opacity: 0;
  animation: pinPop 0.7s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes pinPop {
  from { opacity: 0; transform: translateY(14px) scale(0.7); }
  to { opacity: 1; transform: none; }
}

.float {
  animation: pinFloat 6s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

@keyframes pinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ Value strip ============ */

.value-strip {
  padding: 26px 0;
  background: var(--ink);
  color: #FFFFFF;
  overflow: hidden;
}

.strip-track {
  display: flex;
  justify-content: center;
}

.strip-group {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  flex-shrink: 0;
}

.strip-group p {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 600;
  white-space: nowrap;
}

.strip-group span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* desktop: static, one group, last dot hidden */
.strip-dup { display: none; }
.strip-group > span:last-child { display: none; }

@media (max-width: 767px) {
  /* mobile: three phrases don't fit — slow marquee */
  .strip-track {
    justify-content: flex-start;
    width: max-content;
    animation: marquee 22s linear infinite;
  }

  .strip-group { padding-right: clamp(20px, 4vw, 56px); }
  .strip-dup { display: flex; }
  .strip-group > span:last-child { display: block; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ How it works ============ */

.how {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 8vw, 128px);
  padding-block: clamp(96px, 12vw, 168px);
}

.how-heading {
  align-self: start;
  position: sticky;
  top: 128px;
}

.how h2 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.route-squiggle {
  display: block;
  width: min(250px, 60%);
  margin-top: 34px;
  overflow: visible;
}

.squiggle-path {
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1 13;
  animation: routeFlow 2.6s linear infinite;
}

.squiggle-dot { fill: var(--green); }

@keyframes routeFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -56; }
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(20px, 3vw, 36px);
  padding: 36px 0 44px;
  border-top: 1px solid var(--border);
}

.step:last-child { border-bottom: 1px solid var(--border); }

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-pill);
  background: var(--green-light);
  color: var(--teal);
}

.step h3 {
  margin: 4px 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  max-width: 480px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--muted);
}

/* ============ Audience panels (full-bleed) ============ */

.audiences {
  display: grid;
  gap: 0;
}

.panel { padding-block: clamp(72px, 9vw, 128px); }

.panel-mint { background: var(--green-light); }

.panel-ink {
  background: var(--ink);
  color: #FFFFFF;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.panel-grid-flip {
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1fr);
}

.panel-copy h2 {
  margin: 0 0 24px;
  max-width: 560px;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.panel-copy > p {
  margin: 0 0 32px;
  max-width: 500px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
}

.panel-mint .panel-copy > p { color: var(--ink-soft); }
.panel-ink .panel-copy > p { color: rgba(255, 255, 255, 0.72); }

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* chips are always filled, never outlined (DESIGN.md) */
.chip-white {
  padding: 9px 15px;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 13px;
}

/* candidate privacy visual */
.privacy-visual {
  position: relative;
  min-height: 400px;
}

/* positioning lives on the wrapper — the card's pop-in transform would
   otherwise hijack the containing block for bottom/right offsets */
.pv-pin { position: absolute; }

.profile-card,
.visibility-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  background: #FFFFFF;
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

/* blur = app treatment for locked candidate identity */
.blur-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  overflow: hidden;
}

.blur-avatar i {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  filter: blur(4px);
}

.profile-card strong,
.visibility-card strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.profile-card small,
.visibility-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.visibility-card small { margin-bottom: 2px; }

.visibility-card {
  right: 4%;
  bottom: 18px;
  left: 4%;
  padding: 20px;
  color: var(--teal);
}

.visibility-card svg { flex-shrink: 0; }
.visibility-card strong { color: var(--ink); }

.toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 25px;
  margin-left: auto;
  border-radius: var(--r-pill);
  background: var(--green);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #FFFFFF;
}

/* company circular dark map */
.company-map {
  position: relative;
  min-height: 430px;
  border-radius: 50% 44% 46% 48%;
  background-color: var(--ink-soft);
  overflow: hidden;
}

.company-map > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dark-street { stroke: rgba(255, 255, 255, 0.09); stroke-linecap: round; }
.dark-street.thin { stroke: rgba(255, 255, 255, 0.055); }

.cand-pin { position: absolute; }

.cand-pin .float {
  display: block;
  width: 22px;
  height: 22px;
  border: 5px solid #FFFFFF;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
}

.unlock-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(270px, 76%);
}

/* pop-in transform conflicts with centering translate — animate inner card only */
.unlock-wrap.pin { animation-name: fadeIn; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.unlock-card {
  padding: 22px;
  background: #FFFFFF;
  border-radius: var(--r-card);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  rotate: -3deg;
}

.unlock-card small {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.unlock-card strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.unlock-card p {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.unlock-btn {
  display: block;
  padding: 12px;
  border-radius: var(--r-btn);
  background: var(--green);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

/* ============ Closing CTA + footer (shared map backdrop) ============ */

.page-end { position: relative; }

/* green full-bleed band — bookend to the hero stage */
.closing {
  position: relative;
  background: var(--green);
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 132px);
}

.closing-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.closing-street { stroke: rgba(255, 255, 255, 0.2); stroke-linecap: round; }
.closing-street.thin { stroke: rgba(255, 255, 255, 0.11); }

.closing-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing-inner h2 {
  margin: 0 0 18px;
  color: #FFFFFF;
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.closing-inner p {
  margin: 0 0 40px;
  max-width: 520px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.closing-inner .store-row { justify-content: center; }

.closing-inner .store-btn:hover {
  background: #10101C;
  box-shadow: 0 10px 30px rgba(10, 40, 34, 0.3);
}

/* ============ Footer ============ */

.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding-block: 26px;
}

.site-footer p {
  margin: 0;
  margin-right: auto;
  font-size: 13px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--ink); }
.site-footer .brand { color: var(--ink); }
.site-footer .brand span { font-size: 17px; }

/* ============ Floating mobile CTA ============ */

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 90px);
  display: none;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  background: var(--green);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(0, 201, 167, 0.35);
  white-space: nowrap;
  z-index: 50;
  transition: transform 0.4s var(--ease-out);
}

.floating-cta.visible { transform: translate(-50%, 0); }

/* ============ App-link fallback page ============ */

.applink-page {
  min-height: 100dvh;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.applink-page > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.applink-street { stroke: #EDEDF0; stroke-linecap: round; }

.applink-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: var(--r-card);
  padding: clamp(32px, 6vw, 48px) clamp(24px, 5vw, 40px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.applink-card .logo-halo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}

.applink-card h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 5vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.applink-card p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.applink-card .store-row {
  justify-content: center;
  margin-bottom: 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.back-link:hover { opacity: 0.85; }

/* ============ Responsive ============ */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .hero-copy { max-width: 640px; }

  .hero-stage {
    min-height: 620px;
    margin-right: 0;
    border-radius: 32px;
  }

  .how { grid-template-columns: 1fr; }

  .how-heading {
    position: static;
    max-width: 640px;
  }

  .route-squiggle { margin-top: 26px; }

  .panel-grid,
  .panel-grid-flip { grid-template-columns: 1fr; }

  .panel-grid-flip .company-map { order: 2; }

}

@media (max-width: 767px) {
  .floating-cta { display: inline-flex; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1172px); }

  .hero { padding-top: 20px; }

  .hero h1 { font-size: clamp(40px, 11.5vw, 52px); }

  .store-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .store-btn {
    justify-content: center;
    padding: 0 10px;
  }

  .hero-stage {
    min-height: 560px;
    margin-inline: -8px;
    border-radius: 28px;
  }

  .phone { width: min(240px, 62vw); }

  .hide-sm { display: none; }

  .float-card .float { padding: 10px 13px; }
  .float-card strong { font-size: 12px; }
  .float-card small { font-size: 10.5px; }

  .chat-notif {
    max-width: 210px;
    padding: 10px 13px;
  }

  .privacy-visual { min-height: 360px; }
  .company-map { min-height: 380px; }

}

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .pin, .chat-notif, .unlock-wrap.pin { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; }
  .floating-cta { transition: none; }
  .strip-track { animation: none; }
}
