:root {
  --bg-950: #050a14;
  --bg-900: #081120;
  --bg-850: #0d192b;
  --panel: rgba(12, 22, 38, 0.84);
  --panel-strong: rgba(14, 26, 45, 0.94);
  --text: #e7eefc;
  --muted: #a6b7d4;
  --line: rgba(96, 143, 197, 0.35);
  --line-strong: rgba(120, 169, 225, 0.5);
  --accent: #2ea8ff;
  --accent-strong: #0f8ce6;
  --accent-soft: rgba(46, 168, 255, 0.2);
  --gold-soft: rgba(188, 149, 84, 0.24);
  --radius: 18px;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: radial-gradient(circle at 20% -10%, #17345f 0%, rgba(23, 52, 95, 0) 35%),
    radial-gradient(circle at 92% 18%, rgba(188, 149, 84, 0.2) 0%, rgba(188, 149, 84, 0) 28%),
    linear-gradient(180deg, var(--bg-900) 0%, var(--bg-950) 68%);
  font-family: "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

.network-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(circle at 15% 30%, rgba(46, 168, 255, 0.17) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 78%, rgba(188, 149, 84, 0.14) 0 1px, transparent 1px),
    linear-gradient(120deg, rgba(84, 128, 175, 0.12) 1px, transparent 1px),
    linear-gradient(40deg, rgba(84, 128, 175, 0.08) 1px, transparent 1px);
  background-size: 210px 210px, 230px 230px, 120px 120px, 90px 90px;
  opacity: 0.55;
  animation: networkDrift 34s linear infinite;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -44px;
  z-index: 100;
  background: #ffffff;
  color: #00132b;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

.container {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.section {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: rgba(4, 9, 18, 0.78);
  border-bottom: 1px solid rgba(90, 136, 186, 0.25);
}

body.nav-open {
  overflow: hidden;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
}

.hero {
  padding-top: clamp(3.4rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.25rem);
  align-items: start;
}

.eyebrow {
  margin: 0;
  color: #8ec7ff;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}

.lead {
  margin-top: 1rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn {
  min-height: 44px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid #9dd7ff;
  outline-offset: 2px;
}

.btn-primary {
  color: #ffffff;
  border-color: rgba(56, 158, 236, 0.6);
  background: linear-gradient(120deg, var(--accent-strong) 0%, #1c74c2 100%);
  box-shadow: 0 14px 30px rgba(14, 123, 207, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(14, 123, 207, 0.45);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(8, 21, 38, 0.7);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(174, 203, 236, 0.62);
}

.btn-block {
  width: 100%;
}

.microcopy {
  margin-top: 1rem;
  color: #d5ddf0;
  font-size: 0.9rem;
}

.block > * + * {
  margin-top: 1rem;
}

.panel {
  background: linear-gradient(180deg, rgba(21, 37, 61, 0.76) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 2vw, 1.45rem);
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.top-gap {
  margin-top: 1.4rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

ul li + li {
  margin-top: 0.42rem;
}

.signup-form,
.contact-form {
  display: grid;
  gap: 0.66rem;
}

label {
  color: #d4e1f6;
  font-size: 0.88rem;
  font-weight: 520;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(126, 165, 212, 0.4);
  border-radius: 12px;
  background: rgba(6, 15, 28, 0.82);
  color: var(--text);
  font: inherit;
  padding: 0.66rem 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
textarea:focus {
  border-color: #94cfff;
  box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.18);
  outline: none;
}

.checkbox {
  margin-top: 0.32rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.58rem;
  align-items: start;
  font-weight: 450;
}

.checkbox input {
  margin-top: 0.16rem;
  width: 1.05rem;
  height: 1.05rem;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 1.25em;
  font-size: 0.88rem;
  color: #9fd2ff;
}

.form-status.error {
  color: #ffb4b4;
}

.problem-list {
  display: grid;
  gap: 0.3rem;
}

.problem-impact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.problem-impact p {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.52rem 0.7rem;
}

.closing {
  color: #d8e7ff;
  font-weight: 540;
}

.service-card,
.use-case {
  background: rgba(9, 20, 35, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.use-case {
  position: relative;
  overflow: hidden;
}

.use-case::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(46, 168, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.process-grid .process-card {
  background: linear-gradient(180deg, rgba(15, 30, 52, 0.95) 0%, rgba(9, 19, 33, 0.95) 100%);
}

.step {
  color: #9ad2ff;
  font-weight: 650;
  margin-bottom: 0.55rem;
}

.bullet-list {
  display: grid;
  gap: 0.2rem;
}

.playbook-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
  border-color: rgba(188, 149, 84, 0.34);
  background: linear-gradient(180deg, rgba(24, 35, 50, 0.9) 0%, rgba(12, 21, 35, 0.92) 100%);
}

.playbook-copy {
  display: grid;
  gap: 0.8rem;
}

.list-title {
  color: #ceddf4;
  font-weight: 560;
}

.privacy,
.muted-text {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-block {
  max-width: 72ch;
}

.about-focus {
  color: #c5e6ff;
  font-weight: 620;
}

.final-cta .container {
  border: 1px solid rgba(118, 162, 214, 0.4);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem);
  background: linear-gradient(110deg, rgba(18, 34, 58, 0.96) 0%, rgba(12, 22, 40, 0.96) 56%, rgba(38, 33, 24, 0.86) 100%);
}

.calendly-shell {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 660px;
  background: rgba(8, 15, 26, 0.8);
}

.calendly-shell iframe {
  width: 100%;
  min-height: 660px;
  border: 0;
  display: block;
}

.contact-shell {
  max-width: 760px;
}

.site-footer {
  border-top: 1px solid rgba(113, 156, 204, 0.24);
  padding: 2rem 0;
}

.footer-shell {
  display: grid;
  gap: 0.7rem;
  color: #adc0df;
  font-size: 0.9rem;
}

@keyframes networkDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-90px, 45px, 0);
  }
}

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

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 66px;
  }

  .nav-shell {
    min-height: var(--header-h);
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: calc(0.8rem + env(safe-area-inset-top)) 1.1rem calc(1rem + env(safe-area-inset-bottom));
    border-bottom: 1px solid rgba(102, 144, 193, 0.34);
    background: rgba(4, 10, 19, 0.96);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(114, 154, 201, 0.2);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 40px;
    min-width: 64px;
  }

  .problem-impact,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .calendly-shell,
  .calendly-shell iframe {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 1.2rem));
  }

  .section {
    padding: 2.25rem 0;
  }

  .hero {
    padding-top: 2.2rem;
  }

  h1 {
    font-size: clamp(1.75rem, 11vw, 2.35rem);
    max-width: 100%;
  }

  h2 {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }

  .hero-actions {
    gap: 0.55rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .site-nav a {
    min-height: 44px;
  }

  .panel,
  .service-card,
  .use-case,
  .final-cta .container {
    padding: 0.95rem;
    border-radius: 14px;
  }

  .network-bg {
    opacity: 0.42;
    background-size: 180px 180px, 180px 180px, 90px 90px, 70px 70px;
  }

  .calendly-shell,
  .calendly-shell iframe {
    min-height: 560px;
  }

  .footer-shell {
    text-align: center;
  }
}

@media (max-width: 460px) {
  .container {
    width: calc(100% - 1rem);
  }

  .eyebrow {
    letter-spacing: 0.08em;
    font-size: 0.7rem;
  }

  .brand {
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    max-width: 72vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lead,
  .muted-text,
  .privacy {
    font-size: 0.92rem;
  }

  .btn {
    font-size: 0.92rem;
    padding: 0.68rem 1rem;
  }

  input,
  textarea,
  button {
    font-size: 16px;
  }

  .calendly-shell,
  .calendly-shell iframe {
    min-height: 520px;
  }

  .checkbox {
    gap: 0.5rem;
  }

  .problem-list,
  .playbook-copy,
  .footer-shell {
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 375px) {
  .container {
    width: calc(100% - 0.8rem);
  }

  .section {
    padding: 1.95rem 0;
  }

  .panel,
  .service-card,
  .use-case,
  .final-cta .container {
    padding: 0.82rem;
  }

  h1 {
    font-size: 1.68rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.18rem;
  }

  .lead,
  .microcopy,
  .muted-text,
  .privacy {
    font-size: 0.9rem;
  }

  .calendly-shell,
  .calendly-shell iframe {
    min-height: 500px;
  }
}

@media (max-width: 340px) {
  .brand {
    max-width: 66vw;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.64rem 0.9rem;
  }

  .site-nav {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
