:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --text: #17202b;
  --muted: #5e6978;
  --border: #d9e0e8;
  --accent: #0f5bd7;
  --accent-ink: #ffffff;
  --blue-soft: #e9f3ff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 16%, rgba(15, 91, 215, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(15, 91, 215, 0.05), transparent 34%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.page {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.narrow {
  width: min(760px, calc(100% - 32px));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  min-height: min(760px, calc(100vh - 56px));
  padding: 24px 0 34px;
}

.hero-copy {
  padding-right: 8px;
}

.product-shot {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0;
}

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

h1 {
  margin: 0;
  font-size: clamp(3rem, 6.8vw, 5.7rem);
  line-height: 0.92;
  max-width: 9.3ch;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.lede {
  max-width: 48ch;
  margin: 24px 0 0;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: var(--panel);
}

.button.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.grid article,
.copy {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.grid p,
.copy p,
.copy li {
  color: var(--muted);
  line-height: 1.6;
}

.backlink {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.copy h2 {
  margin-top: 22px;
}

.copy ul {
  margin: 12px 0 0 20px;
  padding: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.brand-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 91, 215, 0.18);
}

.brand-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.device-shell {
  width: min(100%, 318px);
  padding: 10px;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(16, 29, 44, 0.18);
  transform: rotate(1.2deg);
}

.device-shell img {
  display: block;
  width: 100%;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: #fff;
}

.shot-caption {
  position: absolute;
  right: -18px;
  bottom: 54px;
  display: grid;
  gap: 2px;
  min-width: 158px;
  padding: 13px 15px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(16, 29, 44, 0.14);
}

.shot-caption span {
  color: var(--muted);
  font-size: 0.78rem;
}

.shot-caption strong {
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 34px;
  }

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

  .page {
    padding-top: 40px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .product-shot {
    justify-items: start;
  }

  .device-shell {
    width: min(76vw, 300px);
    transform: none;
  }

  .shot-caption {
    right: max(0px, calc(100% - 360px));
    bottom: 28px;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 28px, 420px);
  }

  h1 {
    font-size: 3.4rem;
    max-width: 9ch;
  }

  .actions {
    align-items: stretch;
  }

  .button {
    flex: 1 1 145px;
  }

  .device-shell {
    width: min(78vw, 285px);
  }

  .shot-caption {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -28px;
    justify-self: end;
  }
}
