/* Trakly marketing site. Mobile-first; breakpoints at 640px, 900px, 1100px.
   Palette sampled from branding/icon.png and the horizontal logo — see branding/README.md. */

:root {
  --ink: #0b1e26;
  --text: #33454b;
  --muted: #55666c;
  --line: #dce6e8;
  --line-strong: #c2d2d6;
  --bg: #ffffff;
  --bg-soft: #f0f7f7;
  /* Text and buttons use the icon teal #016f77 (5.9:1 on white). The wordmark's
     own green, #14b868, is only 2.6:1, so --brand-bright deepens it to 3.4:1 —
     enough for large headlines and icons, never for body text. */
  --brand: #016f77;
  --brand-600: #01565d;
  --brand-bright: #0fa05a;
  --brand-50: #e3f3f2;
  --brand-100: #c4e6e4;
  --forest: #043848;
  --forest-2: #01475f;
  --lime: #6bf566;
  --lime-2: #45d85e;
  --success: #157f3c;
  --success-50: #e4f6ea;
  --info: #1d5fd6;
  --info-50: #eaf1fd;
  --warning: #a15c00;
  --warning-50: #fdf1de;
  --danger: #c22a2a;
  --danger-50: #fbe9e9;
  --neutral: #565f70;
  --neutral-50: #eef0f3;
  --wa: #0e7a40;
  --wa-icon: #179c4b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(11 30 38 / 0.06), 0 1px 3px rgb(11 30 38 / 0.05);
  --shadow: 0 10px 30px -12px rgb(11 30 38 / 0.18), 0 2px 6px rgb(11 30 38 / 0.05);
  --shadow-lg: 0 30px 60px -24px rgb(11 30 38 / 0.35), 0 8px 20px -8px rgb(11 30 38 / 0.12);
  --font:
    'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --header-h: 68px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--brand-100);
  color: var(--ink);
}

p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

b,
strong {
  color: var(--ink);
  font-weight: 700;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.text-brand {
  color: var(--brand-bright);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgb(1 111 119 / 0.6);
}

.btn-primary:hover {
  background: var(--brand-600);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--bg-soft);
}

.btn-whatsapp {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-whatsapp .icon {
  color: var(--wa-icon);
}

.btn-whatsapp:hover {
  border-color: var(--wa-icon);
  background: #f0faf4;
}

.btn-light {
  background: #fff;
  color: var(--brand-600);
}

.btn-light:hover {
  background: var(--brand-50);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.55);
}

.btn-outline-light:hover {
  background: rgb(255 255 255 / 0.1);
}

.btn-icon {
  width: 52px;
  padding: 0;
  flex: none;
}

.btn-icon .icon {
  width: 1.4em;
  height: 1.4em;
}

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

.text-link .icon {
  transition: transform 0.15s ease;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgb(11 30 38 / 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
}

.logo-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

@media (min-width: 960px) {
  .brand-logo {
    height: 46px;
  }
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle .icon {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close,
.nav-open .nav-toggle .icon-open {
  display: none;
}

.nav-open .nav-toggle .icon-close {
  display: block;
}

.site-nav {
  display: none;
}

.nav-open .site-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: 12px 20px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgb(11 30 38 / 0.35);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}

.nav-links a {
  display: block;
  padding: 12px 4px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .nav-open .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .nav-links {
    display: flex;
    gap: 4px;
  }

  .nav-links a {
    padding: 8px 12px;
    border: 0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text);
  }

  .nav-links a:hover {
    color: var(--ink);
    background: var(--bg-soft);
  }

  .nav-links a,
  .nav-actions .btn {
    white-space: nowrap;
  }

  .nav-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* Just past the menu breakpoint: six links and two buttons still fit on
   one line with tighter spacing. */
@media (min-width: 960px) and (max-width: 1099px) {
  .site-nav,
  .nav-open .site-nav {
    gap: 12px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-inline: 8px;
    font-size: 0.9rem;
  }

  .nav-actions {
    gap: 6px;
  }
}

/* ---------- Shared section scaffolding ---------- */

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

/* Straight after a page hero, which already brings its own space. */
.section-tight {
  padding-top: 0;
}

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

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  margin-bottom: 14px;
}

.section-head p:not(.eyebrow) {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-2);
  box-shadow: 0 0 0 4px rgb(107 245 102 / 0.18);
}

