:root {
  --ink: #101820;
  --slate: #27333f;
  --muted: #637383;
  --line: #d8e1e7;
  --paper: #f5f8fa;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0a4f4a;
  --blue: #2563eb;
  --amber: #b7791f;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(1160px, calc(100% - 32px));
  min-height: 90px;
  padding: 12px 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(216, 225, 231, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(16, 24, 32, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  flex: 0 0 280px;
  width: 280px;
  height: 76px;
  overflow: visible;
  background: transparent;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  color: var(--white);
}

.sub-hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: var(--white);
}

.sub-hero .hero-content {
  min-height: 660px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/hero-ai-risk.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 16, 24, 0.96), rgba(6, 16, 24, 0.76) 46%, rgba(6, 16, 24, 0.18)),
    linear-gradient(180deg, rgba(6, 16, 24, 0.18), rgba(6, 16, 24, 0.86));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 790px;
  flex-direction: column;
  justify-content: center;
  padding: 134px 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #8ddbd3;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  width: min(880px, 100%);
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(670px, 100%);
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-facts span,
.audience-tags span {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-band {
  background: var(--ink);
  color: var(--white);
}

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

.trust-grid div {
  padding: 28px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid strong,
.trust-grid span,
.site-footer strong,
.site-footer span {
  display: block;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.section {
  padding: 104px 0;
}

.section-kicker {
  color: var(--teal);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 42px;
}

.thesis,
.risk-section,
.audiences,
.offer-levels {
  background: var(--white);
}

.thesis-grid,
.context-grid,
.decision-grid,
.example-grid,
.contact-grid,
.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 64px;
  align-items: start;
}

.thesis-copy p,
.context-grid p,
.decision-panel p,
.example-card p,
.contact-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.context-section {
  background: #eef4f6;
}

.context-checks {
  display: grid;
  gap: 12px;
}

.context-checks div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.context-checks strong,
.context-checks span {
  display: block;
}

.context-checks span {
  margin-top: 4px;
  color: var(--muted);
}

.services {
  background: linear-gradient(180deg, var(--paper), #eef4f6);
}

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

.service-card {
  min-height: 430px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(16, 24, 32, 0.07);
}

.card-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 7px;
  color: var(--teal-dark);
  background: #dff4f1;
  font-weight: 900;
}

.service-card p,
.service-card li,
.risk-grid p,
.process-list p {
  color: var(--muted);
}

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

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

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  color: var(--blue);
}

.packages {
  background: var(--white);
}

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

.package-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #f7fbfc);
  box-shadow: 0 14px 36px rgba(16, 24, 32, 0.07);
}

.package-meta {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--teal-dark);
  background: #dff4f1;
  font-size: 0.82rem;
  font-weight: 850;
}

.package-card p,
.package-card li,
.outcome-grid p,
.faq-list p {
  color: var(--muted);
}

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

.package-card li + li {
  margin-top: 8px;
}

.package-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.outcome {
  background: #eef4f6;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.outcome-grid article {
  min-height: 230px;
  padding: 24px;
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
}

.use-cases {
  background: var(--white);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.case-card {
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.case-card span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--teal-dark);
  background: #dff4f1;
  font-size: 0.78rem;
  font-weight: 850;
}

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

.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.level-grid article {
  min-height: 250px;
  padding: 26px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--paper);
}

.level-grid span {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  font-weight: 900;
}

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

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-size: 1.04rem;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: 64px;
  align-items: start;
}

.page-copy p,
.page-copy li,
.side-card p,
.question-list li {
  color: var(--muted);
}

.question-list {
  margin-top: 34px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--paper);
}

.question-list ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.question-list li + li {
  margin-top: 8px;
}

.side-card {
  position: sticky;
  top: 112px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(16, 24, 32, 0.08);
}

.decision {
  background: var(--ink);
  color: var(--white);
}

.decision-panel {
  position: sticky;
  top: 114px;
}

.decision-panel .section-kicker,
.decision-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.matrix {
  display: grid;
  gap: 12px;
}

.matrix div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.matrix strong,
.matrix span {
  display: block;
}

.matrix span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.risk-grid article {
  min-height: 240px;
  padding: 26px;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: var(--paper);
}

.example {
  background: #eef4f6;
}

.example-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.process {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
}

.process-list span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-tags span {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.contact-section {
  padding: 104px 0;
  color: var(--white);
  background: linear-gradient(135deg, #0d1b24, #123d42 58%, #135e57);
}

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

.contact-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.contact-card p {
  margin-bottom: 24px;
}

.contact-form {
  display: grid;
  gap: 11px;
}

.contact-form label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

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

.contact-form .button {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  padding: 150px 0 54px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #123d42);
}

.legal-content {
  max-width: 860px;
  padding: 64px 0 96px;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: 1.65rem;
}

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

.site-footer {
  padding: 30px 0;
  background: var(--white);
}

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

.site-footer span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.nav-open {
    align-items: start;
  }

  .site-header.nav-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    width: 100%;
    padding-top: 8px;
  }

  .site-header.nav-open .site-nav a {
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }

  .trust-grid,
  .thesis-grid,
  .context-grid,
  .service-grid,
  .package-grid,
  .outcome-grid,
  .case-grid,
  .level-grid,
  .page-grid,
  .decision-grid,
  .risk-grid,
  .example-grid,
  .process-list,
  .contact-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .decision-panel {
    position: static;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    flex-basis: 214px;
    width: 214px;
    height: 62px;
  }

  .hero,
  .hero-content,
  .sub-hero,
  .sub-hero .hero-content {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 16, 24, 0.97), rgba(6, 16, 24, 0.72)),
      linear-gradient(180deg, rgba(6, 16, 24, 0.12), rgba(6, 16, 24, 0.9));
  }

  .section,
  .contact-section {
    padding: 72px 0;
  }

  .service-card,
  .risk-grid article,
  .process-list li {
    min-height: auto;
  }

  .contact-card,
  .example-card {
    padding: 26px;
  }

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