:root {
  --pink: #fbd3f0;
  --aqua: #c4f7ff;
  --lav: #d9c7ff;
  --blue: #d3e8ff;

  --bg1: #ecf8ff;
  --bg2: #d8f0ff;
  --bg3: #cde7f7;
  --bg4: #bbe2fa;

  --ink: #07041b;
  --muted: rgba(7, 4, 27, 0.62);
  --glass: rgba(255, 255, 255, 0.34);
  --glass-border: rgba(7, 4, 27, 0.12);

  --animation-2-delay: 0.25s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Quicksand", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(
    circle at 50% 30%,
    var(--bg1) 0%,
    var(--bg2) 35%,
    var(--bg3) 65%,
    var(--bg4) 100%
  );
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(251, 211, 240, 0.45), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(196, 247, 255, 0.55), transparent 34%);
  z-index: -1;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.section-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header: matches the homepage */
.site-header {
  position: fixed;
  top: clamp(10px, 1.8vw, 24px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1240px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeInSoft 0.75s ease forwards var(--animation-2-delay);
  pointer-events: none;
}

.site-header.is-visible {
  pointer-events: auto;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  display: block;
}

.brand span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 4vw, 52px);
}

.nav-links a,
.header-actions a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-links a::after,
.login-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.nav-links a:hover::after,
.login-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-link {
  color: var(--ink);
}

.signup-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg1) !important;
  box-shadow: 0 16px 34px rgba(7, 4, 27, 0.18);
  letter-spacing: 0.02em !important;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.signup-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(7, 4, 27, 0.24);
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  margin: 0 auto;
}

.menu-btn span::before {
  transform: translateY(-7px);
}

