:root {
  --ink: #061014;
  --ink-2: #0b1d24;
  --muted: #53676f;
  --line: #d8e7ec;
  --soft: #f3fbfd;
  --blue: #0877ff;
  --cyan: #00b8d9;
  --green: #17b26a;
  --amber: #f79009;
  --panel: #ffffff;
  --shadow: 0 22px 70px rgba(7, 17, 20, 0.12);
  --hard-shadow: 0 34px 100px rgba(7, 17, 20, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.text-link:hover { text-decoration: underline; }

.shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.84);
  border-bottom: 1px solid rgba(216,231,236,0.86);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  font-size: 18px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 36px rgba(7,17,20,.22);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }

.mobile-menu { display: none; }

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker { display: none; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(7,17,20,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(7,17,20,.13);
  border-color: rgba(8,119,255,.34);
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button.light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button.large {
  min-height: 52px;
  padding: 0 24px;
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: 42px;
  padding: 34px 0 30px;
}

main {
  background:
    radial-gradient(circle at 76% 12%, rgba(8,119,255,.13), transparent 34%),
    linear-gradient(180deg, #f4fbfd 0%, #fff 44%);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #274953;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.eyebrow {
  margin-bottom: 22px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  text-transform: none;
}

.eyebrow span,
.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(23,178,106,.13);
}

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

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: .97;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.16;
}

.lead {
  max-width: 610px;
  color: #36515a;
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
}

.metric-strip {
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.metric-strip div,
.ops-grid div,
.proof-cards article,
.workflow-rail article,
.package-stack a,
.industry-grid a,
.detail-card,
.faq-card,
.example-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 38px rgba(7,17,20,.06);
}

.metric-strip div {
  min-height: 82px;
  padding: 14px 15px;
}

.metric-strip strong {
  display: block;
  font-size: 27px;
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}

.hero-system {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(201,224,230,.95);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(238,249,252,.92));
  box-shadow: var(--hard-shadow);
  overflow: hidden;
}

.system-glow {
  position: absolute;
  inset: -45% -20% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,119,255,.24), transparent 68%);
  animation: drift 8s ease-in-out infinite alternate;
}

.browser-card,
.command-card,
.ops-grid {
  position: relative;
  z-index: 1;
}

.browser-card {
  overflow: hidden;
  border: 1px solid #cce0e6;
  border-radius: 10px;
  background: #fff;
}

.browser-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f7fbfc;
}

.browser-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfd2d9;
}

.browser-top span {
  min-width: 0;
  flex: 1;
  margin-left: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: #789098;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-panel {
  min-height: 198px;
  display: grid;
  align-content: end;
  margin: 14px;
  padding: 24px;
  border-radius: 10px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6,16,20,.92), rgba(8,119,255,.76)),
    linear-gradient(90deg, transparent, rgba(255,255,255,.1));
  position: relative;
  overflow: hidden;
}

.preview-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.16) 45%, transparent 58%);
  transform: translateX(-120%);
  animation: sheen 5.5s ease-in-out infinite;
}

.preview-panel small,
.preview-panel h2,
.preview-panel button { position: relative; z-index: 1; }

.preview-panel small {
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

.preview-panel h2 {
  max-width: 420px;
  margin: 12px 0 18px;
  font-size: 31px;
}

.preview-panel button {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

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

.service-row {
  padding: 0 14px 14px;
}

.service-row div {
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.service-row b,
.service-row span,
.ops-grid small,
.ops-grid b,
.ops-grid span { display: block; }

.service-row span,
.ops-grid span { color: var(--muted); font-size: 12px; margin-top: 5px; }

.command-card {
  overflow: hidden;
  border: 1px solid #cce0e6;
  border-radius: 10px;
  background: rgba(255,255,255,.95);
}

.floating { animation: float 5s ease-in-out infinite; }

.card-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23,178,106,.1);
  color: #087443;
  font-size: 12px;
  font-weight: 900;
}

.signal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid #edf4f6;
}

