:root {
  color-scheme: light;
  --ink: #171923;
  --muted: #5c6470;
  --line: #d8dee2;
  --paper: #ffffff;
  --soft: #f3f6f6;
  --mint: #e5f5f1;
  --teal: #087f75;
  --teal-dark: #075e59;
  --green: #11ad82;
  --navy: #1a1a2e;
  --orange: #e86018;
  --display: "Newsreader", Georgia, serif;
  --body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--navy);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 72px;
  background: var(--navy);
  color: #ffffff;
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: 50%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  color: #f7f7fb;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #7ee2c9;
}

.desktop-nav .nav-contact {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 4px;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(560px, calc(100svh - 210px), 690px);
  background-color: #eef1f3;
  background-image: url("/assets/aile-career-hero.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  overflow: hidden;
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: clamp(560px, calc(100svh - 210px), 690px);
  margin: 0 auto;
  padding: 62px 0 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--teal-dark);
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 76px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.12;
}

.hero-copy {
  max-width: 580px;
  margin: 24px 0 0;
  color: #343b44;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(26, 26, 46, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

.text-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.hero-status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 64px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 34px;
  border-top: 1px solid rgba(26, 26, 46, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: #38414a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-status span + span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--green);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-intro {
  padding-top: 64px;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.product-copy h2,
.company-intro h2,
.contact-section h2,
.legal-page h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 52px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.section-lead,
.company-intro > p:last-child {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.principles {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article {
  min-height: 285px;
  padding: 34px 34px 38px 0;
}

.principles article + article {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.principle-number {
  color: var(--orange);
  font-family: var(--display);
  font-size: 24px;
}

.principles h3 {
  margin: 42px 0 14px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.35;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-section {
  width: 100%;
  padding: 112px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1.05fr);
  gap: 96px;
  align-items: center;
  background: var(--mint);
}

.product-visual {
  min-height: 680px;
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  width: 330px;
  height: 650px;
  padding: 13px;
  border: 2px solid #262934;
  border-radius: 42px;
  background: #161923;
  box-shadow: 0 34px 70px rgba(20, 64, 59, 0.26);
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  width: 74px;
  height: 18px;
  border-radius: 0 0 13px 13px;
  background: #161923;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #f7f9f9;
}

.app-bar {
  height: 94px;
  padding: 29px 23px 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--navy);
  color: #ffffff;
}

.app-bar img {
  border-radius: 50%;
}

.app-bar div {
  display: flex;
  flex-direction: column;
}

.app-bar strong {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1;
}

.app-bar span {
  margin-top: 4px;
  color: #bfc4d3;
  font-size: 10px;
}

.app-content {
  padding: 26px 20px 22px;
}

.app-kicker {
  margin: 0;
  color: var(--teal-dark);
  font-size: 9px;
  font-weight: 700;
}

.app-content h3 {
  margin: 9px 0 20px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.action-grid div {
  min-height: 90px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #dce2e2;
  border-radius: 8px;
  background: #ffffff;
}

.action-grid span {
  color: var(--orange);
  font-family: var(--display);
  font-size: 14px;
}

.action-grid strong {
  color: #273039;
  font-size: 12px;
}

.progress-block {
  margin-top: 18px;
  padding: 15px 0;
  border-top: 1px solid #dfe4e4;
}

.progress-block > div:first-child {
  display: flex;
  justify-content: space-between;
  color: #59636b;
  font-size: 10px;
}

.progress-block strong {
  color: var(--teal-dark);
}

.progress-track {
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 3px;
  background: #dfe7e5;
}

.progress-track span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--green);
}

.app-cta {
  width: 100%;
  height: 43px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  background: var(--teal-dark);
  color: #ffffff;
  font-family: var(--body);
  font-size: 11px;
}

.app-cta strong {
  font-size: 12px;
  font-weight: 700;
}

.app-cta span {
  color: #bfe5dd;
}

.product-copy {
  max-width: 610px;
}

.product-details {
  margin: 46px 0 0;
  border-top: 1px solid #bdd7d2;
}

.product-details div {
  padding: 22px 0;
  border-bottom: 1px solid #bdd7d2;
}

.product-details dt {
  color: var(--navy);
  font-weight: 700;
}

.product-details dd {
  margin: 7px 0 0;
  color: #53625f;
  font-size: 15px;
}

.compact-heading {
  max-width: 650px;
}

.workflow {
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
}

.workflow li {
  min-height: 215px;
  padding: 28px 26px 28px 0;
  border-bottom: 1px solid var(--line);
}

.workflow li + li {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.workflow span {
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: 24px;
}

.workflow p {
  margin: 50px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  gap: 90px;
  border-top: 1px solid var(--line);
}

.company-intro > p:last-child {
  max-width: 570px;
}

.company-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-facts div {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.company-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.contact-section {
  padding: 84px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: end;
  background: #f0f4f4;
  border-top: 5px solid var(--orange);
}

.contact-copy p {
  margin: 0 0 12px;
  color: var(--muted);
}

.contact-copy a {
  color: var(--navy);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}

.site-footer {
  min-height: 104px;
  padding: 28px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: #ffffff;
}

.footer-brand {
  font-size: 23px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #c4c7d2;
  font-size: 12px;
}

.footer-meta a {
  color: #ffffff;
  text-underline-offset: 4px;
}

.legal-page {
  width: min(820px, calc(100% - 48px));
  min-height: calc(100svh - 176px);
  margin: 0 auto;
  padding: 92px 0 110px;
}

.legal-page .updated {
  margin: 18px 0 54px;
  color: var(--muted);
  font-size: 13px;
}

.legal-page h2 {
  margin: 44px 0 12px;
  color: var(--navy);
  font-size: 20px;
}

.legal-page p,
.legal-page li {
  color: #4f5862;
}

.legal-page a {
  color: var(--teal-dark);
}

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

  .menu-button {
    width: 44px;
    height: 44px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #ffffff;
  }

  .menu-button span {
    height: 2px;
    background: currentColor;
  }

  .mobile-nav {
    padding: 18px 24px 24px;
    display: grid;
    gap: 5px;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
  }

  .product-section,
  .company-section {
    grid-template-columns: 1fr;
  }

  .product-section {
    gap: 58px;
  }

  .product-copy {
    max-width: none;
  }

  .company-section {
    gap: 54px;
  }

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

  .workflow li:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .hero-inner,
  .section,
  .legal-page {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    min-height: 680px;
    background-position: 68% bottom;
    background-size: auto 100%;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
  }

  .hero-inner {
    position: relative;
    z-index: 1;
    min-height: 610px;
    padding: 62px 0 108px;
    justify-content: flex-start;
  }

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

  .hero-lead {
    max-width: 430px;
    font-size: 31px;
  }

  .hero-copy {
    max-width: 470px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-status {
    z-index: 2;
    min-height: 70px;
    padding: 12px 16px;
    gap: 14px;
    flex-wrap: wrap;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2,
  .product-copy h2,
  .company-intro h2,
  .contact-section h2,
  .legal-page h1 {
    font-size: 40px;
  }

  .section-heading > p:last-child,
  .section-lead,
  .company-intro > p:last-child {
    font-size: 16px;
  }

  .principles {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .principles article,
  .principles article + article {
    min-height: 0;
    padding: 28px 0 32px;
    border-left: 0;
  }

  .principles article + article {
    border-top: 1px solid var(--line);
  }

  .principles h3 {
    margin-top: 24px;
  }

  .product-section {
    padding: 78px 16px;
  }

  .product-visual {
    min-height: 610px;
    overflow: hidden;
  }

  .phone-shell {
    width: 304px;
    height: 598px;
  }

  .app-content {
    padding: 22px 18px 18px;
  }

  .app-content h3 {
    font-size: 22px;
  }

  .action-grid div {
    min-height: 80px;
  }

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

  .workflow li,
  .workflow li + li,
  .workflow li:nth-child(3) {
    min-height: 0;
    padding: 24px 0 28px;
    border-left: 0;
  }

  .workflow p {
    margin-top: 24px;
  }

  .company-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-section {
    padding: 68px 16px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-copy a {
    font-size: 22px;
  }

  .site-footer {
    padding: 28px 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-page {
    padding: 64px 0 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
