/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

:root {
  --bg: #0f172a;
  --bg-elev: #1e293b;
  --border: #334155;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --danger: #ef4444;
  --success: #22c55e;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
}

/* Construction banner */
.construction-banner {
  background: #facc15;
  color: #0f172a;
  text-align: center;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* Header */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.site-header .brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav.primary a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.25s ease;
}

nav.primary a:hover,
nav.primary a.active {
  color: #fff;
}

/* Main */
main {
  flex: 1;
}

/* Hero */
.hero {
  padding: 100px 8% 90px;
  text-align: center;
  background: radial-gradient(circle at top, #1e293b, #0f172a 70%);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.secondary:hover {
  background: var(--bg-elev);
}

/* Sections */
.section {
  padding: 80px 8%;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-size: 30px;
  margin-bottom: 16px;
  font-weight: 700;
}

.section .lead {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 720px;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-elev);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

/* Privacy / long-form content */
.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 8%;
}

.prose h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.prose .updated {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 14px;
}

.prose h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 22px;
  color: #fff;
}

.prose p {
  color: #cbd5e1;
  margin-bottom: 14px;
}

.prose a {
  color: var(--accent);
}

/* Contact form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 760px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

.contact-info p {
  color: #cbd5e1;
  margin-bottom: 14px;
}

.contact-info a {
  color: var(--accent);
}

form.contact-form {
  background: var(--bg-elev);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #0f172a;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field .error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 6px;
  min-height: 16px;
}

.form-status {
  font-size: 14px;
  min-height: 18px;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

/* Footer */
footer.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 8%;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 720px) {
  footer.site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .social-links {
    justify-content: center;
  }
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elev);
  color: #cbd5e1;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  border: 1px solid var(--border);
}

.social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
