:root {
  --primary: #0b3c61;
  --accent: #1f8ac0;
  --bg: #f5f7fa;
  --text: #1f2933;
  --muted: #6b7280;
  --border: #d1d5db;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.page {
  max-width: 520px;
  margin: 2.5rem auto;
  padding: 1.5rem;
}

header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.brand {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 0.35rem;
}

h1 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--primary);
}

.plan-selected {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* FORM CARD */

.form-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 138, 192, 0.25);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

/* BUTTON */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1f8ac0, #0b3c61);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

/* BACK LINK */

.back-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* =========================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 780px) {

  /* Global spacing */
  body {
    padding: 0;
  }

  .shell,
  .page {
    padding: 1rem;
  }

  /* Header */
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  /* Hero layout */
  .hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem 0;
  }

  .hero-card {
    order: -1; /* Move card above text on mobile */
  }

  /* Plans grid */
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .plan-card {
    padding: 1.25rem;
  }

  /* Steps layout */
  .steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Contact panel */
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Extra-small screens */
@media (max-width: 480px) {

  .hero-title {
    font-size: 1.8rem;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    font-size: 0.8rem;
  }
}