.section-cta {
  margin-top: 40px;
  text-align: center;
}

.checklist {
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016f77' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 480px at 8% -10%, var(--brand-50), transparent 70%),
    radial-gradient(700px 420px at 100% 10%, rgb(107 245 102 / 0.07), transparent 70%), #fff;
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(11 30 38 / 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

/* The promise lands on its own line: "Track your field sales team." /
   "Without the phone calls." */
.hero h1 .text-brand {
  display: block;
}

/* The one number a buyer compares first, above the headline. */
.hero-offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(11 30 38 / 0.06);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.hero-offer:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.hero-offer-tag {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-offer .icon {
  flex: none;
  color: var(--brand);
  transition: transform 0.15s;
}

.hero-offer:hover .icon {
  transform: translateX(3px);
}

/* Keep the offer on one line on a phone. */
@media (max-width: 480px) {
  .hero-offer {
    gap: 8px;
    padding-right: 12px;
    font-size: 0.8rem;
  }

  .hero-offer-tag {
    padding: 3px 8px;
    font-size: 0.64rem;
  }

  .hero-offer .icon {
    display: none;
  }
}

.hero-lead {
  max-width: 560px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text);
}

.hero .hero-lead {
  max-width: 500px;
}

.hero .hero-ctas {
  margin-top: 28px;
}

.hero .hero-points {
  margin-top: 20px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
}

/* The sales line under the hero buttons — a real number, tap-to-call. */
.hero-call {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--text);
  font-size: 0.97rem;
}

.hero-call .icon {
  flex: none;
  color: var(--brand);
}

.hero-call a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid var(--brand-100);
}

.hero-call a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-points .icon {
  color: var(--success);
  stroke-width: 3;
  width: 1.05em;
  height: 1.05em;
}

@media (max-width: 480px) {
  .hero-ctas .btn {
    width: 100%;
  }
}

/* The rep's phone, with the manager's live view of the team overlapping
   its lower-left corner (over the app's empty space, not its text). Below
   640px the phone shows alone. The .phone mockup is shared with the OG
   image and the solution pages, so it's positioned here, never restyled. */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.float-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
}

.float-team {
  display: none;
  width: 236px;
  padding: 14px;
}

.float-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}

.float-list {
  display: grid;
  gap: 8px;
}

.float-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.float-list span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 640px) {
  .hero-visual {
    justify-content: flex-end;
  }

  .float-team {
    display: block;
    left: 0;
    bottom: 22%;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
  }

  /* Home only: a little more room for the headline and lead. */
  .hero .hero-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

/* Two columns but a narrow visual column: shrink the whole composition so
   the card keeps to the phone's edge instead of covering the app. */
@media (min-width: 900px) and (max-width: 1099px) {
  .hero-visual {
    zoom: 0.8;
  }
}

/* ---------- Status chips & avatars (mirror the app's tokens) ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip-success {
  color: var(--success);
  background: var(--success-50);
}

.chip-info {
  color: var(--info);
  background: var(--info-50);
}

.chip-warning {
  color: var(--warning);
  background: var(--warning-50);
}

.chip-neutral {
  color: var(--neutral);
  background: var(--neutral-50);
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dbe7fd;
  color: #1747a6;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 800;
}

.avatar-2 {
  background: #fde4dc;
  color: #a23a1c;
}

.avatar-3 {
  background: #e4f3e9;
  color: #17683a;
}

.avatar-4 {
  background: #efe5fb;
  color: #6532a8;
}

.avatar-5 {
  background: #fdf0d6;
  color: #85520b;
}

.pulse-dot {
  position: relative;
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--success);
  opacity: 0;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ---------- Phone mockup (mirrors the real Android app) ---------- */

.phone {
  position: relative;
  z-index: 2;
  width: 250px;
  aspect-ratio: 9 / 18.5;
  padding: 9px;
  border-radius: 38px;
  background: #0f1523;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1.5px #2c3446;
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
}

.phone::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1c2332;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #f7f8fa;
  color: #12161f;
}

.app-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 18px 4px;
  font-size: 10px;
  font-weight: 700;
}

