:root {
  --navy: #031728;
  --navy-soft: #08263c;
  --blue: #007fb7;
  --blue-bright: #28b8ef;
  --red: #ef001f;
  --ink: #0b1721;
  --muted: #5e6c76;
  --line: #dbe3e8;
  --paper: #f5f8fa;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; height: 100px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 80px); border-bottom: 1px solid rgba(255,255,255,.18); background: #000; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 166px; height: auto; }
nav { display: flex; gap: 36px; }
nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; font-weight: 600; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--white); }
.menu-button { display: none; color: white; border: 1px solid rgba(255,255,255,.4); background: transparent; padding: 9px 14px; font: inherit; }

.hero { min-height: 760px; height: 100vh; max-height: 940px; position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-image { position: absolute; inset: 0; background: url("assets/automation-hero.png") 58% center/cover no-repeat; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,17,31,.98) 0%, rgba(2,17,31,.86) 31%, rgba(2,17,31,.25) 66%, rgba(2,17,31,.08) 100%), linear-gradient(0deg, rgba(2,17,31,.65), transparent 40%); }
.hero-content { position: relative; z-index: 2; width: min(690px, 80%); margin-left: clamp(24px, 8vw, 130px); padding-top: 70px; }
.eyebrow { margin: 0 0 18px; color: var(--blue-bright); text-transform: uppercase; letter-spacing: .17em; font-size: .76rem; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; max-width: 650px; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.hero-copy { max-width: 590px; margin-bottom: 38px; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 25px; text-decoration: none; font-size: .92rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.text-link { color: white; text-decoration: none; font-weight: 700; }
.text-link span { margin-left: 8px; }
.hero-stat { position: absolute; z-index: 2; right: clamp(24px, 5vw, 80px); bottom: 40px; display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,.62); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.hero-stat i { width: 3px; height: 3px; border-radius: 50%; background: var(--red); }

.section { padding: clamp(80px, 11vw, 150px) clamp(24px, 8vw, 130px); }
.section-label { margin-bottom: 55px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.intro-copy { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 70px; }
h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4.8vw, 4.7rem); line-height: 1.06; letter-spacing: -.05em; font-weight: 600; }
.intro-copy > p, .applications-header > p { max-width: 540px; margin-bottom: 5px; color: var(--muted); font-size: 1.08rem; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.solution-card { min-height: 350px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 28px 34px; border-right: 1px solid var(--line); }
.solution-card:last-child { border-right: 0; }
.feature-card { background: var(--white); border-top: 3px solid var(--red); margin-top: -3px; }
.card-number { color: #9ba9b2; font-size: .72rem; font-weight: 700; }
.card-kicker { margin-bottom: 12px; color: var(--blue); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.solution-card h3 { margin-bottom: 15px; font-size: 1.55rem; line-height: 1.2; }
.solution-card p:last-child { margin-bottom: 0; color: var(--muted); }

.approach { padding-top: 0; padding-bottom: 0; }
.approach-panel { background: var(--navy); color: white; padding: clamp(65px, 8vw, 110px); position: relative; overflow: hidden; }
.approach-panel::after { content: ""; position: absolute; width: 420px; height: 420px; right: -200px; top: -170px; border: 1px solid rgba(40,184,239,.3); border-radius: 50%; box-shadow: 0 0 0 70px rgba(40,184,239,.03), 0 0 0 140px rgba(40,184,239,.025); }
.section-label.light { color: rgba(255,255,255,.48); }
.approach-content { max-width: 850px; }
.approach-content h2 { margin-bottom: 32px; }
.approach-content > p:last-child { max-width: 700px; color: rgba(255,255,255,.65); font-size: 1.08rem; }
.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 70px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.16); }
.principles div { display: grid; gap: 7px; }
.principles strong { font-size: 1.08rem; }
.principles span { color: rgba(255,255,255,.55); font-size: .9rem; }

.applications-header { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; margin-bottom: 65px; }
.application-list { border-top: 1px solid var(--ink); }
.application-list > div { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 35px; align-items: center; padding: 29px 0; border-bottom: 1px solid var(--line); }
.application-list span { color: var(--blue); font-size: .72rem; font-weight: 700; }
.application-list h3, .application-list p { margin-bottom: 0; }
.application-list h3 { font-size: 1.25rem; }
.application-list p { color: var(--muted); }

.closing { margin: 0 clamp(24px, 4vw, 65px); padding: clamp(60px, 8vw, 105px) clamp(30px, 5vw, 80px); background: var(--blue); color: white; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.closing .eyebrow { color: rgba(255,255,255,.65); }
.closing h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
.button-outline { color: white; border: 1px solid rgba(255,255,255,.65); flex: 0 0 auto; }

footer { min-height: 160px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 40px clamp(24px, 5vw, 80px); background: #000; color: rgba(255,255,255,.55); font-size: .78rem; }
footer img { width: 136px; }
footer p { margin: 0; }
footer p:last-child { text-align: right; }

@media (max-width: 820px) {
  .site-header { height: 82px; }
  .brand img { width: 132px; }
  .menu-button { display: block; }
  nav { position: absolute; top: 82px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 15px 24px 24px; background: rgba(3,23,40,.98); }
  nav.open { display: flex; }
  nav a { padding: 12px 0; }
  .hero { min-height: 700px; }
  .hero-image { background-position: 66% center; opacity: .7; }
  .hero-overlay { background: linear-gradient(90deg, rgba(2,17,31,.98), rgba(2,17,31,.58)), linear-gradient(0deg, rgba(2,17,31,.82), transparent 60%); }
  .hero-content { width: calc(100% - 48px); margin: 0 24px; padding-top: 50px; }
  .hero-stat { left: 24px; right: auto; }
  .intro-copy, .applications-header { grid-template-columns: 1fr; gap: 28px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principles { grid-template-columns: 1fr; }
  .application-list > div { grid-template-columns: 42px 1fr; gap: 12px; }
  .application-list p { grid-column: 2; }
  .closing { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  footer p:last-child { text-align: left; }
}

@media (max-width: 480px) {
  h1 { font-size: 3.05rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-stat { gap: 9px; letter-spacing: .1em; }
  .section-label { margin-bottom: 35px; }
  .approach-panel { margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