.signal-row:last-child { border-bottom: 0; }
.signal-row span { font-weight: 800; }
.signal-row b { color: #567078; font-size: 12px; }

.ops-grid div {
  min-height: 72px;
  padding: 12px 14px;
}

.ops-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-grid b {
  margin-top: 8px;
  font-size: 19px;
}

.section-block { padding: 78px 0; }
.ice-band { padding: 96px 0; background: var(--soft); border-top: 1px solid #edf4f6; border-bottom: 1px solid #edf4f6; }

.dark-band {
  padding: 96px 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(8,119,255,.25), transparent 32%),
    linear-gradient(135deg, #061014, #0b1d24);
}

.dark-band .section-kicker { color: #8fe8ff; }
.dark-band h2 { max-width: 820px; }
.dark-band p { color: rgba(255,255,255,.72); max-width: 620px; font-size: 18px; line-height: 1.55; }

.proof-grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 28px;
  align-items: end;
}

.proof-grid .section-kicker,
.proof-grid h2 { grid-column: 1 / -1; }

.proof-cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.proof-cards article {
  min-height: 225px;
  padding: 24px;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}

.proof-cards span {
  color: #8fe8ff;
  font-weight: 900;
}

.proof-cards p { font-size: 15px; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,420px);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p,
.split-feature p,
.page-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

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

.workflow-rail article {
  min-height: 235px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.workflow-rail article::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px 999px 0 0;
}

.workflow-rail b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.workflow-rail h3 { margin-top: 20px; }
.workflow-rail p { color: var(--muted); line-height: 1.48; }

.center-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(430px, 1fr);
  gap: 52px;
  align-items: center;
}

.package-stack {
  display: grid;
  gap: 12px;
}

.package-stack a {
  display: grid;
  grid-template-columns: 135px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.package-stack a:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.package-stack strong { font-size: 34px; }
.package-stack span { color: var(--muted); font-weight: 800; }

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

.industry-grid.compact { grid-template-columns: repeat(6, minmax(0,1fr)); }

.industry-grid a {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 17px;
  font-weight: 900;
  color: #29444c;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.industry-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(8,119,255,.35);
  box-shadow: var(--shadow);
}

.final-cta {
  padding: 100px 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 28%, rgba(0,184,217,.18), transparent 26%),
    #061014;
}

.final-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 40px;
  align-items: center;
}

.final-inner .section-kicker { color: #8fe8ff; }
.final-inner p { color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.55; max-width: 690px; }

.site-footer {
  padding: 30px 0;
  color: rgba(255,255,255,.66);
  background: #061014;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-grid div {
  display: flex;
  gap: 18px;
}

.page-hero {
  padding: 56px 0 30px;
  background:
    radial-gradient(circle at 80% 16%, rgba(8,119,255,.14), transparent 28%),
    linear-gradient(180deg, #f4fbfd, #fff);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(38px, 4.5vw, 60px);
}

.page-hero p { max-width: 760px; }

.detail-grid,
.faq-grid,
.example-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.detail-card,
.faq-card,
.example-card,
.contact-card {
  padding: 24px;
}

.packages-overview {
  padding-top: 28px;
  padding-bottom: 72px;
}

.packages-overview .detail-card {
  min-height: 285px;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.packages-overview .detail-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: .82;
}

.packages-overview .detail-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8,119,255,.4);
  box-shadow: 0 28px 76px rgba(7,17,20,.14);
}

.price-count {
  display: block;
  margin: 10px 0 12px;
  font-size: 40px;
  line-height: 1;
  font-weight: 950;
  color: var(--ink);
}

.detail-card p,
.faq-card p,
.example-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.55;
}

.detail-card strong,
.example-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.example-visual {
  min-height: 170px;
  display: grid;
  align-content: end;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #061014, #0877ff);
  overflow: hidden;
  position: relative;
}

.example-visual::after {
  content: "";
  position: absolute;
  inset: auto -20px -35px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

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

.preview-example-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 48px rgba(7,17,20,.08);
}

.mini-browser {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #cce0e6;
  border-radius: 10px;
  background: #fff;
}

