:root {
  --primary: #3a6ea5;
  --primary-dark: #2c557f;
  --accent: #6ea3d2;
  --premium: #7c3aed;
  --premium-dark: #5b21b6;
  --ink: #0d0f14;
  --ink-soft: #4b5563;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --border: #e5e7eb;
  --radius: 16px;
  --max-width: 1100px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

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

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
}

.store-badge:hover {
  text-decoration: none;
  opacity: 0.85;
}

.store-badge small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  opacity: 0.85;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 18% 18%, #e3eef7 0%, var(--bg) 58%);
  padding: 72px 0 40px;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: #e3eef7;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

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

.hero-points li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e7f8ef;
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 10px;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  z-index: 0;
}

.hero-visual::before {
  width: 240px;
  height: 240px;
  background: rgba(58, 110, 165, 0.28);
  top: 0;
  right: 16px;
}

.hero-visual::after {
  width: 190px;
  height: 190px;
  background: rgba(110, 163, 210, 0.24);
  bottom: 8px;
  left: 6px;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
}

/* Phone mockups */
.phone-mock {
  width: 100%;
  aspect-ratio: 9 / 18.5;
  border-radius: 40px;
  background: linear-gradient(160deg, #1f2937, #0b0b0f);
  box-shadow: var(--shadow);
  padding: 12px;
  position: relative;
}

.phone-mock .screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(170deg, #8a5a3b, #6e4527);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  padding: 22px 18px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.phone-mock .caption {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}

/* Paper sheet with a traced line drawing + 3x3 grid overlay */
.paper-view {
  position: relative;
  width: 168px;
  height: 216px;
  flex-shrink: 0;
}

.paper-view .paper {
  position: absolute;
  inset: 0;
  background: #fdfcf8;
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.paper-view .paper svg {
  width: 78%;
  height: 78%;
  opacity: 0.55;
}

.paper-view .grid-lines {
  position: absolute;
  inset: 0;
  transform: rotate(-2deg);
  border-radius: 4px;
  background:
    linear-gradient(to right, transparent calc(33.3% - 1px), rgba(58, 110, 165, 0.35) 33.3%, transparent calc(33.3% + 1px)),
    linear-gradient(to right, transparent calc(66.6% - 1px), rgba(58, 110, 165, 0.35) 66.6%, transparent calc(66.6% + 1px)),
    linear-gradient(to bottom, transparent calc(33.3% - 1px), rgba(58, 110, 165, 0.35) 33.3%, transparent calc(33.3% + 1px)),
    linear-gradient(to bottom, transparent calc(66.6% - 1px), rgba(58, 110, 165, 0.35) 66.6%, transparent calc(66.6% + 1px));
}

.lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(13, 15, 20, 0.82);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  flex-shrink: 0;
}

.lock-pill .dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a6ea5;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-badge {
  position: absolute;
  bottom: 15%;
  left: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.hero-badge .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 72px 0;
}

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

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 16px rgba(58, 110, 165, 0.28);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Tools / categories grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.tool-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.tool-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.tool-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.tool-card .pro {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--premium);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
}

.i-purple { background: #f1e9fe; color: #7c3aed; }
.i-orange { background: #fff1e6; color: #ea580c; }
.i-cyan   { background: #e6f6fb; color: #0891b2; }
.i-red    { background: #fde8e8; color: #dc2626; }
.i-indigo { background: #eaf0ff; color: #4f46e5; }
.i-blue   { background: #e6eeff; color: #2563eb; }
.i-green  { background: #e7f8ef; color: #16a34a; }
.i-amber  { background: #fef3e2; color: #d97706; }
.i-pink   { background: #ffe4f2; color: #9d276b; }
.i-brand  { background: #e3eef7; color: #2c557f; }

/* Category summary chips */
.chip-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chip-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.chip-list li strong {
  color: var(--primary-dark);
}

/* Steps */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 8px;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 18px rgba(58, 110, 165, 0.32);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 14px 34px rgba(58, 110, 165, 0.18);
}

.price-card .best {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0;
  font-size: 16px;
}

.price-card .amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-card .amount span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.pricing-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
  max-width: 720px;
  margin: 28px auto 0;
}

/* Privacy highlight band */
.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.privacy-band h2 {
  font-size: 30px;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.privacy-band p {
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e7f8ef;
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.lock-visual {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: linear-gradient(140deg, #0f2740, #2c557f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.lock-visual svg {
  position: relative;
  z-index: 1;
}

.lock-visual::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(110, 163, 210, 0.3);
  filter: blur(50px);
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 14px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 28px;
  opacity: 0.92;
}

.cta-band .store-badge {
  background: #fff;
  color: #111;
}

/* Legal / content pages */
.legal-page {
  padding: 56px 0 80px;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page h1 {
  font-size: 34px;
  margin-bottom: 4px;
}

.legal-meta {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 21px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.legal-page ul {
  padding-left: 22px;
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 8px;
}

.toc p {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--ink);
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d1d5db;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #d1d5db;
  font-size: 14.5px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive */
@media (max-width: 980px) {
  .tool-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.featured {
    margin-top: 12px;
  }
}

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-band {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 24px;
  }

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

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

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

  .section-head h2 {
    font-size: 27px;
  }

  .feature-grid,
  .step-grid,
  .tool-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-band {
    padding: 40px 24px;
  }
}

/* Upkeep Home dashboard mock (hero phone) */
.phone-mock .screen.dashboard {
  background: #f4f6f8;
  color: var(--ink);
  align-items: stretch;
  text-align: left;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px 16px;
}
.dash-head { font-size: 15px; font-weight: 700; }
.score-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 14px; display: flex; align-items: center; gap: 14px;
}
.score-ring {
  width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#2e9e6b 0 86%, #e5e7eb 86% 100%);
  display: flex; align-items: center; justify-content: center;
}
.score-ring span {
  width: 46px; height: 46px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: var(--ink);
}
.score-card h4 { margin: 0; font-size: 14.5px; }
.score-card p { margin: 2px 0 0; font-size: 12px; color: var(--ink-soft); }
.dash-item {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 11px 13px; display: flex; align-items: center; gap: 10px;
}
.dash-item .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-red { background: #d64545; } .dot-amber { background: #e0922f; } .dot-green { background: #2e9e6b; }
.dash-item h5 { margin: 0; font-size: 13.5px; }
.dash-item p { margin: 1px 0 0; font-size: 11.5px; color: var(--ink-soft); }
.dash-item .due { margin-left: auto; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.due-red { color: #a12f2f; } .due-amber { color: #8a5200; } .due-green { color: #1b6f4a; }

/* Real app screenshots in device frames */
.shot-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 18px;
}

.shot-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 268px);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 6px 4px 20px;
  scroll-behavior: smooth;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  scroll-snap-align: start;
}

.device {
  width: 100%;
  max-width: 260px;
  border-radius: 34px;
  background: linear-gradient(160deg, #23262e, #0b0b0f);
  padding: 9px;
  box-shadow: 0 18px 40px rgba(20, 24, 40, 0.22);
}

.device img {
  width: 100%;
  border-radius: 26px;
  display: block;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.carousel-btn:disabled {
  cursor: default;
  opacity: 0.35;
}

.carousel-btn span {
  font-size: 36px;
  line-height: 1;
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.carousel-dots button {
  position: relative;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.carousel-dots button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dots button[aria-current="true"]::after {
  width: 22px;
  border-radius: 999px;
  background: var(--primary);
}


.device-flat {
  padding: 0;
  background: none;
  overflow: hidden;
  border-radius: 28px;
  max-width: 280px;
}

.device-flat img {
  border-radius: 0;
  height: auto;
}

@media (max-width: 980px) {
  .shot-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
  }
}

@media (max-width: 860px) {
  .shot-carousel {
    display: block;
  }

  .shot-track {
    grid-auto-columns: minmax(210px, 78vw);
    margin: 0 -24px;
    padding-inline: 24px;
  }

  .carousel-btn {
    display: none;
  }
}

/* Screenshot slider: paged, 4 per page on desktop (shared across app sites) */
.shot-track {
  --shot-gap: 24px;
  --shot-per-page: 4;
  grid-auto-columns: calc((100% - (var(--shot-per-page) - 1) * var(--shot-gap)) / var(--shot-per-page));
  gap: var(--shot-gap);
  margin: 0;
  padding: 24px 0 36px;
  scroll-padding-inline: 0;
  scrollbar-width: none;
}

.shot-track::-webkit-scrollbar {
  display: none;
}

.shot {
  scroll-snap-align: start;
}

.shot figcaption {
  display: none;
}

.device-flat {
  max-width: none;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.06), 0 14px 28px -16px rgba(17, 24, 39, 0.35);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.1);
}

.carousel-dots {
  margin-top: 4px;
}

.carousel-dots[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .shot-track {
    --shot-per-page: 3;
    --shot-gap: 20px;
  }
}

@media (max-width: 860px) {
  .shot-track {
    --shot-per-page: 2;
    --shot-gap: 16px;
    margin: 0;
    padding-inline: 0;
  }
}

@media (max-width: 520px) {
  .shot-track {
    grid-auto-columns: 78%;
  }
}

/* Hero: real app screenshot instead of the CSS mock */
.phone-mock.phone-shot {
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 38px;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.06), 0 30px 60px -20px rgba(58, 110, 165, 0.35), 0 18px 36px -18px rgba(17, 24, 39, 0.4);
}

.phone-mock.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
}
