/* ==========================================================================
   Kevro Apps — homepage (self-contained)
   Rebuilt from the "Kevro Homepage" design reference. This stylesheet is used
   ONLY by the homepage (index.html); the other pages use css/styles.css.
   Accent is hardcoded to #1F6BFF and the hero glow is on (design defaults).
   ========================================================================== */

:root {
  --ink: #0A2540;
  --navy-2: #123456;
  --body: #556478;
  --card-body: #6A7789;
  --muted: #7A8699;
  --nav: #4B5A6E;
  --quote: #2C3B4E;
  --chip: #3C4B5F;
  --accent: #1F6BFF;
  --teal: #17B3A6;
  --star: #F5A623;

  --surface: #F5F8FC;
  --tint-blue: #EEF3FB;
  --tint-blue-2: #E6EFFF;
  --tint-blue-3: #EAF0F7;
  --tint-blue-4: #F1F5FB;
  --tint-teal: #EAF6F4;

  --border: #EAEEF4;
  --border-2: #ECF0F6;
  --border-chip: #E4EAF3;
  --border-btn: #DDE4EE;
  --dashed: #CBD6E4;
  --dashed-2: #C2CEDE;

  --foot-name: #DDE6F0;
  --foot-link: #AEBFD3;
  --foot-copy: #7E93AC;

  --maxw: 1160px;
  --pad: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Figtree', system-ui, sans-serif;
  background: #ffffff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: #cfe0ff; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

/* ============================ HEADER ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
  /* hide-on-scroll-down / show-on-scroll-up: JS toggles .header-hidden */
  transition: transform 0.2s ease;
  will-change: transform;
}
.site-header.header-hidden { transform: translateY(-100%); }

/* Anchor targets clear the sticky header when jumped to via nav links. Header
   height ≈ 66px on desktop; leave breathing room so the heading lands fully. */
section[id] { scroll-margin-top: 86px; }

@media (prefers-reduced-motion: reduce) {
  /* No slide: header stays sticky and always visible (JS no-ops too). */
  .site-header { transition: none; }
  .site-header.header-hidden { transform: none; }
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand-logo { height: 34px; width: auto; }

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
}

