:root {
  --bg: #1e2428;
  --surface: rgba(37, 46, 51, 0.78);
  --surface-strong: #252e33;
  --surface-soft: rgba(32, 40, 45, 0.88);
  --border: rgba(167, 180, 188, 0.16);
  --text: #ffffff;
  --text-secondary: #a7b4bc;
  --accent: #21808d;
  --accent-strong: #19616b;
  --accent-soft: rgba(33, 128, 141, 0.16);
  --shadow: 0 30px 80px rgba(10, 16, 20, 0.45);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(33, 128, 141, 0.24), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(226, 149, 120, 0.18), transparent 24%),
    linear-gradient(180deg, #11181c 0%, var(--bg) 48%, #141b1f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

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

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  background: rgba(20, 27, 31, 0.7);
  box-shadow: var(--shadow);
}

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

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-copy span,
.site-nav a,
.hero-text,
.panel-card p,
.feature-card p,
.workflow-step p,
.site-footer p {
  color: var(--text-secondary);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 0.96rem;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 32px;
  padding: 88px 0 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: #8fd4de;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 56ch;
  margin-top: 22px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 40px rgba(33, 128, 141, 0.32);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8fd4de, var(--accent));
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.hero-panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(20, 27, 31, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -24% 38%;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 128, 141, 0.34), transparent 72%);
  pointer-events: none;
}

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

.panel-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: var(--surface-soft);
}

.panel-card-primary {
  margin-bottom: 16px;
  min-height: 220px;
  align-content: end;
  background:
    linear-gradient(145deg, rgba(33, 128, 141, 0.22), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.panel-kicker,
.panel-number,
.workflow-step span {
  color: #8fd4de;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 40px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-grid,
.workflow-steps {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.workflow-step {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.workflow {
  padding-bottom: 24px;
}

.workflow-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-step {
  display: grid;
  gap: 14px;
}

.app-download {
  padding-top: 16px;
}

.download-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(143, 212, 222, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(33, 128, 141, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(20, 27, 31, 0.86);
  box-shadow: var(--shadow);
}

.download-heading {
  display: grid;
  gap: 14px;
}

.download-heading h2 {
  max-width: 11ch;
}

.download-text {
  max-width: 56ch;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.download-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-note {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(143, 212, 222, 0.18);
  border-radius: 999px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

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

.download-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.download-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 212, 222, 0.16), transparent 68%);
  pointer-events: none;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 212, 222, 0.38);
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.download-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.download-card-title {
  display: grid;
  gap: 6px;
}

.download-card strong {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.download-card-text {
  max-width: 28ch;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.download-card-ios {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(33, 128, 141, 0.08)),
    var(--surface-strong);
}

.download-card-android {
  background:
    linear-gradient(160deg, rgba(33, 128, 141, 0.22), rgba(255, 255, 255, 0.03)),
    var(--surface-strong);
}

.download-platform {
  color: #8fd4de;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.download-card-cta {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.download-cta-label {
  font-size: 1rem;
  font-weight: 700;
}

.download-cta-meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer {
  margin-top: 36px;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  align-items: flex-end;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 10px;
  font-size: 0.96rem;
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .workflow-steps,
  .download-shell,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  h1,
  h2 {
    max-width: none;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 12px;
  }

  .site-header {
    position: static;
    padding: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

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

  .feature-card,
  .workflow-step,
  .panel-card {
    border-radius: 20px;
  }

  .hero-panel {
    border-radius: 26px;
    padding: 16px;
  }

  .button {
    width: 100%;
  }

  .download-shell {
    padding: 18px;
    border-radius: 26px;
  }

  .download-card {
    min-height: 0;
    padding: 22px;
  }

  .download-card-head {
    align-items: flex-start;
  }
}
