/* ─── CSS VARIABLES ─── */
:root {
  --canvas:        #0F1C24;
  --surface:       #1E3748;
  --surface-hover: #284B63;
  --brand:         #559DA1;
  --brand-light:   #7FB6BA;
  --brand-dark:    #468288;
  --brand-faint:   #224042;
  --text-primary:  #F4F8FB;
  --text-secondary:#D0E1EC;
  --text-tertiary: #A5C5DA;
  --text-muted:    #75A6C7;
  --border-light:  #1E3748;
  --border-warm:   #284B63;
  --serif: Charter, Georgia, Palatino, "Times New Roman", serif;
  --mono:  "JetBrains Mono", "Fira Code", monospace;
}

/* ─── BASE ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--brand-dark); }

/* ─── LAYOUT ─── */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 48px 80px;
}

/* ─── HERO ─── */
.hero { margin-bottom: 48px; text-align: center; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.tagline {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-tertiary);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── FORM ─── */
section { margin-bottom: 80px; }

.form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
}

.form-wrapper iframe {
  min-height: 600px;
}

/* ─── FOOTER ─── */
.footer {
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}

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

.wm-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

/* ─── SCROLL REVEAL ─── */
.animated {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .page { padding: 40px 24px 64px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