.sb-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sb-signal {
  width: 12px;
  height: 9px;
  background: linear-gradient(
    to right,
    #12161f 0 20%,
    transparent 20% 27%,
    #12161f 27% 47%,
    transparent 47% 53%,
    #12161f 53% 73%,
    transparent 73% 80%,
    #12161f 80%
  );
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.sb-battery {
  position: relative;
  width: 17px;
  height: 9px;
  border: 1.5px solid #12161f;
  border-radius: 3px;
}

.sb-battery::after {
  content: '';
  position: absolute;
  inset: 1px 4px 1px 1px;
  border-radius: 1px;
  background: #12161f;
}

.app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 15px 10px;
  min-height: 0;
}

.app-body-dim {
  opacity: 0.35;
}

.app-tenant,
.app-muted {
  color: #4b5565;
}

.app-greeting {
  margin-top: -6px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.app-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #157f3c;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.app-state {
  color: #4b5565;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.app-stats {
  display: flex;
  gap: 18px;
}

.app-stats strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #12161f;
}

.app-stats span {
  color: #4b5565;
  font-size: 10px;
}

.app-ok {
  color: #157f3c;
  font-weight: 600;
}

.app-ok span {
  color: #4b5565;
  font-weight: 400;
}

.app-banner {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #e3f3f2;
  border: 1px solid #bde0de;
  color: #12161f;
}

.app-banner b {
  color: #12161f;
}

.app-banner-actions {
  display: flex;
  gap: 6px;
}

.app-btn-sm {
  flex: 1;
  padding: 5px 0;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #c7ccd6;
  text-align: center;
  font-weight: 700;
  font-size: 10px;
}

.app-card {
  padding: 10px 11px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e5eb;
}

.app-card-title {
  font-weight: 700;
}

.app-note {
  padding: 9px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed #c7ccd6;
  color: #4b5565;
  font-size: 10px;
}

.app-back {
  color: #016f77;
  font-weight: 700;
}

.app-distance {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #e4f6ea;
  color: #12161f;
}

.app-distance b {
  color: #157f3c;
}

.app-distance-pin {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: #157f3c;
  transform: rotate(-45deg);
  box-shadow:
    inset 0 0 0 4px #157f3c,
    inset 0 0 0 7px #fff;
}

.app-bigbtn {
  display: block;
  margin-top: auto;
  padding: 12px 0;
  border-radius: 12px;
  background: #016f77;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.app-bigbtn-danger {
  background: #c22a2a;
}

.app-tabbar {
  display: flex;
  justify-content: space-around;
  padding: 7px 4px 12px;
  background: #fff;
  border-top: 1px solid #e2e5eb;
  font-size: 8.5px;
  color: #6b7484;
}

.app-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.app-tabbar i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #d9dde4;
}

.app-tabbar .is-active {
  color: #016f77;
  font-weight: 700;
}

.app-tabbar .is-active i {
  background: #016f77;
}

.app-sheet {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px 18px;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -12px 30px rgb(0 0 0 / 0.15);
}

.app-sheet-grip {
  width: 36px;
  height: 4px;
  margin: 0 auto 4px;
  border-radius: 4px;
  background: #d9dde4;
}

.app-sheet-title {
  font-size: 15px;
  font-weight: 800;
}

.app-summary {
  display: grid;
  gap: 6px;
}

.app-summary li {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7f8fa;
}

.app-summary b {
  font-size: 13px;
}

.app-sheet .app-bigbtn {
  margin-top: 6px;
}

/* ---------- Browser / dashboard mockups ---------- */

.browser {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--line);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d3d9e3;
}

.browser-url {
  flex: 1;
  max-width: 300px;
  padding: 3px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash {
  display: grid;
  grid-template-columns: 1fr;
  background: #f7f8fa;
}

.dash-side {
  display: none;
}

.dash-main {
  padding: 14px;
  min-width: 0;
}

.dash-head,
.att-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.dash-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--success-50);
  color: var(--success);
  font-weight: 700;
  font-size: 11px;
}