.mini-browser-top {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: #f7fbfc;
}

.mini-browser-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bfd2d9;
}

.mini-browser-top span {
  min-width: 0;
  margin-left: 6px;
  color: #789098;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-hero {
  min-height: 176px;
  display: grid;
  align-content: end;
  gap: 8px;
  margin: 10px;
  padding: 18px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #061014, #0877ff);
}

.mini-hero.cleaning { background: linear-gradient(135deg, #061014, #17b26a); }
.mini-hero.pressure { background: linear-gradient(135deg, #061014, #00b8d9); }

.mini-hero small {
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-hero h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.08;
}

.mini-hero button {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  padding: 9px 11px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.mini-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 7px;
  padding: 0 10px 10px;
}

.mini-details span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #29444c;
  font-size: 11px;
  font-weight: 850;
}

.preview-example-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.preview-example-card p {
  color: var(--muted);
  line-height: 1.55;
}

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

.compare-panel {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.compare-panel.bad { background: #fff8f6; }
.compare-panel.good { background: #f4fffa; border-color: rgba(23,178,106,.28); }
.compare-panel ul { margin-bottom: 0; color: var(--muted); line-height: 1.8; }

.contact-grid { grid-template-columns: .9fr 1.1fr; }

.form-shell {
  display: grid;
  gap: 12px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #29444c;
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

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

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.form-status.success { color: #0f7a4c; }
.form-status.error { color: #b42318; }

.button:disabled {
  cursor: not-allowed;
  opacity: .68;
  transform: none;
}

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

.legal-copy {
  max-width: 860px;
  color: #304a52;
  line-height: 1.72;
  font-size: 16px;
}

.legal-copy h2 { margin-top: 42px; font-size: 30px; }

.article-shell {
  max-width: 1040px;
}

.article-hero {
  padding: 46px 0 28px;
  background:
    radial-gradient(circle at 80% 16%, rgba(8,119,255,.14), transparent 28%),
    linear-gradient(180deg, #f4fbfd, #fff);
}

.article-hero h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(36px, 3.6vw, 50px);
  line-height: 1.02;
}

.article-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #29444c;
  font-size: 12px;
  font-weight: 900;
}

.article-body {
  max-width: 760px;
  padding: 48px 0 68px;
  color: #304a52;
  font-size: 17px;
  line-height: 1.66;
}

.article-body h2 {
  margin: 38px 0 12px;
  color: var(--ink);
  font-size: clamp(25px, 2.4vw, 32px);
  line-height: 1.08;
}

.article-body h3 {
  margin: 26px 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.article-body p,
.article-body ul,
.article-body ol {
  max-width: 720px;
}

.article-body li { margin: 7px 0; }

.article-callout {
  max-width: 720px;
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(8,119,255,.22);
  border-radius: 8px;
  background: linear-gradient(180deg, #f4fbfd, #fff);
  box-shadow: 0 12px 32px rgba(7,17,20,.06);
}

.article-callout p:last-child { margin-bottom: 0; }

.article-checklist {
  max-width: 720px;
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding-left: 0;
}

.article-checklist li {
  list-style: none;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 22px rgba(7,17,20,.045);
}

.article-next {
  max-width: 720px;
  margin-top: 40px;
  padding: 24px;
  border-radius: 8px;
  background: #061014;
  color: #fff;
}

.article-next h2 {
  margin-top: 0;
  color: #fff;
}

.article-next p {
  color: rgba(255,255,255,.72);
}

.article-next .button {
  margin-top: 10px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  animation: reveal .7s ease forwards;
}

.delay-1 { animation-delay: .15s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes drift {
  to { transform: translate(-28px, 18px) scale(1.08); }
}

@keyframes sheen {
  0%, 54% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

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

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .hero,
  .split-feature,
  .section-head,
  .proof-grid,
  .final-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .workflow-rail,
  .proof-cards,
  .detail-grid,
  .faq-grid,
  .example-grid,
  .preview-example-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .industry-grid,
  .industry-grid.compact { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .shell {
    width: min(390px, calc(100vw - 32px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .site-header {
    padding: 8px 0;
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.66));
    backdrop-filter: blur(18px);
  }
  .nav {
    min-height: 56px;
    padding: 0 10px;
    gap: 10px;
    position: relative;
    border: 1px solid rgba(216,231,236,.92);
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 12px 34px rgba(7,17,20,.09);
  }
  .mobile-menu {
    display: block;
    order: 2;
    flex: 0 0 auto;
  }
  .mobile-menu summary {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    gap: 4px;
    border: 1px solid rgba(216,231,236,.92);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(7,17,20,.07);
  }
  .mobile-menu summary span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
  }
  .mobile-menu-panel {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 8px);
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(216,231,236,.92);
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 48px rgba(7,17,20,.14);
  }
  .mobile-menu-panel a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #29444c;
    font-size: 14px;
    font-weight: 900;
  }
  .mobile-menu-panel a:hover { background: var(--soft); }
  .site-header .button {
    display: inline-flex;
    width: auto;
    min-height: 38px;
    padding: 0 13px;
    font-size: 0;
    box-shadow: none;
    white-space: nowrap;
    flex: 0 0 auto;
    order: 3;
  }
  .site-header .button::after {
    content: "Preview";
    font-size: 13px;
  }
  .brand {
    min-width: 0;
    gap: 9px;
    font-size: 16px;
    flex: 1 1 auto;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex: 0 0 auto;
  }
  .brand > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero {
    padding-top: 34px;
    gap: 36px;
    text-align: center;
  }
  .hero-copy,
  .page-hero .shell,
  .section-head,
  .split-feature,
  .final-inner {
    justify-items: center;
    text-align: center;
  }
  .eyebrow,
  .section-kicker,
  .hero-actions,
  .center-actions {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .eyebrow {
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
    text-align: center;
  }
  .lead,
  .section-head p,
  .page-hero p,
  .final-inner p {
    margin-left: auto;
    margin-right: auto;
  }
  h1 {
    font-size: 34px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
  h2 { font-size: 32px; }
  .lead { font-size: 17px; }
  .hero-actions,
  .center-actions,
  .metric-strip,
  .service-row,
  .ops-grid,
  .workflow-rail,
  .proof-cards,
  .detail-grid,
  .faq-grid,
  .example-grid,
  .preview-example-grid,
  .comparison,
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-system { width: 100%; }
  .system-glow {
    width: 240px;
    height: 240px;
    right: -78px;
  }
  .browser-top span,
  .mini-browser-top span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .preview-panel { margin: 12px; padding: 18px; min-height: 190px; }
  .preview-panel h2 {
    font-size: 24px;
    overflow-wrap: anywhere;
  }
  .metric-strip div,
  .service-row div,
  .ops-grid div,
  .workflow-rail article,
  .proof-cards article,
  .detail-card,
  .faq-card,
  .example-card,
  .preview-example-card,
  .contact-card {
    text-align: center;
  }
  .package-stack a { grid-template-columns: 1fr; gap: 6px; }
  .package-stack {
    width: 100%;
  }
  .package-stack a {
    justify-items: center;
    text-align: center;
  }
  .section-block,
  .ice-band,
  .dark-band,
  .final-cta { padding: 68px 0; }
  .page-hero { padding: 42px 0 22px; }
  .packages-overview { padding-top: 22px; }
  .packages-overview .detail-card { min-height: 0; }
  .price-count { font-size: 34px; }
  .signal-row { grid-template-columns: 1fr; }
  .article-hero { padding: 36px 0 20px; }
  .article-hero h1 { font-size: 34px; line-height: 1.04; }
  .article-hero p { font-size: 16px; }
  .article-body { padding: 38px 0 56px; font-size: 16px; line-height: 1.64; }
  .article-body h2 { margin-top: 32px; font-size: 26px; }
  .article-body h3 { font-size: 19px; }
  .article-callout,
  .article-next { padding: 18px; }
  .article-checklist li { padding: 11px 12px; }
}
