:root {
  --primary: #1a1c1e;
  --primary-hover: #2a2c2e;
  --secondary: #5b5f63;
  --neutral: #f6f8fa;
  --neutral-muted: #edf1f4;
  --surface: #ffffff;
  --surface-muted: #f7f9fb;
  --surface-dark: #1a1c1e;
  --surface-dark-muted: #2a2c2e;
  --border: #d7dde2;
  --border-light: #e8edf1;
  --border-dark: #3a3c3e;
  --text: #1a1c1e;
  --text-secondary: #5b5f63;
  --text-muted: #8a8e93;
  --text-on-dark: #f7f8fa;
  --text-on-dark-muted: #b0b4b8;
  --blue: #0a84ff;
  --blue-glow: rgba(10, 132, 255, 0.3);
  --blue-section: linear-gradient(135deg, #062f57 0%, #0b4b82 52%, #052844 100%);
  --blue-section-muted: rgba(246, 248, 250, 0.72);
  --blue-section-line: rgba(246, 248, 250, 0.18);
  --success: #34c759;
  --warning: #ff9f0a;
  --container: 1200px;
  --wide: 1440px;
  --shadow-sm: 0 1px 2px rgba(26, 28, 30, 0.06), 0 1px 3px rgba(26, 28, 30, 0.04);
  --shadow-md: 0 2px 4px rgba(26, 28, 30, 0.06), 0 4px 8px rgba(26, 28, 30, 0.04);
  --shadow-lg: 0 4px 12px rgba(26, 28, 30, 0.08), 0 8px 24px rgba(26, 28, 30, 0.04);
  --shadow-xl: 0 8px 24px rgba(26, 28, 30, 0.1), 0 16px 48px rgba(26, 28, 30, 0.06);
  --metal: linear-gradient(135deg, #1a1c1e 0%, #2a2c2e 52%, #1a1c1e 100%);
  --warm: linear-gradient(180deg, #f8fafc 0%, #eef2f5 100%);
  --font-original-display: Georgia, "Noto Serif SC", "Songti SC", serif;
  --font-hei: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--neutral);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(246, 248, 250, 0.08);
  background: rgba(26, 28, 30, 0.5);
  backdrop-filter: blur(20px);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  color: var(--text);
  background: rgba(246, 248, 250, 0.88);
  border-bottom-color: var(--border-light);
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  font-weight: 700;
}

.brand-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: currentColor;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  gap: clamp(14px, 2.2vw, 28px);
  color: inherit;
  font-size: 13px;
}

.site-nav a {
  position: relative;
  color: currentColor;
  opacity: 0.76;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--blue);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity var(--transition), transform var(--transition);
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-action,
.primary-link,
.secondary-link,
.video-link,
.trial-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), background var(--transition), border-color var(--transition), color var(--transition);
}

.header-action {
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
}

.header-action:hover,
.primary-link:hover,
.secondary-link:hover,
.video-link:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(24px, 6vw, 88px) 88px;
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 78% 42%, rgba(10, 132, 255, 0.18), transparent 22%),
    linear-gradient(135deg, #1a1c1e 0%, #2a2c2e 52%, #1a1c1e 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 248, 250, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 248, 250, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.68) 48%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(-180px, -10vw, -80px);
  bottom: clamp(40px, 8vw, 120px);
  width: min(760px, 58vw);
  aspect-ratio: 1.39;
  background: url("./assets/hydroask-appliance-final.png") center / contain no-repeat;
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.38));
  opacity: 0.72;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(1.05);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(26, 28, 30, 0.94), rgba(26, 28, 30, 0.74) 50%, rgba(26, 28, 30, 0.36));
}

