  :root {
    color-scheme: light;
    --ink: #17202a;
    --muted: #5d6978;
    --line: #d8dee7;
    --paper: #ffffff;
    --mist: #f5f7fa;
    --soft: #edf3f2;
    --green: #146c63;
    --blue: #315f9f;
    --amber: #9a6200;
    --rose: #95485a;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--mist);
    color: var(--ink);
    font: 16px/1.58 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-wrap: anywhere;
  }
  a { color: var(--green); font-weight: 700; text-decoration: none; }
  a:focus-visible {
    outline: 3px solid #f3bd59;
    outline-offset: 3px;
    border-radius: 5px;
  }
  header.site {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  nav, main, footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 22px;
  }
  nav {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .brand,
  .nav-links a,
  .button,
  .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .brand { color: var(--ink); font-weight: 800; white-space: nowrap; }
  .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-links a {
    min-height: 36px;
    padding: 6px 9px;
    border-radius: 7px;
    color: #2b3b4f;
  }
  .nav-links a:hover { background: #f0f4f7; }
  .icon {
    width: 1.12em;
    height: 1.12em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
    gap: clamp(24px, 5vw, 44px);
    align-items: center;
    padding: clamp(30px, 7vw, 58px) 0 34px;
  }
  .discovery-hero {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(22px, 5vw, 52px);
    align-items: center;
    padding: clamp(30px, 7vw, 58px) 0 36px;
  }
  .discovery-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(132px, 190px);
    gap: 18px;
    align-items: center;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid #9ec9c3;
    border-radius: 18px;
    background: linear-gradient(135deg, #e7f4f1, #f7fbfa);
    box-shadow: 0 14px 34px rgba(20, 108, 99, .10);
  }
  .discovery-feature .eyebrow { margin-bottom: 7px; }
  .discovery-feature h2 { font-size: clamp(23px, 3vw, 32px); }
  .discovery-feature .phone { width: min(100%, 140px); }
  .category-explorer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 22px 0 44px;
  }
  .category-explorer-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    min-height: 136px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 8px 22px rgba(23, 32, 42, .05);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  }
  .category-explorer-card:hover {
    transform: translateY(-3px);
    border-color: #8abbb5;
    box-shadow: 0 14px 28px rgba(23, 32, 42, .10);
  }
  .category-explorer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: var(--green);
    background: var(--soft);
  }
  .category-explorer-card:nth-child(3n + 2) .category-explorer-icon { color: var(--blue); background: #edf2fb; }
  .category-explorer-card:nth-child(3n) .category-explorer-icon { color: var(--amber); background: #fff6e5; }
  .category-explorer-card b { display: block; font-size: 18px; line-height: 1.2; }
  .category-explorer-card span:not(.category-explorer-icon) { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.45; }
  .category-explorer-card small { display: block; margin-top: 9px; color: var(--green); font-weight: 800; }
  h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: 0;
  }
  h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: 0; }
  h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; letter-spacing: 0; }
  .eyebrow {
    display: inline-flex;
    margin: 0 0 12px;
    color: var(--green);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .08em;
  }
  .lead {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 19px;
  }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.compact-actions { margin-top: 10px; }
.compact-actions .button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}
.section-actions {
  padding-bottom: 30px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 7px;
    padding: 10px 16px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    gap: 8px;
  }
  .button.secondary {
    background: var(--soft);
    color: var(--green);
    border: 1px solid #c9ddda;
  }
  .phone {
    position: relative;
    justify-self: center;
    width: min(100%, 310px);
    /* Show the native Simulator capture at its exact, uncropped dimensions. */
    background: transparent;
  }
