:root {
  color-scheme: light;
  --paper: #f4efe7;
  --paper-soft: #fbf8f2;
  --ink: #171717;
  --muted: #6d665d;
  --line: rgba(23, 23, 23, 0.13);
  --teal: #075f5b;
  --teal-deep: #063f3d;
  --amber: #c9832d;
  --violet: #786b93;
  --shadow: 0 24px 70px rgba(22, 20, 17, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body::selection {
  background: rgba(7, 95, 91, 0.2);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  color: var(--paper-soft);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(244, 239, 231, 0.91);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-cta,
.button,
.pilot-panel,
.signal-list article,
.agent-card,
.workflow-steps article {
  border-radius: 8px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  background:
    radial-gradient(circle at 35% 35%, var(--amber) 0 12%, transparent 13%),
    radial-gradient(circle at 65% 66%, var(--violet) 0 13%, transparent 14%),
    linear-gradient(135deg, var(--teal), var(--teal-deep));
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.nav-links {
  justify-self: center;
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(16, 16, 16, 0.18);
}

.site-header[data-elevated="true"] .nav-links {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.nav-links a {
  min-width: 82px;
  padding: 9px 13px;
  color: inherit;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header[data-elevated="true"] .nav-links a:hover {
  background: rgba(7, 95, 91, 0.08);
}

.header-cta {
  justify-self: end;
  padding: 10px 14px;
  color: var(--paper-soft);
  background: rgba(7, 95, 91, 0.9);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 34px rgba(7, 95, 91, 0.25);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 124px clamp(18px, 5vw, 72px) 70px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: #201d1a;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.03);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.8) 0%, rgba(12, 12, 12, 0.52) 37%, rgba(12, 12, 12, 0.1) 78%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.44), rgba(12, 12, 12, 0.03) 34%, rgba(244, 239, 231, 0.2) 100%);
}

.hero-content {
  width: min(690px, 100%);
  color: var(--paper-soft);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 100%;
  font-size: clamp(3.9rem, 11vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.hero-copy {
  max-width: 650px;
  color: rgba(251, 248, 242, 0.86);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  color: var(--paper-soft);
  background: var(--teal);
  box-shadow: 0 18px 40px rgba(7, 95, 91, 0.34);
}

.button-secondary {
  color: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.pilot-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 42px;
  width: min(390px, calc(100% - 36px));
  padding: 18px;
  color: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(16, 16, 16, 0.34);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.pilot-panel div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: rgba(251, 248, 242, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pilot-panel strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.35;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #68d89b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(104, 216, 155, 0.16);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.split,
.agent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
}

.split > div:first-child p,
.agent-grid > div:first-child p {
  max-width: 620px;
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-list article,
.workflow-steps article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.signal-list span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.agent-section {
  color: var(--paper-soft);
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 131, 45, 0.2), transparent 32%),
    linear-gradient(135deg, #171717, #233331 58%, #302c35);
}

.agent-section p {
  color: rgba(251, 248, 242, 0.72);
}

.agent-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(251, 248, 242, 0.08);
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
  color: rgba(251, 248, 242, 0.7);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.agent-card h3 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.agent-card ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.agent-card li {
  position: relative;
  padding-left: 22px;
  color: rgba(251, 248, 242, 0.78);
  line-height: 1.55;
}

.agent-card li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--amber);
  border-radius: 50%;
}

.workflow-section h2 {
  max-width: 880px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: rgba(251, 248, 242, 0.72);
  background: #171717;
}

.site-footer span {
  color: var(--paper-soft);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 110px;
    align-items: start;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.3)),
      linear-gradient(180deg, rgba(12, 12, 12, 0.46), rgba(12, 12, 12, 0.1) 64%, rgba(244, 239, 231, 0.24));
  }

  .pilot-panel {
    left: 18px;
    right: 18px;
    bottom: 24px;
    width: auto;
  }

  .split,
  .agent-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-cta {
    padding: 9px 11px;
    font-size: 0.82rem;
  }

  .brand {
    font-size: 0.98rem;
  }

  .hero {
    min-height: 94vh;
    padding-bottom: 230px;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 4.6rem);
    line-height: 0.98;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    flex-direction: column;
  }
}
