:root {
  --bg: #0d1320;
  --bg-soft: #111b2d;
  --surface: rgba(16, 27, 45, 0.78);
  --surface-strong: rgba(19, 33, 54, 0.94);
  --line: rgba(150, 190, 255, 0.16);
  --text: #eef4ff;
  --muted: #aab8d1;
  --accent: #3bc6a7;
  --accent-strong: #1ea388;
  --accent-soft: rgba(59, 198, 167, 0.16);
  --warning: #ff8f70;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59, 198, 167, 0.18), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(83, 140, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #09111d 0%, #0d1320 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.layout {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
  padding: 40px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #7de7d0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero,
.card,
.stack-item,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: start;
  gap: 28px;
  padding: 40px;
  border-radius: 36px;
}

.hero-copy {
  min-width: 0;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 0;
}

.hero-logo {
  display: block;
  width: min(221px, 100%);
  height: auto;
  margin: 0;
  border-radius: 22px;
}

.hero h1,
.stack-copy h2,
.contact-copy h2,
.card h2 {
  margin: 0;
  line-height: 1;
}

.hero h1 {
  max-width: none;
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 3.9vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.94;
}

.hero h1 span {
  display: block;
}

.hero-titleline {
  display: flex !important;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.hero-title-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.hero-chipline {
  margin-top: 12px;
  color: #7de7d0;
  font-size: 0.62em;
  letter-spacing: -0.015em;
}

.lead,
.card p,
.contact-copy p,
.stack-item span {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #52f0cd);
  color: #08211c;
  box-shadow: 0 16px 34px rgba(59, 198, 167, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-tags li {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 198, 167, 0.18);
  color: #dffcf5;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
}

.card,
.stack-item,
.contact-card {
  border-radius: var(--radius-xl);
}

.card {
  padding: 26px;
}

.card h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.stack {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
  padding-top: 24px;
}

.stack-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.stack-list {
  display: grid;
  gap: 16px;
}

.stack-item {
  padding: 24px;
}

.stack-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 30px;
  margin-top: 24px;
}

.contact-copy a {
  color: #8ef1dc;
}

.form-shell {
  display: grid;
  gap: 14px;
}

.notice {
  padding: 14px 16px;
  border-radius: 16px;
}

.notice-success {
  background: rgba(59, 198, 167, 0.14);
  border: 1px solid rgba(59, 198, 167, 0.2);
  color: #cbfff1;
}

.notice-error {
  background: rgba(255, 143, 112, 0.14);
  border: 1px solid rgba(255, 143, 112, 0.2);
  color: #ffd6ca;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 920px) {
  .grid-section,
  .stack,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-media {
    order: -1;
    justify-content: flex-start;
    padding-top: 0;
  }

  .hero-logo {
    width: min(220px, 68vw);
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .layout {
    width: min(calc(100% - 20px), 1120px);
    padding-top: 20px;
  }

  .hero,
  .card,
  .stack-item,
  .contact-card {
    padding: 22px;
    border-radius: 24px;
  }

  .button {
    width: 100%;
  }

  .hero-titleline {
    gap: 8px;
  }

  .hero-title-logo {
    width: 28px;
    height: 28px;
  }
}
