:root {
  --ink: #0a1628;
  --ink-soft: #1a2f4a;
  --muted: #6b7c93;
  --paper: #e8eef7;
  --line: rgba(232, 238, 247, 0.14);
  --accent: #3b82f6;
  --accent-deep: #1d4ed8;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #93c5fd;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  width: min(680px, calc(100% - 2.5rem));
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--paper);
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a {
  text-decoration: none;
  color: #c5d0e0;
}

nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 130, 246, 0.28), transparent 55%),
    linear-gradient(160deg, #07101c 0%, #0f2744 48%, #132a4a 100%);
  animation: plane-in 1.1s var(--ease) both;
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 238, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 238, 247, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
  animation: rise 0.9s var(--ease) 0.15s both;
}

.brand-signal {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93c5fd;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #f5f8fc;
}

.lede {
  margin: 0;
  max-width: 36rem;
  font-size: 1.1rem;
  color: #b7c4d8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: rise 0.9s var(--ease) 0.35s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border: 1px solid transparent;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 238, 247, 0.22);
  color: #e8eef7;
}

.about,
.contact {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.about h2,
.contact h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
}

.about p,
.contact p {
  margin: 0;
  color: #b7c4d8;
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-list a {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: #fff;
}

.contact-list a:hover {
  color: #93c5fd;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes plane-in {
  from { opacity: 0.4; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .hero {
    min-height: 78vh;
    padding-top: 3.5rem;
    align-items: center;
  }

  .brand-name {
    font-size: 0.95rem;
  }
}