.dash-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.dash-tiles div {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.dash-tiles b {
  display: block;
  font-size: 17px;
}

.dash-tiles span {
  color: var(--muted);
  font-size: 10px;
}

.dash-table,
.att-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.dash-row,
.att-row {
  display: grid;
  white-space: nowrap;
  grid-template-columns: 1.6fr 1fr 0.8fr;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.dash-row-head,
.att-row-head {
  border-top: 0;
  background: #fafbfd;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-emp {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hide-sm {
  display: none;
}

.att {
  padding: 14px;
  background: #f7f8fa;
}

.att-row {
  grid-template-columns: 1.5fr 1fr 1fr 0.9fr;
}

.att-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.att-range {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
}

.att-export {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.att-export .icon {
  width: 13px;
  height: 13px;
}

@media (min-width: 640px) {
  .browser {
    font-size: 12.5px;
  }

  .hide-sm {
    display: block;
  }

  .dash-row {
    grid-template-columns: 1.75fr 1.15fr 0.8fr 0.85fr 0.5fr;
  }

  .att-row {
    grid-template-columns: 1.6fr 1fr 1fr 0.9fr 0.9fr;
  }
}

@media (min-width: 640px) {
  .dash {
    grid-template-columns: 46px 1fr;
  }

  .dash-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    background: #fff;
    border-right: 1px solid var(--line);
  }

  .dash-side i {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: var(--neutral-50);
  }

  .dash-side .is-active {
    background: var(--brand);
  }

  .dash-logo {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
  }
}

/* ---------- Route + visit record mockup ---------- */

.route-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 12.5px;
  text-align: left;
}

.route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.route-canvas {
  background-color: #f7f9fc;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 10px;
}

.route-canvas svg {
  display: block;
  width: 100%;
  height: auto;
}

.route-line {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-pin circle {
  fill: var(--brand);
  stroke: #fff;
  stroke-width: 3;
}

.route-pin text {
  fill: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  text-anchor: middle;
}

.route-pin-start circle {
  fill: var(--forest);
}

.route-pin-now circle {
  fill: var(--lime-2);
}

.route-pin-now .route-halo {
  fill: rgb(107 245 102 / 0.2);
  stroke: none;
}

.visit-record {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}

.visit-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 800;
}

.visit-title .icon {
  color: var(--success);
}

.visit-record dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.visit-record dt {
  color: var(--muted);
  font-size: 11px;
}

.visit-record dd {
  color: var(--ink);
  font-weight: 700;
}

@media (min-width: 640px) {
  .visit-record dl {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- WhatsApp mockup ---------- */

.wa {
  max-width: 420px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  font-size: 12.5px;
  line-height: 1.45;
  text-align: left;
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #075e54;
  color: #fff;
}

.wa-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
}

.wa-avatar .logo-mark {
  width: 22px;
  height: 22px;
}

.wa-name b {
  display: block;
  color: #fff;
}

.wa-name small {
  opacity: 0.8;
}

.wa-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background:
    radial-gradient(rgb(0 0 0 / 0.04) 1px, transparent 1px) 0 0 / 14px 14px,
    #efeae2;
}

.wa-day {
  align-self: center;
  padding: 3px 10px;
  border-radius: 8px;
  background: #fff;
  color: #54656f;
  font-size: 11px;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
}

.wa-msg {
  position: relative;
  max-width: 88%;
  padding: 7px 10px 18px;
  border-radius: 0 10px 10px 10px;
  background: #fff;
  color: #111b21;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.1);
}

.wa-msg b {
  color: #111b21;
}

.wa-time {
  position: absolute;
  right: 9px;
  bottom: 4px;
  color: #667781;
  font-size: 10px;
}

/* ---------- Proof strip ---------- */

.proof-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.proof {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.proof:last-child {
  border-bottom: 0;
}

.proof .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
}

.proof b {
  display: block;
  font-size: 1.02rem;
}

.proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
  }

  .proof:nth-last-child(2) {
    border-bottom: 0;
  }
}

@media (min-width: 1100px) {
  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .proof {
    border-bottom: 0;
    padding-block: 26px;
  }
}

/* ---------- Problem ---------- */

.pain-grid {
  display: grid;
  gap: 16px;
}

.pain {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.pain h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.pain p {
  color: var(--muted);
}

.pain-answer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 760px;
  margin: 36px auto 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--brand-50);
  color: var(--ink);
  font-size: 1.08rem;
  text-align: left;
}

.pain-answer .icon {
  width: 28px;
  height: 28px;
  color: var(--brand-bright);
}

