:root {
  --ink: #080808;
  --muted: #5f5f66;
  --line: #e7e7ea;
  --paper: #ffffff;
  --white: #ffffff;
  --purple: #7b4ce4;
  --purple-dark: #5d33c9;
  --purple-soft: #f1ecff;
  --black: #080808;
  --shadow: 0 22px 60px rgba(8, 8, 8, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 230, 239, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 52px;
  height: 32px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 20px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.nav a:hover {
  color: var(--purple-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  min-height: calc(92vh - 78px);
  padding: clamp(38px, 5vw, 62px) clamp(20px, 5vw, 72px) clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 72% 24%, rgba(123, 76, 228, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.ipe-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 74% 22%, rgba(123, 76, 228, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.hero-copy,
.section-heading,
.ipe-copy,
.contact-section > div:first-child {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead,
.section p,
.ipe-feature p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.hero-actions,
.ipe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--purple-dark);
  box-shadow: 0 14px 32px rgba(93, 51, 201, 0.24);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero-device {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 335px);
  padding: 14px;
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: 34px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.phone-top {
  width: 86px;
  height: 7px;
  margin: 3px auto 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.app-screen {
  min-height: 500px;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(123, 76, 228, 0.96), rgba(8, 8, 8, 0.9)),
    var(--purple);
}

.screen-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--white);
}

.screen-header span {
  width: max-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.screen-header strong {
  margin-top: 34px;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
}

.metric-card {
  margin: 42px 0 22px;
  padding: 22px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.metric-card span,
.success-header,
dt,
.contact-link span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.14;
}

.module-list {
  display: grid;
  gap: 10px;
}

.module-list span {
  padding: 15px 16px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 750;
  background: rgba(255, 255, 255, 0.18);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.trust-strip article {
  padding: 24px;
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section,
.ipe-feature,
.contact-section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.service-card,
.success-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(16, 24, 39, 0.06);
}

.service-card {
  min-height: 245px;
  padding: 28px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 900;
  background: var(--purple-soft);
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

.ipe-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 440px);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  background: #fbfbfc;
}

.success-card {
  padding: 30px;
}

.success-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.ipe-badge {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 58px;
  border-radius: 8px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  text-transform: none;
  background: var(--purple-dark);
}

.success-card p {
  margin-bottom: 26px;
}

dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

dt,
dd {
  margin: 0;
}

dd {
  margin-top: 5px;
  font-weight: 750;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 460px);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  background: var(--black);
  color: var(--white);
}

.contact-section .eyebrow {
  color: #c8b6ff;
}

.contact-section p {
  color: #c8d1df;
}

.contact-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-link {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
  }

  .hero,
  .ipe-page-hero,
  .ipe-feature,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-device {
    justify-content: flex-start;
  }

  .trust-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 14px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .button {
    width: 100%;
  }

  .phone-shell {
    width: 100%;
  }

  .app-screen {
    min-height: 480px;
  }

  .trust-strip {
    margin-right: 20px;
    margin-left: 20px;
  }
}