.phone img,
.phone video {
  display: block;
  width: 100%;
  height: auto;
}
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 0 38px;
}
.screenshot-gallery figure {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(23, 32, 42, .08);
}
.screenshot-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.screenshot-gallery figcaption {
  padding: 12px 4px 4px;
  color: #344255;
  font-weight: 750;
}
.desktop-panel {
  border-radius: 14px;
  border-width: 8px;
  aspect-ratio: 16 / 10;
  width: min(100%, 380px);
}
.desktop-preview {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  color: #e8f4f2;
  background: linear-gradient(135deg, #17202a, #244b59);
}
.desktop-preview .icon {
  width: 48px;
  height: 48px;
  color: #9ad6cd;
}
.desktop-preview strong { font-size: 18px; }
.desktop-preview span { color: #c6d3d8; }
  .band {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 14px;
    padding: 28px 0;
  }
  .card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
  }
  .feature {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }
  .feature-icon,
  .category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--green);
    background: var(--soft);
  }
  .feature-icon { width: 42px; height: 42px; }
  .category-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    color: var(--blue);
    background: #edf2fb;
  }
  .app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 16px;
    padding: 24px 0 42px;
  }
  .catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-top: 22px;
  }
  .catalog-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .catalog-filter {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 12px;
    color: #344255;
    background: var(--paper);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }
  .catalog-filter:hover { border-color: #8abbb5; background: var(--soft); }
  .catalog-filter[aria-pressed="true"] { color: #fff; border-color: var(--green); background: var(--green); }
  .catalog-result-count { margin: 0; color: var(--muted); font-size: 14px; font-weight: 750; white-space: nowrap; }
  .catalog-card[hidden] { display: none; }
  .catalog-empty {
    margin: 4px 0 28px;
    padding: 18px;
    border: 1px dashed #aeb9c5;
    border-radius: 10px;
    color: var(--muted);
    background: #fbfcfd;
  }
  .category-label {
    display: inline-flex;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--blue);
    background: #edf2fb;
    font-size: 12px;
    font-weight: 800;
  }
  .app-card {
    display: grid;
    grid-template-columns: clamp(68px, 18vw, 92px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
  }
  .app-card.priority {
    border-color: #94c8c1;
    box-shadow: 0 10px 26px rgba(20, 108, 99, .10);
  }
  .priority-grid .app-card {
    grid-template-columns: clamp(82px, 20vw, 116px) minmax(0, 1fr);
    align-items: start;
  }
  .app-copy { min-width: 0; }
  .app-title-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
  }
  .app-title-row h3 { margin: 0; }
  .badge-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 2px 9px;
    background: #fff5df;
    color: var(--amber);
    border: 1px solid #efd49d;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }
  .thumb {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: #eef2f5;
  }
  .catalog-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    padding: 0;
    border-radius: 14px;
    transition: transform .16s ease, box-shadow .16s ease;
  }
  .catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(23, 32, 42, .11);
  }
  .catalog-shot-link {
    display: block;
    align-self: center;
    width: min(100%, 200px);
    margin-top: 14px;
    background: transparent;
  }
  .catalog-card .thumb {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .catalog-card .app-copy { padding: 14px 16px 16px; }
  .catalog-card h3 { margin: 8px 0 6px; font-size: 19px; line-height: 1.25; }
  .catalog-summary {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #344255;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .catalog-meta { margin: 10px 0 0; color: var(--muted); font-size: 13px; font-weight: 750; }
  .catalog-card .category-label { margin-top: 0; }
  .meta, .small { color: var(--muted); }
  .small { font-size: 14px; }
  .metric-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0;
  }
  .metric {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 8px 10px;
    background: #fbfcfd;
    min-width: 116px;
    color: var(--muted);
  }
  .metric .icon { color: var(--green); }
  .metric b { display: block; font-size: 18px; line-height: 1.15; color: var(--ink); }
  .checklist { padding-left: 20px; }
  .checklist li { margin: 6px 0; }
  .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 28px;
  }
  .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    padding: 18px 0 42px;
  }
  .article-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
  }
  .article-link .icon {
    margin-top: 3px;
    color: var(--rose);
  }
  .article-body {
    max-width: 820px;
    padding-top: 36px;
    padding-bottom: 44px;
  }
  .article-body h1 {
    font-size: 40px;
    line-height: 1.12;
  }
  .article-body p {
    color: #253243;
  }
  .comparison-wrap {
    overflow-x: auto;
    margin: 20px 0 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
  }
  .comparison-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
  }
  .comparison-table th { background: var(--soft); }
  .comparison-table tr:last-child td { border-bottom: 0; }
  .notice {
    margin: 20px 0;
    padding: 16px;
    border-left: 4px solid var(--amber);
    border-radius: 6px;
    background: #fff8e8;
  }
  .closing-cta {
    margin-top: 34px;
    margin-bottom: 18px;
    padding: clamp(22px, 5vw, 38px);
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #0f5e57, #244b79);
  }
  .closing-cta h2 { color: #fff; }
  .closing-cta p { color: #dcebea; }
  .closing-cta .button { background: #fff; color: #0f5e57; }
  .app-store-badge {
    display: inline-flex;
    width: 180px;
    min-height: 40px;
  }
  .app-store-badge img { display: block; width: 100%; height: auto; }
  footer {
    color: var(--muted);
    padding-top: 26px;
    padding-bottom: 40px;
  }
  @media (max-width: 820px) {
    nav {
      align-items: stretch;
      flex-direction: column;
      padding-top: 12px;
      padding-bottom: 12px;
      gap: 10px;
    }
    .nav-links {
      flex-wrap: nowrap;
      justify-content: flex-start;
      overflow-x: auto;
      padding-bottom: 2px;
      scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a { flex: 0 0 auto; }
    .hero, .discovery-hero { grid-template-columns: 1fr; }
    .hero, .discovery-hero { padding-top: 30px; }
    .discovery-feature { grid-template-columns: minmax(0, 1fr) 160px; }
    .category-explorer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .phone { width: min(76vw, 300px); }
    .screenshot-gallery {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 24px;
    }
    .screenshot-gallery figure {
      flex: 0 0 min(82vw, 310px);
      scroll-snap-align: start;
    }
  }
  @media (max-width: 560px) {
    nav, main, footer { padding-left: 16px; padding-right: 16px; }
    .brand { white-space: normal; }
    .lead { font-size: 17px; }
    .actions { display: grid; grid-template-columns: 1fr; }
    .button { width: 100%; }
    .catalog-toolbar { grid-template-columns: 1fr; gap: 10px; }
    .catalog-filter-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .catalog-filter-list::-webkit-scrollbar { display: none; }
    .catalog-filter { flex: 0 0 auto; }
    .app-card:not(.catalog-card) {
      grid-template-columns: 64px minmax(0, 1fr);
      gap: 12px;
      align-items: start;
      padding: 12px;
    }
    .priority-grid .app-card { grid-template-columns: 74px minmax(0, 1fr); }
    .app-card p { margin: 8px 0; }
    .app-grid { grid-template-columns: 1fr; gap: 14px; padding: 18px 0 30px; }
    .catalog-shot-link { width: min(100%, 152px); }
    .catalog-card .app-copy { padding: 13px 14px 14px; }
    .catalog-card h3 { font-size: 18px; }
    .catalog-summary { line-height: 1.45; }
    .discovery-feature { grid-template-columns: 1fr; }
    .discovery-feature .phone { width: min(54vw, 160px); margin-top: 2px; }
    .category-explorer { gap: 10px; padding-top: 16px; }
    .category-explorer-card { grid-template-columns: 38px minmax(0, 1fr); min-height: 122px; gap: 9px; padding: 13px; }
    .category-explorer-icon { width: 38px; height: 38px; border-radius: 11px; }
    .category-explorer-card b { font-size: 16px; }
    .category-explorer-card span:not(.category-explorer-icon) { font-size: 12px; }
    .category-explorer-card small { margin-top: 6px; font-size: 12px; }
    .app-store-badge { width: min(100%, 180px); }
    .app-title-row {
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr);
      align-items: flex-start;
      gap: 8px;
    }
    .app-title-row .category-icon { grid-column: 1; grid-row: 1; }
    .app-title-row h3 { grid-column: 2; grid-row: 1; }
    .app-title-row .badge-row {
      grid-column: 2;
      grid-row: 2;
      margin: 0;
    }
    .category-icon { width: 28px; height: 28px; }
    .metric-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .metric { width: 100%; min-width: 0; }
    .feature { grid-template-columns: 36px minmax(0, 1fr); }
    .feature-icon { width: 36px; height: 36px; }
    .article-body h1 { font-size: 32px; }
  }