.pain-answer b {
  color: var(--brand-600);
}

@media (min-width: 640px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: clamp(28px, 5vw, 56px);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.9rem;
}

.feature-kicker .icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: var(--brand-50);
}

.feature-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 14px;
}

.feature-copy > p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.feature-copy .checklist {
  margin-bottom: 22px;
}

.feature-visual {
  position: relative;
  min-width: 0;
  padding: clamp(16px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--brand-50), #fff 70%);
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
  }

  .feature-row-reverse .feature-copy {
    order: 2;
  }
}

.mini-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(32px, 5vw, 56px);
}

.mini {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mini .icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand);
}

.mini h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.mini p {
  color: var(--muted);
  font-size: 0.93rem;
}

@media (min-width: 640px) {
  .mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phones: icon beside the text so long card lists stay short. */
@media (max-width: 639px) {
  .mini,
  .industry {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 18px;
  }

  .mini .icon,
  .industry-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .industry-icon {
    width: 42px;
    height: 42px;
  }

  .mini h3,
  .industry h3 {
    margin-bottom: 4px;
  }
}

@media (min-width: 1100px) {
  .mini-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- App showcase (dark) ---------- */

.section-dark {
  position: relative;
  background:
    radial-gradient(700px 400px at 85% 0%, rgb(20 184 104 / 0.35), transparent 70%),
    radial-gradient(600px 360px at 0% 100%, rgb(107 245 102 / 0.14), transparent 70%), var(--forest);
  color: #c3d7dc;
  overflow: clip;
}

.section-head-light h2 {
  color: #fff;
}

.section-head-light p:not(.eyebrow) {
  color: #b0c8cf;
}

.eyebrow-light {
  color: var(--lime);
}

.phone-rail {
  display: flex;
  gap: 20px;
  margin-inline: -20px;
  padding: 10px 20px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.phone-rail::-webkit-scrollbar {
  display: none;
}

.phone-shot {
  flex: none;
  width: 250px;
  scroll-snap-align: center;
}

.phone-holder {
  display: flex;
  justify-content: center;
}

.phone-shot .phone {
  box-shadow:
    0 30px 60px -20px rgb(0 0 0 / 0.6),
    inset 0 0 0 1.5px #2c4852;
}

.phone-shot figcaption {
  margin-top: 20px;
  color: #b0c8cf;
  font-size: 0.93rem;
}

.phone-shot figcaption b {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.05rem;
}

@media (min-width: 900px) {
  .phone-rail {
    justify-content: center;
    gap: 48px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .phone-shot:nth-child(2) {
    transform: translateY(-24px);
  }
}

.app-facts {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 40px auto 0;
}

.app-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d6e8eb;
}

.app-facts .icon {
  margin-top: 2px;
  color: var(--lime);
  stroke-width: 3;
}

@media (min-width: 640px) {
  .app-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
  }
}

.app-store {
  margin-top: 36px;
  text-align: center;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 16px;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 10px 20px -10px rgb(1 111 119 / 0.8);
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.step p {
  color: var(--muted);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ---------- Split (privacy) ---------- */

.split {
  display: grid;
  gap: 36px;
}

.split-intro h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  margin-bottom: 14px;
}

.split-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-list li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.value-list .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--success-50);
  color: var(--success);
}

.value-list h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.value-list p {
  color: var(--muted);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
  }

  .split-intro {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}

/* ---------- Industries ---------- */

.industry-grid {
  display: grid;
  gap: 16px;
}

.industry {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.industry:hover {
  border-color: var(--brand-100);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.industry-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand-50), var(--brand-100));
  color: var(--brand-600);
}

.industry-icon .icon {
  width: 24px;
  height: 24px;
}

.industry h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.industry p {
  color: var(--muted);
}

