/* ApproachMe — static site design system */
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0B0D12;
  --ink-2: #10131A;
  --surface: #151922;
  --surface-2: #1B202B;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #E8EBF1;
  --muted: #A3ABB9;
  --magenta: #E5197A;
  --orange: #F96C26;
  --teal: #38BCDB;
  --grad: linear-gradient(115deg, #E5197A 0%, #F2405A 45%, #F96C26 100%);
  --accent: var(--orange);
  --paper: #F4F5F7;
  --paper-ink: #1B1F27;
  --paper-muted: #59606E;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(var(--container), 100% - 2 * clamp(20px, 4vw, 40px)); margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font: 400 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.eyebrow__num { font-family: var(--display); color: var(--muted); letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.display, .h1, .h2, .h3 { font-family: var(--display); font-weight: 300; letter-spacing: -.025em; line-height: 1.08; }
.display { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; }
.h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: -.01em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); font-weight: 300; line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.stack > * + * { margin-top: 18px; }
.h1 + p, .h2 + p, .h3 + p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font: 500 .95rem/1 var(--sans); letter-spacing: .01em; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
/* background-origin: border-box keeps the gradient from bleeding at the rounded corners */
.btn--grad { background: var(--grad); background-origin: border-box; color: #fff; box-shadow: 0 10px 28px -14px rgba(229, 25, 122, .8); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(229, 25, 122, .9); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background-color: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background-color: rgba(255, 255, 255, .07); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 500; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 18, .72); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(11, 13, 18, .88); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand__mark { width: 52px; height: auto; }
.brand__word { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 10px 14px; font-size: .95rem; color: var(--muted); white-space: nowrap; transition: color .2s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; }
.nav-toggle { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); font: 400 .9rem/1 var(--sans); cursor: pointer; }
.nav-toggle__icon { position: relative; width: 18px; height: 10px; }
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon::after { top: 8.5px; }
.nav-open .nav-toggle__icon::before { top: 4.25px; transform: rotate(45deg); }
.nav-open .nav-toggle__icon::after { top: 4.25px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 130px); isolation: isolate; }
.hero__map { position: absolute; inset: 0; z-index: -2; }
.hero__map img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 72% 45%, rgba(229, 25, 122, .16), transparent 70%), linear-gradient(180deg, rgba(11, 13, 18, .3), var(--ink) 96%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__lead { max-width: 540px; margin-top: 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; color: var(--muted); font-size: .9rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--teal); }

/* Radar with the app family in orbit */
.radar { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.radar__ring { position: absolute; inset: var(--i); border: 1px solid rgba(56, 188, 219, .22); border-radius: 50%; }
.radar__ring:nth-child(1) { --i: 0; } .radar__ring:nth-child(2) { --i: 16%; } .radar__ring:nth-child(3) { --i: 32%; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(56, 188, 219, .28), rgba(56, 188, 219, 0) 70deg); -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%); mask: radial-gradient(circle, #000 69%, transparent 70%); animation: sweep 6s linear infinite; }
.radar__ping { position: absolute; left: 50%; top: 50%; width: 28%; aspect-ratio: 1; margin: -14% 0 0 -14%; border-radius: 50%; border: 1px solid rgba(229, 25, 122, .55); animation: ping 3.2s var(--ease) infinite; }
.radar__ping:nth-of-type(2) { animation-delay: 1.6s; }
.radar__core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 30% 25%, #262B38, #11141B); border: 1px solid var(--line-2); box-shadow: 0 0 0 10px rgba(229, 25, 122, .06), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.radar__core img { width: 62%; }
.radar__app { position: absolute; left: var(--x); top: var(--y); width: 15%; transform: translate(-50%, -50%); animation: float 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.radar__app img { width: 100%; border-radius: 24%; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .9); }
.radar__app span { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); font-size: .72rem; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.radar--solo { width: min(100%, 420px); }
.radar__core--app { width: 30%; background: none; border: 0; box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 12%, transparent), 0 30px 60px -20px rgba(0, 0, 0, .8); border-radius: 24%; }
.radar__core--app img { width: 100%; border-radius: 24%; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--raised { background: var(--ink-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 20px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 90px); }
.split--wide-media { grid-template-columns: .9fr 1.1fr; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 4.4; }
.media-frame--wide { aspect-ratio: 16 / 11; }

/* Feature list with check marks */
.ticks { display: grid; gap: 14px; margin-top: 28px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; color: var(--muted); }
.ticks li strong { color: var(--text); font-weight: 500; }
.ticks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }

