:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --surface-2: #f0f3f2;
  --ink: #0d1117;
  --muted: #5b6472;
  --line: #dde2e8;
  --brand: #0d7668;
  --brand-2: #c2412d;
  --brand-3: #d69d23;
  --accent: #245fc7;
  --focus: #245fc7;
  --dark: #101418;
  --dark-2: #171c22;
  --shadow: 0 22px 60px rgba(13, 17, 23, 0.13);
  --soft-shadow: 0 14px 34px rgba(13, 17, 23, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 72px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  letter-spacing: 0;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(15, 123, 108, 0.2));
}

.brand-mark svg {
  display: block;
  width: 42px;
  height: 42px;
}

.brand-mark rect { fill: var(--brand); }
.brand-mark path { fill: #fff; }
.brand-mark circle:nth-of-type(1) { fill: var(--brand-3); }
.brand-mark circle:nth-of-type(2) { fill: var(--brand-2); }
.brand-mark circle:nth-of-type(3) { fill: #53b7ea; }

.brand-wordmark {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-wordmark strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.brand-wordmark span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--surface-2);
  outline: none;
}

.breadcrumbs {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--ink);
  outline: none;
}

.breadcrumbs span[aria-hidden="true"] {
  color: var(--border);
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 66px 24px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.65rem, 6vw, 5.15rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: -0.025em;
}

h3 { margin: 0 0 10px; }

.lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button.primary {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 16px 32px rgba(13, 17, 23, 0.18);
}

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

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: var(--shadow);
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.hero-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 32px 80px rgba(13, 17, 23, 0.28);
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #151a20;
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #69717d;
}

.window-body {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.hero-product-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.hero-product-row img,
.stacked-icon,
.privacy-icon {
  image-rendering: auto;
}

.hero-product-row img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
}

.hero-product-row h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.hero-product-row p {
  margin: 0;
  color: #b8c0cc;
  font-size: 0.94rem;
}

.hero-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stacked-app {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--dark-2);
  color: inherit;
  text-decoration: none;
}

.stacked-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.stacked-app strong,
.stacked-app span {
  overflow-wrap: anywhere;
}

.stacked-app strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.stacked-app span {
  color: #aeb7c3;
  font-size: 0.8rem;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.capability {
  padding: 14px;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
}

.capability strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.mobile-product-strip {
  display: none;
}

.company-strip {
  max-width: 1240px;
  margin: 0 auto 12px;
  padding: 0 24px 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.company-strip div {
  min-height: 118px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.company-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.company-strip div:last-child {
  border-radius: 0 8px 8px 0;
}

.company-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.company-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.suite-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.suite-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.suite-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.suite-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.suite-icons a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
}

.suite-icons img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.guide-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  text-decoration: none;
}

.guide-card strong {
  font-size: 1.1rem;
}

.guide-card span {
  color: var(--muted);
}

.guide-card:hover,
.guide-card:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: var(--shadow);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.showcase-item {
  min-height: 104px;
  padding: 16px;
  border-radius: 8px;
  background: #f9fbfc;
  border: 1px solid var(--line);
}

.showcase-item strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.showcase-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.privacy-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(18, 32, 48, 0.06);
}

.privacy-card-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.privacy-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  background: #f2f5f8;
  padding: 4px;
}

.privacy-card h3 { margin: 0; }
.privacy-card p { margin: 0; color: var(--muted); }

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.section {
  max-width: 1540px;
  margin: 0 auto;
  padding: 68px 24px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  margin-bottom: 24px;
}

.search {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 1rem;
  background: #fff;
}

.search:focus {
  border-color: var(--focus);
  outline: 3px solid rgba(21, 101, 216, 0.16);
}

.category-filter {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 292px));
  gap: 18px;
  justify-content: center;
}

.app-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 15px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 123, 108, 0.36);
}

.app-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #f4f6f8;
  overflow: visible;
  padding: 22px;
}

.app-media img {
  width: auto;
  height: auto;
  max-width: min(100%, 176px);
  max-height: 112px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 14px 18px rgba(18, 32, 48, 0.12));
}