.menu-btn span::after {
  transform: translateY(5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(circle at 25% 20%, rgba(251, 211, 240, 0.62), transparent 36%),
    radial-gradient(circle at 80% 18%, rgba(196, 247, 255, 0.7), transparent 38%),
    radial-gradient(
      circle at 50% 30%,
      rgba(236, 248, 255, 0.92) 0%,
      rgba(216, 240, 255, 0.94) 38%,
      rgba(205, 231, 247, 0.96) 70%,
      rgba(187, 226, 250, 0.98) 100%
    );
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-content {
  position: relative;
  width: min(420px, 100%);
  min-height: min(560px, calc(100svh - 56px));
  border-radius: 32px;
  border: 1px solid rgba(7, 4, 27, 0.12);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 70px rgba(7, 4, 27, 0.12);
  backdrop-filter: blur(18px);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: scale(0.96);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open .mobile-menu-content {
  transform: scale(1);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mobile-menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}

.mobile-menu-brand img {
  width: 32px;
  height: 32px;
  display: block;
}

.menu-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  position: relative;
  transition: transform 0.28s ease, background 0.28s ease;
}

.menu-close:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.72);
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-links {
  display: grid;
  gap: 8px;
  margin: 46px 0;
  justify-items: center;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 17px 4px;
  text-decoration: none;
  color: var(--ink);
  font-size: clamp(28px, 9vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  border-bottom: 1px solid rgba(7, 4, 27, 0.1);
  opacity: 0;
  transform: translateY(14px);
  text-align: center;
}

.mobile-menu.is-open .mobile-menu-links a {
  animation: mobileLinkIn 0.56s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-menu.is-open .mobile-menu-links a:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(2) { animation-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(3) { animation-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(4) { animation-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(5) { animation-delay: 0.32s; }

.mobile-menu-actions {
  display: grid;
  gap: 10px;
}

.mobile-menu-signup {
  min-height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bg1);
  background: var(--ink);
  box-shadow: 0 18px 44px rgba(7, 4, 27, 0.18);
}

body.menu-open {
  overflow: hidden;
}

/* Page */
.hero {
  min-height: 92svh;
  padding-top: 132px;
  padding-bottom: 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(410px, 1.08fr);
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(7, 4, 27, 0.12);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  color: rgba(7, 4, 27, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  box-shadow: 0 0 12px rgba(196, 247, 255, 0.9);
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(38px, 4.25vw, 58px);
  line-height: 1.02;
}

.hero-intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.62;
  font-weight: 500;
}

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

.button {
  min-width: 150px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease;
}

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

.button-dark {
  background: var(--ink);
  color: var(--bg1);
  box-shadow: 0 18px 38px rgba(7, 4, 27, 0.2);
}

.button-dark:hover {
  box-shadow: 0 24px 52px rgba(7, 4, 27, 0.26);
}

.button-light {
  color: var(--ink);
  border-color: rgba(7, 4, 27, 0.22);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(7, 4, 27, 0.08);
}

.button-light:hover {
  border-color: rgba(7, 4, 27, 0.36);
  background: rgba(255, 255, 255, 0.28);
}

.hero-note {
  margin: 15px 0 0;
  color: rgba(7, 4, 27, 0.56);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -16%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 199, 255, 0.34), rgba(196, 247, 255, 0.16), transparent 68%);
  filter: blur(30px);
}

.workflow-window {
  padding: 16px;
  border: 1px solid rgba(7, 4, 27, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 28px 70px rgba(7, 4, 27, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(22px);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-window:hover {
  transform: translateY(-5px);
}

.window-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2px 4px 13px;
  color: rgba(7, 4, 27, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.window-top > div {
  display: flex;
  gap: 5px;
}

.window-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(7, 4, 27, 0.18);
}

.live-pill {
  justify-self: end;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(196, 247, 255, 0.72);
  color: rgba(7, 4, 27, 0.68);
}

.workflow-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  padding: 22px 14px;
  border: 1px solid rgba(7, 4, 27, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.32);
}

.workflow-node {
  display: grid;
  justify-items: center;
  min-width: 62px;
  text-align: center;
}

.workflow-node > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 4, 27, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  color: rgba(7, 4, 27, 0.45);
  font-size: 9px;
  font-weight: 700;
}

.workflow-node strong {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.2;
}

.workflow-node.is-complete > span {
  color: var(--ink);
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  border-color: transparent;
}

.workflow-node.is-active > span {
  color: var(--bg1);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 6px rgba(196, 247, 255, 0.26);
}

.workflow-line {
  height: 1px;
  background: rgba(7, 4, 27, 0.13);
}

.workflow-line.is-complete {
  background: linear-gradient(90deg, var(--pink), var(--aqua));
}

.workflow-line.is-active {
  background: linear-gradient(90deg, var(--aqua), rgba(7, 4, 27, 0.16));
}

.issue-preview {
  margin-top: 12px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(7, 4, 27, 0.9);
  color: var(--bg1);
  box-shadow: 0 18px 46px rgba(7, 4, 27, 0.16);
}

.issue-preview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.preview-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(236, 248, 255, 0.5);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.issue-preview-top strong {
  font-size: 14px;
}

.priority-pill {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(251, 211, 240, 0.14);
  color: var(--pink);
  font-size: 9px;
  font-weight: 700;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 17px;
}

.preview-grid div {
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.preview-grid span,
.preview-grid strong {
  display: block;
}

.preview-grid span {
  color: rgba(236, 248, 255, 0.45);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-grid strong {
  margin-top: 5px;
  font-size: 10px;
}

.journey {
  padding-top: 84px;
  padding-bottom: 98px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.02;
}

.section-heading > p {
  max-width: 600px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  font-weight: 500;
}

.steps {
  display: grid;
  gap: 14px;
}

.step-card {
  min-height: 360px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(24px, 3.3vw, 40px);
  border: 1px solid rgba(7, 4, 27, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.29);
  box-shadow: 0 18px 48px rgba(7, 4, 27, 0.07);
  backdrop-filter: blur(18px);
}

.step-card:nth-child(even) {
  grid-template-columns: 54px minmax(280px, 0.72fr) minmax(0, 1fr);
}

.step-card:nth-child(even) .step-copy {
  grid-column: 3;
}

.step-card:nth-child(even) .step-demo {
  grid-column: 2;
  grid-row: 1;
}

.step-number {
  align-self: start;
  padding-top: 4px;
  color: rgba(7, 4, 27, 0.38);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.step-kicker {
  margin: 0 0 9px;
  color: rgba(7, 4, 27, 0.46);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step-copy h3 {
  margin: 0;
  max-width: 580px;
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.step-copy > p:not(.step-kicker) {
  max-width: 590px;
  margin: 15px 0 0;
  color: rgba(7, 4, 27, 0.62);
  font-size: 13px;
  line-height: 1.58;
  font-weight: 500;
}

.step-points {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.step-points span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(7, 4, 27, 0.7);
  font-size: 12px;
  line-height: 1.42;
  font-weight: 600;
}

.step-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  box-shadow: 0 0 10px rgba(196, 247, 255, 0.9);
}

.resolution-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.resolution-options span {
  padding: 7px 10px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  color: rgba(7, 4, 27, 0.66);
  font-size: 10px;
  font-weight: 700;
}

.step-demo {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(7, 4, 27, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(251, 211, 240, 0.4), transparent 48%),
    rgba(255, 255, 255, 0.25);
}

.room-card {
  position: relative;
  width: min(250px, 100%);
  min-height: 180px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 44px rgba(7, 4, 27, 0.09);
}

.room-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  height: 1px;
  background: rgba(7, 4, 27, 0.08);
}

.room-object {
  position: absolute;
  right: 28px;
  bottom: 53px;
  width: 82px;
  height: 65px;
  border: 1px solid rgba(7, 4, 27, 0.11);
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(145deg, rgba(196, 247, 255, 0.78), rgba(217, 199, 255, 0.48));
}

.alert-ring {
  position: absolute;
  right: 84px;
  bottom: 84px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 4, 27, 0.08);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 10px rgba(251, 211, 240, 0.28);
  font-size: 15px;
  font-weight: 700;
}

.room-card p {
  position: absolute;
  left: 20px;
  bottom: 19px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
}

.room-card small {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: rgba(7, 4, 27, 0.45);
  font-size: 8px;
}

.qr-card {
  width: min(300px, 100%);
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 48px rgba(7, 4, 27, 0.1);
}

.fake-qr {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 7px;
  border-radius: 12px;
  background: white;
}

.fake-qr b {
  border-radius: 2px;
  background: var(--ink);
}

.fake-qr b:nth-child(3n),
.fake-qr b:nth-child(5n) {
  background: transparent;
}

.qr-card span,
.qr-card strong,
.qr-card small {
  display: block;
}

.qr-card span {
  color: rgba(7, 4, 27, 0.45);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.qr-card strong {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.25;
}

.qr-card small {
  margin-top: 8px;
  color: rgba(7, 4, 27, 0.45);
  font-size: 8px;
}

.mini-form {
  width: min(300px, 100%);
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 48px rgba(7, 4, 27, 0.1);
}

.mini-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mini-form-head span {
  font-size: 12px;
  font-weight: 700;
}

.mini-form-head small {
  color: rgba(7, 4, 27, 0.45);
  font-size: 8px;
}

.mini-form label {
  display: block;
  color: rgba(7, 4, 27, 0.5);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.mini-form label i {
  display: block;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font-style: normal;
  font-size: 10px;
  text-transform: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.photo-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 11px;
  background: rgba(196, 247, 255, 0.44);
  font-size: 8px;
  font-weight: 700;
}

.mini-dashboard {
  width: min(310px, 100%);
  padding: 16px;
  border-radius: 22px;
  background: rgba(7, 4, 27, 0.9);
  color: var(--bg1);
  box-shadow: 0 22px 52px rgba(7, 4, 27, 0.2);
}

.mini-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 3px 13px;
  font-size: 11px;
  font-weight: 700;
}

.mini-dashboard-head b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--ink);
  font-size: 9px;
}

.issue-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 12px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.issue-row > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.issue-row.is-new > i {
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.issue-row strong,
.issue-row small {
  display: block;
}

.issue-row strong {
  font-size: 9px;
}

.issue-row small {
  margin-top: 4px;
  color: rgba(236, 248, 255, 0.5);
  font-size: 7px;
}

.issue-row > span {
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(236, 248, 255, 0.68);
  font-size: 7px;
}

.action-panel {
  width: min(300px, 100%);
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 48px rgba(7, 4, 27, 0.1);
}

.action-status,
.assigned-card,
.activity {
  padding: 12px;
  border: 1px solid rgba(7, 4, 27, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
}

.action-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.action-status span,
.assigned-card > span,
.activity > span {
  color: rgba(7, 4, 27, 0.48);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.action-status strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}

.action-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 9px var(--aqua);
}

.assigned-card {
  margin-top: 8px;
}

.assigned-card > div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
}

.assigned-card b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 8px;
}

.assigned-card strong {
  font-size: 10px;
}

.assigned-card small {
  display: block;
  margin-top: 3px;
  color: rgba(7, 4, 27, 0.46);
  font-size: 7px;
}

.activity {
  margin-top: 8px;
}

.activity p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0 0;
  color: rgba(7, 4, 27, 0.7);
  font-size: 8px;
  font-weight: 600;
}

.activity p i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
}

.resolved-card {
  width: min(300px, 100%);
  padding: 30px 24px;
  border-radius: 24px;
  background: rgba(7, 4, 27, 0.9);
  color: var(--bg1);
  box-shadow: 0 22px 52px rgba(7, 4, 27, 0.2);
  text-align: center;
}

.checkmark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 0 0 9px rgba(196, 247, 255, 0.08);
}

.resolved-card > span {
  display: block;
  color: rgba(236, 248, 255, 0.5);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.resolved-card > strong {
  display: block;
  margin-top: 7px;
  font-size: 15px;
}

.resolved-card > small {
  display: block;
  margin-top: 6px;
  color: rgba(236, 248, 255, 0.5);
  font-size: 8px;
}

.history-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
}

.history-tags b {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(236, 248, 255, 0.68);
  font-size: 7px;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 46px;
  margin-bottom: 72px;
  padding: clamp(30px, 4.5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background: rgba(7, 4, 27, 0.9);
  color: var(--bg1);
  box-shadow: 0 26px 64px rgba(7, 4, 27, 0.18);
}

.eyebrow-light {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(236, 248, 255, 0.58);
}

.final-cta h2 {
  max-width: 650px;
  color: var(--bg1);
}

.final-cta p {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(236, 248, 255, 0.62);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}

.final-actions {
  flex: 0 0 auto;
  margin: 0;
}

.button-aqua {
  background: var(--aqua);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(196, 247, 255, 0.16);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--bg1);
}

.button-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding-top: 24px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(7, 4, 27, 0.11);
  color: rgba(7, 4, 27, 0.56);
  font-size: 11px;
}