.hero-ripple {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.kicker,
.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: var(--font-hei);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-original-display);
  font-size: clamp(58px, 9vw, 128px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-line {
  margin: 28px 0 0;
  color: var(--text-on-dark);
  font-size: clamp(25px, 3vw, 44px);
  font-weight: 650;
  line-height: 1.18;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 580px;
  color: var(--text-on-dark-muted);
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 650;
  line-height: 1.45;
}

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

.primary-link {
  color: var(--text-on-dark);
  background: var(--primary);
}

.primary-link:hover {
  background: var(--primary-hover);
}

.hero .primary-link {
  color: var(--primary);
  background: var(--neutral);
}

.secondary-link {
  border: 1px solid rgba(246, 248, 250, 0.28);
  color: var(--text-on-dark);
  background: transparent;
}

.secondary-link:hover {
  border-color: rgba(246, 248, 250, 0.5);
  background: rgba(246, 248, 250, 0.08);
}

.hero-proof {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 6vw, 88px);
  right: clamp(24px, 6vw, 88px);
  bottom: 28px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-proof span {
  min-height: 32px;
  padding: 9px 12px;
  border: 1px solid rgba(246, 248, 250, 0.16);
  border-radius: 4px;
  color: var(--text-on-dark-muted);
  background: rgba(246, 248, 250, 0.04);
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.section {
  padding: clamp(88px, 11vw, 140px) clamp(24px, 6vw, 88px);
}

.section-lead {
  width: min(960px, 100%);
}

.section-lead h2,
.master-copy h2,
.engine-copy h2,
.appliance-copy h2,
.cta-inner h2 {
  margin: 0;
  font-family: var(--font-original-display);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.field-section,
.master-section,
.appliance-section,
.service-section {
  background: var(--neutral);
}

.field-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: end;
  margin-top: 64px;
}

.field-copy,
.master-copy p:last-child,
.engine-copy p,
.appliance-copy > p:not(.eyebrow),
.cta-inner p {
  margin: 26px 0 0;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.75;
}

.field-copy p {
  margin: 0 0 22px;
}

.workstream {
  border-top: 1px solid var(--border);
}

.workstream div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 80px;
  border-bottom: 1px solid var(--border);
}

.workstream strong {
  color: var(--primary);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 650;
}

.workstream span {
  color: var(--text-secondary);
}

.answer-section,
.engine-section,
.deploy-section,
.final-cta {
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 82% 12%, rgba(10, 132, 255, 0.18), transparent 23%),
    var(--metal);
}

.answer-section .section-lead {
  margin-left: auto;
}

.answer-demo {
  width: min(1040px, 100%);
  margin: 64px auto 0;
  border-top: 1px solid var(--border-dark);
}

.prompt-row,
.answer-row,
.source-line {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-dark);
}

.prompt-row span,
.answer-row span,
.source-line span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(10, 132, 255, 0.12);
}

.prompt-row p,
.answer-row p,
.answer-row ol,
.source-line p {
  margin: 0;
  color: var(--text-on-dark-muted);
  line-height: 1.8;
}

.prompt-row p {
  color: var(--text-on-dark);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.45;
}

.answer-row ol {
  margin-top: 20px;
  padding-left: 22px;
}

.master-section {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: center;
}

.master-board {
  width: min(560px, 100%);
  justify-self: end;
  border-top: 0;
  border-bottom: 1px solid var(--border);
}

.master-board > p {
  margin: 0;
  padding-bottom: 22px;
  color: var(--blue);
  font-family: var(--font-hei);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.master-board div {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(110px, 0.7fr) 1fr;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  border-top: 1px solid var(--border-light);
}

.master-board div::before {
  content: none;
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(10, 132, 255, 0.18);
}

.master-board div:first-of-type::before {
  top: 50%;
}

.master-board div:last-of-type::before {
  bottom: 50%;
}

.master-board span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(10, 132, 255, 0.32);
  border-radius: 4px;
  background: var(--neutral);
  color: var(--blue);
  font-family: var(--font-hei);
  font-size: 16px;
  font-weight: 800;
}

.master-board strong,
.service-step h3,
.appliance-modes strong,
.deploy-item h3 {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
}

.master-board strong {
  color: var(--primary);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 650;
}

.master-board small {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.engine-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  overflow: hidden;
}

.engine-section::before,
.deploy-section::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 248, 250, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 248, 250, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 76%);
  pointer-events: none;
}

.engine-media,
.engine-copy,
.deploy-section > *,
.final-cta > * {
  position: relative;
  z-index: 1;
}

.knowledge-flow {
  position: relative;
  display: grid;
  gap: 20px;
  min-height: 540px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 248, 250, 0.08), rgba(246, 248, 250, 0.02)),
    var(--surface-dark-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.knowledge-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(10, 132, 255, 0.16) 50%, transparent 100%);
  transform: translateX(-60%);
  animation: engineScan 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.flow-sources,
.flow-core,
.flow-outputs {
  position: relative;
  z-index: 1;
}

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

.flow-sources p,
.flow-outputs p {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.flow-sources span,
.flow-outputs span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  color: var(--text-on-dark);
  background: rgba(246, 248, 250, 0.05);
  font-size: 14px;
  font-weight: 600;
}

