:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --ink: #17201d;
  --muted: #5d6864;
  --line: #dfe6e2;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --coral: #d96b4f;
  --gold: #b58b2b;
  --shadow: 0 20px 60px rgba(18, 30, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(9, 17, 15, 0.74), rgba(9, 17, 15, 0));
}

.brand,
.nav-links,
.footer-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.nav-links {
  gap: 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a:hover,
.footer-links a:hover {
  color: #fff;
}

.header-action {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 130px clamp(20px, 5vw, 76px) 72px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 18, 16, 0.92) 0%, rgba(8, 18, 16, 0.72) 42%, rgba(8, 18, 16, 0.18) 100%),
    url("assets/hero-workspace.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18vh;
  background: linear-gradient(180deg, rgba(246, 248, 247, 0), var(--bg));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.workflow-layout h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 78px);
}

.hero-copy {
  width: min(670px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: rgba(13, 28, 25, 0.52);
}

.hero-panel strong {
  font-size: 14px;
}

.hero-panel span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.signal {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
}

.signal.active {
  background: #47c295;
}

.signal.warn {
  background: var(--coral);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.primary {
  background: var(--teal);
  color: #fff;
}

.primary:hover {
  background: var(--teal-dark);
}

.secondary {
  border-color: rgba(255, 255, 255, 0.44);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 40px));
  margin: -34px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 122px;
  padding: 24px;
  background: var(--surface);
}

.metric strong {
  display: block;
  color: var(--teal-dark);
  font-size: 34px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section,
.band,
.contact-section {
  padding: 92px clamp(20px, 5vw, 76px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.workflow-layout h2,
.contact-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.section-heading p:not(.eyebrow),
.workflow-layout p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card-icon {
  display: inline-flex;
  min-width: 42px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e9f3f1;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
}

.feature-card h3,
.security-list h3,
.steps h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.feature-card p,
.security-list p,
.steps p,
.use-case-grid p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
  padding-top: 0;
}

.use-case-grid {
  display: grid;
  gap: 14px;
}

.use-case-grid article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.use-case-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.band {
  background: #16211e;
  color: #fff;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.workflow-layout p {
  color: rgba(255, 255, 255, 0.76);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #111;
  font-weight: 850;
}

.steps h3 {
  margin-top: 0;
}

.security-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.security-list div {
  min-height: 220px;
  padding: 26px;
  background: #fff;
}

.implementation {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 76px);
  padding: 78px clamp(20px, 5vw, 76px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.implementation-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.implementation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.implementation-grid div {
  display: grid;
  min-height: 128px;
  align-content: space-between;
  gap: 20px;
  padding: 22px;
  background: #f9fbfa;
}

.implementation-grid strong {
  color: var(--coral);
  font-size: 13px;
}

.implementation-grid span {
  color: #26312e;
  font-size: 18px;
  font-weight: 750;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
  background: #eef3f0;
}

.contact-note {
  display: grid;
  gap: 4px;
  width: min(390px, 100%);
  margin-top: 32px;
  padding: 20px;
  border-left: 4px solid var(--coral);
  background: #fff;
}

.contact-note span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #2e3835;
  font-size: 14px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd8d4;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfcfb;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.76);
  background: #101816;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #fff;
}

.footer-links {
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 20px 80px;
  background: var(--bg);
}

.legal-page a {
  color: var(--teal);
  font-weight: 800;
}

.legal-page h1 {
  margin: 34px 0 16px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
}

.legal-page h2 {
  margin: 34px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .feature-grid,
  .security-list,
  .workflow-layout,
  .contact-section,
  .split-section,
  .implementation {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 160px;
    white-space: normal;
    line-height: 1.15;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 112px 18px 58px;
    background:
      linear-gradient(180deg, rgba(8, 18, 16, 0.88) 0%, rgba(8, 18, 16, 0.74) 68%, rgba(8, 18, 16, 0.5) 100%),
      url("assets/hero-workspace.png") center / cover no-repeat;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

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

  .section,
  .band,
  .contact-section {
    padding: 68px 18px;
  }

  .security-list {
    grid-template-columns: 1fr;
  }

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

  .steps li {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

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