:root {
  --bg: #101820;
  --bg-raised: #17222c;
  --line: #26343f;
  --sky: #38BDF8;
  --white: #FFFFFF;
  --muted: #9fb0bf;
  --error: #f87171;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  font-weight: 900;
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
}
.brand span { color: var(--sky); }
.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-left: 20px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--sky); }

main { flex: 1; }

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 48px;
}
.hero img {
  width: min(100%, 420px);
  height: auto;
}
.tagline {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.15;
  margin: 32px 0 16px;
  text-transform: uppercase;
}
.tagline span { color: var(--sky); }
.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--sky);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn:hover, .btn:focus-visible { background: var(--sky); color: var(--bg); }
.btn.primary { background: var(--sky); color: var(--bg); }
.btn.primary:hover { background: var(--white); border-color: var(--white); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 36px 0 0;
}

/* Sections */
.section {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.section h2 {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin: 0 0 12px;
}
.section h2 span { color: var(--sky); }
.section p { color: var(--muted); margin: 0 0 16px; }

/* Contact form */
.form { display: grid; gap: 18px; margin-top: 24px; }
.form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--white);
  font: inherit;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--sky);
  outline-offset: 1px;
  border-color: transparent;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5em; margin: 0; font-weight: 700; }
.status.ok { color: var(--sky); }
.status.err { color: var(--error); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-footer a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.site-footer a:hover { color: var(--sky); }
