@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/InterVariable-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #080b15;
  --bg-soft: #11182a;
  --surface: #ffffff;
  --surface-soft: #f4f6f8;
  --text: #111827;
  --muted: #5b6472;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.16);
  --dark-line: rgba(17, 24, 39, 0.12);
  --accent: #f0a020;
  --accent-dark: #c77c0d;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--white);
  color: var(--bg);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(8, 11, 21, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 11, 21, 0.93);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.nav {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 6px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 72px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 680;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu a {
  text-decoration: none;
  opacity: 0.86;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  opacity: 1;
}

.nav-menu a[aria-current="page"] {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--white);
  z-index: 2;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.nav-toggle-line::before {
  transform: translateY(-7px);
}

.nav-toggle-line::after {
  transform: translateY(5px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 106px 0 72px;
  color: var(--white);
  overflow: hidden;
}

.home-hero {
  min-height: 96vh;
  align-items: end;
}

.hero-bg {
  --hero-image: url("../assets/ai-home-hero-640.webp");

  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 21, 0.96) 0%, rgba(8, 11, 21, 0.72) 48%, rgba(8, 11, 21, 0.48) 100%),
    var(--hero-image) center / cover no-repeat;
}

@media (min-width: 700px) {
  .hero-bg {
    --hero-image: url("../assets/ai-home-hero-960.webp");
  }
}

@media (min-width: 1100px) {
  .hero-bg {
    --hero-image: url("../assets/ai-home-hero-1280.webp");
  }
}

@media (min-width: 1500px) {
  .hero-bg {
    --hero-image: url("../assets/ai-home-hero.webp");
  }
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding-bottom: 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(3.35rem, 9vw, 8rem);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2.15rem, 5vw, 4.75rem);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 780;
  line-height: 1.12;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 14px;
  font-size: clamp(1.24rem, 2.4vw, 1.75rem);
  font-weight: 520;
  line-height: 1.28;
}

.hero-subline {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  font-weight: 520;
}

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

.hero-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-strip span {
  padding: 18px;
  background: rgba(8, 11, 21, 0.76);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.94rem;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: var(--bg);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffb13a;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 92px 0;
}

.page-hero {
  padding: 128px 0 76px;
  background: var(--bg);
  color: var(--white);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: 56px;
  align-items: center;
}

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

.page-hero .hero-lede {
  color: rgba(255, 255, 255, 0.78);
}

.intro-section {
  background: var(--surface);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.split p,
.section-heading p,
.narrow p {
  color: #4a5362;
  font-size: 1.08rem;
  font-weight: 450;
}

.image-panel {
  background: var(--bg);
  overflow: hidden;
}

.image-panel img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.dark-section {
  background: var(--bg);
  color: var(--white);
}

.dark-section p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.narrow {
  max-width: 850px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

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

.service-card {
  padding: 28px;
  border: 1px solid var(--dark-line);
  background: var(--surface);
}

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

.service-cta {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.service-cta:hover,
.service-cta:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-card li + li {
  margin-top: 6px;
}

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

.feature-card,
.case-card {
  padding: 28px;
  border: 1px solid var(--dark-line);
  background: var(--surface);
}

.dark-section .feature-card {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.feature-card p,
.case-card p {
  color: var(--muted);
}

.dark-section .feature-card p {
  color: rgba(255, 255, 255, 0.74);
}

.feature-card a,
.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.dark-section .feature-card a {
  color: var(--accent);
}

.feature-card a:hover,
.feature-card a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--dark-line);
}

.image-band {
  padding: 0;
  background: var(--bg);
}

.image-band img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.contact-section {
  background: var(--surface-soft);
}

.contact-note {
  font-size: 0.98rem !important;
}

.contact-panel {
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.contact-panel h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.contact-panel ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel li + li {
  margin-top: 10px;
}

.contact-form {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--dark-line);
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cdd3dc;
  border-radius: 4px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--text);
}

.form-field input:focus,
.form-field textarea:focus,
.footer-links a:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(240, 160, 32, 0.5);
  outline-offset: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.success {
  color: #136f3b;
}

.form-status.error {
  color: #a12828;
}

.site-footer {
  padding: 36px 0;
  background: var(--bg);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin-top: 38px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content ul {
  margin: 0 0 24px;
  padding-left: 20px;
}

.cookie-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 35;
  color: var(--white);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-inner {
  width: min(100%, 940px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 11, 21, 0.96);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.cookie-consent p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  line-height: 1.45;
}

.cookie-consent a {
  color: var(--accent);
  font-weight: 720;
  text-decoration: none;
}

.cookie-consent a:hover,
.cookie-consent a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-consent .button {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.84rem;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand img {
    width: 64px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 16px 18px;
    background: rgba(8, 11, 21, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    padding: 12px 0;
  }

  .hero {
    min-height: 86vh;
  }

  .split,
  .service-grid,
  .support-grid,
  .feature-grid,
  .case-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-consent-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent .button {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand img {
    width: 58px;
  }

  .hero {
    padding-top: 86px;
  }

  h1 {
    font-size: clamp(2.72rem, 12vw, 3.05rem);
  }

  .page-hero h1 {
    font-size: clamp(2.45rem, 11vw, 2.9rem);
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .hero-lede {
    font-size: 1.12rem;
    line-height: 1.34;
  }

  .hero-content {
    padding-bottom: 36px;
    padding-right: 14px;
  }

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

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

  .cookie-consent {
    inset: auto 12px 12px;
  }

  .cookie-consent-actions {
    flex-direction: column;
  }

  .section {
    padding: 68px 0;
  }

  .service-card,
  .contact-form {
    padding: 22px;
  }
}
