@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===============================
   BRAND SYSTEM
================================ */
:root {
  --primary: #2563EB;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --border: #E5E7EB;
}

/* ===============================
   RESET
================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
}

/* ===============================
   LAYOUT CONTROL
================================ */
section {
  margin: 0;              /* 🔴 removes stacked gaps */
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;     /* 🔽 reduced */
}

.section-soft {
  background: var(--bg-soft);
}

/* ===============================
   HEADER
================================ */
header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
}

/* ===============================
   TYPOGRAPHY
================================ */
h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 700;
}

h2 {
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 600;
}

p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 8px;        /* 🔽 tighter */
}

/* ===============================
   BUTTON
================================ */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 10px;       /* 🔽 controlled */
}

/* ===============================
   HERO (FIXED)
================================ */
.hero {
  padding: 48px 24px 36px; /* 🔽 bottom gap fixed */
}

/* ===============================
   GRID / CARDS
================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.card p {
  font-size: 14px;
  margin: 0;
}

/* ===============================
   EARLY ACCESS (FIXED CENTERING)
================================ */
.early {
  text-align: center;
}

.early h2,
.early p,
.early .btn {
  margin-left: auto;
  margin-right: auto;
  display: block;         /* 🔴 forces true center */
}

.early .btn {
  width: fit-content;
}

/* ===============================
   FOOTER
================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 20px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2 { font-size: 21px; }
  .container { padding: 32px 18px; }
  .hero { padding: 36px 18px 28px; }
}

/* ===============================
   FORM STYLES
================================ */
.early-form {
  max-width: 520px;
  margin: 24px auto 0;
  text-align: left;
}

.early-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-main);
}

.early-form input,
.early-form select,
.early-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
}

.early-form textarea {
  resize: vertical;
}

.early-form button {
  margin-top: 16px;
}

