:root {
  --ink: #243127;
  --muted: #687064;
  --olive: #46583a;
  --sage: #8e9d82;
  --stone: #f1eadf;
  --cream: #fbf8f2;
  --line: rgba(36, 49, 39, 0.14);
  --shadow: 0 22px 60px rgba(32, 38, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 248, 242, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 31, 25, 0.55), rgba(24, 31, 25, 0.08) 58%),
    linear-gradient(0deg, rgba(24, 31, 25, 0.62), rgba(24, 31, 25, 0) 58%);
}

.hero-content {
  max-width: 760px;
  padding: 132px clamp(22px, 6vw, 78px) 82px;
  color: white;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow:empty,
.section-label:empty {
  display: none;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

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

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

.button.primary {
  color: white;
  background: var(--olive);
  box-shadow: 0 14px 34px rgba(45, 58, 39, 0.22);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
}

section:not(.hero) {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--stone);
}

.band p:last-child,
.copy-block p,
.applications-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.mini-grid div,
.steps article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.mini-grid div {
  padding: 18px;
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid strong {
  margin-bottom: 8px;
  color: var(--olive);
}

.mini-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.device-card {
  min-height: 460px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 36px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(142, 157, 130, 0.25), transparent 35%),
    linear-gradient(140deg, #e9dfd1, #faf7ef);
  box-shadow: var(--shadow);
}

.device-photo {
  display: block;
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(36, 49, 39, 0.18));
}

.device-card p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

.process {
  background: #fffaf1;
}

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

.steps article {
  min-height: 240px;
  padding: 28px;
}

.steps span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--sage);
  font-weight: 900;
}

.steps p {
  color: var(--muted);
  line-height: 1.55;
}

.applications {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.use-list span {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--olive);
  background: white;
  font-weight: 750;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 84px);
  background: var(--ink);
  color: white;
}

.contact .section-label {
  color: #b6c4a9;
}

.contact p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel {
  padding: 22px;
  color: var(--ink);
  background: #fffaf1;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.form-field {
  display: grid;
  gap: 4px;
}

.form-wide,
.lead-form .button,
.lead-form small {
  grid-column: 1 / -1;
}

.form-field span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.honeypot {
  display: none !important;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid rgba(36, 49, 39, 0.2);
  border-radius: 5px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.form-field textarea {
  min-height: 62px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(70, 88, 58, 0.3);
  border-color: var(--olive);
}

.file-field input {
  padding: 9px;
  font-size: 13px;
}

.lead-form .button {
  width: 100%;
  min-height: 44px;
  margin-top: 1px;
}

.lead-form small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.editor-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  width: min(420px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: white;
  background: rgba(22, 29, 23, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.editor-bar strong,
.editor-bar small {
  display: block;
}

.editor-bar strong {
  margin-bottom: 4px;
}

.editor-bar small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.editor-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.editor-actions button:first-child {
  background: var(--olive);
}

.is-editing [data-edit] {
  outline: 2px dashed rgba(70, 88, 58, 0.55);
  outline-offset: 4px;
  border-radius: 4px;
  cursor: text;
}

.is-editing [data-edit]:focus {
  outline-color: #9dff54;
  background: rgba(255, 255, 255, 0.18);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #161d17;
}

footer span:first-child {
  color: white;
  font-weight: 900;
  letter-spacing: 0.08em;
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 48% center;
  }

  .hero-content {
    padding-top: 108px;
  }

  .band,
  .split,
  .applications,
  .contact,
  .mini-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 46px;
  }

  .device-card {
    min-height: 360px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 700px;
  }

  h1 {
    font-size: 39px;
  }

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

  .lead-form {
    grid-template-columns: 1fr;
  }

  .editor-actions button {
    flex: 1 1 100%;
  }
}
