/* Base */
:root {
  --background: #f9f9f6;
  --surface: #ffffff;
  --surface-soft: #f3f2ee;
  --text: #111311;
  --muted: #5c5f5b;
  --line: rgba(17, 19, 17, 0.12);
  --accent: #111311;
  --accent-soft: rgba(17, 19, 17, 0.08);
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 38px;
  --shadow: 0 28px 80px rgba(17, 19, 17, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

main,
section,
.container,
.hero-content,
.section-heading,
.section-heading-row > *,
.grid > * {
  min-width: 0;
}

section[id] {
  scroll-margin-top: 88px;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: white;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 249, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(17, 19, 17, 0.05);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--text);
  color: white;
  font-size: 0.95rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--text);
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero */
.hero {
  padding-top: 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  max-width: 14ch;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-text,
.section-heading > p,
.section-heading-row > p,
.contact-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-support {
  max-width: 640px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: white;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.hero-visual {
  width: 100%;
  min-width: 0;
  max-width: 560px;
  margin: 0;
  justify-self: end;
}

.system-map {
  --pointer-x: 50%;
  --pointer-y: 42%;
  aspect-ratio: 1.1 / 1;
  contain: layout paint style;
}

.system-map-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d8e1dd;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.98), transparent 34%),
    linear-gradient(145deg, #f8faf8, #e7eeeb);
  background-clip: padding-box;
  box-shadow: 0 32px 90px rgba(17, 19, 17, 0.11);
  isolation: isolate;
}

.system-map-shell::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.system-map-shell::before {
  inset: 1px;
  z-index: 0;
  border-radius: calc(var(--radius-lg) - 1px);
  background-image:
    linear-gradient(rgba(39, 79, 70, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 79, 70, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
}

.system-map-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.system-map-links {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.system-link,
.system-signal {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.system-link {
  stroke: rgba(54, 93, 84, 0.2);
  stroke-width: 1.15;
}

.system-link-output {
  stroke: rgba(40, 94, 81, 0.3);
}

.system-signal {
  stroke: rgba(46, 105, 91, 0.88);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 2 42;
  animation: system-signal 5.8s linear infinite;
}

.signal-b,
.signal-f { animation-delay: -1.4s; }
.signal-c,
.signal-g { animation-delay: -2.9s; }
.signal-d,
.signal-h { animation-delay: -4.3s; }
.signal-e { animation-delay: -0.7s; }

.system-links-mobile {
  display: none;
}

.system-group-label {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: #63716d;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.system-group-sources {
  top: 7%;
  left: 4%;
}

.system-group-outputs {
  top: 7%;
  right: 4%;
}

.system-node {
  position: absolute;
  z-index: 2;
  display: flex;
  min-width: 0;
  min-height: 9.5%;
  align-items: center;
  gap: 4px;
  padding: 7px 5px;
  border: 1px solid #dce4e0;
  border-radius: 13px;
  background: #fbfcfb;
  box-shadow: 0 8px 20px rgba(25, 57, 49, 0.075);
  color: #26332f;
  font-size: clamp(0.61rem, 0.72vw, 0.68rem);
  line-height: 1.05;
  white-space: nowrap;
}

.system-node strong {
  overflow: hidden;
  font-weight: 720;
  text-overflow: ellipsis;
}

.system-source {
  width: 20%;
}

.system-source:nth-child(1) { top: 15%; left: 1%; }
.system-source:nth-child(2) { top: 10%; left: 21%; }
.system-source:nth-child(3) { top: 32%; left: 1%; }
.system-source:nth-child(4) { top: 29%; left: 21%; }
.system-source:nth-child(5) { top: 49%; left: 1%; }
.system-source:nth-child(6) { top: 47%; left: 21%; }
.system-source:nth-child(7) { top: 66%; left: 1%; }
.system-source:nth-child(8) { top: 65%; left: 21%; }

.system-node-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 8px;
  background: #e4eeea;
  color: #39675c;
  font-size: 0.6rem;
  font-weight: 850;
}

.system-core {
  position: absolute;
  top: 35%;
  left: 44%;
  z-index: 4;
  display: flex;
  width: 20%;
  min-height: 29%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 17px 10px 13px;
  border: 1px solid #66897f;
  border-radius: 25px;
  background: linear-gradient(145deg, #315f54, #173a32);
  box-shadow: 0 20px 44px rgba(20, 53, 45, 0.24);
  color: white;
  text-align: center;
}

.system-core-mark {
  display: grid;
  width: 31px;
  height: 31px;
  margin-bottom: 9px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #1a4037;
  font-size: 0.72rem;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(4, 24, 19, 0.2);
}

.system-core strong {
  font-size: clamp(0.76rem, 1.05vw, 0.92rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.system-core small {
  max-width: 16ch;
  margin-top: 7px;
  color: rgba(235, 246, 242, 0.7);
  font-size: clamp(0.45rem, 0.6vw, 0.55rem);
  line-height: 1.35;
}

.system-core i {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: rgba(239, 248, 245, 0.76);
  font-size: 0.43rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-core i b,
.system-node-status {
  display: block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #8fd0bf;
  box-shadow: 0 0 0 4px rgba(143, 208, 191, 0.12);
  animation: system-status 2.8s ease-in-out infinite;
}

.system-output {
  right: 3%;
  width: 29%;
  min-height: 10%;
  padding-inline: 12px;
  border-color: #d7e2de;
  background: #f9fcfa;
  box-shadow: 0 10px 24px rgba(25, 57, 49, 0.09);
}

.system-output:nth-child(1) { top: 10%; }
.system-output:nth-child(2) { top: 27%; }
.system-output:nth-child(3) { top: 44%; }
.system-output:nth-child(4) { top: 61%; }
.system-output:nth-child(5) { top: 78%; }

.system-node-status {
  width: 7px;
  height: 7px;
  flex-basis: 7px;
  background: #47786d;
  box-shadow: 0 0 0 4px rgba(71, 120, 109, 0.1);
}

@keyframes system-signal {
  to { stroke-dashoffset: -132; }
}

@keyframes system-status {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.scale-item {
  scale: var(--scroll-scale, 1);
  transform-origin: center;
}

.scale-item.is-scroll-scale-active {
  will-change: scale;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading-row {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: end;
}

.section-heading-row > p {
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: 24px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.step-card,
.project-card {
  padding: 38px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.feature-card h3,
.step-card h3,
.project-card h3 {
  margin-bottom: 16px;
}

.feature-label,
.step-label,
.project-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card p,
.step-card p,
.project-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(17, 19, 17, 0.06);
  color: var(--text);
  font-weight: 700;
}

/* Projects */
.findme-project {
  --findme-ink: #153b35;
  --findme-accent: #36766b;
  --findme-soft: #e8f0ed;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 24px;
  padding: 50px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #fbfcfb 56%, #f0f4f2 100%);
  box-shadow: 0 24px 70px rgba(17, 19, 17, 0.06);
}

.findme-copy {
  position: relative;
  z-index: 2;
}

.findme-copy .project-kicker {
  color: var(--findme-accent);
}

.findme-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.findme-statement {
  max-width: 16ch;
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.findme-description {
  max-width: 52ch;
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.75;
}

.findme-features {
  display: grid;
  gap: 15px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.findme-features li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.findme-features svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  background: var(--findme-soft);
  fill: none;
  stroke: var(--findme-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.findme-features strong {
  color: var(--text);
  font-weight: 700;
}

.findme-audiences {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.findme-audiences span {
  padding: 6px 10px;
  border: 1px solid rgba(21, 59, 53, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #53645f;
  font-size: 0.73rem;
  font-weight: 700;
}

.findme-cta {
  width: fit-content;
  min-height: 52px;
  gap: 22px;
  padding-inline: 23px;
  background: var(--findme-ink);
}

.findme-visual {
  position: relative;
  min-width: 0;
  min-height: 610px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 59, 53, 0.09);
  border-radius: 32px;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.92), transparent 31%),
    linear-gradient(145deg, #eef3f1, #e4ece9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  isolation: isolate;
}

.findme-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(21, 59, 53, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 59, 53, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.flow-label {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(21, 59, 53, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #52645f;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.flow-label span {
  color: var(--findme-accent);
}

.flow-label-start {
  top: 8%;
  left: 5%;
}

.flow-label-profile {
  top: 5%;
  left: 38%;
}

.flow-label-location {
  top: 43%;
  right: 5%;
}

.findme-tag {
  position: absolute;
  top: 25%;
  left: 5%;
  z-index: 2;
  width: 152px;
  height: 214px;
  transform: scale(0.82);
  transform-origin: left top;
}

.findme-tag > small {
  position: absolute;
  top: 196px;
  left: 50%;
  color: #5f706b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.tag-ring {
  position: absolute;
  top: 0;
  left: 45px;
  width: 62px;
  height: 62px;
  border: 9px solid #94a49f;
  border-bottom-color: #c2ccc8;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(21, 59, 53, 0.12);
}

.tag-body {
  position: absolute;
  top: 42px;
  left: 17px;
  display: flex;
  width: 118px;
  height: 148px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(21, 59, 53, 0.16);
  border-radius: 27px 27px 34px 34px;
  background: linear-gradient(145deg, #fbfcfb, #dbe5e1);
  color: var(--findme-ink);
  box-shadow: 0 18px 32px rgba(21, 59, 53, 0.14), inset 0 1px 0 white;
  transform: rotate(-5deg);
}

.tag-body svg {
  width: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag-body span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nfc-waves {
  position: absolute;
  right: -1px;
  top: 83px;
  width: 42px;
  height: 60px;
}

.nfc-waves i {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  border: 1.5px solid var(--findme-accent);
  border-left: 0;
  border-radius: 0 100% 100% 0;
  transform: translateY(-50%);
}

.nfc-waves i:nth-child(1) { width: 10px; height: 20px; opacity: 0.9; }
.nfc-waves i:nth-child(2) { width: 22px; height: 38px; opacity: 0.62; }
.nfc-waves i:nth-child(3) { width: 35px; height: 56px; opacity: 0.34; }

.findme-cases {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.findme-case {
  position: absolute;
  left: 4%;
  display: grid;
  width: 122px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 8px;
  color: #52645f;
}

.findme-case::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 7px);
  width: 28px;
  border-top: 1px dashed rgba(54, 118, 107, 0.28);
}

.findme-case strong {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.case-device {
  display: grid;
  width: 48px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(21, 59, 53, 0.14);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), #dce7e3);
  box-shadow: 0 9px 18px rgba(21, 59, 53, 0.11), inset 0 1px 0 white;
}

.case-device svg {
  width: 40px;
  height: 32px;
  overflow: visible;
  fill: none;
  stroke: #386d62;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-device-pet {
  border-radius: 50%;
}

.case-person {
  display: none;
}

.case-pet { top: 55%; }
.case-luggage { top: 67%; }
.case-object { top: 79%; }

.findme-phone {
  position: absolute;
  top: 13%;
  left: 31%;
  z-index: 4;
  width: 245px;
  height: 484px;
  padding: 9px;
  border: 2px solid rgba(17, 19, 17, 0.82);
  border-radius: 39px;
  background: #1c211f;
  box-shadow: 0 32px 60px rgba(21, 59, 53, 0.23), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transform: rotate(-1.4deg);
}

.phone-speaker {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 18px;
  border-radius: 999px;
  background: #1c211f;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 30px 15px 16px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #f7faf8, #edf3f0);
  text-align: center;
}

.phone-brand {
  display: flex;
  align-items: center;
  color: var(--findme-ink);
  font-size: 0.7rem;
  font-weight: 800;
}

.phone-brand i {
  display: grid;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  place-items: center;
  border-radius: 7px;
  background: var(--findme-ink);
  color: white;
  font-size: 0.6rem;
  font-style: normal;
}

.phone-brand span {
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 999px;
  background: #e0ece7;
  color: var(--findme-accent);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 22px auto 10px;
  place-items: center;
  border: 6px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: linear-gradient(145deg, #89a69f, #426f67);
  color: white;
  box-shadow: 0 8px 18px rgba(21, 59, 53, 0.16);
  font-size: 1.4rem;
  font-weight: 750;
}

.phone-screen > strong {
  display: block;
  margin-bottom: 2px;
  color: var(--findme-ink);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.phone-screen > small {
  display: block;
  color: #71807c;
  font-size: 0.57rem;
}

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 13px 0 17px;
  padding: 5px 8px;
  border: 1px solid rgba(54, 118, 107, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #5b6e69;
  font-size: 0.52rem;
  font-weight: 700;
}

.profile-status i,
.location-content i,
.findme-proof i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4d8a70;
  box-shadow: 0 0 0 4px rgba(77, 138, 112, 0.11);
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-actions div {
  display: flex;
  min-height: 67px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(21, 59, 53, 0.09);
  border-radius: 15px;
  background: white;
  color: var(--findme-ink);
  box-shadow: 0 8px 18px rgba(21, 59, 53, 0.05);
  font-size: 0.56rem;
  font-weight: 750;
}

.profile-actions svg,
.privacy-note svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 13px;
  background: rgba(21, 59, 53, 0.055);
  color: #64736f;
  font-size: 0.5rem;
  font-weight: 650;
  text-align: left;
}

.privacy-note svg {
  width: 16px;
  flex: 0 0 auto;
}

.location-panel {
  position: absolute;
  top: 52%;
  right: 3.5%;
  z-index: 6;
  width: 46%;
  overflow: hidden;
  border: 1px solid rgba(21, 59, 53, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 45px rgba(21, 59, 53, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.location-map {
  position: relative;
  height: 132px;
  overflow: hidden;
  background: #e9efed;
}

.location-map::before,
.map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background:
    linear-gradient(35deg, transparent 42%, rgba(255, 255, 255, 0.65) 43%, rgba(255, 255, 255, 0.65) 47%, transparent 48%),
    linear-gradient(-18deg, transparent 61%, rgba(255, 255, 255, 0.7) 62%, rgba(255, 255, 255, 0.7) 66%, transparent 67%);
}

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

.map-road {
  fill: none;
  stroke: white;
  stroke-width: 13;
  stroke-linecap: round;
}

.map-road-light {
  stroke-width: 8;
  opacity: 0.75;
}

.map-route {
  fill: none;
  stroke: var(--findme-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 5;
}

.location-map circle {
  fill: var(--findme-accent);
  stroke: white;
  stroke-width: 3;
}

.map-pin {
  position: absolute;
  top: 34px;
  right: 31px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: var(--findme-ink);
  color: white;
  box-shadow: 0 9px 18px rgba(21, 59, 53, 0.2);
}

.map-pin svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-content {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.location-content > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-content > div span {
  display: grid;
}

.location-content strong {
  color: var(--findme-ink);
  font-size: 0.69rem;
}

.location-content small {
  color: #7a8884;
  font-size: 0.56rem;
}

.location-content button {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: var(--findme-ink);
  color: white;
  font-size: 0.61rem;
  font-weight: 750;
}

.findme-proof {
  position: absolute;
  bottom: 4.5%;
  left: 4%;
  z-index: 7;
  display: grid;
  gap: 9px;
}

.findme-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5f706b;
  font-size: 0.62rem;
  font-weight: 750;
}

.findme-proof i {
  width: 5px;
  height: 5px;
}

.flow-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  border-top: 1px dashed rgba(54, 118, 107, 0.42);
  transform-origin: left center;
}

.flow-line span {
  position: absolute;
  right: -1px;
  top: -4px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--findme-accent);
  border-right: 1px solid var(--findme-accent);
  transform: rotate(45deg);
}

.flow-line-one {
  top: 40%;
  left: 24%;
  width: 11%;
  transform: rotate(-13deg);
}

.flow-line-two {
  top: 49%;
  left: 68%;
  width: 13%;
  transform: rotate(12deg);
}

.projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(17, 19, 17, 0.2);
  box-shadow: var(--shadow);
}

.project-preview {
  height: 300px;
  margin: 0;
  padding: 24px 24px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(17, 19, 17, 0.07);
}

.project-preview-tgd {
  background: linear-gradient(145deg, #eceeec, #f8f8f6);
}

.project-preview-map {
  background: linear-gradient(145deg, #e9eeed, #f7f8f6);
}

.preview-window {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 17, 0.1);
  border-bottom: 0;
  border-radius: 17px 17px 0 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px rgba(17, 19, 17, 0.12);
}

.preview-toolbar {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(17, 19, 17, 0.08);
  color: #7b817d;
  font-size: 0.59rem;
  font-weight: 700;
}

.preview-toolbar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4d7d4;
}

.preview-toolbar span {
  margin-left: 8px;
}

.tgd-layout {
  display: grid;
  height: calc(100% - 42px);
  grid-template-columns: 58px 1fr;
}

.tgd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 20px 15px;
  border-right: 1px solid rgba(17, 19, 17, 0.07);
  background: #f7f8f6;
}

.tgd-sidebar span {
  height: 6px;
  border-radius: 999px;
  background: #dfe3df;
}

.tgd-sidebar span:first-child {
  background: #82928d;
}

.tgd-content {
  display: grid;
  grid-template-rows: 55px 1fr 70px;
  gap: 13px;
  padding: 17px;
}

.tgd-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tgd-metrics span {
  position: relative;
  border: 1px solid rgba(17, 19, 17, 0.07);
  border-radius: 9px;
  background: #fbfbfa;
}

.tgd-metrics i {
  position: absolute;
  left: 9px;
  bottom: 9px;
  width: 44%;
  height: 5px;
  border-radius: 99px;
  background: #b6c1bd;
}

.tgd-chart {
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 7px;
  padding: 18px 15px 0;
  border: 1px solid rgba(17, 19, 17, 0.07);
  border-radius: 10px;
  background: linear-gradient(to top, rgba(234, 238, 235, 0.8) 1px, transparent 1px);
  background-size: 100% 25%;
}

.tgd-chart i {
  width: 9%;
  border-radius: 5px 5px 0 0;
  background: #8ea19b;
}

.tgd-chart i:nth-child(1) { height: 36%; }
.tgd-chart i:nth-child(2) { height: 62%; }
.tgd-chart i:nth-child(3) { height: 47%; }
.tgd-chart i:nth-child(4) { height: 81%; background: #46675f; }
.tgd-chart i:nth-child(5) { height: 68%; }
.tgd-chart i:nth-child(6) { height: 52%; }
.tgd-chart i:nth-child(7) { height: 74%; }

.tgd-rows {
  display: grid;
  gap: 6px;
}

.tgd-rows span {
  border-radius: 5px;
  background: #eff1ef;
}

.map-canvas {
  position: relative;
  height: calc(100% - 42px);
  overflow: hidden;
  background: #e7ece9;
}

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

.map-canvas path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 16;
  stroke-linecap: round;
}

.map-canvas path.route {
  stroke: #526f68;
  stroke-width: 3;
  stroke-dasharray: 8 5;
}

.map-dot {
  position: absolute;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: #31534b;
  color: white;
  box-shadow: 0 8px 16px rgba(17, 19, 17, 0.18);
  font-size: 0.58rem;
  font-weight: 800;
}

.map-dot-one { left: 16%; bottom: 19%; }
.map-dot-two { right: 14%; top: 17%; }

.map-summary {
  position: absolute;
  right: 7%;
  bottom: 8%;
  display: grid;
  width: 126px;
  padding: 12px;
  border: 1px solid rgba(17, 19, 17, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 12px 25px rgba(17, 19, 17, 0.1);
  backdrop-filter: blur(8px);
}

.map-summary small {
  color: #78807c;
  font-size: 0.53rem;
}

.map-summary strong {
  margin: 2px 0 -1px;
  color: #294840;
  font-size: 1rem;
}

.map-summary span {
  color: #78807c;
  font-size: 0.58rem;
}

.project-card-content {
  padding: 32px 34px 0;
}

.project-card-content h3 {
  margin-bottom: 12px;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
}

.project-card-content .project-kicker {
  margin-bottom: 13px;
}

.project-card-content p:last-child {
  max-width: 49ch;
  line-height: 1.7;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0 0;
  margin: 28px 34px 30px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.contact-section {
  padding-top: 96px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 70px;
  padding: 64px;
  border-radius: var(--radius-lg);
  background: var(--text);
  color: white;
}

.contact-card h2 {
  max-width: 740px;
}

.contact-card p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-button {
  width: fit-content;
}

.site-footer {
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(17, 19, 17, 0.35);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 620px;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 88px 0;
  }

  .hero-grid,
  .section-heading-row,
  .cards-grid,
  .steps-grid,
  .projects-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .section-heading-row {
    gap: 24px;
  }

  .findme-project {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 42px;
  }

  .findme-copy {
    max-width: 680px;
  }

  .findme-statement {
    max-width: 22ch;
  }

  .findme-description {
    max-width: 66ch;
  }

  .findme-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .findme-visual {
    min-height: 590px;
  }

  .cards-grid,
  .steps-grid,
  .projects-grid {
    gap: 22px;
  }

  .contact-card {
    padding: 42px 26px;
    gap: 34px;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(249, 249, 246, 0.98);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
  }

  .main-nav a:hover {
    background: var(--surface-soft);
  }

  h1 {
    max-width: 12ch;
    margin-bottom: 24px;
    font-size: clamp(2.65rem, 12vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 76px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-text {
    margin-bottom: 32px;
  }

  .hero-support {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .system-map {
    width: min(100%, 560px);
    height: clamp(510px, 138vw, 580px);
    aspect-ratio: auto;
  }

  .system-map-shell {
    border-radius: 28px;
  }

  .system-map-stage {
    display: grid;
    grid-template-areas:
      "source-label"
      "sources"
      "core"
      "output-label"
      "outputs";
    grid-template-rows: auto minmax(170px, 1fr) minmax(90px, 0.55fr) auto minmax(125px, 0.75fr);
    gap: 8px;
    padding: 24px 18px 18px;
  }

  .system-links-desktop {
    display: none;
  }

  .system-links-mobile {
    display: block;
  }

  .system-group-label {
    position: relative;
    inset: auto;
    align-self: end;
    font-size: 0.58rem;
  }

  .system-group-sources {
    grid-area: source-label;
  }

  .system-group-outputs {
    grid-area: output-label;
  }

  .system-source-nodes,
  .system-output-nodes {
    z-index: 2;
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .system-source-nodes {
    grid-area: sources;
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }

  .system-output-nodes {
    grid-area: outputs;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .system-map .system-source,
  .system-map .system-output {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
    padding: 7px 9px;
    font-size: 0.7rem;
  }

  .system-map .system-core {
    position: relative;
    inset: auto;
    grid-area: core;
    width: 60%;
    min-height: 0;
    align-self: stretch;
    justify-self: center;
    padding-block: 12px 10px;
    border-radius: 23px;
  }

  .system-core-mark {
    width: 27px;
    height: 27px;
    margin-bottom: 7px;
  }

  .system-core strong {
    font-size: 0.9rem;
  }

  .system-core small {
    max-width: none;
    font-size: 0.52rem;
  }

  .system-core i {
    margin-top: 7px;
  }

  .system-map .system-output {
    padding-inline: 11px;
  }

  .system-map .system-output:nth-child(5) {
    width: 58%;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .feature-card,
  .step-card {
    padding: 28px;
  }

  .findme-project {
    gap: 36px;
    padding: 28px;
    border-radius: 28px;
  }

  .findme-copy h3 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .findme-features {
    grid-template-columns: 1fr;
  }

  .findme-visual {
    height: clamp(390px, calc((100vw - 70px) * 1.5), 520px);
    min-height: 0;
    border-radius: 24px;
  }

  .findme-tag {
    display: none;
  }

  .findme-cases {
    top: 12%;
    right: 4%;
    bottom: auto;
    left: 4%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .findme-cases::after {
    content: "";
    position: absolute;
    top: calc(100% + 3px);
    left: 50%;
    height: 18px;
    border-left: 1px dashed rgba(54, 118, 107, 0.34);
  }

  .findme-case,
  .case-person {
    position: relative;
    inset: auto;
    display: grid;
    width: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3px;
    text-align: center;
  }

  .findme-case::after {
    display: none;
  }

  .findme-case strong {
    font-size: 0.52rem;
    line-height: 1;
  }

  .case-device {
    width: 40px;
    height: 32px;
    border-radius: 10px;
  }

  .case-device-pet {
    border-radius: 50%;
  }

  .case-device svg {
    width: 34px;
    height: 27px;
  }

  .findme-phone {
    top: 27.5%;
    left: 27%;
    width: min(60%, 218px);
    height: 64%;
    transform: rotate(-1.4deg);
    transform-origin: top left;
  }

  .phone-screen {
    padding-inline: 12px;
  }

  .profile-avatar {
    width: 58px;
    height: 58px;
    margin-top: 17px;
  }

  .profile-actions div {
    min-height: 57px;
  }

  .location-panel {
    top: 55%;
    right: 2.5%;
    width: 49%;
  }

  .location-map {
    height: 106px;
  }

  .flow-label-profile {
    top: 22.5%;
    left: 31%;
  }

  .flow-label-location {
    top: 49%;
  }

  .flow-label-start {
    top: 4%;
  }

  .flow-line-one {
    display: none;
  }

  .findme-proof span:nth-child(2) {
    display: none;
  }

  .project-card {
    min-height: 0;
    padding: 0;
  }

  .project-preview {
    height: 270px;
    padding: 16px 16px 0;
  }

  .project-card-content {
    padding: 28px 28px 0;
  }

  .project-link {
    margin: 26px 28px 28px;
  }

  .contact-card {
    padding: 32px 22px;
    border-radius: 28px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .findme-project {
    padding: 20px;
  }

  .findme-visual {
    height: clamp(390px, calc((100vw - 70px) * 1.5), 520px);
  }

  .flow-label {
    font-size: 0.55rem;
  }

  .flow-label-start {
    left: 3%;
  }

  .flow-label-profile {
    left: auto;
    right: 3%;
  }

  .flow-label-location {
    top: 49%;
    right: 3%;
  }

  .findme-phone {
    top: 27.5%;
    left: 24%;
    width: min(60%, 192px);
    height: 64%;
    border-radius: 32px;
  }

  .phone-screen {
    padding-top: 27px;
    border-radius: 24px;
  }

  .phone-brand span,
  .privacy-note {
    display: none;
  }

  .profile-avatar {
    width: 52px;
    height: 52px;
    margin: 14px auto 7px;
    border-width: 4px;
  }

  .profile-status {
    margin: 9px 0 12px;
  }

  .profile-actions div {
    min-height: 55px;
  }

  .location-panel {
    top: 54%;
    right: 2%;
    width: 51%;
    border-radius: 17px;
  }

  .location-map {
    height: 82px;
  }

  .map-pin {
    top: 20px;
    right: 18px;
    width: 32px;
    height: 32px;
  }

  .location-content {
    gap: 8px;
    padding: 10px;
  }

  .location-content button {
    min-height: 30px;
  }

  .findme-proof {
    bottom: 3%;
  }

  .flow-line-two {
    left: 69%;
    width: 9%;
  }

  .project-preview {
    height: 240px;
  }

  .project-card-content {
    padding: 25px 22px 0;
  }

  .project-link {
    margin: 24px 22px 24px;
  }

  .contact-card h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }
}

@media (max-width: 360px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    gap: 9px;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero {
    padding-top: 42px;
  }

  .button {
    min-height: 52px;
    padding-inline: 20px;
  }

  .system-map-stage {
    gap: 7px;
    padding: 20px 12px 14px;
  }

  .system-map .system-source,
  .system-map .system-output {
    font-size: 0.62rem;
  }

  .findme-project {
    gap: 28px;
    padding: 18px;
  }

  .findme-copy .project-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .findme-phone {
    left: 22%;
    width: 62%;
  }

  .location-panel {
    width: 55%;
  }

  .location-map {
    height: 68px;
  }

  .location-content {
    gap: 6px;
    padding: 8px;
  }

  .flow-label-profile {
    top: 23.5%;
    right: 2%;
  }

  .flow-label-location {
    right: 2%;
  }

  .findme-proof {
    display: none;
  }

  .project-preview {
    height: 220px;
    padding: 12px 12px 0;
  }

  .tgd-sidebar {
    padding-inline: 10px;
  }

  .tgd-content {
    padding: 12px;
  }
}

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

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

  .scale-item {
    scale: 1 !important;
    will-change: auto !important;
  }
}