.screenshot-frame.is-zoomable {
  cursor: zoom-in;
}

.app-card h3 {
  font-size: 1.08rem;
}

.category {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eef6f3;
  color: #0b665a;
  font-size: 0.82rem;
  font-weight: 800;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}

.card-actions.two {
  grid-template-columns: 1fr 1fr;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.app-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 22px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.app-hero h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  line-height: 1;
}

.product-shot {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-shot img {
  display: block;
  width: min(100%, 520px);
  max-height: 460px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
}

.product-shot-screenshot {
  padding: 10px;
  background: #f5f7fa;
}

.product-shot-screenshot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
}

.mobile-store-bar {
  display: none;
}

.zoom-reset {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.screenshot-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(18, 32, 48, 0.06);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  background: #f5f7fa;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 28px;
  background: rgba(8, 11, 16, 0.88);
  backdrop-filter: blur(8px);
}

.image-lightbox.open {
  display: grid;
  place-items: center;
}

.image-lightbox button {
  position: fixed;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

#imageLightboxClose {
  top: 18px;
  right: 18px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 64px;
  font-size: 2.3rem;
}

.lightbox-nav.prev {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

.lightbox-nav[hidden],
.lightbox-counter[hidden] {
  display: none;
}

.image-lightbox img {
  display: block;
  max-width: min(calc(100vw - 150px), 1400px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.lightbox-counter {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  min-width: 72px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.screenshot-frame figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.category-hero-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.category-hero-list li {
  padding-left: 14px;
  border-left: 4px solid var(--brand-3);
}

.feature-list,
.faq-list,
.related-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.faq-item,
.related-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-list li {
  border-left: 4px solid var(--brand-3);
}

.sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 16px;
}

.download-panel,
.keyword-panel {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.keyword-list span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff4df;
  color: #7a4c00;
  font-size: 0.82rem;
  font-weight: 800;
}

.description-body {
  display: grid;
  gap: 14px;
  max-width: 820px;
  color: var(--muted);
}

.description-body p {
  margin: 0;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 42px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a { color: var(--brand); font-weight: 800; text-decoration: none; }

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

  .hero-visual {
    display: none;
  }

  .hero {
    padding-top: 44px;
    gap: 26px;
  }

  h1 {
    letter-spacing: -0.025em;
  }

  .company-strip,
  .suite-grid {
    grid-template-columns: 1fr;
  }

  .company-strip {
    padding-bottom: 24px;
  }

  .company-strip div,
  .company-strip div:first-child,
  .company-strip div:last-child {
    min-height: auto;
    border-radius: 8px;
  }

  .mobile-product-strip {
    display: flex;
    gap: 10px;
    margin-top: 18px;
  }

  .mobile-product-strip img {
    width: 54px;
    height: 54px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    box-shadow: var(--soft-shadow);
  }

  .sidebar { position: static; }

  .section-head,
  .toolbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .product-page {
    padding-bottom: 82px;
  }

  .mobile-store-bar {
    position: fixed;
    z-index: 80;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 50px rgba(18, 32, 48, 0.22);
    backdrop-filter: blur(12px);
  }

  .mobile-store-bar span {
    min-width: 0;
  }

  .mobile-store-bar strong,
  .mobile-store-bar small {
    display: block;
  }

  .mobile-store-bar strong {
    overflow: hidden;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-store-bar small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.72rem;
  }

  .mobile-store-bar .button {
    flex: 0 0 auto;
    width: auto;
    padding: 11px 15px;
  }

  .hero,
  .app-hero {
    padding-top: 40px;
  }

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

  .hero-metrics,
  .hero-stack,
  .capability-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .actions {
    display: grid;
  }

  .card-actions.two {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .image-lightbox {
    padding: 64px 14px 58px;
  }

  .image-lightbox img {
    max-width: 100%;
    max-height: 74vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 14px;
    transform: none;
    width: 48px;
    height: 44px;
  }

  .lightbox-nav.prev {
    left: 14px;
  }

  .lightbox-nav.next {
    right: 14px;
  }

  .lightbox-counter {
    bottom: 18px;
  }
}