.footer-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.footer-brand img {
  width: 24px;
  height: 24px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > div {
  justify-self: end;
  display: flex;
  gap: 18px;
}

.site-footer > div a {
  text-decoration: none;
}

.site-footer > div a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s ease,
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

@keyframes fadeInSoft {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1020px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 142px;
  }

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

  .hero-visual {
    width: min(700px, 100%);
    margin-inline: auto;
  }

  .step-card,
  .step-card:nth-child(even) {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .step-number {
    grid-row: 1 / span 2;
  }

  .step-card .step-demo,
  .step-card:nth-child(even) .step-demo {
    grid-column: 2;
    grid-row: auto;
    width: 100%;
  }

  .step-card:nth-child(even) .step-copy {
    grid-column: 2;
  }

  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 14px;
    width: min(100%, calc(100% - 32px));
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-btn {
    justify-self: end;
    display: block;
  }

  .section-shell {
    width: min(760px, calc(100% - 32px));
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand,
  .site-footer > div {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(620px, calc(100% - 24px));
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 68px;
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .hero-actions,
  .final-actions {
    display: grid;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .workflow-window {
    padding: 11px;
    border-radius: 25px;
  }

  .workflow-track {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 17px 12px;
  }

  .workflow-line {
    width: 1px;
    height: 16px;
    justify-self: center;
  }

  .workflow-node {
    min-width: 0;
  }

  .issue-preview {
    padding: 16px;
  }

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

  .journey {
    padding-top: 66px;
    padding-bottom: 76px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(30px, 9.5vw, 42px);
  }

  .step-card,
  .step-card:nth-child(even) {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 22px;
    border-radius: 25px;
  }

  .step-number,
  .step-card:nth-child(even) .step-copy,
  .step-card .step-demo,
  .step-card:nth-child(even) .step-demo {
    grid-column: 1;
    grid-row: auto;
  }

  .step-number {
    padding-top: 0;
  }

  .step-copy h3 {
    font-size: 25px;
  }

  .step-demo {
    min-height: 230px;
    padding: 12px;
  }

  .qr-card {
    flex-direction: column;
    text-align: center;
  }

  .final-cta {
    margin-bottom: 52px;
    padding: 26px 21px;
    border-radius: 28px;
  }

  .mobile-menu {
    padding: 16px;
  }

  .mobile-menu-content {
    min-height: calc(100svh - 32px);
    border-radius: 28px;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Requested homepage alignment */
html {
  background: radial-gradient(
    circle at 50% 30%,
    var(--bg1) 0%,
    var(--bg2) 35%,
    var(--bg3) 65%,
    var(--bg4) 100%
  );
  background-attachment: fixed;
}

body {
  position: relative;
  background: radial-gradient(
    circle at 50% 30%,
    var(--bg1) 0%,
    var(--bg2) 35%,
    var(--bg3) 65%,
    var(--bg4) 100%
  );
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 211, 240, 0.45), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(196, 247, 255, 0.55), transparent 34%);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Homepage pill treatment */
.eyebrow,
.eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(7, 4, 27, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: rgba(7, 4, 27, 0.66);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.eyebrow span,
.eyebrow-light span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  box-shadow: 0 0 12px rgba(196, 247, 255, 0.9);
}

/* Homepage card colours */
.step-card {
  border: 1px solid rgba(7, 4, 27, 0.12);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 38px rgba(7, 4, 27, 0.08);
  backdrop-filter: blur(18px);
}

.step-result {
  margin-top: 20px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(7, 4, 27, 0.88);
  color: var(--bg1);
}

.step-result > span {
  display: block;
  margin-bottom: 6px;
  color: rgba(236, 248, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step-result > p {
  margin: 0;
  color: rgba(236, 248, 255, 0.86);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 500;
}

/* The homepage header gains a compact glass background after scrolling. */
.site-header {
  transition:
    padding 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  padding: 10px 14px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 999px;
  background: rgba(236, 248, 255, 0.68);
  box-shadow: 0 16px 44px rgba(7, 4, 27, 0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 5;
  width: min(1240px, calc(100% - 48px));
  min-height: 118px;
  margin: 0 auto;
  padding: 34px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(7, 4, 27, 0.1);
  color: rgba(7, 4, 27, 0.62);
  font-size: initial;
  text-align: initial;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(520px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 211, 240, 0.68),
    rgba(196, 247, 255, 0.78),
    transparent
  );
}

.footer-copyright {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
}

.footer-legal {
  justify-self: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  text-align: right;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.footer-legal a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.footer-legal a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.footer-legal span {
  color: rgba(7, 4, 27, 0.36);
}

@media (max-width: 700px) {
  .site-footer {
    width: min(100%, calc(100% - 32px));
    min-height: 142px;
    padding: 30px 0 34px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    text-align: left;
  }

  .footer-copyright {
    text-align: left;
  }

  .footer-legal {
    justify-content: flex-start;
    text-align: left;
    gap: 7px;
  }
}

/* Resolve the previous footer paragraph rule without changing the supplied footer design. */
.site-footer .footer-copyright {
  margin: 0;
  text-align: left;
}

/* ---------------------------------------------------------
   Refined step visuals and anchor behaviour
   --------------------------------------------------------- */

#journey {
  scroll-margin-top: 112px;
}

/* The step card remains the only large container. Visuals sit directly
   inside it, without a second tinted panel around the UI mockups. */
.step-demo,
.step-card .step-demo,
.step-card:nth-child(even) .step-demo {
  min-width: 0;
  min-height: 250px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

/* Step 01 - a clear leaking-sink scene rather than an abstract card. */
.problem-scene {
  position: relative;
  width: min(340px, 100%);
  height: 260px;
  margin-inline: auto;
  isolation: isolate;
}

.problem-glow {
  position: absolute;
  inset: 12% 4% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(196, 247, 255, 0.62),
    rgba(217, 199, 255, 0.26) 46%,
    transparent 72%
  );
  filter: blur(18px);
}

.sink-unit {
  position: absolute;
  left: 50%;
  top: 51%;
  width: 232px;
  height: 184px;
  transform: translate(-50%, -50%);
}

.sink-basin {
  position: absolute;
  top: 46px;
  left: 24px;
  width: 184px;
  height: 30px;
  z-index: 4;
  border: 1px solid rgba(7, 4, 27, 0.13);
  border-radius: 8px 8px 15px 15px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(7, 4, 27, 0.08);
}

.tap-neck {
  position: absolute;
  top: 7px;
  left: 104px;
  width: 42px;
  height: 51px;
  z-index: 3;
  border-top: 8px solid rgba(7, 4, 27, 0.86);
  border-left: 8px solid rgba(7, 4, 27, 0.86);
  border-radius: 22px 0 0 0;
}

.tap-spout {
  position: absolute;
  top: 7px;
  left: 135px;
  width: 40px;
  height: 8px;
  z-index: 3;
  border-radius: 999px;
  background: rgba(7, 4, 27, 0.86);
}

.cabinet-body {
  position: absolute;
  top: 69px;
  left: 34px;
  width: 164px;
  height: 108px;
  overflow: hidden;
  border: 1px solid rgba(7, 4, 27, 0.12);
  border-radius: 10px 10px 20px 20px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72),
    rgba(211, 232, 255, 0.54)
  );
  box-shadow: 0 22px 44px rgba(7, 4, 27, 0.11);
}

.cabinet-body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(7, 4, 27, 0.1);
}

.cabinet-body span {
  position: absolute;
  top: 48%;
  width: 6px;
  height: 18px;
  border-radius: 999px;
  background: rgba(7, 4, 27, 0.28);
}

.cabinet-body span:first-child {
  left: calc(50% - 15px);
}

.cabinet-body span:last-child {
  right: calc(50% - 15px);
}

.pipe-line {
  position: absolute;
  top: 75px;
  left: 108px;
  width: 16px;
  height: 63px;
  z-index: 5;
  border-radius: 4px 4px 9px 9px;
  background: linear-gradient(90deg, #d7e6ed, #ffffff, #bdd2dd);
  box-shadow: inset 0 0 0 1px rgba(7, 4, 27, 0.08);
}

.pipe-joint {
  position: absolute;
  top: 125px;
  left: 102px;
  width: 28px;
  height: 16px;
  z-index: 6;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 999px;
  background: #eef8fb;
  transform: rotate(-4deg);
}

.water-drop {
  position: absolute;
  z-index: 7;
  width: 12px;
  height: 17px;
  border-radius: 70% 30% 65% 35% / 70% 35% 65% 30%;
  background: linear-gradient(145deg, #ffffff, #7ddcff 58%, #8db8ff);
  box-shadow: 0 7px 13px rgba(96, 194, 233, 0.28);
  transform: rotate(45deg);
}

.drop-one {
  left: calc(50% - 1px);
  top: 174px;
}

.drop-two {
  left: calc(50% + 20px);
  top: 195px;
  width: 8px;
  height: 12px;
  opacity: 0.76;
}

.water-puddle {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 116px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(121, 218, 255, 0.78),
    rgba(196, 247, 255, 0.38) 52%,
    transparent 72%
  );
  transform: translateX(-50%);
  filter: blur(0.2px);
}

.problem-alert {
  position: absolute;
  top: 15px;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 36px rgba(7, 4, 27, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.problem-alert > b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font-size: 12px;
  box-shadow: 0 0 0 7px rgba(251, 211, 240, 0.25);
}

.problem-alert strong,
.problem-alert small {
  display: block;
}

.problem-alert strong {
  font-size: 10px;
  line-height: 1.2;
}

.problem-alert small {
  margin-top: 3px;
  color: rgba(7, 4, 27, 0.48);
  font-size: 7px;
}

/* Step 02 - QR sign and phone shown as one scanning action. */
.scan-scene {
  position: relative;
  width: min(350px, 100%);
  height: 246px;
  margin-inline: auto;
}

.qr-sign {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  width: 220px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 48px rgba(7, 4, 27, 0.1);
  transform: translateY(-50%) rotate(-2deg);
}

.qr-sign .fake-qr {
  width: 76px;
  height: 76px;
  padding: 7px;
  flex: 0 0 auto;
}

.qr-sign span,
.qr-sign strong,
.qr-sign small {
  display: block;
}

.qr-sign span {
  color: rgba(7, 4, 27, 0.45);
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.qr-sign strong {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.25;
}

.qr-sign small {
  margin-top: 7px;
  color: rgba(7, 4, 27, 0.42);
  font-size: 7px;
}

.scan-beam {
  position: absolute;
  left: 47%;
  top: 50%;
  z-index: 1;
  width: 40%;
  height: 54px;
  background: linear-gradient(
    90deg,
    rgba(196, 247, 255, 0.04),
    rgba(196, 247, 255, 0.5),
    rgba(217, 199, 255, 0.1)
  );
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%);
  transform: translateY(-50%);
  filter: blur(2px);
}

.phone-scan {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 3;
  width: 112px;
  height: 214px;
  padding: 8px;
  overflow: hidden;
  border: 4px solid rgba(7, 4, 27, 0.86);
  border-radius: 27px;
  background: rgba(7, 4, 27, 0.9);
  box-shadow: 0 24px 52px rgba(7, 4, 27, 0.18);
  transform: translateY(-50%) rotate(3deg);
}

.phone-speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 3;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 54px 10px 12px;
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% 22%, rgba(251, 211, 240, 0.58), transparent 28%),
    linear-gradient(155deg, #f8fdff, #dff6ff 52%, #e8ddff);
  color: var(--ink);
  text-align: center;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  transform: translateX(-50%);
}

.phone-screen span,
.phone-screen strong,
.phone-screen i {
  display: block;
}

.phone-screen span {
  color: rgba(7, 4, 27, 0.48);
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.phone-screen strong {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.2;
}

.phone-screen i {
  margin-top: 13px;
  padding: 7px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(7, 4, 27, 0.58);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

/* Priority colours in Step 04. */
.issue-row.is-urgent > i,
.issue-row.is-new.is-urgent > i {
  background: #ff6878;
  box-shadow: 0 0 12px rgba(255, 104, 120, 0.9);
}

.issue-row.is-normal > i {
  background: #f2c75d;
  box-shadow: 0 0 11px rgba(242, 199, 93, 0.55);
}

.issue-row.is-low > i {
  background: #79c9ff;
  box-shadow: 0 0 11px rgba(121, 201, 255, 0.55);
}

/* Keep the dark CTA pill readable on the dark panel. */
.final-cta .eyebrow-light {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(236, 248, 255, 0.66);
}

.final-cta .eyebrow-light span {
  background: linear-gradient(135deg, #f4edff, var(--aqua));
  box-shadow: 0 0 12px rgba(196, 247, 255, 0.68);
}

/* Responsive safeguards for every visual and text block. */
.mini-form,
.mini-dashboard,
.action-panel,
.resolved-card,
.qr-sign,
.problem-scene,
.scan-scene {
  max-width: 100%;
}

.step-copy,
.step-copy h3,
.step-copy > p,
.step-points,
.step-result {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1020px) {
  #journey {
    scroll-margin-top: 104px;
  }

  .problem-scene,
  .scan-scene {
    width: min(390px, 100%);
  }
}

@media (max-width: 680px) {
  #journey {
    scroll-margin-top: 92px;
  }

  .step-demo,
  .step-card .step-demo,
  .step-card:nth-child(even) .step-demo {
    min-height: 220px;
    padding: 0;
  }

  .problem-scene {
    height: 230px;
  }

  .problem-alert {
    right: 4px;
  }

  .sink-unit {
    transform: translate(-50%, -50%) scale(0.92);
  }

  .scan-scene {
    height: 224px;
  }

  .qr-sign {
    width: min(220px, 72%);
  }

  .phone-scan {
    width: 104px;
    height: 200px;
  }
}

@media (max-width: 460px) {
  .step-card,
  .step-card:nth-child(even) {
    padding: 20px;
  }

  .problem-scene {
    height: 220px;
  }

  .sink-unit {
    left: 46%;
    transform: translate(-50%, -50%) scale(0.84);
  }

  .problem-alert {
    top: 8px;
    right: 0;
    padding-right: 10px;
  }

  .problem-alert > b {
    width: 25px;
    height: 25px;
  }

  .scan-scene {
    height: 210px;
  }

  .qr-sign {
    left: 0;
    width: 190px;
    gap: 10px;
    padding: 13px;
  }

  .qr-sign .fake-qr {
    width: 62px;
    height: 62px;
    padding: 6px;
  }

  .qr-sign strong {
    font-size: 9px;
  }

  .phone-scan {
    right: 0;
    width: 92px;
    height: 180px;
    border-width: 3px;
    border-radius: 23px;
  }

  .phone-screen {
    padding-inline: 7px;
  }

  .phone-screen strong {
    font-size: 9px;
  }

  .scan-beam {
    left: 44%;
    width: 42%;
  }

  .mini-form,
  .mini-dashboard,
  .action-panel,
  .resolved-card {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .photo-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 360px) {
  .section-shell {
    width: calc(100% - 20px);
  }

  .step-card,
  .step-card:nth-child(even) {
    padding: 18px;
    border-radius: 22px;
  }

  .step-copy h3 {
    font-size: 23px;
  }

  .problem-alert small {
    display: none;
  }

  .qr-sign {
    width: 178px;
  }

  .phone-scan {
    width: 86px;
  }
}

/* ---------------------------------------------------------
   Final Step 01 + Step 02 visual refinements
   --------------------------------------------------------- */

/* Step 01: one simple, standalone issue notification. */
.problem-scene {
  width: min(360px, 100%);
  height: 220px;
  display: grid;
  place-items: center;
}

.leak-notice {
  width: min(330px, 100%);
  min-height: 112px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 50px rgba(7, 4, 27, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.leak-notice-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(196, 247, 255, 0.88),
    rgba(217, 199, 255, 0.72)
  );
  box-shadow:
    inset 0 0 0 1px rgba(7, 4, 27, 0.08),
    0 12px 28px rgba(7, 4, 27, 0.08);
}

.leak-drop {
  width: 22px;
  height: 29px;
  border-radius: 58% 42% 65% 35% / 66% 38% 62% 34%;
  background: linear-gradient(145deg, #ffffff, #79dcff 62%, #96b9ff);
  box-shadow: 0 8px 16px rgba(96, 194, 233, 0.26);
  transform: rotate(45deg);
}

.leak-notice-icon b {
  position: absolute;
  right: -6px;
  top: -6px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font-size: 11px;
  box-shadow: 0 0 0 6px rgba(251, 211, 240, 0.24);
}

.leak-notice-copy {
  min-width: 0;
}

.leak-notice-copy span,
.leak-notice-copy strong,
.leak-notice-copy small {
  display: block;
}

.leak-notice-copy span {
  color: rgba(7, 4, 27, 0.45);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.leak-notice-copy strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.leak-notice-copy small {
  margin-top: 5px;
  color: rgba(7, 4, 27, 0.48);
  font-size: 9px;
  font-weight: 600;
}

.leak-notice > i {
  align-self: start;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(251, 211, 240, 0.48);
  color: rgba(7, 4, 27, 0.62);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

/* Step 02: keep only the QR card and centre it cleanly. */
.scan-scene {
  width: min(350px, 100%);
  height: 220px;
  display: grid;
  place-items: center;
}

.qr-sign {
  position: relative;
  inset: auto;
  width: min(310px, 100%);
  gap: 18px;
  padding: 20px;
  transform: rotate(-1.2deg);
}

.qr-sign .fake-qr {
  width: 88px;
  height: 88px;
  padding: 8px;
}

.qr-sign strong {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.25;
}

/* The removed phone/beam can never reserve space through old rules. */
.scan-beam,
.phone-scan,
.phone-speaker,
.phone-screen {
  display: none !important;
}

@media (max-width: 680px) {
  .problem-scene,
  .scan-scene {
    height: 200px;
  }

  .leak-notice {
    width: min(330px, 100%);
  }

  .qr-sign {
    width: min(310px, 100%);
  }
}

@media (max-width: 460px) {
  .problem-scene,
  .scan-scene {
    height: auto;
    min-height: 176px;
  }

  .leak-notice {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
    border-radius: 20px;
  }

  .leak-notice-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .leak-drop {
    width: 19px;
    height: 25px;
  }

  .leak-notice > i {
    grid-column: 2;
    justify-self: start;
    align-self: auto;
    margin-top: -2px;
  }

  .qr-sign {
    width: 100%;
    gap: 13px;
    padding: 16px;
    border-radius: 20px;
  }

  .qr-sign .fake-qr {
    width: 72px;
    height: 72px;
    padding: 7px;
  }

  .qr-sign strong {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .leak-notice {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .leak-notice > i {
    grid-column: 1;
  }

  .qr-sign {
    align-items: flex-start;
  }

  .qr-sign .fake-qr {
    width: 66px;
    height: 66px;
  }
}

/* ---------------------------------------------------------
   Final requested Step 01 + Step 02 adjustments
   --------------------------------------------------------- */

/* Step 01: replace the drop tile with one clean alert symbol. */
.leak-notice-icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.leak-notice-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(7, 4, 27, 0.08);
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(251, 211, 240, 0.96),
    rgba(196, 247, 255, 0.92)
  );
  box-shadow:
    0 0 0 8px rgba(251, 211, 240, 0.16),
    0 13px 28px rgba(7, 4, 27, 0.09);
}

.leak-notice-icon b {
  position: relative;
  inset: auto;
  z-index: 1;
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
}

.leak-drop {
  display: none !important;
}

/* Step 02: keep the QR card perfectly straight. */
.qr-sign {
  transform: none !important;
}

@media (max-width: 460px) {
  .leak-notice-icon {
    width: 50px;
    height: 50px;
  }

  .leak-notice-icon::before {
    inset: 5px;
    box-shadow:
      0 0 0 7px rgba(251, 211, 240, 0.15),
      0 11px 24px rgba(7, 4, 27, 0.08);
  }
}

/* ---------------------------------------------------------
   Tablet-only layout alignment
   Desktop (>1020px) and mobile (<=680px) remain unchanged.
   --------------------------------------------------------- */
@media (min-width: 681px) and (max-width: 1020px) {
  /* Keep the opening section in one desktop-style row. */
  .hero {
    min-height: 92svh;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 42px);
    padding-top: 132px;
    padding-bottom: 72px;
  }

  .hero-copy {
    max-width: none;
    min-width: 0;
  }

  .hero-visual {
    width: 100%;
    min-width: 0;
    margin-inline: 0;
  }

  .workflow-window {
    padding: 13px;
    border-radius: 26px;
  }

  .workflow-track {
    padding: 18px 9px;
  }

  .workflow-node {
    min-width: 48px;
  }

  .workflow-node strong {
    font-size: 9px;
  }

  .issue-preview {
    padding: 15px;
  }

  /* Keep every step in the same alternating desktop layout. */
  .step-card,
  .step-card:nth-child(even) {
    min-height: 360px;
    align-items: center;
    gap: clamp(18px, 3vw, 30px);
    padding: clamp(22px, 3vw, 30px);
  }

  .step-card {
    grid-template-columns: 38px minmax(0, 1fr) minmax(220px, 0.78fr);
  }

  .step-card:nth-child(even) {
    grid-template-columns: 38px minmax(220px, 0.78fr) minmax(0, 1fr);
  }

  .step-number {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .step-card .step-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .step-card .step-demo {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }

  .step-card:nth-child(even) .step-copy {
    grid-column: 3;
    grid-row: 1;
  }

  .step-card:nth-child(even) .step-demo {
    grid-column: 2;
    grid-row: 1;
  }

  .step-demo,
  .step-card .step-demo,
  .step-card:nth-child(even) .step-demo {
    min-height: 230px;
  }

  .problem-scene,
  .scan-scene {
    width: min(320px, 100%);
  }

  .leak-notice {
    padding: 15px;
    gap: 11px;
  }

  .leak-notice > i {
    padding: 6px 8px;
  }

  .qr-sign {
    width: min(285px, 100%);
    gap: 14px;
    padding: 17px;
  }

  .qr-sign .fake-qr {
    width: 78px;
    height: 78px;
  }
}

/* ---------------------------------------------------------
   Mobile-only layout refinement
   Applies only at 680px and below. Desktop and tablet rules
   above this breakpoint remain unchanged.
   --------------------------------------------------------- */
.step-summary-mobile,
.step-points-mobile {
  display: none;
}

@media (max-width: 680px) {
  /* Keep every fixed element inside the actual phone viewport. */
  html,
  body {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header,
  .site-header.is-scrolled {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    transform: none;
  }

  .site-header {
    top: 12px;
    gap: 8px;
  }

  .site-header.is-scrolled {
    padding: 8px 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 29px;
    height: 29px;
  }

  .brand span {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
  }

  .menu-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
  }

  /* The overview remains below the text, but its internal flow stays horizontal. */
  .hero {
    gap: 36px;
  }

  .hero-visual,
  .workflow-window,
  .issue-preview {
    min-width: 0;
    max-width: 100%;
  }

  .workflow-window {
    padding: 10px;
  }

  .window-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
    padding: 2px 2px 11px;
  }

  .window-top > span:nth-child(2) {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .workflow-track {
    grid-template-columns: auto minmax(8px, 1fr) auto minmax(8px, 1fr) auto minmax(8px, 1fr) auto;
    gap: 0;
    padding: 14px 5px;
  }

  .workflow-node {
    min-width: 44px;
  }

  .workflow-node > span {
    width: 26px;
    height: 26px;
    font-size: 8px;
  }

  .workflow-node strong {
    margin-top: 6px;
    font-size: 7px;
    line-height: 1.1;
  }

  .workflow-line {
    width: auto;
    height: 1px;
    justify-self: stretch;
  }

  .issue-preview {
    padding: 14px;
  }

  .issue-preview-top {
    gap: 8px;
  }

  .issue-preview-top strong {
    font-size: 12px;
  }

  .priority-pill {
    flex: 0 0 auto;
    padding: 5px 8px;
  }

  .preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 14px;
  }

  .preview-grid div {
    min-width: 0;
    padding: 9px;
  }

  .preview-grid strong {
    overflow-wrap: anywhere;
    font-size: 9px;
  }

  /* Keep the first-section buttons compact, like their desktop versions. */
  .hero-actions {
    display: flex;
    width: auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-actions .button {
    width: auto;
    min-width: 132px;
    min-height: 46px;
    padding-inline: 18px;
  }

  /* One continuous mobile journey with the visual between summary and details. */
  .steps {
    gap: 14px;
  }

  .step-card,
  .step-card:nth-child(even) {
    position: relative;
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-rows: auto;
    column-gap: 11px;
    row-gap: 12px;
    padding: 20px 18px 22px;
    overflow: visible;
  }

  .step-card::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 45px;
    bottom: -15px;
    width: 1px;
    border-radius: 999px;
    background: linear-gradient(
      180deg,
      rgba(251, 211, 240, 0.72),
      rgba(196, 247, 255, 0.82),
      rgba(217, 199, 255, 0.5)
    );
    pointer-events: none;
  }

  .step-card:last-child::before {
    bottom: 20px;
    opacity: 0.45;
  }

  .step-copy {
    display: contents;
  }

  .step-number {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 1;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    align-self: center;
    padding: 0;
    border: 1px solid rgba(7, 4, 27, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 0 0 5px rgba(196, 247, 255, 0.12);
    color: rgba(7, 4, 27, 0.58);
    font-size: 8px;
  }

  .step-kicker {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

  .step-copy h3 {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: clamp(22px, 7.2vw, 26px);
  }

  .step-description-desktop,
  .step-points-desktop {
    display: none;
  }

  .step-summary-mobile {
    grid-column: 2;
    grid-row: 3;
    display: block;
    margin: 0;
    color: rgba(7, 4, 27, 0.62);
    font-size: 12px;
    line-height: 1.52;
    font-weight: 500;
  }

  .step-card .step-demo,
  .step-card:nth-child(even) .step-demo {
    grid-column: 2;
    grid-row: 4;
    width: 100%;
    margin: 2px 0;
    padding: 0;
  }

  .step-points-mobile {
    grid-column: 2;
    grid-row: 5;
    display: grid;
    gap: 7px;
    margin: 1px 0 0;
  }

  .step-points-mobile span {
    font-size: 11px;
    line-height: 1.4;
  }

  .step-result {
    grid-column: 2;
    grid-row: 6;
    margin-top: 2px;
    padding: 14px;
    border-radius: 17px;
  }

  .step-result > p {
    font-size: 10.5px;
  }

  /* Compact visual heights: simple visuals ~150px, detailed ones ~180px. */
  .problem-demo,
  .link-demo {
    min-height: 150px !important;
  }

  .form-demo {
    min-height: 180px !important;
  }

  .dashboard-demo,
  .action-demo {
    min-height: 188px !important;
  }

  .resolved-demo {
    min-height: 158px !important;
  }

  .problem-scene,
  .scan-scene {
    width: 100%;
    height: 150px;
    min-height: 150px;
  }

  .leak-notice {
    width: min(258px, 100%);
    min-height: 88px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
    border-radius: 19px;
  }

  .leak-notice-icon {
    width: 42px;
    height: 42px;
  }

  .leak-notice-icon::before {
    inset: 4px;
    box-shadow:
      0 0 0 6px rgba(251, 211, 240, 0.14),
      0 9px 20px rgba(7, 4, 27, 0.07);
  }

  .leak-notice-icon b {
    font-size: 14px;
  }

  .leak-notice-copy strong {
    margin-top: 4px;
    font-size: 11px;
  }

  .leak-notice-copy small,
  .leak-notice-copy span,
  .leak-notice > i {
    font-size: 7px;
  }

  .leak-notice > i {
    grid-column: auto;
    justify-self: end;
    align-self: start;
    margin: 0;
    padding: 5px 7px;
  }

  .qr-sign {
    width: min(250px, 100%);
    gap: 12px;
    padding: 14px;
    border-radius: 19px;
  }

  .qr-sign .fake-qr {
    width: 68px;
    height: 68px;
    padding: 6px;
  }

  .qr-sign span {
    font-size: 7px;
  }

  .qr-sign strong {
    margin-top: 5px;
    font-size: 11px;
  }

  .mini-form {
    width: min(272px, 100%);
    padding: 13px;
    border-radius: 18px;
  }

  .mini-form-head {
    margin-bottom: 11px;
  }

  .mini-form-head span {
    font-size: 10px;
  }

  .mini-form label,
  .mini-form-head small,
  .photo-row {
    font-size: 7px;
  }

  .mini-form label i {
    margin-top: 4px;
    padding: 8px;
    font-size: 8px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
  }

  .photo-row {
    flex-wrap: nowrap;
    margin-top: 8px;
    padding: 8px;
  }

  .mini-dashboard {
    width: min(282px, 100%);
    padding: 12px;
    border-radius: 19px;
  }

  .mini-dashboard-head {
    padding-bottom: 9px;
    font-size: 9px;
  }

  .mini-dashboard-head b {
    width: 21px;
    height: 21px;
    font-size: 8px;
  }

  .issue-row {
    gap: 7px;
    padding: 9px 5px;
  }

  .issue-row strong {
    font-size: 8px;
  }

  .issue-row small,
  .issue-row > span {
    font-size: 6px;
  }

  .action-panel {
    width: min(274px, 100%);
    padding: 13px;
    border-radius: 19px;
  }

  .action-status,
  .assigned-card,
  .activity {
    padding: 9px;
    border-radius: 12px;
  }

  .action-status span,
  .assigned-card > span,
  .activity > span,
  .activity p,
  .assigned-card small {
    font-size: 7px;
  }

  .action-status strong,
  .assigned-card strong {
    font-size: 9px;
  }

  .assigned-card > div {
    margin-top: 7px;
  }

  .assigned-card b {
    width: 28px;
    height: 28px;
  }

  .activity p {
    margin-top: 7px;
  }

  .resolved-card {
    width: min(248px, 100%);
    padding: 20px 16px;
    border-radius: 20px;
  }

  .checkmark {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    font-size: 18px;
    box-shadow: 0 0 0 7px rgba(196, 247, 255, 0.08);
  }

  .resolved-card > strong {
    font-size: 13px;
  }

  .history-tags {
    margin-top: 13px;
  }

  .history-tags b {
    padding: 5px 7px;
    font-size: 6px;
  }
}

@media (max-width: 390px) {
  .site-header,
  .site-header.is-scrolled {
    left: 10px;
    right: 10px;
  }

  .hero-actions .button {
    min-width: 124px;
    padding-inline: 15px;
    font-size: 13px;
  }

  .workflow-node {
    min-width: 39px;
  }

  .workflow-node strong {
    font-size: 6.5px;
  }

  .step-card,
  .step-card:nth-child(even) {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 9px;
    padding-inline: 15px;
  }

  .step-card::before {
    left: 27px;
  }

  .step-number {
    width: 24px;
    height: 24px;
  }

  .leak-notice {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .leak-notice > i {
    grid-column: 2;
    justify-self: start;
  }
}

/* =========================================================
   HOMEPAGE FOOTER
   Kept identical to the homepage footer for visual continuity.
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 5;
  width: min(1240px, calc(100% - 48px));
  min-height: 118px;
  margin: 0 auto;
  padding: 34px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(7, 4, 27, 0.1);
  color: rgba(7, 4, 27, 0.62);
  font-size: initial;
  text-align: initial;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(520px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 211, 240, 0.68),
    rgba(196, 247, 255, 0.78),
    transparent
  );
}

.site-footer .footer-brand {
  justify-self: auto;
  display: grid;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.site-footer .footer-copyright {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
}

.site-footer .footer-universe {
  margin: 0;
  color: rgba(7, 4, 27, 0.56);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
}

.footer-universe span {
  margin: 0 5px;
  color: rgba(7, 4, 27, 0.34);
}

.footer-universe a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.footer-universe a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.footer-universe a:hover::after,
.footer-universe a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.site-footer .footer-legal {
  justify-self: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  text-align: right;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.footer-legal a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.footer-legal a:hover::after,
.footer-legal a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.footer-legal span {
  color: rgba(7, 4, 27, 0.36);
}

@media (max-width: 700px) {
  .site-footer {
    width: min(100%, calc(100% - 32px));
    min-height: 142px;
    padding: 30px 0 34px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
  }

  .site-footer .footer-legal {
    justify-content: flex-start;
    text-align: left;
    gap: 7px;
  }
}
