:root {
  --sky-top: #f8fcff;
  --sky-bottom: #d8ebff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --panel-soft: rgba(232, 243, 255, 0.86);
  --line: rgba(123, 167, 214, 0.32);
  --text: #28476c;
  --muted: #6381a3;
  --primary: #4ea3ff;
  --primary-strong: #2b7fdb;
  --secondary: #7ac8ff;
  --shadow: 0 22px 44px rgba(72, 119, 173, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.95), transparent 26%),
    linear-gradient(180deg, var(--sky-top) 0%, #eaf5ff 34%, var(--sky-bottom) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.85), transparent 18%),
    radial-gradient(circle at 80% 0%, rgba(122, 200, 255, 0.22), transparent 20%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

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

.site-header {
  padding: 10px 0 24px;
}

.brand,
.card-title,
h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  color: #3d6eac;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.site-nav a:hover,
.footer-links a:hover,
.legal-page a:hover,
.contact-section a:hover {
  color: var(--secondary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  padding: 44px 0 28px;
}

.hero-copy,
.hero-card,
.feature-card,
.contact-form,
.legal-page {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy,
.hero-card {
  border-radius: 34px;
}

.hero-copy {
  padding: 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 246, 255, 0.86)),
    var(--panel);
}

.eyebrow,
.feature-kicker,
.card-label {
  margin: 0 0 14px;
  color: var(--primary-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.02;
  color: #2d5687;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hero-text,
.feature-card p,
.contact-section p,
.legal-page p,
.legal-page li,
.site-footer,
label,
input,
textarea {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 62ch;
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #79c4ff 0%, var(--primary) 48%, var(--primary-strong) 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.button-secondary {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(228, 240, 252, 0.88));
  color: #3f6d9f;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(224, 239, 255, 0.88));
}

.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #dcefff);
  border: 1px solid rgba(120, 165, 210, 0.4);
  color: #5d7ea4;
  font-size: 0.85rem;
  font-weight: 800;
}

.phone-frame {
  margin-top: 20px;
  padding: 14px;
  border-radius: 38px;
  background: linear-gradient(180deg, #fcfdff, #cadcf1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 32px rgba(93, 137, 184, 0.22);
}

.phone-screen {
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.92), transparent 26%),
    linear-gradient(180deg, #7fc9ff 0%, #5aaeff 34%, #3e83d4 100%);
}

.signal-bar {
  width: 96px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dff3ff, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-title {
  margin: 8px 0 0;
  font-size: 2rem;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(28, 74, 128, 0.35);
}

.card-list {
  margin: 28px 0 0;
  padding-left: 18px;
  color: #eff7ff;
  line-height: 1.8;
}

.card-label {
  color: rgba(232, 245, 255, 0.9);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 28px;
}

.feature-card {
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(235, 245, 255, 0.84)),
    var(--panel-soft);
}

.feature-card h2,
.section-heading h2,
.legal-page h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: var(--text);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}

.section-heading {
  padding: 10px 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(233, 244, 255, 0.9)),
    var(--panel-soft);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(81, 120, 162, 0.08);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(115, 224, 181, 0.4);
  border-color: rgba(115, 224, 181, 0.4);
}

.form-note {
  min-height: 1.5em;
  margin: 0;
}

.site-footer {
  padding-top: 28px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.legal-body .page-shell {
  max-width: 920px;
}

.legal-page {
  margin-top: 24px;
  padding: 36px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 255, 0.92)),
    var(--panel-strong);
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.05;
}

.legal-updated {
  margin: 16px 0 28px;
}

.legal-page section + section {
  margin-top: 28px;
}

.legal-page ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .hero,
  .features,
  .contact-section {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 16px;
  }

  .hero-copy,
  .hero-card,
  .feature-card,
  .contact-form,
  .legal-page {
    padding: 22px;
    border-radius: 22px;
  }

  .hero {
    padding-top: 22px;
  }

  h1 {
    font-size: clamp(2.3rem, 14vw, 4rem);
  }
}
