:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-muted: #edf6fa;
  --navy: #081d36;
  --text: #33485f;
  --muted: #66788e;
  --border: #d4e3ee;
  --accent: #08bfe8;
  --accent-dark: #0877bd;
  --accent-soft: #ddf8ff;
  --accent-glow: rgba(8, 191, 232, 0.2);
  --navy-soft: #e8f0f6;
  --success: #13a978;
  --warning: #d98521;
  --shadow: 0 22px 60px rgba(8, 29, 54, 0.12);
  --shadow-soft: 0 14px 36px rgba(8, 29, 54, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(8, 191, 232, 0.13), rgba(8, 191, 232, 0) 28%),
    linear-gradient(180deg, #fbfdff 0, var(--bg) 520px);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

a:hover {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(8, 191, 232, 0.38);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
  border-bottom: 1px solid rgba(8, 29, 54, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow:
    0 10px 24px rgba(8, 29, 54, 0.16),
    0 0 0 1px rgba(8, 191, 232, 0.14);
}

.header-contact {
  padding: 9px 12px;
  border: 1px solid rgba(8, 191, 232, 0.2);
  border-radius: 8px;
  color: #38566f;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 750;
  white-space: nowrap;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  min-height: 680px;
  padding: 42px 0 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: 5.6rem;
}

h2 {
  margin-bottom: 0;
  font-size: 3.1rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.headline {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 2.2rem;
  font-weight: 750;
  line-height: 1.2;
}

.subtitle {
  max-width: 630px;
  margin-bottom: 32px;
  color: var(--text);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #08c7e7 0%, #0c72c7 100%);
  font-weight: 800;
  box-shadow:
    0 14px 30px rgba(8, 119, 189, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.button-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #06b5dc 0%, #075fa9 100%);
}

.text-link {
  font-weight: 750;
  overflow-wrap: anywhere;
}

.product-preview {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  z-index: 0;
}

.product-preview::before {
  content: "";
  position: absolute;
  inset: -42px -58px 22px -38px;
  z-index: -1;
  border-radius: 48px;
  background:
    radial-gradient(circle at 46% 26%, rgba(8, 191, 232, 0.26), rgba(8, 191, 232, 0) 54%),
    radial-gradient(circle at 78% 76%, rgba(8, 119, 189, 0.18), rgba(8, 119, 189, 0) 54%);
}

.phone-shell {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(8, 191, 232, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, #06172d, #102a46);
  box-shadow:
    var(--shadow),
    0 0 42px rgba(8, 191, 232, 0.14);
}

.phone-top {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
}

.phone-top span {
  width: 76px;
  height: 7px;
  border-radius: 999px;
  background: rgba(8, 191, 232, 0.28);
}

.phone-screen {
  min-height: 520px;
  padding: 22px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(220, 236, 255, 0.65), rgba(255, 255, 255, 0) 38%),
    #ffffff;
}

.hero-phone-screen {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

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

.screenshots-section {
  padding: 0 0 96px;
}

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

.screenshot-card {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(8, 191, 232, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.98)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.screenshot-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.screenshot-card h3 {
  margin: 18px 0 8px;
}

.screenshot-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.screenshot-frame {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(8, 29, 54, 0.14);
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: 0 10px 24px rgba(8, 29, 54, 0.08);
}

.screenshot-button {
  appearance: none;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.screenshot-button:hover .screenshot-image,
.screenshot-button:focus-visible .screenshot-image {
  transform: scale(1.015);
}

.screenshot-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 180ms ease;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(16, 36, 62, 0.82);
}

.lightbox-content {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 760px);
  margin: 0;
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: min(92vw, 560px);
  max-height: 82vh;
  height: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.lightbox-caption {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(8, 191, 232, 0.34);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(8, 29, 54, 0.72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(8, 29, 54, 0.92);
}

.policy-hero {
  padding: 72px 0 42px;
  border-top: 1px solid var(--border);
}

.policy-hero h1 {
  max-width: 820px;
  font-size: 4.2rem;
}

.policy-updated {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 750;
}

.policy-content {
  display: grid;
  gap: 16px;
  padding: 0 0 88px;
}

.policy-card {
  padding: 28px;
  border: 1px solid rgba(8, 191, 232, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.policy-card h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.policy-card p {
  max-width: 820px;
  margin-bottom: 14px;
}

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

.policy-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0;
  padding-left: 20px;
}

.policy-list li {
  padding-left: 4px;
}

.problem-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: 56px;
  align-items: start;
  padding: 88px 0;
  border-top: 1px solid rgba(8, 29, 54, 0.08);
}

.problem-text {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(8, 191, 232, 0.14);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-size: 1.05rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0 0 96px;
  list-style: none;
}

.step-grid li {
  min-height: 164px;
  padding: 22px;
  border: 1px solid rgba(8, 191, 232, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  box-shadow: 0 10px 26px rgba(8, 29, 54, 0.045);
}

.step-grid span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.step-grid h3 {
  margin: 0;
}

.step-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.feature-band {
  padding: 88px 0 96px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  border-top: 1px solid rgba(8, 29, 54, 0.06);
  border-bottom: 1px solid rgba(8, 29, 54, 0.06);
}

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

.feature-grid article {
  position: relative;
  min-height: 158px;
  padding: 22px;
  border: 1px solid rgba(8, 191, 232, 0.13);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(8, 29, 54, 0.055);
}

.feature-grid article::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(8, 191, 232, 0));
}

.feature-grid p {
  margin-bottom: 0;
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 18px;
  padding-bottom: 96px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 12px 16px;
  border: 1px solid rgba(8, 191, 232, 0.16);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.work-card {
  padding: 26px;
  border: 1px solid rgba(8, 191, 232, 0.14);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.work-card p {
  margin-bottom: 0;
}

.testing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
  padding: 46px;
  border: 1px solid rgba(8, 191, 232, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(221, 248, 255, 0.96), rgba(232, 240, 246, 0.86));
  box-shadow: 0 16px 40px rgba(8, 29, 54, 0.06);
}

.testing-section p:last-child {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.contact-section {
  padding: 88px 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(8, 191, 232, 0.22), rgba(8, 191, 232, 0) 36%),
    #081d36;
}

.contact-card {
  color: #dbe8f8;
}

.contact-card h2 {
  color: #ffffff;
}

.contact-card p {
  max-width: 580px;
  margin-bottom: 18px;
}

.contact-email {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: #d8e8ff;
}

.site-footer {
  border-top: 1px solid rgba(8, 191, 232, 0.14);
  background:
    linear-gradient(180deg, #ffffff, #f7fbfd);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 920px) {
  .hero,
  .problem-section,
  .audience-layout,
  .testing-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: 4.2rem;
  }

  .policy-hero h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .headline {
    font-size: 1.85rem;
  }

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

@media (max-width: 640px) {
  .site-header,
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
  }

  .header-contact {
    max-width: 100%;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand {
    gap: 12px;
    font-size: 1.22rem;
  }

  .hero {
    gap: 38px;
    padding: 18px 0 44px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .policy-hero {
    padding: 48px 0 34px;
  }

  .policy-hero h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .headline {
    font-size: 1.45rem;
  }

  .subtitle {
    font-size: 1rem;
  }

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

  .button-primary {
    width: 100%;
  }

  .product-preview {
    width: min(78vw, 300px);
  }

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

  .problem-section,
  .feature-band,
  .contact-section {
    padding: 64px 0;
  }

  .policy-content {
    padding-bottom: 64px;
  }

  .problem-text,
  .testing-section,
  .policy-card {
    padding: 24px;
    border-radius: 8px;
  }

  .step-grid,
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .step-grid {
    padding-bottom: 64px;
  }

  .screenshots-section {
    padding-bottom: 64px;
  }

  .step-grid li,
  .feature-grid article {
    min-height: auto;
  }

  .audience-layout {
    padding-bottom: 64px;
  }

  .pill-list li {
    width: 100%;
    border-radius: 8px;
  }

  .contact-email {
    font-size: 1.35rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-lightbox {
    padding: 18px;
  }

  .lightbox-image {
    max-width: 94vw;
    max-height: 78vh;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}
