/* =========================================================
   Tracker — landing page styles
   Recreated from trackerbot.xyz
   ========================================================= */

:root {
  --ink: #191919;
  --navy: #091729;
  --blue-band: #263e59;
  --blue-stats: #162b47;
  --charcoal: #1b1b1b;
  --text-grey: #d5d5d5;
  --white: #ffffff;
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: #333333;
  font-family: "Rubik", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  border: 0;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 10px;
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: var(--container);
  height: 131px;
  margin: 20px auto 0;
  padding: 10px 0;
  border: 1px solid transparent;
  border-radius: 24px;
  transition: height 0.28s ease, margin 0.28s ease, padding 0.28s ease,
    background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.42s ease,
    border-radius 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

/* floating bar once the page has scrolled */
.site-header.is-scrolled .header-inner {
  height: 78px;
  margin-top: 12px;
  padding: 0 18px;
  background-color: rgba(9, 23, 41, 0.76);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.site-header.is-scrolled .logo img {
  width: 56px;
  height: 56px;
  margin-bottom: 0;
}

.logo {
  width: 237.5px;
  padding: 10px;
  justify-self: start;
}

.logo img {
  display: block;
  width: 85px;
  height: 85px;
  margin-bottom: 6px;
  transition: transform 0.7s ease, width 0.28s ease, height 0.28s ease;
}

.logo:hover img {
  transform: scale(1.04);
}

.main-nav {
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  margin: 0 10px;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 0 7px;
  color: var(--text-grey);
  font-family: "Kanit", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 0;
  height: 1px;
  background: #ffffff;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.header-actions {
  width: 218.5px;
  padding: 10px;
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  font-family: "Rubik", Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #232327 0%, #09090b 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: linear-gradient(180deg, #34343a 0%, #121216 100%);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn:focus-visible {
  outline: 2px solid #a9c8ff;
  outline-offset: 3px;
}

.btn-header {
  width: 150px;
  padding: 10px;
  border-radius: 150px;
  font-size: 15px;
  font-weight: 500;
  line-height: 22.5px;
  background: rgba(9, 23, 41, 0.34);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 6px 18px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}

.btn-header:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b1526;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.btn-hero {
  margin-top: 34px;
  padding: 16px 34px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

/* mobile navigation (checkbox powered, no JS) */
.nav-toggle,
.nav-toggle-label,
.mobile-nav {
  display: none;
}

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

.hero {
  position: relative;
  min-height: calc(100vh + 150px);
  margin-top: 0;
  padding-top: 151px;
  overflow: hidden;
  background: transparent;
}

/* the gradient starts one header-height above the hero so its top
   phase matches the original page instead of restarting at the fold */
.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 0;
  background: linear-gradient(171deg, #6994bf 0%, #5f7184 45%, #53493b 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -100px;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.12), transparent 35%),
    radial-gradient(circle at 80% 85%, rgba(255, 190, 120, 0.10), transparent 30%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px;
}

.hero-copy {
  flex: 0 0 61.071%;
  width: 61.071%;
  margin: 90px 0 0 -75px;
}

.hero-copy-inner {
  padding: 20px;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 76px;
  font-weight: 700;
  line-height: 1.11;
  letter-spacing: 0;
}

.hero p {
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

.hero-screens {
  display: block;
  flex: 0 0 750px;
  width: 750px;
  max-width: none;
  height: auto;
  margin: -5px -36px -36px -100px;
}

/* ---------------------------------------------------------
   Feature sections
   --------------------------------------------------------- */

.features {
  position: relative;
  padding: 150px 10px;
  margin-top: -150px;
  background: #191919;
}

.features-grid {
  display: grid;
  grid-template-columns: 560px 560px;
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
  padding: 10px 0;
}

.feature-copy {
  color: #ffffff;
}

.copy-inner {
  padding: 20px;
}

.feature-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: 76px;
  font-weight: 700;
  line-height: 1.11;
  letter-spacing: 0;
}

.feature-copy p {
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

.feature-img {
  display: block;
  height: auto;
}

.feature-discaching {
  width: 560px;
  margin-left: -75px;
}

.discaching-phones {
  position: relative;
  right: -50px;
  width: 560px;
  margin-top: -120px;
  margin-right: -36px;
}

.stats-chat {
  width: 500px;
  margin-top: -40px;
  margin-left: -60px;
}

.feature-stats {
  padding-left: 90px;
}

.feature-info {
  width: 560px;
  margin-top: 100px;
  margin-left: -75px;
}

.blank-line {
  height: 24px;
  line-height: 24px;
}

.info-panel {
  width: 560px;
  margin-top: 165px;
  margin-left: 75px;
}

.cache-card {
  position: relative;
  top: 50px;
  right: 50px;
  width: 483px;
}

.feature-share {
  margin-top: 110px;
  padding-left: 90px;
}

.feature-info h2,
.feature-share h2 {
  font-size: 70px;
}

/* ---------------------------------------------------------
   Blue bands
   --------------------------------------------------------- */

.band {
  background: var(--blue-band);
}

.say {
  padding: 0 10px;
}

.say .wrap {
  padding: 10px 0;
}

.say h2 {
  margin: 35px 0 0;
  color: #ffffff;
  font-size: 70px;
  font-weight: 700;
  line-height: 1.11;
  text-align: center;
}

/* testimonials */

.testimonials {
  padding: 0 10px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 10px 0;
}

.avatar {
  display: block;
  width: 80px;
  height: 80px;
  margin-top: 20px;
  border-radius: 500px;
}

.avatar-jokazoo {
  margin-left: 45px;
}

.avatar-fisk {
  margin-left: -25px;
}

.quote {
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

.quote p {
  margin: 0;
}

.quote-jokazoo {
  align-self: center;
  width: 270px;
  margin: 20px 0 0 -140px;
  white-space: nowrap;
}

.quote-fisk {
  grid-column: span 2;
  width: 560px;
  margin-top: 4px;
  padding-bottom: 14.4px;
  transform: translate(595px, -100px);
}

/* review link strip */

.reviews {
  padding: 0 10px;
}

.reviews .wrap {
  padding: 10px 0;
}

.review-note {
  margin-top: -65px;
  padding: 20px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  overflow-wrap: anywhere;
}

.review-note a {
  color: inherit;
  text-decoration: underline;
}

/* stats */

.stats {
  background: var(--blue-stats);
  padding: 0 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 50px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  color: #ffffff;
  font-size: 70px;
  font-weight: 700;
  line-height: 1.11;
}

.stat-label {
  margin-top: 22px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

/* ---------------------------------------------------------
   Final call to action
   --------------------------------------------------------- */

.cta {
  padding: 0 10px;
  background: var(--navy);
}

.cta-grid {
  display: grid;
  grid-template-columns: 560px 560px;
  gap: 20px;
  padding: 10px 0;
}

.cta-phone {
  display: block;
  width: 400px;
  height: auto;
}

.cta-copy {
  padding-top: 125px;
}

.cta-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.11;
}

.cta-copy p {
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

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

.site-footer {
  padding: 10px;
  background: var(--navy);
}

.footer-card {
  width: 100%;
  background: var(--charcoal);
  border-radius: 50px;
}

.footer-row {
  display: block;
  padding: 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 38px 24px 30px;
}

.footer-brand {
  display: block;
  width: min(520px, 100%);
  height: auto;
  margin: 0 auto;
}

.footer-links {
  width: 100%;
  margin-top: 20px;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  text-align: center;
}

.tracker-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 30px;
  width: 100%;
  font-family: "Roboto", sans-serif;
  line-height: 26px;
  text-align: center;
}

/* both markup rows flow as one centered line of links */
.tracker-row {
  display: contents;
}

.tracker-row a {
  position: relative;
  margin: 0;
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.12s ease;
}

.tracker-row a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.12s ease;
}

.tracker-row a:hover::after {
  width: 100%;
}

.tracker-row span {
  display: none;
}

.tracker-socials {
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
}

.tracker-socials a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  transition: transform 0.12s ease;
}

.tracker-socials a:hover {
  transform: translateY(-2px);
}

.tracker-socials svg {
  width: 100%;
  height: 100%;
  fill: #ffffff;
  transition: fill 0.12s ease;
}

.tracker-socials a:hover svg {
  fill: #8ab4ff;
}

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

@media (max-width: 1300px) {
  .logo {
    flex-basis: 200px;
    width: 200px;
  }

  .header-actions {
    flex-basis: 180px;
    width: 180px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-screens {
    flex-basis: 540px;
    width: 540px;
    margin-left: -20px;
  }

  .hero-copy {
    flex-basis: 58%;
    width: 58%;
    margin-left: 0;
  }

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

  .feature-copy h2 {
    font-size: clamp(48px, 6.2vw, 76px);
  }

  .feature-info h2,
  .feature-share h2 {
    font-size: clamp(44px, 5.7vw, 70px);
  }

  .feature-copy p {
    font-size: 20px;
  }

  .discaching-phones {
    width: 100%;
    right: 0;
    margin-right: 0;
    margin-top: 0;
  }

  .stats-chat {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .info-panel {
    width: 75%;
    margin-left: 25%;
    margin-top: 40px;
  }

  .cache-card {
    width: min(483px, 100%);
    top: 0;
    right: 0;
  }

  .feature-discaching,
  .feature-info {
    width: auto;
    margin-left: -40px;
  }

  .feature-stats,
  .feature-share {
    padding-left: 60px;
  }

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

/* mid-size screens: pair each quote with its avatar */
@media (min-width: 1101px) and (max-width: 1300px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }

  .avatar-jokazoo {
    grid-area: 1 / 1;
    justify-self: center;
    margin: 10px 0 0;
  }

  .quote-jokazoo {
    grid-area: 2 / 1;
    align-self: start;
    width: 100%;
    margin: 6px 0 22px;
    white-space: normal;
  }

  .avatar-fisk {
    grid-area: 1 / 2;
    justify-self: center;
    margin: 10px 0 0;
  }

  .quote-fisk {
    grid-area: 2 / 2;
    width: 100%;
    margin: 6px 0 22px;
    padding: 0 10px;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .main-nav li {
    margin: 0 2px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .logo {
    flex-basis: 150px;
    width: 150px;
  }

  .logo img {
    width: 72px;
    height: 72px;
  }

  .header-actions {
    flex-basis: 165px;
    width: 165px;
  }

  .btn-header {
    width: 140px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero p {
    font-size: 19px;
  }

  .hero-screens {
    flex-basis: 520px;
    width: 520px;
    margin-left: -40px;
  }

  .hero-copy-inner {
    padding: 10px 20px;
  }

  .feature-copy h2 {
    font-size: clamp(40px, 5.6vw, 64px);
  }

  .feature-info h2,
  .feature-share h2 {
    font-size: clamp(38px, 5.2vw, 58px);
  }

  .feature-copy p {
    font-size: 18px;
  }

  .feature-copy .copy-inner {
    padding: 14px;
  }

  .say h2 {
    font-size: 56px;
  }

  .quote-fisk {
    transform: translate(420px, -100px);
  }
}

@media (max-width: 1100px) {
  /* at the top of the page the bar is a bare overlay: no fill, no outline */
  .header-inner {
    display: flex;
    align-items: center;
    height: 88px;
    margin-top: 6px;
    padding: 0;
    gap: 10px;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* the frosted pill only appears once the page has scrolled */
  .site-header.is-scrolled .header-inner {
    height: 62px;
    margin-top: 8px;
    padding: 0 10px;
    background-color: rgba(9, 23, 41, 0.76);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
  }

  .logo {
    width: auto;
    padding: 0;
  }

  .logo img {
    width: 62px;
    height: 62px;
    margin-bottom: 0;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    z-index: 6;
    transition: background-color 0.28s ease, transform 0.28s ease;
  }

  .nav-toggle-label:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .nav-toggle-label:active {
    transform: scale(0.96);
  }

  /* the bars stay slightly translucent in every state */
  .nav-toggle-label span {
    display: block;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.88);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      opacity 0.28s ease, background-color 0.28s ease;
  }

  .nav-toggle-label:hover span {
    background: rgba(255, 255, 255, 0.96);
  }

  .site-header:has(.nav-toggle:checked) .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header:has(.nav-toggle:checked) .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .site-header:has(.nav-toggle:checked) .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* open menu: header and dropdown become one attached panel */
  .site-header:has(.nav-toggle:checked) .header-inner {
    background-color: rgba(9, 23, 41, 0.82);
    border-color: rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
    /* no blur here: a backdrop-filter on the parent stops the dropdown
       below from blurring the page, which left the hero text sharp
       through the panel */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .mobile-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    z-index: 5;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 4px 8px 10px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transform-origin: top center;
    background: rgba(9, 23, 41, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(30px) saturate(140%);
    backdrop-filter: blur(30px) saturate(140%);
    /* closing: quick, gentle fade back up */
    transition: opacity 0.3s cubic-bezier(0.4, 0, 1, 1),
      transform 0.34s cubic-bezier(0.4, 0, 1, 1), visibility 0s linear 0.34s;
  }

  .nav-toggle:checked ~ .mobile-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    /* opening: long, decelerating settle with no overshoot */
    transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s;
  }

  /* the links ease in behind the panel instead of appearing all at once */
  .mobile-nav li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-toggle:checked ~ .mobile-nav li {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .nav-toggle:checked ~ .mobile-nav li:nth-child(1) { transition-delay: 0.06s; }
  .nav-toggle:checked ~ .mobile-nav li:nth-child(2) { transition-delay: 0.1s; }
  .nav-toggle:checked ~ .mobile-nav li:nth-child(3) { transition-delay: 0.14s; }
  .nav-toggle:checked ~ .mobile-nav li:nth-child(4) { transition-delay: 0.18s; }

  .mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-nav a {
    display: block;
    padding: 13px 16px;
    margin: 2px 0;
    border-radius: 12px;
    color: #dfe6f0;
    font-family: "Kanit", sans-serif;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
  }

  .mobile-nav a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
  }

  .mobile-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
  }

  .mobile-nav a:focus-visible {
    outline: 2px solid #a9c8ff;
    outline-offset: -2px;
  }

  .site-header {
    background: transparent;
  }

  /* hero stacks below the header and fits one screen */
  .hero {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    margin-top: 0;
    padding-top: 88px;
  }

  .hero-inner {
    flex: 1 1 auto;
    min-height: 0;
  }

  .site-header.is-scrolled .logo img {
    width: 46px;
    height: 46px;
    margin-bottom: 0;
  }

  /* no section overlap here, so the gradient must reach the hero's bottom */
  .hero::before {
    top: -88px;
    height: calc(100% + 88px);
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .hero-copy {
    flex: 0 0 auto;
    width: 100%;
    margin: 20px 0 0;
  }

  .hero-copy-inner {
    padding: 10px 0;
  }

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

  .hero p {
    font-size: 19px;
  }

  .hero p br {
    display: none;
  }

  .hero-screens {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 560px;
    max-height: 100%;
    margin: 16px auto 0;
    object-fit: contain;
    object-position: center bottom;
  }

  .features {
    margin-top: 0;
    padding: 70px 20px;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 50px;
  }

  .feature-copy,
  .feature-discaching,
  .feature-info,
  .feature-stats,
  .feature-share {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .feature-copy h2,
  .feature-info h2,
  .feature-share h2 {
    font-size: clamp(40px, 8vw, 62px);
  }

  .feature-copy p {
    font-size: 19px;
  }

  .discaching-phones,
  .stats-chat,
  .info-panel,
  .cache-card {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    position: static;
  }

  .stats-chat {
    max-width: 500px;
  }

  .cache-card {
    max-width: 420px;
  }

  .say h2,
  .reviews + .stats .stat-number {
    font-size: clamp(38px, 8vw, 56px);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0 30px;
  }

  .avatar {
    margin: 14px auto 0;
  }

  .quote-jokazoo,
  .quote-fisk {
    width: 100%;
    margin: 0;
    padding: 0 10px 6px;
    transform: none;
    white-space: normal;
  }

  .quote-fisk {
    grid-column: auto;
  }

  .reviews .wrap {
    padding: 10px 0;
  }

  .review-note {
    margin-top: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px 0;
  }

  .stat .copy-inner {
    padding: 12px 20px;
  }

  .stat-number {
    font-size: 60px;
  }

  .cta {
    padding: 0 20px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 40px 0;
    justify-items: center;
  }

  .cta-phone {
    width: min(360px, 90vw);
  }

  .cta-copy {
    padding-top: 20px;
    width: 100%;
  }

  .cta-copy h2 {
    font-size: clamp(38px, 7vw, 52px);
  }

  .cta-copy .copy-inner {
    padding: 10px 0 20px;
  }

  .footer-card {
    border-radius: 40px;
  }

  .footer-grid {
    padding: 26px 18px 22px;
  }

  .footer-brand {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }

  .footer-links {
    margin-top: 14px;
  }

  .tracker-row {
    font-size: 15px;
    line-height: 26px;
  }
}

@media (max-width: 480px) {
  .hero {
    margin-top: 0;
  }

  /* compact hero so the whole first screen fits on phones */
  .hero-inner {
    padding: 10px 16px 16px;
  }

  .hero-copy {
    margin-top: 10px;
  }

  .hero-copy-inner {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(32px, 9.2vw, 40px);
    line-height: 1.08;
  }

  .hero p {
    margin-top: 16px;
    font-size: 16px;
  }

  .btn-hero {
    margin-top: 24px;
    font-size: 17px;
    padding: 13px 26px;
  }

  .hero-screens {
    margin-top: 10px;
  }

  .features {
    padding: 56px 16px;
  }

  .feature-copy h2,
  .feature-info h2,
  .feature-share h2 {
    font-size: 38px;
  }

  .feature-copy p {
    font-size: 17px;
  }

  .say h2 {
    font-size: 38px;
  }

  .stat-number {
    font-size: 52px;
  }

  .stat-label {
    font-size: 19px;
  }

  .tracker-links {
    gap: 6px 22px;
    font-size: 15px;
  }

  .site-footer {
    padding: 8px;
  }

  .footer-row {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .tracker-links {
    gap: 4px 18px;
    font-size: 14px;
  }
}

/* ---------------------------------------------------------
   Document pages (terms, privacy, team)
   --------------------------------------------------------- */

.doc-page {
  background: var(--navy);
  color: #c3cfe0;
}

.doc-hero {
  padding: 210px 10px 64px;
  background: radial-gradient(130% 120% at 50% 0%, #2c4d72 0%, #17324e 45%, var(--navy) 100%);
}

.doc-hero .wrap,
.doc-body .wrap {
  max-width: 860px;
}

.doc-eyebrow {
  margin: 0 0 14px;
  color: #9fc0e4;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.doc-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.doc-lede {
  max-width: 640px;
  margin: 20px 0 0;
  color: #c3cfe0;
  font-size: 18px;
  line-height: 1.6;
}

.doc-meta {
  margin: 22px 0 0;
  color: #93a5bb;
  font-size: 14px;
}

.doc-body {
  padding: 0 10px 72px;
}

.draft-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 22px;
  padding: 16px 18px;
  background: rgba(255, 196, 92, 0.09);
  border: 1px dashed rgba(255, 196, 92, 0.55);
  border-radius: 16px;
  color: #ffe2ae;
  font-size: 14px;
  line-height: 1.6;
}

.draft-note strong {
  color: #ffd894;
}

.doc-card {
  padding: 44px clamp(22px, 5vw, 52px);
  background: #0d2036;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.doc-card h2 {
  margin: 40px 0 12px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
}

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

.doc-card h3 {
  margin: 26px 0 8px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
}

.doc-card p {
  margin: 0 0 16px;
  color: #c3cfe0;
  font-size: 16px;
  line-height: 1.75;
}

.doc-card ul,
.doc-card ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.doc-card li {
  margin: 8px 0;
  color: #c3cfe0;
  font-size: 16px;
  line-height: 1.7;
}

.doc-card a {
  color: #9fc0e4;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.doc-card a:hover {
  color: #ffffff;
}

/* highlighted text the owner still has to fill in */
.fill {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(255, 196, 92, 0.1);
  border: 1px dashed rgba(255, 196, 92, 0.6);
  border-radius: 6px;
  color: #ffd894;
  font-size: 0.92em;
  line-height: 1.5;
}

.doc-divider {
  height: 1px;
  margin: 34px 0;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
}

/* team cards */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 22px 0 8px;
}

.team-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #8ea3ba;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
}

.team-role {
  margin: 0 0 12px;
  color: #9fc0e4;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-card p {
  margin: 0 0 10px;
  color: #c3cfe0;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .doc-hero {
    padding: 142px 10px 48px;
  }

  .doc-body {
    padding-bottom: 52px;
  }

  .doc-card {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .doc-card h2 {
    margin-top: 32px;
    font-size: 21px;
  }

  .doc-card p,
  .doc-card li {
    font-size: 15.5px;
  }

  .doc-lede {
    font-size: 16.5px;
  }
}

@media (max-width: 480px) {
  .doc-hero {
    padding: 126px 10px 40px;
  }

  .draft-note {
    font-size: 13px;
  }

  .doc-card li {
    margin: 6px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
