﻿:root {
  color-scheme: dark;
  --bg: #0c1116;
  --bg-soft: #111920;
  --panel: #172028;
  --panel-2: #f5f0e8;
  --text: #f7f7f2;
  --muted: #aeb8bc;
  --ink: #101820;
  --accent: #38d0bd;
  --accent-2: #d2a85e;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  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;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(12, 17, 22, 0.74);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  background: rgba(12, 17, 22, 0.92);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(56, 208, 189, 0.45);
  background: linear-gradient(135deg, rgba(56, 208, 189, 0.2), rgba(210, 168, 94, 0.16));
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(56, 208, 189, 0.45);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 112px clamp(18px, 5vw, 76px) 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 17, 22, 0.96) 0%, rgba(12, 17, 22, 0.8) 36%, rgba(12, 17, 22, 0.34) 72%, rgba(12, 17, 22, 0.78) 100%),
    linear-gradient(0deg, rgba(12, 17, 22, 1) 0%, rgba(12, 17, 22, 0.12) 36%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.hero-copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
}

.hero-actions,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #06211e;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 52px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics div {
  padding: 22px;
  background: rgba(12, 17, 22, 0.56);
}

.hero-metrics dt {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: 34px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0f171d;
}

.trust-strip span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-weight: 700;
}

.trust-strip span:last-child {
  border-right: 0;
}

.premium-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 76px) 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.premium-band div {
  display: grid;
  gap: 12px;
  min-height: 168px;
  padding: clamp(20px, 3vw, 30px);
  background: #10181e;
}

.premium-band span {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-band strong {
  align-self: end;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.28;
}

.section {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 5vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
}

.intro p:last-child,
.section-head p,
.split-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

.service-card {
  min-height: 310px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 208, 189, 0.42);
}

.card-index {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--accent-2);
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.industries {
  background: #0f171d;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry {
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(56, 208, 189, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.industry p {
  color: var(--muted);
}

.automation-map {
  background: #ffffff;
  color: var(--ink);
}

.automation-map .eyebrow {
  color: #007d72;
}

.automation-map .section-head p {
  color: #5a666d;
}

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

.automation-item {
  min-height: 330px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 70px rgba(16, 24, 32, 0.08);
}

.automation-item span {
  color: #007d72;
  font-weight: 900;
}

.automation-item p {
  color: #5a666d;
}

.automation-item strong {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 24, 32, 0.1);
  color: var(--ink);
  line-height: 1.35;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  background: var(--panel-2);
  color: var(--ink);
}

.split .eyebrow {
  color: #007d72;
}

.split-copy {
  align-self: center;
}

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.tab {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  background: var(--ink);
  color: #ffffff;
}

.process-panel {
  min-height: 410px;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 80px rgba(16, 24, 32, 0.16);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel p,
.tab-panel li {
  color: #51606a;
}

.tab-panel ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.tab-panel li {
  padding: 14px 16px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  background: #f6f8f7;
  font-weight: 750;
}

.calculator {
  background: #0f171d;
}

.calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 16px;
}

.calc-form,
.calc-result,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.calc-form {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 38px);
}

.calc-form label,
.contact-form label {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.calc-form output {
  color: var(--accent);
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.calc-result {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px);
}

.calc-result span {
  color: var(--muted);
  font-weight: 800;
}

.calc-result strong {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 1;
}

.calc-result p {
  color: var(--muted);
}

.outcomes {
  background: #ffffff;
  color: var(--ink);
}

.outcomes .eyebrow {
  color: #007d72;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16, 24, 32, 0.12);
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.outcome {
  display: grid;
  gap: 18px;
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  background: #ffffff;
}

.outcome strong {
  font-size: 1.45rem;
}

.outcome span {
  color: #59656d;
}

.governance {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 88px);
}

.governance-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.governance-list {
  display: grid;
  gap: 10px;
}

.governance-list div {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.governance-list span {
  color: var(--muted);
}

.knowledge {
  background: #0f171d;
}

.knowledge-grid,
.article-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.article-card {
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.038));
  color: var(--text);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 208, 189, 0.45);
}

.article-card.large {
  grid-column: span 2;
}

.article-card span {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-card p {
  color: var(--muted);
}

.article-hub,
.article-page {
  padding-top: 96px;
}

.article-hero {
  min-height: 58svh;
  display: grid;
  align-content: end;
  padding: clamp(82px, 12vw, 150px) clamp(18px, 5vw, 76px) clamp(54px, 8vw, 96px);
  background:
    linear-gradient(90deg, rgba(12, 17, 22, 0.94), rgba(12, 17, 22, 0.72)),
    url("assets/automia-hero-v2.png") center / cover;
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(2.7rem, 7vw, 6rem);
}

.article-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.article-layout {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 118px) 0;
}

.article-layout h1 {
  font-size: clamp(2.55rem, 6vw, 5.4rem);
}

.article-layout h2 {
  margin-top: 54px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.article-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.article-layout p,
.article-layout li {
  color: var(--muted);
  font-size: 1.08rem;
}

.article-layout ul,
.article-layout ol {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

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

.comparison-table div {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.comparison-table span {
  color: var(--muted);
}

.article-cta {
  display: grid;
  gap: 14px;
  margin-top: 56px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(56, 208, 189, 0.35);
  border-radius: 8px;
  background: rgba(56, 208, 189, 0.09);
}

.article-cta strong {
  font-size: 1.35rem;
}

.static-nav {
  display: flex;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

summary {
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  background: #111920;
}

.linkedin-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 850;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
}

.form-embed {
  display: grid;
  gap: 16px;
  min-height: 720px;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.form-embed iframe {
  width: 100%;
  min-height: 650px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form option {
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: #ffffff;
}

.footer p {
  margin: 8px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 74px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(12, 17, 22, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px;
  }

  .intro,
  .split,
  .calc-shell,
  .contact,
  .governance {
    grid-template-columns: 1fr;
  }

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

  .outcome-list,
  .premium-band,
  .industry-grid,
  .automation-grid,
  .knowledge-grid,
  .article-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 94svh;
    padding-top: 98px;
    padding-bottom: 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 17, 22, 0.97) 0%, rgba(12, 17, 22, 0.82) 68%, rgba(12, 17, 22, 0.66) 100%),
      linear-gradient(0deg, rgba(12, 17, 22, 1) 0%, rgba(12, 17, 22, 0.18) 38%);
  }

  .hero-metrics,
  .trust-strip,
  .service-grid,
  .outcome-list,
  .premium-band,
  .industry-grid,
  .automation-grid,
  .knowledge-grid,
  .article-index,
  .comparison-table {
    grid-template-columns: 1fr;
  }

  .form-embed,
  .form-embed iframe {
    min-height: 720px;
  }

  .article-card.large {
    grid-column: auto;
  }

  .hero-metrics div {
    padding: 18px;
  }

  .trust-strip span {
    min-height: 56px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card {
    min-height: auto;
  }

  .scroll-cue {
    display: none;
  }

  .footer {
    flex-direction: column;
  }
}

