*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary: #111827;
  --accent: #f97316;
  --accent-soft: #fff7ed;
  --bg: #f3f4f6;
  --text: #111827;
  --muted: #6b7280;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--bg);
}

.section-accent {
  background: var(--accent-soft);
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
}

.nav-link:hover {
  color: var(--primary);
  background: #f3f4f6;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.4);
  transform: translateY(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.45);
  background: #ea580c;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid #d1d5db;
  box-shadow: none;
}

.btn-outline:hover {
  background: #f9fafb;
  box-shadow: none;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
  margin-top:20px;
}

/* Hero */

.hero {
  padding: 64px 0 52px;
  background: radial-gradient(circle at top left, #eff6ff, #ffffff);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-small {
  padding: 48px 0 32px;
  background: #f9fafb;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.hero h2 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero p {
  max-width: 520px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* Cards / Lists */

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.stats-card h3 {
  margin-top: 0;
}

.stats-card ul {
  padding-left: 18px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.list {
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.list li + li {
  margin-top: 4px;
}

/* Steps */

.steps {
  margin: 24px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.steps li {
  margin-bottom: 4px;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Forms */

.simple-form {
  background: #ffffff;
  padding: 22px 20px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
}

.simple-form h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.simple-form p {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.form-row label {
  font-size: 0.86rem;
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  font-family: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid #bfdbfe;
  border-color: #60a5fa;
}

/* Misc */

.cta-inline {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-inline p {
  margin: 0;
  color: var(--muted);
}

.info-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px dashed #e5e7eb;
  background: #f9fafb;
}

/* Footer */

.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 32px;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 4px;
}

.footer-links a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-social a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 20px;
  padding: 12px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Legal pages */

.legal-text h2 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.legal-text p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner,
  .two-column,
  .footer-inner,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 16px 10px;
    border-bottom: 1px solid #e5e7eb;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 8px 10px;
  }

  .hero {
    padding-top: 48px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
