
:root {
  --bg: #f5f8ff;
  --bg-2: #edf4ff;
  --card: rgba(255, 255, 255, 0.82);
  --card-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(117, 144, 189, 0.18);
  --line-strong: rgba(117, 144, 189, 0.28);
  --text: #1d3152;
  --muted: #627594;
  --accent: #6f9de6;
  --accent-2: #8ac7c2;
  --accent-3: #f1b4a8;
  --button-text: #173257;
  --shadow: 0 24px 70px rgba(85, 118, 170, 0.16);
  --shadow-soft: 0 10px 30px rgba(112, 144, 194, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 185, 236, 0.28), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(138, 199, 194, 0.18), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, #eff5ff 55%, #f7fbff 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
  opacity: 0.45;
}

.ambient-one {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 200px;
  background: radial-gradient(circle, rgba(143, 185, 236, 0.42) 0%, rgba(143, 185, 236, 0) 70%);
}

.ambient-two {
  width: 360px;
  height: 360px;
  right: -100px;
  top: 120px;
  background: radial-gradient(circle, rgba(138, 199, 194, 0.30) 0%, rgba(138, 199, 194, 0) 70%);
}

.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 8px;
}

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

.brand-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-nav {
  display: inline-flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a { transition: color 0.2s ease; }
.site-nav a:hover { color: var(--text); }

.section {
  padding: 58px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 44px;
  padding-top: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(117, 144, 189, 0.18);
  color: #628ea2;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

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

h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
  max-width: 11ch;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.hero-text {
  max-width: 62ch;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #8bb2f0 0%, #b6cdf7 100%);
  color: var(--button-text);
  box-shadow: 0 16px 34px rgba(118, 158, 225, 0.25);
}

.button-secondary {
  background: rgba(255,255,255,0.72);
  color: var(--text);
  border-color: rgba(117, 144, 189, 0.22);
  box-shadow: var(--shadow-soft);
}

.button-full { width: 100%; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.trust-row span,
.audience-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(117, 144, 189, 0.18);
  color: var(--muted);
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
}

.hero-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.hero-note strong,
.note-stat strong,
.metric-item strong,
.mini-card strong,
.panel-header h3 {
  color: var(--text);
}

.hero-note p { margin-bottom: 0; }

.note-stat {
  min-width: 150px;
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
}

.note-stat span,
.panel-kicker {
  display: block;
  margin-bottom: 8px;
  color: #84aaa3;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual {
  min-width: 0;
}

.visual-stack {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-frame {
  position: relative;
  width: min(100%, 760px);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(117, 144, 189, 0.18);
  box-shadow: 0 40px 90px rgba(96, 130, 180, 0.22);
  transform: perspective(1800px) rotateY(-14deg) rotateX(7deg) rotateZ(-4deg);
  transform-style: preserve-3d;
}

.mockup-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.04));
  pointer-events: none;
}

.mockup-frame img {
  width: 100%;
  height: auto;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(117, 144, 189, 0.2);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.chip-top {
  top: 34px;
  right: 12px;
}

.chip-bottom {
  bottom: 44px;
  left: 12px;
}

.center { text-align: center; }
.narrow { max-width: 820px; margin: 0 auto; }
.section-heading { margin-bottom: 26px; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-card,
.mini-card,
.metrics-panel,
.audience-shell,
.signup-card {
  border-radius: var(--radius-lg);
}

.benefit-card {
  padding: 26px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 24px;
  align-items: start;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.mini-card {
  padding: 22px;
}

.metrics-panel {
  padding: 28px;
  background: var(--card-strong);
}

.metric-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(245, 249, 255, 0.86);
  border: 1px solid rgba(117, 144, 189, 0.14);
}

.metric-item span {
  color: #7a8faf;
  font-size: 0.92rem;
  font-weight: 700;
}

.audience-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
  padding: 30px;
}

.audience-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.signup-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 24px;
  align-items: start;
}

.signup-card {
  padding: 26px;
  background: var(--card-strong);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

label {
  display: block;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border-radius: 14px;
  border: 1px solid rgba(117, 144, 189, 0.2);
  background: rgba(255,255,255,0.88);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: rgba(111, 157, 230, 0.65);
  box-shadow: 0 0 0 4px rgba(111, 157, 230, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 0.94rem;
}

.form-message.success { color: #2f8a66; }
.form-message.error { color: #c35f5f; }
.small-print {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 14px 0 48px;
  color: var(--muted);
}

.site-footer p { margin-bottom: 0; }

@media (max-width: 1100px) {
  .hero,
  .split-section,
  .audience-shell,
  .signup-shell,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    gap: 20px;
  }

  .visual-stack {
    min-height: 460px;
    padding-top: 34px;
  }

  .mockup-frame {
    transform: perspective(1600px) rotateY(-10deg) rotateX(5deg) rotateZ(-3deg);
  }
}

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

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

  .section {
    padding: 44px 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.35rem, 9vw, 4rem);
  }

  .field-grid,
  .mini-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .hero-note {
    flex-direction: column;
  }

  .note-stat {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
    padding-top: 16px;
  }

  .visual-stack {
    min-height: 360px;
  }

  .mockup-frame {
    width: 100%;
    transform: none;
    border-radius: 24px;
  }

  .floating-chip {
    position: static;
    margin-bottom: 10px;
  }

  .visual-stack {
    display: block;
  }
}
