:root {
  --bg: #f5f5f3;
  --card: #ffffff;
  --ink: #171717;
  --muted: #666666;
  --soft: #efefec;
  --line: #dfdfda;
  --red: #ef3f37;
  --amber: #d99018;
  --blue: #2873cf;
  --green: #138a48;
  --shadow: 0 16px 40px rgba(23, 23, 23, 0.08);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.page {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
  padding: 28px 0 34px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 19%, transparent 20%),
    radial-gradient(circle at 50% 50%, var(--red) 0 50%, transparent 51%),
    #181818;
  box-shadow: 0 8px 18px rgba(23, 23, 23, 0.16);
}

nav {
  display: flex;
  gap: 18px;
  font-size: 0.94rem;
  font-weight: 720;
}

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

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

.intro {
  max-width: 680px;
  padding: 22px 0 30px;
}

.home-intro {
  max-width: 760px;
}

.intro.compact {
  max-width: 720px;
  padding-bottom: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 7vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.42rem;
  line-height: 1.15;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.intro p {
  font-size: 1.08rem;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.section-heading {
  max-width: 700px;
  padding: 44px 0 20px;
}

.section-heading h2 {
  max-width: 620px;
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.04;
}

.section-heading.compact-heading {
  padding: 0 0 18px;
}

.compact-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.value-grid,
.story-grid {
  display: grid;
  gap: 18px;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 8px 0 18px;
}

.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.app-list {
  display: grid;
  gap: 18px;
}

.app-card,
.mini-card,
.info-card,
.policy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.app-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 26px;
  padding: 28px;
}

.app-copy {
  min-width: 0;
}

.app-copy h2 a {
  color: var(--ink);
  text-decoration: none;
}

.app-copy h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.app-icon-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.app-icon {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.18);
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.app-meta span,
.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
}

.app-meta .status-live {
  color: #0f6b3a;
  background: #dcf8e9;
  box-shadow: inset 0 0 0 1px rgba(29, 155, 86, 0.14);
}

.app-meta .status-approved {
  color: #365ac8;
  background: #e7ecff;
  box-shadow: inset 0 0 0 1px rgba(91, 124, 255, 0.18);
}

.app-meta.single {
  display: block;
  margin-bottom: 6px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
  color: #3f3f3f;
  font-size: 0.88rem;
  font-weight: 650;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
}

.app-store-button {
  min-height: 44px;
  padding: 0 13px 0 17px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
}

.app-store-button svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.button:hover {
  background: #000000;
}

.app-store-button:hover {
  transform: translateY(-1px);
}

.text-link {
  color: var(--red);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 780;
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
}

.product-hero {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 34px 0 42px;
}

.product-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 22px 42px rgba(23, 23, 23, 0.18);
}

.product-hero h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 5vw, 4rem);
}

.product-hero p {
  max-width: 720px;
  font-size: 1.08rem;
}

.screenshot-section {
  padding: 22px 0 10px;
}

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

.screenshot-strip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #ececea;
  box-shadow: 0 18px 38px rgba(23, 23, 23, 0.12);
}

.product-note {
  margin-top: 30px;
}

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

.card-grid.two {
  margin-top: 8px;
}

.mini-card,
.info-card {
  padding: 22px;
}

.mini-card {
  display: flex;
  gap: 16px;
}

.mini-card p:last-child,
.info-card p:last-child,
.policy-card p:last-child {
  margin-bottom: 0;
}

.future-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #181818;
  position: relative;
  box-shadow: 0 12px 24px rgba(23, 23, 23, 0.14);
}

.future-icon::before,
.future-icon::after {
  content: "";
  position: absolute;
}

.future-icon.notes::before {
  inset: 15px 16px;
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
}

.future-icon.notes::after {
  left: 16px;
  right: 16px;
  top: 26px;
  height: 3px;
  background: var(--amber);
}

.future-icon.scan::before {
  inset: 15px;
  border: 3px solid var(--blue);
  border-radius: 7px;
}

.future-icon.scan::after {
  left: 16px;
  right: 16px;
  top: 26px;
  height: 3px;
  background: var(--blue);
}

.policy-card {
  padding: 30px;
}

.policy-card h2 {
  margin-top: 30px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 960px);
    padding-top: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 28px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .app-card,
  .card-grid,
  .story-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 16px;
  }

  .product-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .screenshot-strip {
    grid-template-columns: 1fr;
  }

  .app-card {
    gap: 18px;
    padding: 22px;
  }

  .app-icon-wrap {
    justify-content: flex-start;
  }

  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
