/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ─── Tokens ────────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:           #F6F4F1;
  --color-text-primary: #1C1F23;
  --color-text-secondary: #4A4F55;
  --color-accent:       #1F4B6E;
  --color-surface:      #E7E0D6;
  --color-success:      #2E6F57;
  --color-warning:      #A66A2C;
  --color-error:        #A13A3A;

  /* Spacing (8px system) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  /* Layout */
  --max-width: 1200px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Base ──────────────────────────────────────────────────── */
html {
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  background: var(--color-bg);
  color: var(--color-text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ─── Typography ────────────────────────────────────────────── */
h1 {
  font-size: 52px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 125%;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 130%;
}

p {
  font-size: 16px;
  line-height: 150%;
  color: var(--color-text-secondary);
}

small {
  font-size: 14px;
  line-height: 150%;
  color: var(--color-text-secondary);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

/* ─── Layout ────────────────────────────────────────────────── */
main {
  width: 100%;
  max-width: var(--max-width);
  padding: var(--space-12) var(--space-4);
  text-align: center;
}

/* ─── Components ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-accent);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--color-accent);
  cursor: pointer;
  text-decoration: none;
}

.card {
  background: var(--color-surface);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: var(--space-4);
}

input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  height: 44px;
  border: 1px solid #D0D0D0;
  border-radius: 10px;
  padding: 0 var(--space-2);
  background: #ffffff;
  color: var(--color-text-primary);
  outline: none;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  position: fixed;
  bottom: var(--space-3);
  left: 0;
  right: 0;
  text-align: center;
  font-size: 14px;
  line-height: 150%;
  color: var(--color-text-secondary);
}