.flow-core {
  display: grid;
  place-items: center;
  min-height: 210px;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
  background: radial-gradient(circle at center, rgba(10, 132, 255, 0.16), transparent 62%);
}

.flow-core p {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: var(--font-hei);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.flow-core strong {
  color: var(--text-on-dark);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 700;
  line-height: 1;
}

.flow-core small {
  margin-top: 16px;
  color: var(--text-on-dark-muted);
}

.flow-line {
  position: relative;
  z-index: 1;
  height: 34px;
}

.flow-line::before,
.flow-line::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.flow-line::before {
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 20px var(--blue-glow);
}

.flow-line::after {
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  transform: translateX(-50%) rotate(45deg);
}

.engine-copy h2 {
  color: var(--text-on-dark);
}

.engine-copy > .eyebrow {
  color: var(--blue);
  font-family: var(--font-hei);
  font-size: 16px;
  font-weight: 800;
}

.engine-copy p:not(.eyebrow) {
  color: var(--text-on-dark-muted);
}

.source-badge {
  display: inline-flex;
  width: auto;
  margin-top: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(10, 132, 255, 0.35);
  border-radius: 4px;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.08);
  font-family: var(--font-hei);
  font-size: 16px;
  font-weight: 800;
}

.proof-list {
  margin: 34px 0 0;
}

.proof-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border-dark);
}

.proof-list dt {
  color: var(--blue);
  font-family: var(--font-hei);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.proof-list dd {
  margin: 0;
  color: var(--text-on-dark-muted);
  line-height: 1.75;
}

.appliance-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
  background: var(--warm);
}

.appliance-product-wrap {
  position: relative;
  width: min(700px, 108%);
  margin: 0;
}

.appliance-product-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 42px rgba(26, 28, 30, 0.18));
}

.appliance-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 42px;
  border-top: 1px solid var(--border);
}

.appliance-modes div {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.appliance-modes strong {
  display: block;
  color: var(--text);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
}

.appliance-modes span {
  display: block;
  margin-top: 10px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.deploy-section {
  position: relative;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 70px);
  margin-top: 64px;
}

.deploy-item {
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
}

.deploy-item span {
  color: var(--blue);
  font-family: var(--font-hei);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.deploy-item h3 {
  margin: 18px 0 0;
  color: var(--text-on-dark);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 650;
  line-height: 1.15;
}

.deploy-item p {
  margin: 24px 0 0;
  color: var(--text-on-dark-muted);
  line-height: 1.8;
  font-size: 17px;
}

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

.service-section .section-lead {
  width: min(1280px, 100%);
}

.service-section .section-lead h2 {
  white-space: nowrap;
  font-size: clamp(42px, 5.2vw, 72px);
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(48px, 7vw, 82px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-step {
  position: relative;
  min-height: 268px;
  padding: 28px 22px 32px 0;
}

.service-step + .service-step {
  padding-left: 22px;
  border-left: 1px solid var(--border);
}

.service-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  transform: rotate(45deg);
}

.service-step span {
  color: var(--blue);
  font-family: var(--font-hei);
  font-size: 16px;
  font-weight: 800;
}

.service-step h3 {
  margin: 70px 0 0;
  color: var(--text);
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 650;
  line-height: 1.2;
}

.service-step p {
  margin: 18px 0 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.field-section,
.master-section,
.appliance-section,
.service-section {
  position: relative;
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 86% 16%, rgba(10, 132, 255, 0.22), transparent 26%),
    var(--blue-section);
  overflow: hidden;
}

.field-section::before,
.master-section::before,
.appliance-section::before,
.service-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 248, 250, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 248, 250, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 78%);
  pointer-events: none;
}

.field-section > *,
.master-section > *,
.appliance-section > *,
.service-section > * {
  position: relative;
  z-index: 1;
}

.field-section .section-lead h2,
.master-copy h2,
.appliance-copy h2,
.service-section .section-lead h2,
.workstream strong,
.master-board strong,
.appliance-modes strong,
.service-step h3 {
  color: var(--text-on-dark);
}

.field-copy,
.field-copy p,
.master-copy p:last-child,
.appliance-copy > p:not(.eyebrow),
.workstream span,
.master-board small,
.appliance-modes span,
.service-step p {
  color: var(--blue-section-muted);
}

.workstream,
.workstream div,
.master-board,
.master-board div,
.appliance-modes,
.appliance-modes div,
.service-flow,
.service-step + .service-step {
  border-color: var(--blue-section-line);
}

.master-board span {
  border-color: rgba(246, 248, 250, 0.3);
  background: rgba(246, 248, 250, 0.08);
  color: #7cc2ff;
}

.service-step span {
  color: #7cc2ff;
}

.service-step:not(:last-child)::after {
  border-color: #7cc2ff;
}

.final-cta {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: center;
  padding: clamp(88px, 12vw, 156px) clamp(24px, 6vw, 88px) 34px;
  overflow: hidden;
}

.final-cta::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -8vw;
  width: min(760px, 62vw);
  aspect-ratio: 1.39;
  background: url("./assets/hydroask-appliance-final.png") center / contain no-repeat;
  opacity: 0.18;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.4));
}

