:root {
  color-scheme: dark;
  --bg: #07100f;
  --panel: #0d1917;
  --panel-2: #10221f;
  --text: #f3fbf9;
  --muted: #a9bbb7;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #5bd6ff;
  --emerald: #52f0a8;
  --amber: #f5b84b;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(7, 16, 15, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(82, 240, 168, 0.95), rgba(91, 214, 255, 0.95)),
    #0f201e;
  box-shadow: 0 0 24px rgba(82, 240, 168, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 84svh;
  padding: 104px 28px 52px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-droprescue.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 15, 0.98) 0%, rgba(7, 16, 15, 0.85) 38%, rgba(7, 16, 15, 0.2) 78%),
    linear-gradient(0deg, rgba(7, 16, 15, 0.78) 0%, rgba(7, 16, 15, 0.04) 45%);
}

.hero-content {
  position: relative;
  width: min(640px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 68px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 22px 0 0;
  color: #d6e5e2;
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  cursor: pointer;
}

.button.primary {
  color: #06100e;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
}

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

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 16, 15, 0.58);
  color: #dcebe8;
  font-size: 13px;
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-band div {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 18px;
  background: #091412;
  color: #d7e6e3;
  text-align: center;
  font-size: 14px;
  font-weight: 680;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 18px rgba(82, 240, 168, 0.74);
}

.workspace,
.security {
  padding: 74px 28px;
}

.section-heading,
.intake,
.security-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading h2 {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

.intake {
  display: grid;
  grid-template-columns: 1fr 1fr 220px auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(16, 34, 31, 0.9), rgba(10, 21, 19, 0.94));
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

input,
select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #07110f;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(91, 214, 255, 0.14);
}

.form-button {
  height: 46px;
  border: 0;
}

.form-result {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-result.ok {
  color: var(--emerald);
}

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

.security {
  background: #081210;
  border-top: 1px solid var(--line);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.security-grid article {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.security-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.security-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .intake,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .status-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 58px;
    padding: 0 16px;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 80svh;
    padding: 86px 18px 38px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 16, 15, 0.98), rgba(7, 16, 15, 0.64)),
      linear-gradient(0deg, rgba(7, 16, 15, 0.84), rgba(7, 16, 15, 0.18));
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .workspace,
  .security {
    padding: 54px 18px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .intake {
    padding: 14px;
  }

  .footer {
    flex-direction: column;
    padding: 22px 18px;
  }
}
