:root {
  --navy: #082d6a;
  --blue: #075bb5;
  --teal: #4d9896;
  --gold: #d28a18;
  --gold-soft: #f3dfb7;
  --cream: #fbf8f1;
  --white: #ffffff;
  --ink: #17243a;
  --muted: #586579;
  --line: #dce3eb;
  --soft-blue: #eef5fb;
  --shadow: 0 16px 40px rgba(8, 45, 106, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.65rem, 8vw, 5.3rem);
  margin-bottom: 18px;
  max-width: 810px;
}

h2 {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.container {
  margin: 0 auto;
  width: min(1160px, calc(100% - 40px));
}

.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 0;
}

.brand {
  align-items: center;
  display: flex;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: auto;
  max-width: min(250px, 54vw);
  width: 250px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.nav-links a {
  border-radius: 4px;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 8px 7px;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--soft-blue);
  color: var(--blue);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1.15;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(8, 45, 106, 0.2);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border-color: rgba(8, 45, 106, 0.24);
  color: var(--navy);
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.95) 55%, rgba(238, 245, 251, 0.75) 100%),
    url("/assets/aligned-iris-linkedin-banner.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  min-height: 720px;
  overflow: hidden;
}

.hero-inner {
  align-items: start;
  display: grid;
  min-height: 720px;
  padding: 118px 0 70px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 11px;
  text-transform: uppercase;
}

.lead {
  color: #405069;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  max-width: 700px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.proof-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  margin-top: 34px;
  max-width: 720px;
  padding-top: 20px;
}

.proof-row strong {
  color: var(--navy);
  display: block;
  font-size: 0.9rem;
}

.proof-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: 68px 0;
}

.section.alt {
  background: var(--cream);
}

.section.blue-band {
  background: var(--navy);
  color: var(--white);
}

.section.blue-band h2,
.section.blue-band h3 {
  color: var(--white);
}

.section.blue-band p {
  color: rgba(255, 255, 255, 0.8);
}

.section-heading {
  margin-bottom: 28px;
  max-width: 730px;
}

.section-heading p:last-child,
.service-card p,
.product-card p,
.step p {
  color: var(--muted);
}

.service-grid,
.product-grid,
.step-grid {
  display: grid;
  gap: 14px;
}

.service-card,
.product-card,
.step,
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(8, 45, 106, 0.06);
  padding: 22px;
}

.service-card {
  border-top: 4px solid var(--gold);
}

.service-number,
.step-number {
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 16px;
  width: 34px;
}

.tag {
  color: var(--teal);
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.service-link {
  color: var(--blue);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 14px;
  text-decoration: none;
}

.split-grid {
  display: grid;
  gap: 30px;
}

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

.experience-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 0;
}

.contact-band {
  background: var(--soft-blue);
}

.founder-section {
  border-top: 1px solid var(--line);
}

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

.founder-section p:last-child {
  margin-bottom: 0;
}

.contact-box {
  border-left: 4px solid var(--gold);
  padding-left: 20px;
}

.email-link {
  color: var(--navy);
  font-weight: 800;
  word-break: break-word;
}

.page-hero {
  background: var(--soft-blue);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 46px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
}

.form-section {
  background: var(--cream);
  padding: 46px 0 72px;
}

.form {
  display: grid;
  gap: 22px;
}

.form-grid {
  display: grid;
  gap: 15px;
}

.form-group {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.form-group:last-of-type {
  border-bottom: 0;
}

.form-group-heading {
  margin-bottom: 16px;
}

.form-group-heading h2 {
  font-size: 1.35rem;
  margin: 4px 0;
}

.form-group-heading p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.conditional-section[hidden] {
  display: none;
}

.conditional-section {
  background: var(--soft-blue);
  border: 1px solid #cadced;
  border-radius: var(--radius);
  padding: 18px;
}

label {
  color: var(--navy);
  display: grid;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 6px;
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid #bdc9d8;
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  padding: 12px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(7, 91, 181, 0.12);
}

textarea {
  min-height: 105px;
  resize: vertical;
}

.field-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.form-honeypot {
  height: 0;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.form-status {
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.form-status.success,
.form-status.error {
  padding: 12px 14px;
}

.form-status.success {
  background: #e8f5ee;
  color: #17633b;
}

.form-status.error {
  background: #fff0ed;
  color: #9d2c20;
}

.privacy-notice {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
  margin: 2px 0 0;
  padding-top: 16px;
}

.button[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.products-hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 58px;
}

.products-hero h1 {
  color: var(--white);
}

.products-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.product-card {
  min-height: 180px;
}

.product-card::before {
  background: var(--gold);
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 18px;
  width: 46px;
}

.site-footer {
  background: #061f49;
  color: rgba(255, 255, 255, 0.76);
  padding: 28px 0;
}

.footer-grid {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.footer-brand {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  background: var(--white);
  border-radius: 4px;
  display: block;
  height: auto;
  padding: 5px 7px;
  width: 210px;
}

.footer-brand span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.footer-links a {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 720px) {
  .nav-links a {
    font-size: 0.76rem;
    padding: 9px;
  }

  .proof-row {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .split-grid {
    align-items: center;
    grid-template-columns: 1fr 1fr;
  }

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

  .span-two {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid,
  .step-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 719px) {
  h1 {
    font-size: 2.28rem;
  }

  .brand-logo {
    max-width: 205px;
    width: 205px;
  }

  .nav-links {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: calc(100vw - 40px);
    width: 100%;
  }

  .nav-links a {
    font-size: 0.56rem;
    min-width: 0;
    padding: 8px 2px;
    text-align: center;
    white-space: normal;
  }

  .hero,
  .hero-inner {
    min-height: 610px;
  }

  .hero-inner {
    padding: 70px 0 46px;
  }

  .lead {
    font-size: 1rem;
  }

  .proof-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .proof-row strong {
    font-size: 0.72rem;
  }

  .proof-row > div {
    min-width: 0;
    text-align: center;
  }

  .proof-row span {
    display: none;
  }
}
