:root {
  --ink: #101419;
  --muted: #5e6873;
  --paper: #f7f8f3;
  --white: #ffffff;
  --line: rgba(16, 20, 25, 0.12);
  --line-strong: rgba(16, 20, 25, 0.2);
  --cyan: #00a7c8;
  --green: #13a86b;
  --amber: #f0a824;
  --coral: #f05f57;
  --dark: #071115;
  --shadow: 0 24px 60px rgba(7, 17, 21, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    border 180ms ease,
    color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(247, 248, 243, 0.88);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo-shell,
.footer-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.brand-logo-shell {
  width: 156px;
  height: 48px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.site-header.is-scrolled .brand-logo-shell,
.site-header.nav-active .brand-logo-shell {
  border-color: var(--line-strong);
  background: var(--white);
  box-shadow: none;
}

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

.site-nav {
  display: inline-flex;
  justify-self: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled .site-nav,
.site-header.nav-active .site-nav {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.site-nav a {
  min-width: 76px;
  padding: 10px 14px;
  border-radius: 999px;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--white);
  color: var(--ink);
  outline: 0;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border 160ms ease;
}

.header-action {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled .header-action,
.site-header.nav-active .header-action {
  color: var(--white);
  background: var(--dark);
  box-shadow: none;
}

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

.button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.button.primary {
  color: var(--white);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.icon-button {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: currentColor;
  background: transparent;
}

.nav-toggle .icon-close {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88svh;
  padding: 132px clamp(18px, 5vw, 72px) 76px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background-image: url("assets/ydm-ai-operations-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 72% 38%, rgba(0, 167, 200, 0.28), transparent 36%),
    linear-gradient(90deg, rgba(4, 9, 12, 0.93) 0%, rgba(4, 9, 12, 0.82) 34%, rgba(4, 9, 12, 0.34) 72%, rgba(4, 9, 12, 0.68) 100%);
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a2ffd4;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(4rem, 12vw, 9.2rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.35;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-proof strong {
  color: #fff;
}

.hero-flow {
  position: absolute;
  right: clamp(22px, 8vw, 120px);
  bottom: clamp(40px, 8vw, 110px);
  width: min(430px, 42vw);
  aspect-ratio: 1.45;
  opacity: 0.82;
  pointer-events: none;
}

.flow-dot,
.flow-line {
  position: absolute;
  display: block;
}

.flow-dot {
  width: 15px;
  height: 15px;
  border: 2px solid #d5fff2;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 12px rgba(19, 168, 107, 0.16);
  animation: pulse 2.8s ease-in-out infinite;
}

.dot-one {
  left: 6%;
  top: 22%;
}

.dot-two {
  left: 46%;
  top: 58%;
  animation-delay: 420ms;
}

.dot-three {
  right: 10%;
  top: 16%;
  background: var(--cyan);
  box-shadow: 0 0 0 12px rgba(0, 167, 200, 0.16);
  animation-delay: 820ms;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(162, 255, 212, 0), rgba(162, 255, 212, 0.9), rgba(0, 167, 200, 0));
  transform-origin: left center;
  animation: lineFlow 3.2s ease-in-out infinite;
}

.line-one {
  left: 10%;
  top: 33%;
  width: 50%;
  rotate: 24deg;
}

.line-two {
  left: 49%;
  top: 53%;
  width: 43%;
  rotate: -32deg;
  animation-delay: 600ms;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 96px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
}

.signal-item .icon {
  color: var(--cyan);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1fr);
  gap: clamp(22px, 6vw, 86px);
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2,
.scan-copy h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.heading-with-info {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.info-trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 17, 21, 0.08);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.info-trigger:hover,
.info-trigger:focus-visible {
  border-color: var(--cyan);
  color: var(--ink);
  outline: 0;
  transform: translateY(-2px);
}

.tooltip {
  position: absolute;
  top: 52px;
  right: 0;
  z-index: 5;
  width: min(330px, calc(100vw - 48px));
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  background: var(--dark);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.info-trigger:hover + .tooltip,
.info-trigger:focus-visible + .tooltip,
.info-trigger.is-open + .tooltip,
.tooltip:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.filter-bar,
.stack-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-chip,
.stack-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 800;
  transition:
    background 160ms ease,
    color 160ms ease,
    border 160ms ease;
}

.filter-chip:hover,
.filter-chip.is-active,
.stack-tab:hover,
.stack-tab.is-active {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

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

.service-card,
.service-focus,
.industry-card,
.scan-panel,
.calculator,
.process-list li,
.contact-inner,
.resource-card,
.stack-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 164px;
  padding: 18px;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.service-card:hover,
.service-card:focus-visible,
.service-card.is-selected {
  border-color: rgba(0, 167, 200, 0.72);
  box-shadow: 0 18px 42px rgba(7, 17, 21, 0.12);
  outline: 0;
  transform: translateY(-3px);
}

.tile-icon,
.focus-icon,
.stack-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--ink);
  background: color-mix(in srgb, var(--accent, var(--cyan)) 17%, #ffffff);
}

.tile-icon .icon,
.focus-icon .icon,
.stack-icon .icon {
  color: var(--accent, var(--cyan));
}

.service-card h3,
.service-focus h3,
.scan-result h3,
.process-list h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.service-card p,
.service-focus p,
.scan-copy p,
.scan-result p,
.process-list p,
.stack-item span,
.site-footer {
  color: var(--muted);
}

.service-card p,
.process-list p,
.scan-result p {
  margin-bottom: 0;
}

.service-focus {
  position: sticky;
  top: 96px;
  padding: 22px;
  box-shadow: 0 22px 60px rgba(7, 17, 21, 0.08);
}

.industry-section {
  padding-bottom: 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.industry-card {
  display: grid;
  align-content: start;
  min-height: 190px;
  padding: 18px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.industry-card:hover {
  border-color: rgba(0, 167, 200, 0.58);
  box-shadow: 0 16px 38px rgba(7, 17, 21, 0.1);
  transform: translateY(-3px);
}

.industry-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.industry-card:nth-child(2) .industry-icon,
.industry-card:nth-child(5) .industry-icon {
  background: var(--cyan);
}

.industry-card:nth-child(3) .industry-icon,
.industry-card:nth-child(6) .industry-icon {
  background: var(--green);
}

.industry-card:nth-child(4) .industry-icon {
  background: var(--coral);
}

.industry-card strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.15;
}

.industry-card span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.micro-label {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.focus-points {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.focus-points li {
  display: flex;
  gap: 9px;
  color: var(--muted);
}

.focus-points li::before {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent, var(--cyan));
  content: "";
  flex: 0 0 auto;
}

.scan-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}

.scan-panel {
  padding: clamp(18px, 3vw, 30px);
}

.scan-hint {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  max-width: 390px;
  margin-top: 24px;
}

.scan-hint span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.scan-hint strong {
  align-self: center;
  color: var(--ink);
  font-size: 0.95rem;
}

.scan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.problem-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcf8;
  color: var(--ink);
  font-weight: 760;
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.problem-chip .icon {
  color: var(--cyan);
  flex: 0 0 auto;
}

.problem-chip:hover,
.problem-chip:focus-visible,
.problem-chip.is-selected {
  border-color: color-mix(in srgb, var(--green) 62%, #ffffff);
  background: color-mix(in srgb, var(--green) 8%, #ffffff);
  box-shadow: 0 12px 26px rgba(19, 168, 107, 0.08);
  outline: 0;
}

.problem-chip:hover,
.problem-chip:focus-visible {
  transform: translateY(-2px);
}

.problem-chip.is-selected .icon {
  color: var(--green);
}

.problem-input {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.problem-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.problem-label-row small {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.problem-input textarea {
  width: 100%;
  min-height: 94px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfcf8;
  outline: 0;
  resize: vertical;
}

.problem-input textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 167, 200, 0.1);
}

.fast-track-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--cyan) 42%, #ffffff);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 167, 200, 0.1), rgba(19, 168, 107, 0.08)),
    #ffffff;
}

.track-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.fast-track-card h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  line-height: 1.15;
}

.fast-track-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.roadmap-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.scan-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.score-ring {
  --score: 50;
  --score-color: var(--amber);
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0 58%, transparent 59%),
    conic-gradient(var(--score-color) calc(var(--score) * 1%), rgba(16, 20, 25, 0.1) 0);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(16, 20, 25, 0.06);
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.score-ring span {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.score-ring small {
  margin-top: -26px;
  color: var(--muted);
  font-weight: 800;
}

.roadmap-list {
  display: grid;
  gap: 9px;
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 740;
}

.roadmap-list li::marker {
  color: var(--green);
  font-weight: 950;
}

.roadmap-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.roadmap-link:hover,
.roadmap-link:focus-visible {
  background: #08495a;
  outline: 0;
  transform: translateY(-2px);
}

.calculator-section {
  padding-top: 0;
}

.calculator {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 220px;
  gap: 20px;
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
}

.range-group {
  display: grid;
  gap: 12px;
}

.range-group label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.range-group label span {
  color: var(--ink);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--cyan);
}

.calc-result {
  display: grid;
  place-items: center;
  min-height: 156px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #071115, #08495a 52%, #116843);
}

.calc-result span {
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.92;
}

.calc-result small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
}

.calc-result strong {
  color: #b9ffd9;
  font-size: 1.2rem;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  font-weight: 850;
}

.stack-item span {
  font-size: 0.9rem;
  font-weight: 700;
}

.tool-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: var(--accent, var(--cyan));
  background: color-mix(in srgb, var(--accent, var(--cyan)) 14%, #ffffff);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  flex: 0 0 auto;
}

.stack-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.process-section {
  padding-top: 0;
}

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

.process-list li {
  min-height: 188px;
  padding: 20px;
}

.process-list span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 950;
}

.resource-section {
  padding-top: 0;
}

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

.resource-card {
  min-height: 210px;
  padding: 22px;
}

.resource-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.resource-card:nth-child(2) .resource-icon {
  background: var(--cyan);
}

.resource-card:nth-child(3) .resource-icon {
  background: var(--green);
}

.resource-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.resource-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  padding: clamp(72px, 10vw, 120px) 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 21, 0.94), rgba(8, 73, 90, 0.93)),
    url("assets/ydm-ai-operations-hero.png") center / cover;
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 6vw, 72px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.contact-inner .eyebrow {
  color: #a2ffd4;
}

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

.contact-form label,
.goal-field {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #a2ffd4;
}

.goal-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.goal-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
  text-align: left;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.goal-option .icon {
  color: #a2ffd4;
  flex: 0 0 auto;
}

.goal-option:hover,
.goal-option:focus-visible,
.goal-option.is-selected {
  border-color: #a2ffd4;
  color: var(--white);
  background: rgba(162, 255, 212, 0.14);
  outline: 0;
  transform: translateY(-2px);
}

.wide {
  grid-column: 1 / -1;
}

.contact-form .button {
  width: 100%;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: #a2ffd4;
  font-weight: 760;
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 17, 21, 0.68);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.request-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.request-modal__panel {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 16%, rgba(162, 255, 212, 0.18), transparent 32%),
    linear-gradient(135deg, #071115, #08495a 58%, #116843);
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
}

.request-modal.is-open .request-modal__panel {
  transform: translateY(0) scale(1);
}

.request-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.request-modal__close:hover,
.request-modal__close:focus-visible {
  border-color: #a2ffd4;
  outline: 0;
}

.request-modal__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #a2ffd4;
}

.request-modal h2 {
  max-width: 420px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 0.98;
}

.request-modal p:not(.micro-label) {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.request-modal .micro-label {
  color: #a2ffd4;
}

.request-modal__action {
  width: fit-content;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer-logo-shell {
  width: 138px;
  height: 42px;
  padding: 6px 10px;
  border: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.9);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes lineFlow {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.74);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .icon-button {
    display: grid;
  }

  .site-header.nav-active .site-nav {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-header.nav-active .site-nav a {
    min-height: 48px;
    color: var(--ink);
    text-align: left;
  }

  .site-header.nav-active .icon-menu {
    display: none;
  }

  .site-header.nav-active .icon-close {
    display: block;
  }

  .service-layout,
  .scan-section,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .service-focus {
    position: static;
  }

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

  .calc-result {
    grid-column: 1 / -1;
  }

  .industry-grid,
  .stack-grid,
  .resource-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 86svh;
    padding-top: 118px;
    padding-bottom: 54px;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 68% 40%, rgba(0, 167, 200, 0.28), transparent 34%),
      linear-gradient(90deg, rgba(4, 9, 12, 0.94), rgba(4, 9, 12, 0.7));
  }

  .hero-flow {
    right: 12px;
    bottom: 16px;
    width: 64vw;
    opacity: 0.45;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.6rem);
  }

  .hero-copy {
    font-size: 1.1rem;
  }

  .hero-actions,
  .hero-proof {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-proof span {
    width: fit-content;
    max-width: 100%;
  }

  .signal-strip,
  .section-heading,
  .service-grid,
  .industry-grid,
  .scan-options,
  .calculator,
  .stack-grid,
  .resource-grid,
  .process-list,
  .contact-form,
  .goal-picker {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 28px, 1180px);
  }

  .signal-item {
    min-height: 78px;
    justify-content: flex-start;
    padding-inline: 22px;
  }

  .section-heading {
    align-items: start;
  }

  .heading-with-info {
    grid-template-columns: 1fr;
  }

  .tooltip {
    top: auto;
    right: auto;
    left: 0;
    bottom: 48px;
  }

  .filter-bar,
  .stack-tabs {
    flex-wrap: nowrap;
    margin-inline: -14px;
    overflow-x: auto;
    padding: 0 14px 4px;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar,
  .stack-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-chip,
  .stack-tab {
    flex: 0 0 auto;
  }

  .scan-result {
    grid-template-columns: 1fr;
  }

  .score-ring {
    width: 104px;
    height: 104px;
  }

  .calc-result {
    min-height: 136px;
  }

  .contact-inner {
    width: min(100% - 28px, 1180px);
  }

  .site-footer {
    display: grid;
  }

  .brand-logo-shell {
    width: 132px;
    height: 44px;
    padding: 7px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
