@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f7faff;
  --soft: #eef5ff;
  --card: rgba(255, 255, 255, 0.94);
  --border: rgba(7, 25, 53, 0.08);
  --text: #071935;
  --muted: #546177;
  --red: #ef3336;
  --red-soft: #fff0f0;
  --blue: #0b74df;
  --blue-soft: #eef7ff;
  --green: #20aa45;
  --green-soft: #effbf3;
  --purple: #9b4de3;
  --purple-soft: #f7efff;
  --shadow: 0 24px 70px rgba(15, 42, 76, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(220, 236, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f6faff 42%, #f4f8ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(18px);
}

.brand,
.nav-actions,
.cta-row,
.trust-band {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
}

.brand img {
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 42, 76, 0.12);
}

.nav-actions {
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.nav-actions a {
  min-height: 40px;
  padding: 11px 12px;
  border-radius: 8px;
}

.nav-actions a:hover {
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
}

.nav-actions .app-link {
  color: #fff;
  background: linear-gradient(135deg, #246bfe, #159a8c);
  box-shadow: 0 12px 28px rgba(36, 107, 254, 0.22);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 128px);
  margin: 0 auto;
  padding: 32px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(54px, 10vw, 104px);
  line-height: 0.95;
  font-weight: 800;
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.cta-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, #246bfe, #159a8c);
  box-shadow: 0 16px 36px rgba(36, 107, 254, 0.24);
}

.secondary-action {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(15, 42, 76, 0.07);
}

.phone-shell {
  width: min(100%, 430px);
  min-height: 740px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(7, 25, 53, 0.08);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-status {
  height: 34px;
  padding: 4px 18px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
}

.phone-status span:last-child {
  width: 76px;
  height: 16px;
  border-radius: 999px;
  background: #071935;
}

.app-screen {
  min-height: 674px;
  padding: 16px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(220, 236, 255, 0.8), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f6faff 42%, #f4f8ff 100%);
}

.screen-header,
.card-title,
.task-row,
.trust-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.screen-header strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.screen-header span,
.card-title small,
.metric span,
.metric small,
.task-row small,
.insight-card p {
  color: var(--muted);
}

.screen-header span,
.task-row small {
  font-size: 12px;
  font-weight: 700;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--red), var(--blue));
}

.summary-card,
.insight-card,
.task-card {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(15, 42, 76, 0.08);
}

.card-title {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
}

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

.metric {
  min-height: 112px;
  padding: 12px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric.red { background: linear-gradient(145deg, #fff1f1, #fff8f8); }
.metric.blue { background: linear-gradient(145deg, #eff8ff, #fbfdff); }
.metric.green { background: linear-gradient(145deg, #f0fbf3, #fbfffc); }
.metric.purple { background: linear-gradient(145deg, #f8f0ff, #fefbff); }

.metric strong {
  font-size: 25px;
  line-height: 1;
}

.metric span,
.metric small {
  font-size: 11px;
  font-weight: 800;
}

.insight-card {
  display: flex;
  gap: 12px;
}

.insight-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #246bfe, #159a8c);
  font-size: 12px;
  font-weight: 800;
}

.insight-card strong,
.task-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.insight-card p {
  font-size: 12px;
  line-height: 1.4;
}

.task-row {
  min-height: 54px;
  padding: 12px 0;
  border-top: 1px solid rgba(7, 25, 53, 0.06);
}

.task-icon,
.feature-icon {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--red-soft);
}

.task-icon {
  width: 34px;
  height: 34px;
}

.task-icon.blue {
  background: var(--blue-soft);
}

.check {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 7px solid var(--blue);
}

.check.empty {
  border: 2px solid rgba(7, 25, 53, 0.18);
}

.feature-band,
.trust-band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  max-width: 760px;
}

h2 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.03;
  font-weight: 800;
}

.feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(15, 42, 76, 0.08);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
}

.feature-icon.red { background: var(--red-soft); }
.feature-icon.blue { background: var(--blue-soft); }
.feature-icon.green { background: var(--green-soft); }
.feature-icon.purple { background: var(--purple-soft); }

h3 {
  font-size: 18px;
  line-height: 1.2;
}

.feature-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.trust-band {
  margin-bottom: 34px;
  border-top: 1px solid var(--border);
}

.trust-band div {
  max-width: 680px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 28px;
    grid-template-columns: 1fr;
  }

  .phone-shell {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .brand span {
    font-size: 17px;
  }

  .nav-actions a:not(.app-link) {
    display: none;
  }

  .hero {
    width: min(100% - 24px, 1120px);
    padding: 18px 0 48px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .lead {
    font-size: 17px;
  }

  .cta-row a {
    width: 100%;
  }

  .phone-shell {
    padding: 10px;
    border-radius: 28px;
  }

  .app-screen {
    min-height: 520px;
    padding: 12px;
  }

  .metric {
    min-height: 104px;
  }

  .metric strong {
    font-size: 22px;
  }

  .feature-band,
  .trust-band {
    width: min(100% - 24px, 1120px);
    padding: 52px 0;
  }

  .feature-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    max-height: 430px;
    overflow: hidden;
  }

  .summary-card {
    margin-top: 12px;
  }

  .insight-card,
  .task-card {
    margin-top: 12px;
  }

  .feature-grid article {
    min-height: 0;
  }

  .trust-band {
    align-items: stretch;
    flex-direction: column;
  }
}