@media (min-width: 640px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Calculator & comparison ---------- */

.calc {
  max-width: 980px;
  margin: 0 auto 40px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.calc-input label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
}

.calc-slider {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc-slider input {
  flex: 1;
  accent-color: var(--brand);
  height: 28px;
  min-width: 0;
}

.calc-slider output {
  min-width: 76px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
}

.calc-results {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.calc-result {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.calc-result span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.calc-result em {
  font-style: normal;
  color: var(--brand);
}

.calc-result b {
  display: block;
  margin-top: 4px;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.calc-result small {
  color: var(--muted);
}

.calc-result-us {
  background: var(--brand-50);
  border-color: var(--brand-100);
}

.calc-result-save {
  background: var(--success-50);
  border-color: #bfe6cc;
}

.calc-result-save b {
  color: var(--success);
}

.calc-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (min-width: 640px) {
  .calc-results {
    grid-template-columns: repeat(3, 1fr);
  }
}

.compare-hint {
  max-width: 980px;
  margin: 0 auto 10px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

@media (min-width: 760px) {
  .compare-hint {
    display: none;
  }
}

.compare-wrap {
  max-width: 980px;
  margin-inline: auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.compare th,
.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.compare tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}

.compare .is-us {
  background: var(--brand-50);
  color: var(--ink);
}

.compare thead .is-us {
  color: var(--brand-600);
}

.icon-yes {
  color: var(--success);
  stroke-width: 3;
}

.icon-no {
  color: var(--danger);
  stroke-width: 3;
}

/* ---------- Pricing ---------- */

.billing-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 32px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
}

.billing-toggle[hidden] {
  display: none;
}

.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.billing-toggle button[aria-pressed='true'] {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.save-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--success-50);
  color: var(--success);
  font-size: 0.75rem;
}

.plans {
  display: grid;
  gap: 18px;
  max-width: 1080px;
  margin-inline: auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.plan-featured {
  border: 2px solid var(--brand);
  box-shadow: 0 24px 50px -24px rgb(1 111 119 / 0.45);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.plan-name {
  font-size: 1.3rem;
}

.plan-limit {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 20px;
}

.plan-amount {
  color: var(--ink);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-per {
  color: var(--muted);
  font-weight: 600;
}

.plan-billing {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.plan-unit {
  display: inline-block;
  width: fit-content;
  margin-top: 16px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--success-50);
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 700;
}

.plan-maps {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.plan-blurb {
  margin: 16px 0 24px;
  color: var(--text);
}

.plan .btn {
  margin-top: auto;
}

@media (min-width: 640px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 1100px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
  }
}

.plan-includes {
  max-width: 1080px;
  margin: 32px auto 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.plan-includes h3 {
  margin-bottom: 18px;
  font-size: 1.15rem;
}

.checklist-cols {
  gap: 12px 28px;
}

@media (min-width: 640px) {
  .checklist-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .checklist-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  gap: 32px;
}

.faq-intro h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  margin-bottom: 14px;
}

.faq-intro p:not(.eyebrow) {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-item summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--brand-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016f77' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--text);
}

@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: start;
  }

  .faq-intro {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  padding-block: clamp(56px, 8vw, 88px);
  background:
    radial-gradient(600px 300px at 90% 120%, rgb(107 245 102 / 0.3), transparent 70%),
    linear-gradient(135deg, var(--brand), var(--forest));
  color: #d6ecee;
  overflow: clip;
}

.cta-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.cta-band h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.cta-band p {
  max-width: 620px;
  font-size: 1.08rem;
}

.cta-band .cta-call {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 1rem;
}

.cta-call .icon {
  flex: none;
  color: var(--lime);
}

.cta-call a {
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid rgb(107 245 102 / 0.6);
}

.cta-call a:hover {
  border-color: var(--lime);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 480px) {
  .cta-actions .btn {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .cta-inner {
    grid-template-columns: 1.4fr auto;
    gap: 48px;
  }
}

/* ---------- Footer ---------- */

/* Deep brand navy, a step darker than the CTA band's gradient end so the
   two read as separate blocks. Text colours clear 4.5:1 on #062a35. */
.site-footer {
  padding-top: clamp(48px, 7vw, 72px);
  background: #062a35;
  color: #b9cfd4;
  font-size: 0.95rem;
}

/* Phone: brand block full width, then the link columns two-up. */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 20px;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

/* The logo PNG's "Trak" is deep teal and unreadable here, so the footer sets
   the wordmark in type — "Trak" light, "ly" in the wordmark green (logotypes
   are exempt from contrast rules; see branding/README.md). */
.footer-wordmark {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.footer-wordmark-ly {
  color: #14b868;
}

.footer-wordmark small {
  margin-top: 4px;
  color: #b9cfd4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 20px;
}

.footer-contacts {
  display: grid;
  gap: 10px;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer-contact .icon {
  color: var(--lime);
}

.footer-contact:hover {
  color: var(--lime);
}

.footer-heading {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-heading-spaced {
  margin-top: 28px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  color: #d3e3e6;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 10px;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.1;
}

.footer-store small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
}

.footer-store:hover {
  border-color: var(--lime);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 32px;
  margin-top: 48px;
  padding-block: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.85rem;
}

.footer-bottom p + p {
  margin-top: 4px;
}

.footer-maker {
  color: #fff;
  font-weight: 600;
}

.footer-sibling a {
  color: #d3e3e6;
}

.footer-sibling a:hover {
  color: var(--lime);
}

.footer-sibling b {
  color: #fff;
}

.site-footer a:focus-visible {
  outline-color: var(--lime);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.7fr repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* Keep the last lines clear of the sticky mobile CTA bar. */
@media (max-width: 959px) {
  .site-footer {
    padding-bottom: 132px;
  }
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}

.contact-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-card h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.contact-card p {
  flex: 1;
}

.contact-card-primary {
  border-color: var(--wa-icon);
  background: linear-gradient(160deg, #f0faf4, #fff 70%);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand);
}

.contact-card-primary .contact-icon {
  background: #dcf5e5;
  color: var(--wa);
}

.contact-icon .icon {
  width: 24px;
  height: 24px;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--brand);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card-primary .contact-action {
  color: var(--wa);
}

.contact-card:hover .contact-action .icon {
  transform: translateX(3px);
}

.contact-action .icon {
  flex: none;
  transition: transform 0.15s;
}

@media (min-width: 760px) {
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* ---------- Mobile sticky CTA ---------- */

.mobile-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -14px rgb(11 30 38 / 0.35);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.mobile-cta.is-visible {
  transform: none;
}

@media (min-width: 960px) {
  .mobile-cta {
    display: none;
  }
}

/* ---------- Sub-page hero, prose & breadcrumb ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px);
  background: radial-gradient(800px 420px at 10% -10%, var(--brand-50), transparent 70%), #fff;
}

.page-hero .hero-grid {
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.page-hero-center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.page-hero-center .hero-lead {
  margin-inline: auto;
}

.page-hero-center .hero-ctas,
.page-hero-center .hero-points,
.page-hero-center .breadcrumb,
.not-found .hero-ctas {
  justify-content: center;
}

.section-flush-top {
  padding-top: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--line-strong);
}

.prose {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.06rem;
}

.prose h2 {
  margin: 48px 0 14px;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.prose p + p,
.prose p + ul,
.prose ul + p {
  margin-top: 14px;
}

.prose .checklist {
  margin-top: 16px;
}

/* Legal pages (privacy policy, account deletion): long-form text, so plain
   bulleted lists instead of the site's unstyled ones. */
.legal-hero {
  padding-bottom: 8px;
}

.legal-updated {
  margin-top: 10px;
  color: var(--muted);
}

.legal .prose ul {
  padding-left: 1.3em;
  list-style: disc;
}

.legal .prose ol.legal-steps {
  margin-top: 12px;
  padding-left: 1.4em;
  list-style: decimal;
}

.legal .prose ol.legal-steps + p {
  margin-top: 12px;
}

.legal .prose li + li {
  margin-top: 8px;
}

.legal .prose h3 + ul,
.legal .prose p + ul,
.legal .prose ul + p {
  margin-top: 12px;
}

.hero-phone {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .page-hero .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
}

.feature-copy .feature-title {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.feature-visual-narrow {
  max-width: 520px;
  margin-inline: auto;
}

.related-heading {
  margin-bottom: 24px;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  text-align: center;
}

.related-grid {
  display: grid;
  gap: 14px;
}

.related-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.related-card:hover {
  border-color: var(--brand-100);
  box-shadow: var(--shadow);
}

.related-card .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
}

.related-card b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 1rem;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 404 ---------- */

.not-found {
  padding-block: clamp(80px, 14vw, 160px);
  text-align: center;
}

.not-found h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 14px;
}

.not-found p {
  color: var(--muted);
  margin-bottom: 28px;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