.nav-link {
  color: var(--nav);
  font-weight: 500;
  font-size: 15px;
}
.nav-link:hover { color: var(--ink); }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 13px;
  white-space: nowrap;
  transition: filter 0.15s ease, border-color 0.15s ease;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  padding: 15px 26px;
  box-shadow: 0 12px 26px -12px var(--accent);
}
.btn-accent:hover { color: #fff; filter: brightness(0.93); }

.btn-nav {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 11px;
  box-shadow: 0 6px 18px -8px var(--accent);
}
.btn-nav:hover { color: #fff; filter: brightness(0.93); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  padding: 15px 26px;
  border: 1px solid var(--border-btn);
}
.btn-secondary:hover { color: var(--ink); border-color: var(--ink); }

.btn-navy {
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  padding: 15px 26px;
  box-shadow: 0 12px 26px -14px rgba(10, 37, 64, 0.7);
}
.btn-navy:hover { color: #fff; filter: brightness(1.12); }

/* ============================ HERO ============================ */
.hero { position: relative; }

.hero-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-glow span {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.hero-glow .glow-blue {
  top: -140px; left: -120px; width: 620px; height: 620px;
  background: radial-gradient(circle, #E6EFFF 0%, rgba(230, 239, 255, 0) 68%);
}
.hero-glow .glow-teal {
  top: 80px; right: -160px; width: 560px; height: 560px;
  background: radial-gradient(circle, #E2F6F3 0%, rgba(226, 246, 243, 0) 66%);
}

.hero-inner {
  position: relative;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 5vw, 56px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--tint-blue-4);
  border: 1px solid var(--border-chip);
  font-size: 13px;
  font-weight: 600;
  color: var(--nav);
  letter-spacing: 0.2px;
  margin-bottom: 26px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.06;
  letter-spacing: -1.8px;
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--ink);
  text-wrap: balance;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 34px;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust .dot { width: 5px; height: 5px; }

/* phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19;
  background: var(--ink);
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 40px 80px -30px rgba(10, 37, 64, 0.45), 0 0 0 1px rgba(10, 37, 64, 0.06);
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--tint-blue-3);
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* hero slideshow */
.hero-figure { width: 300px; position: relative; }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.is-active { opacity: 1; }

/* caption chip: centered (H + V) inside the app's bottom cream band, i.e. the
   gap below the palette/tools. Cream band spans the lower ~16.8% of the screen,
   so its center sits 8.4% up from the bottom. */
.slide-label {
  position: absolute;
  left: 50%;
  bottom: 8.4%;
  transform: translate(-50%, 50%);
  z-index: 4;
  margin: 0;
  max-width: calc(100% - 32px);
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1px;
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 14px -6px rgba(10, 37, 64, 0.55);
}

/* dots sit just below the phone but out of flow, so the hero copy centers
   against the phone mockup itself rather than the phone + dots */
.hero-caption {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 14px;
  display: flex;
  justify-content: center;
}
.slide-dots {
  display: none;            /* revealed by JS; without JS, slide 1 shows statically */
  gap: 9px;
}
.js-slideshow .slide-dots { display: flex; }
/* scoped to .slide-dots so the teal badge/trust dots keep their own styling */
.slide-dots .dot {
  width: 10px; height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #94A5BD;      /* visible when inactive, not washed out */
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slide-dots .dot:hover { background: #6E819B; }
.slide-dots .dot.is-active,
.slide-dots .dot.is-active:hover { background: var(--accent); transform: scale(1.15); }

/* premium, restrained hover lift shared across card types */
.value, .check, .quote-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.value:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 30px -14px rgba(10, 37, 64, 0.18);
}
.check:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 42px -18px rgba(10, 37, 64, 0.4);
}
.quote-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 36px -18px rgba(10, 37, 64, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .value, .check, .quote-card { transition: none; }
  .value:hover, .check:hover, .quote-card:hover { transform: none; }
}

/* ============================ FEATURED / APPS ============================ */
.apps {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.apps .wrap { padding-top: 88px; padding-bottom: 88px; }

/* Shares the spotlight's grid so both rows have one vertical edge down the
   right column (intro paragraph lines up with the first screenshot). */
.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -1.4px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}
.section-head .lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.spotlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: center;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.app-icon {
  width: 76px; height: 76px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px -12px rgba(10, 37, 64, 0.4);
  flex-shrink: 0;
  background: var(--ink);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-head h2 {
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.app-desc {
  font-size: 18px;
  line-height: 1.62;
  color: var(--body);
  margin: 0 0 26px;
  max-width: 440px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.chip {
  padding: 8px 15px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-chip);
  font-size: 14px;
  font-weight: 600;
  color: var(--chip);
  white-space: nowrap;
}

.rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.stars {
  display: flex;
  align-items: center;
  gap: 9px;
}
.stars .glyphs { color: var(--star); font-size: 17px; letter-spacing: 2px; }
.stars .score { font-size: 15px; font-weight: 700; color: var(--ink); }
.rating .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--dashed-2);
}
.rating .age {
  font-size: 13px;
  font-weight: 600;
  color: var(--chip);
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border-chip);
  white-space: nowrap;
}
.rating-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin: -8px 0 22px;
}

/* screenshots row */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.shot {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  border: 1px solid var(--border-chip);
  box-shadow: 0 20px 40px -22px rgba(10, 37, 64, 0.35);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.raised { transform: translateY(14px); }
.shot.center { box-shadow: 0 24px 46px -22px rgba(10, 37, 64, 0.4); }

/* Mobile/tablet: the 3-across desktop grid crushes and (in older cached CSS)
   overflowed the tall phone mockups. Below 768px, turn the row into a tidy
   horizontal swipe strip — each phone a comfortable size, snap-scrolled, with
   the next one peeking to signal there's more. Never overlaps or overflows the
   page (the strip owns its own horizontal scroll). */
@media (max-width: 768px) {
  .shots {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--pad);
    padding-bottom: 10px;                 /* room for the drop shadows */
    scrollbar-width: none;                /* Firefox */
  }
  .shots::-webkit-scrollbar { display: none; }   /* WebKit */
  .shot {
    flex: 0 0 auto;
    width: min(62vw, 240px);
    scroll-snap-align: center;
  }
  .shot.raised { transform: none; }       /* no vertical stagger in the strip */
}

/* more apps scaffold */
.more-apps {
  margin-top: 52px;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 10px -6px rgba(10, 37, 64, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.more-apps .left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.more-apps h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.more-apps p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--card-body);
  margin: 0;
  max-width: 460px;
}
.more-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.more-link:hover { color: var(--accent); opacity: 0.7; }

/* ============================ TESTIMONIALS ============================ */
.testimonials .wrap { padding-top: 96px; padding-bottom: 24px; }
.section-intro { max-width: 620px; margin-bottom: 48px; }
.section-intro h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -1.4px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

/* carousel head: heading on the left, arrow controls on the right */
.testimonials .section-intro.tc-head {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 24px;
  flex-wrap: wrap;
}
/* Side chevrons: bare arrowhead marks pinned to the carousel's outer edges,
   vertically centered against the card row. No button chrome — just the mark,
   wrapped in a generous invisible tap target. Hidden until JS marks .tc-ready
   and hidden entirely on mobile (swipe + dots take over). */
.tc-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;              /* invisible clickable area around the mark */
  border: none;
  background: none;
  color: #B4C0D0;                  /* muted grey at rest */
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: translateY(-50%);
  transition: color 0.15s ease, transform 0.15s ease;
}
.tc-ready .tc-arrow { display: inline-flex; }
.tc-arrow svg { width: 28px; height: 47px; display: block; }
.tc-arrow[data-dir="-1"] { left: -10px; }
.tc-arrow[data-dir="1"]  { right: -10px; }
.tc-arrow:hover {
  color: var(--ink);              /* ink navy #0A2540 */
  transform: translateY(-50%) scale(1.12);
}
.tc-arrow:active { transform: translateY(-50%) scale(1.04); }
.tc-arrow:focus-visible { color: var(--ink); }

/* carousel: track of cards translated by JS; overflow-hidden clips the peek */
.tcarousel { position: relative; }
.tc-viewport {
  overflow: hidden;
  padding: 18px 0;            /* headroom for the card hover-lift + shadow */
  touch-action: pan-y;        /* let vertical page scroll through; we own horizontal */
}
.tc-ready .tc-viewport { cursor: grab; }
.tc-ready .tc-viewport:active { cursor: grabbing; }
.tc-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  user-select: none;
}
.tc-track .quote-card {
  flex: 0 0 var(--tc-w, 30%);
  max-width: var(--tc-w, 30%);
}
.quote-card {
  margin: 0;
  padding: 34px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.tc-dots {
  display: none;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}
.tc-ready .tc-dots { display: flex; }
.tc-dot {
  width: 10px; height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #94A5BD;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.tc-dot:hover { background: #6E819B; }
.tc-dot.is-active,
.tc-dot.is-active:hover { background: var(--accent); transform: scale(1.15); }

@media (prefers-reduced-motion: reduce) {
  .tc-track { transition: none; }
}
.quote-card blockquote {
  font-size: 19px;
  line-height: 1.55;
  color: var(--quote);
  margin: 0 0 24px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;   /* pin name+avatar to the bottom so all three align */
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.avatar.blue { background: var(--tint-blue-2); color: var(--accent); }
.avatar.teal { background: var(--tint-teal); color: var(--teal); }
.quote-name { font-weight: 700; font-size: 15px; color: var(--ink); }

/* ============================ ABOUT ============================ */
.about .wrap { padding-top: 72px; padding-bottom: 96px; }
.about .section-intro { margin-bottom: 56px; }
.about .section-intro h2 { margin-bottom: 20px; }
.about-lead {
  font-size: 19px;
  line-height: 1.62;
  color: var(--body);
  margin: 0;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.value {
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px -6px rgba(10, 37, 64, 0.1);
}
.value-tile {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value-tile.blue { background: var(--tint-blue); }
.value-tile.teal { background: var(--tint-teal); }
.mark-square { width: 16px; height: 16px; border-radius: 5px; background: var(--accent); }
.mark-circle { width: 16px; height: 16px; border-radius: 50%; background: var(--teal); }
.mark-diamond { width: 16px; height: 16px; background: var(--accent); transform: rotate(45deg); }
.value h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.value p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--card-body);
  margin: 0;
}

/* ============================ PRIVACY STRIP ============================ */
.privacy {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.privacy .wrap { padding-top: 72px; padding-bottom: 72px; }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}
.privacy h2 {
  font-size: 34px;
  line-height: 1.14;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--ink);
}
.privacy-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  max-width: 400px;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border-2);
  box-shadow: 0 10px 30px -18px rgba(10, 37, 64, 0.35);
}
.check-badge {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: linear-gradient(140deg, #1FBEAE 0%, #128577 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 16px -7px rgba(18, 133, 119, 0.55);
}
.check span.label {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
}

/* ============================ CONTACT ============================ */
.contact .wrap { padding-top: 100px; padding-bottom: 100px; }
.contact-panel {
  border-radius: 28px;
  background: linear-gradient(135deg, #0A2540 0%, #123456 100%);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-panel .glow {
  position: absolute;
  top: -80px; right: -40px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 179, 166, 0.28) 0%, rgba(23, 179, 166, 0) 70%);
}
.contact-panel .inner { position: relative; }
.contact-panel h2 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
}
.contact-panel p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--foot-link);
  margin: 0 auto 30px;
  max-width: 440px;
}

