:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef6f3;
  --ink: #18202a;
  --muted: #5e6977;
  --line: #dce3ea;
  --brand: #0f7b6c;
  --brand-2: #d95436;
  --brand-3: #f2b84b;
  --focus: #1565d8;
  --shadow: 0 18px 45px rgba(18, 32, 48, 0.12);
}

* { 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.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  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: 48px;
  height: 48px;
  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: 48px;
  height: 48px;
}

.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.12rem;
  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: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: center;
}

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

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

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 3.55rem);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 { margin: 0 0 10px; }

.lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

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

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

.proof-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  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(--brand);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 123, 108, 0.24);
}

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

.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: 1180px;
  margin: 0 auto;
  padding: 54px 22px;
}

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

.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: 22px;
}

.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(250px, 1fr));
  gap: 18px;
}

.app-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(18, 32, 48, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.app-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #f2f5f8;
  overflow: hidden;
  padding: 6px;
}

.app-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

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

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

.product-shot img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: 8px;
}

.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 / 10;
  object-fit: contain;
  background: #f5f7fa;
}

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

  .sidebar { position: static; }

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

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

@media (max-width: 520px) {
  .hero,
  .app-hero {
    padding-top: 40px;
  }

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

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

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

  .button {
    width: 100%;
  }
}