.cta-inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.cta-inner p {
  color: var(--text-on-dark-muted);
}

.cta-inner .primary-link {
  margin-top: 34px;
  color: var(--primary);
  background: var(--neutral);
}

.site-footer {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 6vw, 88px);
  right: clamp(24px, 6vw, 88px);
  bottom: 24px;
  justify-content: flex-start;
  gap: 8px 18px;
  flex-wrap: wrap;
  color: var(--text-on-dark-muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 28, 30, 0.66);
  backdrop-filter: blur(20px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition);
}

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

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  background: transparent;
  font-size: 24px;
  line-height: 1;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.qr-grid figure {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--surface-muted);
  box-shadow: var(--shadow-sm);
}

.qr-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 4px;
  background: var(--surface);
}

.qr-grid figcaption {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.qr-grid strong {
  color: var(--text);
  font-size: 18px;
}

.qr-grid span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.video-link {
  width: 100%;
  margin-top: 22px;
  color: var(--text-on-dark);
  background: var(--primary);
}

body.modal-open {
  overflow: hidden;
}

html.has-js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.34, 1.56, 0.64, 1), transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes engineScan {
  0%,
  24% {
    transform: translateX(-58%);
    opacity: 0;
  }
  44% {
    opacity: 1;
  }
  78%,
  100% {
    transform: translateX(58%);
    opacity: 0;
  }
}

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

  .hero::after {
    width: 74vw;
    opacity: 0.36;
  }

  .field-layout,
  .master-section,
  .engine-section,
  .appliance-section,
  .deploy-grid,
  .service-flow {
    grid-template-columns: 1fr;
  }

  .appliance-product-wrap,
  .master-board {
    width: 100%;
  }

  .service-step,
  .service-step + .service-step {
    min-height: auto;
    padding: 26px 0;
    border-left: 0;
  }

  .service-step + .service-step {
    border-top: 1px solid var(--border);
  }

  .service-step h3 {
    margin-top: 28px;
  }

  .service-step:not(:last-child)::after {
    top: auto;
    right: 6px;
    bottom: -6px;
    transform: rotate(135deg);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 14px 18px;
  }

  .brand-plate {
    max-width: 158px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-action {
    min-height: 38px;
    padding: 8px 12px;
  }

  .hero {
    min-height: 100svh;
    padding: 92px 20px 92px;
  }

  .hero::after {
    right: -28vw;
    bottom: 40px;
    width: 100vw;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 78px);
  }

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

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .hero-proof {
    bottom: 18px;
  }

  .section {
    padding: 76px 18px;
  }

  .section-lead h2,
  .master-copy h2,
  .engine-copy h2,
  .appliance-copy h2,
  .cta-inner h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .service-section .section-lead h2 {
    white-space: normal;
    font-size: clamp(34px, 10.4vw, 46px);
  }

  .workstream div,
  .prompt-row,
  .answer-row,
  .source-line,
  .proof-list div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .master-board div {
    grid-template-columns: 48px 1fr;
    gap: 12px 16px;
    padding: 18px 0;
  }

  .master-board small {
    grid-column: 2;
  }

  .knowledge-flow {
    min-height: auto;
    padding: 24px 18px;
  }

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

  .flow-outputs,
  .appliance-modes,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .flow-core {
    min-height: 176px;
  }

  .appliance-product-wrap {
    transform: translateX(-3%);
    width: 108%;
  }

  .contact-modal {
    padding: 12px;
  }

  .modal-panel {
    padding: 26px 18px;
  }
}

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