
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #0f172a;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --border-soft: #f1f5f9;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.06);
  --shadow-blue: 0 16px 40px rgba(37, 99, 235, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}



body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.blur {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.07);
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

.blur-a {
  top: -260px;
  left: -160px;
}

.blur-b {
  right: -180px;
  bottom: -280px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-blue);
}

.brand-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1;
}

.brand-name {
  margin-top: 3px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 550;
}

.nav a {
  transition: color 180ms ease;
}

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

.hero {
  padding: 86px 0 72px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 650;
}

.hero h1 {
  max-width: 940px;
  margin: 28px auto 0;
  font-size: clamp(46px, 8vw, 86px);
  line-height:  1.3;;
  letter-spacing: -0.07em;
  font-weight: 850;
}

.hero h1 span {
  color: var(--primary);
}

.hero-copy {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.search-card {
  max-width: 760px;
  margin: 44px auto 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.input,
.textarea {
  width: 100%;
  margin-top:3px;
  margin-bottom:20px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  border-radius: var(--radius-md);
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.input {
  height: 56px;
  padding: 0 18px;
}

.textarea {
  min-height: 170px;
  resize: vertical;
  padding: 16px 18px;
  line-height: 1.6;
}

.input:focus,
.textarea:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}

.input::placeholder,
.textarea::placeholder {
  color: #94a3b8;
}

.primary-button {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 20px;
  color: white;
  background: var(--primary);
  font-weight: 750;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.18);
}

.primary-button:active {
  transform: translateY(0);
}

.checkbox-row {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.checkbox-row input {
  margin-top: 4px;
  accent-color: var(--primary);
}

.inline-link {
  color: var(--primary);
  font-weight: 600;
}

.inline-link:hover {
  text-decoration: underline;
}

.plan-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.plan-tag {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--light);
  border: 1px solid var(--border-soft);
}

.plan-tag.blue {
  color: var(--primary);
  background: #eff6ff;
  border-color: #dbeafe;
}

.features {
  padding: 20px 0 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: white;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
  transition: box-shadow 180ms ease, transform 180ms ease, border 180ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: #dbeafe;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #eff6ff;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  margin-top: 70px;
  padding: 36px 0;
  background: white;
  border-top: 1px solid #e2e8f0;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer a {
  color: var(--muted);
  transition: color 160ms ease;
}

.footer a:hover {
  color: var(--text);
}

.legal-hero,
.contact-hero {
  padding: 72px 0 42px;
}

.page-title {
  margin: 24px 0 0;
  font-size: clamp(38px, 7vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 850;
}

.page-subtitle {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.contact-card,
.legal-card {
  max-width: 820px;
  margin: 0 auto 86px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.contact-card {
  max-width: 720px;
}

.form-stack {
  display: grid;
  gap: 18px;
}

.legal-content {
  color: #475569;
  line-height: 1.8;
}

.legal-content h2 {
  margin: 44px 0 12px;
  font-size: 24px;
  color: var(--text);
  letter-spacing: -0.03em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-note {
  padding: 18px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  border-radius: 22px;
  color: #1e40af;
  line-height: 1.65;
}

.success-message {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #047857;
  font-size: 14px;
  line-height: 1.5;
}

.success-message.show {
  display: block;
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header {
    height: auto;
    padding: 20px 0;
    align-items: flex-start;
    gap: 18px;
  }

  .nav {
    gap: 16px;
    font-size: 13px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding: 54px 0 56px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .search-card {
    border-radius: 28px;
    padding: 18px;
  }

  .form-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .features {
    padding-bottom: 60px;
  }

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

  .legal-hero,
  .contact-hero {
    padding-top: 48px;
  }

  .contact-card,
  .legal-card {
    padding: 22px;
    border-radius: 28px;
  }
}

@media (max-width: 520px) {
  .header {
    flex-direction: column;
  }

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

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .hero h1 {
    font-size: 46px;
  }
}

.story-section {
  padding: 10px 0 90px;
}

.story-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #dbeafe;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05);
  text-align: center;
}

.story-quote {
  margin: 0;
  color: #334155;
  font-size: 20px;
  font-style: italic;
  line-height: 1.9;
  letter-spacing: -0.01em;
}

.story-author {
  margin-top: 28px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
