/* Remotex — site styles */
:root {
  --navy: #0E2340;
  --ink: #33465E;
  --muted: #3A4D66;
  --blue: #1667B8;
  --sky: #00A3E8;
  --tint: #EAF6FD;
  --tint-2: #F5FAFE;
  --line: #DCE8F2;
  --pet: #C85A00;
  --pet-text: #A84800;
  --pet-tint: #FFF3E6;
  --radius: 24px;
  --display: 'Lexend', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tint { background: var(--tint-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #fff; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 16px; }

/* Text */
.eyebrow {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: 24px; line-height: 1.25; }
.lead { font-size: 20px; color: var(--muted); }
.muted { color: var(--muted); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 16px; }
.section-head h2:last-child { margin-bottom: 0; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 32px; padding-top: 14px; padding-bottom: 14px;
}
.logo img { height: 34px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-weight: 600; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--blue); }
.nav .nav-cta { color: #fff; background: var(--blue); padding: 10px 20px; border-radius: 999px; }
.nav .nav-cta:hover { color: #fff; background: var(--navy); }

/* Hero */
.hero { background: var(--tint); overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero-text .lead { max-width: 560px; margin-bottom: 32px; }
.hero-art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; padding-top: 12px; }
.hero-art img {
  width: 46%; max-width: 250px; border-radius: 22px;
  box-shadow: 0 24px 48px rgba(14, 35, 64, 0.18);
}
.hero-art img:first-child { transform: rotate(-4deg); position: relative; z-index: 2; margin-right: -24px; }
.hero-art img:last-child { transform: rotate(4deg) translateY(28px); }

.store-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.app-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 12px 22px 12px 14px; border-radius: 14px; min-height: 44px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.app-btn:hover { color: #fff; background: #19365E; transform: translateY(-1px); }
.app-btn img { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.app-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.app-btn small { font-size: 13px; opacity: 0.8; }
.app-btn strong { font-size: 18px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 700; text-decoration: none;
}

/* At a glance */
.glance { border-bottom: 1px solid var(--line); }
.glance ul {
  list-style: none; margin: 0; padding: 28px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px;
  font-weight: 600; font-size: 16px; color: var(--ink);
}
.glance li { display: flex; align-items: center; gap: 12px; }
.glance svg { flex: none; color: var(--blue); }

/* Split rows (text + picture) */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split h2 { margin-bottom: 20px; }
.split-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
.split--reverse { flex-wrap: wrap-reverse; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.step p { margin: 0; color: var(--muted); }
.step-num {
  font-family: var(--display); font-weight: 600; font-size: 15px; color: #fff; background: var(--blue);
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.step-pic {
  margin-top: auto; height: 260px; overflow: hidden; background: var(--tint); border-radius: 16px;
  display: flex; justify-content: center; align-items: center;
}
.step-pic img.shot { width: 62%; align-self: flex-start; margin-top: 20px; border-radius: 14px; }
.step-pic img.art { height: 200px; width: auto; }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.app-card { background: var(--tint); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.app-card--pet { background: var(--pet-tint); }
.app-head { display: flex; align-items: center; gap: 18px; }
.app-head img { width: 72px; height: 72px; border-radius: 18px; background: #fff; box-shadow: 0 4px 12px rgba(14, 35, 64, 0.1); }
.app-head h3 { font-size: 30px; }
.app-head p { margin: 0; font-weight: 600; color: var(--blue); }
.app-card--pet .app-head p { color: var(--pet-text); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex: none; margin-top: 3px; color: var(--blue); }
.app-card--pet .ticks svg { color: var(--pet); }
.shots { display: flex; gap: 12px; }
.shots img { width: calc((100% - 24px) / 3); border-radius: 14px; }
.app-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; }
.app-foot p { margin: 0; font-size: 15px; color: var(--muted); }
.store-badge {
  display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.15;
  background: #000; color: #fff; text-decoration: none; padding: 10px 22px; border-radius: 12px; min-height: 44px;
}
.store-badge:hover { color: #fff; background: #222; }
.store-badge small { font-size: 12px; }
.store-badge strong { font-size: 20px; font-weight: 600; }

/* Video */
.video-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.video-row > div:first-child { flex: 1 1 340px; min-width: 0; }
.video-row .eyebrow { color: #7FD0F5; }
.video-row h2 { margin-bottom: 20px; }
.video-row p { color: #C9D6E6; }
.video-box { flex: 1.6 1 520px; min-width: 0; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-box video { width: 100%; height: 100%; object-fit: cover; }

/* Privacy points */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.points > div { border-top: 3px solid var(--blue); padding-top: 20px; }
.points h3 { font-size: 22px; margin-bottom: 8px; }
.points p { color: var(--muted); }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.person img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.person .role { margin: 0; font-weight: 600; color: var(--blue); }
.person .bio { margin: 0; color: var(--muted); font-size: 17px; }
.person a { margin-top: auto; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* Contact */
.contact { background: var(--blue); color: #fff; }
.contact .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 88px; padding-bottom: 88px; }
.contact .wrap > div { flex: 1 1 480px; min-width: 0; }
.contact h2 { margin-bottom: 14px; }
.contact p { font-size: 20px; color: #E3F0FB; max-width: 620px; }
.mail-btn {
  display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--navy);
  text-decoration: none; font-weight: 700; font-size: 20px; padding: 18px 30px; border-radius: 999px; min-height: 44px;
}
.mail-btn:hover { color: var(--blue); }

/* Footer */
.site-footer { background: var(--navy); color: #C9D6E6; font-size: 15px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; }
.disclaimer { margin: 0 0 36px; padding: 20px 24px; border: 1px solid #2D4466; border-radius: 16px; line-height: 1.6; }
.disclaimer strong { color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-row p { margin: 0; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-row a { color: #fff; }
.footer-row a:hover { color: #7FD0F5; }

/* Simple text pages (privacy, 404) */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(36px, 4.4vw, 52px); }
.page h2 { font-size: 26px; margin: 40px 0 12px; }
.page ul { padding-left: 22px; color: var(--muted); }
.page li { margin-bottom: 8px; }
.page p { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  html { scroll-padding-top: 0; }
  .site-header { position: static; }
  .nav { gap: 0 18px; font-size: 15px; }
  .nav .nav-cta { padding: 8px 16px; }
  .app-card { padding: 28px 22px; }
  .split-img { height: 260px; }
  .apps, .team { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app-btn { transition: none; }
}