/* Advantage cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; background: rgba(56, 188, 219, .1); color: var(--teal); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }

/* Two-column audience panels (businesses / customers) */
.audience { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.panel { position: relative; overflow: hidden; padding: clamp(30px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.panel--glow::before { content: ""; position: absolute; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(229, 25, 122, .22), transparent 65%); pointer-events: none; }
.panel--teal::before { background: radial-gradient(circle, rgba(56, 188, 219, .2), transparent 65%); }
.panel .eyebrow { margin-bottom: 14px; }
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* Last-meters overview */
.lastmile { position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.lastmile__media { position: relative; min-height: 420px; }
.lastmile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%; }
.lastmile__body { padding: clamp(32px, 5vw, 64px); }
.route { display: grid; gap: 0; margin-top: 30px; }
.route li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding-bottom: 22px; color: var(--muted); }
.route li::before { content: ""; position: absolute; left: 14px; top: 26px; bottom: 0; border-left: 1px dashed var(--line-2); }
.route li:last-child { padding-bottom: 0; }
.route li:last-child::before { display: none; }
.route__dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font: 400 .78rem/1 var(--display); color: var(--text); }
.route li:last-child .route__dot { border: 0; background: var(--grad); color: #fff; }
.route strong { display: block; margin-bottom: 2px; color: var(--text); font-weight: 500; }

/* Apps grid */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card { --app: var(--orange); position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease), background-color .3s; }
.app-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--app) 20%, transparent), transparent 70%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.app-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--app) 45%, transparent); }
.app-card:hover::after { opacity: 1; }
.app-card__top { display: flex; align-items: center; justify-content: space-between; }
.app-card__icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .9); }
.app-card__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: background-color .3s, color .3s, border-color .3s; }
.app-card__go svg { width: 18px; height: 18px; }
.app-card:hover .app-card__go { background-color: var(--app); border-color: var(--app); color: #fff; }
.app-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: .02em; }
.app-card p { color: var(--muted); }
.app-card__tag { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--app); }
.app-card a::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* API band */
.band { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: clamp(36px, 6vw, 80px); isolation: isolate; }
.band__bg { position: absolute; inset: 0; z-index: -1; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 13, 18, .96) 30%, rgba(11, 13, 18, .55)); }
.band__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.code { padding: 22px 24px; border-radius: 16px; background: rgba(11, 13, 18, .8); border: 1px solid var(--line-2); font: 400 .86rem/1.8 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--muted); overflow-x: auto; }
.code .k { color: var(--magenta); } .code .s { color: var(--teal); } .code .c { color: #6C7484; }

/* Press */
.press { display: grid; grid-template-columns: minmax(0, 1.25fr) 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.press__logo { width: clamp(160px, 22vw, 240px); padding: 18px; border-radius: 18px; background: #F4F5F7; }
.press__logo img { width: 100%; }
.press__media { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #05070B; border: 1px solid var(--line); }
.press__media video { display: block; width: 100%; height: 100%; background: #000; }
.press__contact { margin-top: 14px; }
.video-facade { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; cursor: pointer; color: #fff; background: radial-gradient(120% 90% at 50% 0%, rgba(229, 25, 122, .28), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(56, 188, 219, .18), transparent 60%), #0B0F16; }
.video-facade__logo { position: absolute; left: 18px; top: 16px; width: min(34%, 150px); padding: 10px; border-radius: 12px; background: #F4F5F7; opacity: .9; transition: opacity .3s; }
.video-facade__logo img { display: block; width: 100%; height: auto; }
.video-facade__play { position: absolute; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--grad); box-shadow: 0 16px 40px -12px rgba(229, 25, 122, .9); transition: transform .3s; }
.video-facade__play svg { display: block; width: 30px; height: 30px; }
.video-facade__meta { position: absolute; left: 18px; bottom: 16px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; letter-spacing: .04em; background: rgba(5, 7, 11, .72); }
.video-facade:hover .video-facade__play, .video-facade:focus-visible .video-facade__play { transform: scale(1.08); }
.video-facade:hover .video-facade__logo { opacity: 1; }
.video-facade:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }

/* Contact CTA */
.cta { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px); border-radius: var(--radius-lg); text-align: center; background: radial-gradient(70% 120% at 50% 0%, rgba(229, 25, 122, .25), transparent 70%), var(--surface); border: 1px solid var(--line); }
.cta .lead { max-width: 560px; margin: 18px auto 0; }
.cta .actions { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 13, 18, .94) 25%, rgba(11, 13, 18, .55) 70%, rgba(11, 13, 18, .4)), linear-gradient(180deg, transparent 55%, var(--ink)); }
.page-hero .lead { max-width: 620px; margin-top: 22px; color: #C3C9D4; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: .85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }

/* App detail hero */
.app-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.app-hero__brand { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.app-hero__brand img.icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9); }
.app-hero__brand .wordlogo { flex: 0 1 auto; min-width: 0; width: auto; max-width: 100%; height: auto; max-height: 46px; object-fit: contain; object-position: left center; }
.app-hero__name { font: 400 1.5rem/1.1 var(--display); letter-spacing: .01em; }
.app-hero__visual { display: flex; justify-content: center; }

/* Phone frames + screenshot rail */
.phone { position: relative; width: min(280px, 100%); padding: 10px; border-radius: 40px; background: linear-gradient(160deg, #2A2F3B, #12151C); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4) inset; }
.phone img { width: 100%; aspect-ratio: 440 / 783; object-fit: cover; border-radius: 31px; }
.phone--tilt { transform: rotate(-4deg); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: clamp(16px, 2.4vw, 28px); padding-bottom: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail figure { scroll-snap-align: start; }
.rail .phone { width: 100%; border-radius: 34px; padding: 8px; }
.rail .phone img { border-radius: 27px; }
.rail figcaption { margin-top: 14px; text-align: center; font-size: .9rem; color: var(--muted); }

/* Device lineup (TrackerX) */
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.device { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.device__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.device__icon svg { width: 26px; height: 26px; }
.device h3 { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.device p { margin-top: 6px; color: var(--muted); font-size: .92rem; }

/* Other apps strip */
.more-apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mini-app { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.mini-app:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mini-app img { width: 44px; height: 44px; border-radius: 12px; }
.mini-app span { font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-item__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(229, 25, 122, .1); color: var(--magenta); }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; margin-bottom: 4px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-item a:hover { color: var(--teal); }
.email-panel { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.email-panel .muted { margin-top: 10px; }
.email-panel__address { display: inline-block; margin: 22px 0 6px; font-family: var(--display, inherit); font-size: clamp(1.35rem, 2.6vw, 1.85rem); color: var(--text); border-bottom: 1px solid var(--line-2); overflow-wrap: anywhere; transition: color .2s, border-color .2s; }
.email-panel__address:hover { color: var(--teal); border-bottom-color: var(--teal); }
.email-panel__actions { margin-top: 24px; }

/* ---------- Legal (light reading surface) ---------- */
.legal-wrap { background: var(--paper); color: var(--paper-ink); }
.legal { max-width: 820px; margin-inline: auto; padding: clamp(56px, 8vw, 100px) 0; }
.legal__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid #DDE0E6; font-size: .9rem; color: var(--paper-muted); }
.legal h2 { margin: 44px 0 14px; font: 400 .82rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #B4145F; }
.legal p, .legal li, .legal address { color: #3A404C; line-height: 1.85; }
.legal p + p, .legal p + address, .legal address + p, .legal ul + p { margin-top: 16px; }
.legal ul { margin: 14px 0; padding-left: 22px; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal address { margin-top: 16px; padding: 16px 20px; border-left: 2px solid #E5197A; background: #fff; border-radius: 0 12px 12px 0; }
.legal a { color: #B4145F; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.family { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); background: var(--ink-2); font-size: .94rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { max-width: 320px; margin-top: 22px; }
.footer-title { margin-bottom: 18px; font: 400 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.footer-list { display: grid; gap: 10px; }
.footer-list a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .86rem; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s !important; } .d2 { transition-delay: .16s !important; } .d3 { transition-delay: .24s !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .apps, .cards { grid-template-columns: repeat(2, 1fr); }
  .devices, .values { grid-template-columns: repeat(2, 1fr); }
  .more-apps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    /* absolute, not fixed: the header's backdrop-filter makes it the containing block either way */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 100%); flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px clamp(20px, 4vw, 40px) 40px; background: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .nav__link { padding: 18px 0; font: 300 1.7rem/1.2 var(--display); color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--teal); }
  .nav__cta { margin: 28px 0 0; width: 100%; }
  .nav-open { overflow: hidden; }

  .hero__grid, .split, .split--wide-media, .app-hero, .audience, .lastmile, .band__grid, .contact-grid { grid-template-columns: 1fr; }
  .radar { width: min(100%, 440px); }
  .lastmile__media { min-height: 300px; }
  .app-hero__visual { order: -1; }
  .press { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .apps, .cards, .cards--2, .devices, .values, .footer-grid { grid-template-columns: 1fr; }
  .more-apps { grid-template-columns: 1fr 1fr; }
  .brand__mark { width: 44px; }
  .brand__word { width: 124px; }
  .radar__app span { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .rail { grid-auto-columns: 74%; }
  .footer-bottom { flex-direction: column; }
}