/* ============================ FOOTER ============================ */
.site-footer { background: var(--ink); }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
}
.footer-name { color: var(--foot-name); font-weight: 600; font-size: 15px; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  flex-wrap: wrap;
}
.footer-links .copy { color: var(--foot-copy); }
.footer-links a { color: var(--foot-link); }
.footer-links a:hover { color: #fff; }

/* ============================ NARROW SCREENS ============================ */
/* Header: at narrow widths the single row overflows, so wrap the nav onto its
   own centered row (keeps About, Contact, and the CTA all usable). */
@media (max-width: 600px) {
  /* Stack the header into two centered rows. Use text-align + inline-block so
     the nav centers and wraps deterministically, with no flex overflow. */
  .header-row {
    display: block;
    text-align: center;
  }
  .brand {
    display: inline-flex;
    margin-bottom: 12px;
  }
  .nav {
    display: block;
  }
  .nav > * {
    display: inline-flex;
    vertical-align: middle;
    margin: 6px 9px;
  }
  .btn-nav { font-size: 13px; padding: 9px 15px; }
  /* two-row header is taller here, so anchor targets need a deeper offset */
  section[id] { scroll-margin-top: 128px; }
}

@media (max-width: 560px) {
  :root { --pad: 20px; }
  .apps .wrap { padding-top: 64px; padding-bottom: 64px; }
  .testimonials .wrap { padding-top: 64px; }
  /* mobile: drop the side chevrons; swipe + dots carry navigation */
  .tc-ready .tc-arrow { display: none; }
  .contact .wrap { padding-top: 64px; padding-bottom: 64px; }
  .contact-panel { padding: 48px 26px; }
  .more-apps { padding: 28px; }
}
