:root {
  --blue: #0065ff;
  --red: #f9213b;
  --black: #1d1d1d;
  --grey: #647076;
  --white: #ffffff;
  --bg: #f4f8ff;
  --line: #dce5f4;
  --link: #0065ff;
  --button: #0065ff;
  --button-text: #ffffff;
  --card-shadow: 0 18px 42px rgba(0, 47, 122, 0.1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 6% -12%, rgba(0, 101, 255, 0.18), rgba(0, 101, 255, 0) 64%),
    radial-gradient(860px 420px at 95% -8%, rgba(249, 33, 59, 0.14), rgba(249, 33, 59, 0) 60%),
    var(--bg);
  color: var(--black);
  font-family: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.68;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 22;
  border-bottom: 1px solid rgba(0, 101, 255, 0.12);
  background: rgba(244, 248, 255, 0.88);
  backdrop-filter: blur(10px);
  overflow: visible;
}

.site-header-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: visible;
}

.brand-link {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0f2c60;
  white-space: nowrap;
}

.brand-link:hover {
  text-decoration: none;
  color: #0a53d1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.nav-link {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 12px;
  color: #33517f;
  font-size: 0.93rem;
  font-weight: 600;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.nav-link:hover {
  text-decoration: none;
  color: #0a53d1;
  background: rgba(0, 101, 255, 0.08);
  border-color: rgba(0, 101, 255, 0.18);
}

.nav-link.is-active {
  color: #0a53d1;
  background: rgba(0, 101, 255, 0.12);
  border-color: rgba(0, 101, 255, 0.24);
}

.site-header-cta {
  margin-left: auto;
  flex: 0 0 auto;
}

.blog-wrap,
.article-wrap {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 62px;
}

.blog-wrap h1,
.article-wrap h1 {
  line-height: 1.2;
  margin: 8px 0 14px;
  font-size: clamp(2rem, 3.3vw, 2.95rem);
}

.blog-lead { color: var(--grey); max-width: 72ch; }

.hero-panel {
  margin-top: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgba(0, 101, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(0, 101, 255, 0.08), rgba(0, 101, 255, 0.015));
}

.post-list { display: grid; gap: 16px; margin-top: 18px; }

.segment-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.segment-chip {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 12px 14px;
}

.segment-chip h3 {
  margin: 0;
  font-size: 1rem;
}

.segment-chip p {
  margin: 6px 0 0;
  color: var(--grey);
  font-size: 0.9rem;
}

.post-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--card-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(0, 101, 255, 0.28);
  box-shadow: 0 22px 48px rgba(0, 47, 122, 0.16);
}

.post-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.post-card p { margin: 6px 0; color: var(--grey); }
.post-card .meta { font-size: 0.9rem; color: #586472; }

.article-wrap article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: clamp(18px, 4vw, 34px);
}

article header img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-top: 14px;
}

.use-case-card {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(0, 101, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(0, 101, 255, 0.08), rgba(0, 101, 255, 0.02));
}

.use-case-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.use-case-card h2 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.app-proof {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(0, 101, 255, 0.04), rgba(0, 101, 255, 0.01));
}

.app-proof p {
  color: var(--grey);
  margin-top: 0;
}

.app-shot {
  display: block;
  width: min(420px, 100%);
  border-radius: 14px;
  border: 1px solid #d3dced;
  box-shadow: 0 16px 30px rgba(0, 30, 84, 0.16);
}

.eyebrow {
  color: var(--red);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin: 0;
}

.meta {
  color: var(--grey);
  margin: 8px 0 0;
}

h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.44rem;
}

h3 { margin-bottom: 4px; }

li + li { margin-top: 8px; }

.cta {
  margin-top: 30px;
  border: 1px solid rgba(0, 101, 255, 0.35);
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(140deg, rgba(0, 101, 255, 0.14), rgba(0, 101, 255, 0.04));
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.store-badge {
  min-width: 216px;
  height: 70px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  border: 1px solid #202020;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  filter: none;
}

.store-badge--compact {
  min-width: 0;
  width: auto;
  min-height: 50px;
  height: auto;
  padding: 7px 11px;
  gap: 9px;
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
  white-space: nowrap;
  overflow: visible;
}

.store-badge--compact .badge-icon {
  width: 26px;
  flex: 0 0 26px;
  font-size: 20px;
  line-height: 1.1;
}

.store-badge--compact .badge-icon.apple {
  font-size: 24px;
  margin-top: 0;
}

.store-badge--compact .badge-text small {
  font-size: 0.62rem;
  line-height: 1.15;
}

.store-badge--compact .badge-text strong {
  font-size: 1.24rem;
  line-height: 1.12;
}

.site-header .store-badge--compact {
  min-height: 54px;
  height: auto;
}

.badge-icon {
  width: 38px;
  flex: 0 0 38px;
  text-align: center;
  font-size: 30px;
  line-height: 1;
}

.badge-icon.apple {
  margin-top: -2px;
  font-size: 34px;
}

.badge-text {
  display: grid;
  gap: 2px;
  align-content: center;
}

.badge-text small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.88;
}

.badge-text strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.site-header .store-badge.store-badge--compact.app-store .badge-text small {
  font-size: 0.62rem;
  line-height: 1.15;
}

.site-header .store-badge.store-badge--compact.app-store .badge-text strong {
  font-size: 1.24rem;
  line-height: 1.12;
}

.disclaimer {
  margin-top: 26px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
  padding: 16px;
}

.disclaimer h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.disclaimer p {
  margin: 8px 0 0;
  color: #4b5563;
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.94rem;
  color: var(--grey);
}

.article-footer {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 38px;
  color: var(--grey);
}

@media (max-width: 760px) {
  .site-header-inner {
    width: calc(100% - 20px);
    min-height: auto;
    padding: 10px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    align-items: center;
  }

  .site-nav {
    grid-column: 1 / -1;
    margin-left: 0;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-link {
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 0.88rem;
  }

  .store-badge--compact {
    min-height: 46px;
    height: auto;
    padding: 6px 9px;
    gap: 8px;
  }

  .site-header .store-badge--compact {
    min-height: 50px;
    height: auto;
  }

  .store-badge--compact .badge-icon {
    width: 22px;
    flex: 0 0 22px;
    font-size: 17px;
  }

  .store-badge--compact .badge-icon.apple {
    font-size: 20px;
  }

  .store-badge--compact .badge-text small {
    font-size: 0.58rem;
  }

  .store-badge--compact .badge-text strong {
    font-size: 1.05rem;
  }

  .site-header .store-badge.store-badge--compact.app-store .badge-text small {
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .site-header .store-badge.store-badge--compact.app-store .badge-text strong {
    font-size: 1.05rem;
    line-height: 1.1;
  }

  .blog-wrap,
  .article-wrap {
    width: calc(100% - 20px);
    padding-top: 22px;
  }

  .article-wrap article {
    border-radius: 18px;
    padding: 16px;
  }

  .post-card {
    border-radius: 14px;
    padding: 16px;
  }
}
