:root {
  color-scheme: light;
  --page: #eef6fb;
  --page-strong: #dcecf6;
  --surface: #ffffff;
  --surface-soft: #f7fbfe;
  --ink: #173043;
  --ink-soft: #315267;
  --muted: #64798a;
  --border: rgba(74, 109, 132, 0.2);
  --primary: #257fc3;
  --primary-dark: #155f99;
  --green: #3b9b72;
  --amber: #c58a35;
  --coral: #d86b57;
  --cyan: #69bfd3;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(31, 70, 94, 0.14);
  --shadow-soft: 0 10px 24px rgba(31, 70, 94, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: Outfit, "Japarta Plus", "Plus Jakarta Sans", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

@supports (overflow: clip) {

  html,
  body {
    overflow-x: clip;
  }
}

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

a {
  color: var(--primary-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid rgba(37, 127, 195, 0.36);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container,
.header-inner,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 251, 254, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-text span {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-toggle {
  display: none !important;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(37, 127, 195, 0.28);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(31, 70, 94, 0.08);
  color: var(--primary-dark);
  cursor: pointer;
}

.menu-toggle-icon {
  width: 24px;
  height: 24px;
  display: block;
  overflow: visible;
}

.menu-toggle-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  transform-origin: 12px 12px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line-top {
  transform: translateY(5px) rotate(45deg) scaleX(0.86);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line-middle {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line-bottom {
  transform: translateY(-5px) rotate(-45deg) scaleX(0.86);
}

.site-nav,
.footer-links,
.hero-actions,
.download-actions,
.trust-links,
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav {
  justify-content: flex-end;
  gap: 10px 16px;
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.site-nav .nav-cta {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgba(37, 127, 195, 0.28);
  border-radius: 8px;
  background: var(--surface);
  color: var(--primary-dark);
  box-shadow: 0 8px 18px rgba(31, 70, 94, 0.08);
}

.language-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: center;
  max-height: 38px;
  overflow: visible;
}

.language-trigger,
.language-option {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(37, 127, 195, 0.28);
  border-radius: 999px;
  background-color: var(--surface);
  box-shadow: 0 8px 18px rgba(31, 70, 94, 0.08);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}

.language-trigger {
  width: 64px;
  justify-content: center;
  gap: 7px;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 850;
  list-style: none;
}

.language-trigger::-webkit-details-marker {
  display: none;
}

.language-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--primary-dark);
  transition: transform 160ms ease;
}

.language-menu[open] .language-trigger::after {
  transform: rotate(180deg);
}

.language-trigger:hover,
.language-option:hover {
  border-color: rgba(37, 127, 195, 0.48);
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 6px;
  min-width: 172px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.language-menu:not([open]) .language-options {
  display: none;
}

.language-option {
  gap: 10px;
  justify-content: flex-start;
  min-height: 34px;
  box-shadow: none;
  color: var(--primary-dark);
  font-weight: 850;
  border-radius: 12px;
}

.language-option[aria-selected="true"] {
  border-color: var(--primary);
  background: var(--surface-soft);
}

.language-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flag-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 19px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(23, 48, 67, 0.16);
  object-fit: cover;
}

.hero-immersive {
  position: relative;
  isolation: isolate;
  min-height: 76svh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(100deg, rgba(238, 246, 251, 0.98) 0%, rgba(247, 251, 254, 0.92) 40%, rgba(238, 246, 251, 0.76) 72%, rgba(238, 246, 251, 0.86) 100%),
    url("./assets/play-console/feature-graphic-background.png") right 46% center / min(880px, 66vw) auto no-repeat,
    linear-gradient(180deg, var(--surface) 0%, var(--page) 100%);
}

.hero-immersive::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(238, 246, 251, 0), var(--page));
  z-index: -1;
}

.hero-layer {
  position: relative;
  z-index: 3;
  min-height: 76svh;
  display: grid;
  align-content: center;
  padding: 54px 0 58px;
}

.hero-product-wall {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-product-wall::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(238, 246, 251, 0), rgba(238, 246, 251, 0.66)),
    repeating-linear-gradient(135deg, rgba(37, 127, 195, 0.06) 0 1px, transparent 1px 30px);
}

.homecare-object-rail {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  filter: saturate(1.06);
}

.homecare-object-rail {
  top: 0;
  bottom: 0;
  width: min(250px, 19vw);
  opacity: 0.82;
  z-index: 1;
}

.homecare-object-rail-left {
  left: 0;
  background-image: linear-gradient(90deg, rgba(238, 246, 251, 0) 72%, rgba(238, 246, 251, 0.9)), url("./assets/play-console/source-background.png");
  background-position: left center, left center;
  background-size: 100% 100%, auto 100%;
  -webkit-mask-image: linear-gradient(90deg, #000 0 62%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0 62%, transparent 100%);
}

.homecare-object-rail-right {
  right: 0;
  background-image: linear-gradient(270deg, rgba(238, 246, 251, 0) 72%, rgba(238, 246, 251, 0.9)), url("./assets/play-console/source-background-alt.png");
  background-position: right center, right center;
  background-size: 100% 100%, auto 100%;
  -webkit-mask-image: linear-gradient(270deg, #000 0 66%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0 66%, transparent 100%);
}

.hero-device {
  --device-tilt: 0deg;
  position: absolute;
  width: 260px;
  box-sizing: border-box;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 32px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(217, 222, 228, 0.98) 16%, rgba(133, 145, 156, 0.98) 36%, rgba(248, 250, 252, 0.99) 54%, rgba(168, 178, 188, 0.98) 74%, rgba(238, 241, 245, 0.98) 100%);
  box-shadow:
    0 34px 54px rgba(23, 48, 67, 0.27),
    0 10px 22px rgba(23, 48, 67, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.98),
    inset 0 -2px 5px rgba(46, 58, 70, 0.34);
  transform: rotate(var(--device-tilt));
  z-index: 2;
}

.hero-device::before,
.hero-device::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-device::before {
  left: -4px;
  top: 22%;
  width: 5px;
  height: 58px;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(180deg, #f6f8fb, #99a3ad 48%, #eef1f4);
  box-shadow:
    0 92px 0 #a7b0ba,
    264px 32px 0 -1px #cdd3da;
}

.hero-device::after {
  inset: 9px;
  z-index: 3;
  border-radius: 23px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.32) 0 16%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(270deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 22%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    inset 0 0 0 2px rgba(8, 13, 18, 0.08);
}

.hero-device-camera {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 4;
  width: 58px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #05090d, #151c24);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.16),
    0 1px 3px rgba(255, 255, 255, 0.26);
}

.hero-device-camera::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #7185a2, #16212e 72%);
}

.hero-phone {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(12, 20, 28, 0.72);
  border-radius: 23px;
  background: var(--surface);
  object-fit: contain;
  box-shadow:
    0 0 0 2px rgba(15, 22, 29, 0.84),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hero-device-main {
  right: 13%;
  top: 9%;
  --device-tilt: -2deg;
  z-index: 4;
}

.hero-device-side {
  right: 3%;
  bottom: 2%;
  width: 234px;
  --device-tilt: 3deg;
}

.mascot-art {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  height: auto;
}

.mascot-hero {
  position: absolute;
  right: 28%;
  bottom: 5px;
  width: min(200px, 16vw);
  z-index: 5;
  opacity: 0.94;
  filter: drop-shadow(0 18px 24px rgba(23, 48, 67, 0.18));
  transform: rotate(-2deg) scale(-1.15, 1.15);
}

.eyebrow,
.section-kicker,
.legal-kicker {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: 3.65rem;
  font-weight: 900;
}

h2 {
  font-size: 2.35rem;
  font-weight: 880;
}

h3 {
  font-size: 1.7rem;
  font-weight: 880;
}

.lede {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--white);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

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

.button-primary:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

.button-secondary {
  border-color: rgba(37, 127, 195, 0.3);
  background: rgba(255, 255, 255, 0.76);
  color: var(--primary-dark);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.button-large {
  min-height: 54px;
  padding: 14px 22px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 680px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(59, 155, 114, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(31, 70, 94, 0.07);
}

.intro-band {
  padding: 46px 0 34px;
}

#intro-title {
  padding: 20px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: end;
}

.intro-grid p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.visual-system-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 58px 0 68px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(105deg, rgba(248, 252, 254, 0.98), rgba(226, 242, 249, 0.78));
}

.visual-system-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(135deg, rgba(37, 127, 195, 0.045) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(238, 246, 251, 0.5));
}

.visual-system-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  gap: 36px;
  align-items: center;
}

.visual-system-copy {
  display: grid;
  gap: 14px;
}

.visual-system-copy p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.visual-system-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 127, 195, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.visual-system-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.home-map-demo-band {
  position: relative;
  isolation: isolate;
  padding: 72px 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(224, 244, 246, 0.72)),
    linear-gradient(180deg, var(--page), var(--surface-soft));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-map-demo-layout {
  display: grid;
  gap: 28px;
}

.home-map-demo-intro {
  display: grid;
  gap: 12px;
  max-width: 800px;
}

.home-map-demo-intro p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.home-map-demo-shell {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.home-map-demo-toolbar {
  display: grid;
  grid-template-columns: minmax(200px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.home-map-demo-label {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.home-map-demo-toolbar strong {
  display: block;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.home-map-demo-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.home-map-demo-filter {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(74, 109, 132, 0.2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(31, 70, 94, 0.08);
}

.home-map-demo-filter::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--status-color);
}

.home-map-demo-filter[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--status-color) 44%, transparent);
  background: color-mix(in srgb, var(--status-color) 12%, #ffffff);
  color: var(--ink);
}

.home-map-demo-scroll {
  overflow: hidden;
  padding: 8px 0 10px;
}

.home-map-demo-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2063 / 762;
  overflow: hidden;
  border: 1px solid rgba(74, 109, 132, 0.18);
  border-radius: 8px;
  background: #f8fcfe;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.76);
}

.home-map-demo-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-map-demo-room {
  position: absolute;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
  align-content: center;
  padding: 7px;
  border: 1.5px solid color-mix(in srgb, var(--room-tone) 54%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--room-tone) 6%, rgba(255, 255, 255, 0.28));
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.home-map-demo-room:hover,
.home-map-demo-room:focus-visible,
.home-map-demo-room.is-selected {
  border-color: var(--room-tone);
  background: color-mix(in srgb, var(--room-tone) 18%, rgba(255, 255, 255, 0.58));
  box-shadow: 0 10px 24px rgba(31, 70, 94, 0.16);
}

.home-map-demo-room.is-muted {
  opacity: 0.52;
}

.home-map-demo-room-chip {
  min-width: 0;
  display: grid;
  gap: 1px;
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid rgba(74, 109, 132, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.home-map-demo-room-chip strong,
.home-map-demo-room-chip small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-map-demo-room-chip strong {
  font-size: 0.72rem;
  line-height: 1.1;
}

.home-map-demo-room-chip small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-map-demo-room-markers {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.home-map-demo-room-count,
.home-map-demo-room-urgent {
  min-width: 25px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
}

.home-map-demo-room-count {
  background: rgba(37, 127, 195, 0.13);
  color: var(--primary-dark);
}

.home-map-demo-room-urgent {
  background: rgba(216, 107, 87, 0.15);
  color: var(--coral);
}

.home-map-demo-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 14px;
}

.home-map-demo-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.home-map-demo-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.home-map-demo-panel h3 {
  margin: 0;
  font-size: 1.12rem;
}

.home-map-demo-panel p {
  margin: 0;
  color: var(--muted);
}

.home-map-demo-count-badge {
  flex: 0 0 auto;
  max-width: 120px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(37, 127, 195, 0.1);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.home-map-demo-task-list {
  display: grid;
  gap: 8px;
}

.home-map-demo-task-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--status-color) 22%, rgba(74, 109, 132, 0.14));
  border-radius: 8px;
  background: color-mix(in srgb, var(--status-color) 8%, #ffffff);
}

.home-map-demo-task-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--status-color);
}

.home-map-demo-task-text {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-map-demo-task-text strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-map-demo-task-status {
  width: fit-content;
  color: var(--status-color);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-map-demo-empty {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(59, 155, 114, 0.2);
  border-radius: 8px;
  background: rgba(59, 155, 114, 0.08);
}

.home-map-demo-empty strong {
  color: var(--green);
}

.home-map-demo-empty p {
  font-size: 0.94rem;
}

.household-coop-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 82px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.96), rgba(224, 244, 246, 0.7) 47%, rgba(255, 244, 230, 0.68)),
    linear-gradient(180deg, var(--surface-soft), var(--page));
  content-visibility: auto;
  contain-intrinsic-size: 920px;
}

.household-coop-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(37, 127, 195, 0.04) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(0deg, rgba(59, 155, 114, 0.035) 0 1px, transparent 1px 52px),
    linear-gradient(135deg, rgba(216, 107, 87, 0.08), transparent 32%, rgba(105, 191, 211, 0.1) 72%, transparent);
}

.household-coop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.household-coop-copy {
  display: grid;
  gap: 18px;
  max-width: 660px;
}

.household-coop-copy>p:not(.section-kicker),
.household-coop-panel p,
.household-coop-outcome p {
  color: var(--muted);
}

.household-coop-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.household-coop-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 0;
}

.household-coop-outcome {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(74, 109, 132, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(31, 70, 94, 0.08);
}

.household-coop-outcome strong {
  display: block;
  color: var(--ink);
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.05;
}

.household-coop-outcome span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.3;
}

.household-coop-tabs {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.household-coop-tablist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.household-coop-step {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(37, 127, 195, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 70, 94, 0.07);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.household-coop-step:hover,
.household-coop-step.is-active {
  border-color: rgba(37, 127, 195, 0.42);
  background: var(--surface);
  color: var(--primary-dark);
  box-shadow: 0 14px 26px rgba(31, 70, 94, 0.12);
}

.household-coop-step span {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(37, 127, 195, 0.1);
  color: var(--primary-dark);
  font-size: 0.76rem;
}

.household-coop-step.is-active span {
  background: var(--primary);
  color: var(--white);
}

.household-coop-panels {
  min-height: 176px;
}

.household-coop-panel {
  padding: 18px;
  border: 1px solid rgba(74, 109, 132, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 254, 0.82)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.household-coop-panel[hidden] {
  display: none;
}

.household-coop-panel h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

.household-coop-panel p {
  margin: 0;
}

.household-coop-panel ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.household-coop-panel li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 9px;
  color: var(--ink-soft);
  font-weight: 800;
}

.household-coop-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(59, 155, 114, 0.12);
}

.household-coop-stage {
  position: relative;
  min-height: 708px;
  border: 1px solid rgba(74, 109, 132, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22)),
    repeating-linear-gradient(135deg, rgba(37, 127, 195, 0.055) 0 1px, transparent 1px 28px);
  box-shadow: var(--shadow);
}

.household-coop-stage::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(37, 127, 195, 0.2);
  border-radius: 8px;
  pointer-events: none;
}

.household-coop-phone-shell {
  position: absolute;
  left: 42px;
  top: 66px;
  z-index: 2;
  width: min(220px, 38%);
  padding: 10px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, #1d3141, #0d1822 54%, #344b5c);
  box-shadow: 0 24px 44px rgba(13, 24, 34, 0.26);
  transform: rotate(-2.5deg);
}

.household-coop-phone-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 17px;
  z-index: 2;
  width: 70px;
  height: 18px;
  border-radius: 999px;
  background: #101c27;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.household-coop-phone-shell::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  pointer-events: none;
}

.household-coop-phone-shell img {
  width: 100%;
  aspect-ratio: 1080 / 2340;
  border-radius: 27px;
  object-fit: cover;
}

.household-coop-mascot {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  width: 150px;
  filter: drop-shadow(0 18px 20px rgba(31, 70, 94, 0.18));
}

.household-coop-member-stack,
.household-coop-task-board,
.household-coop-handoff,
.household-coop-progress {
  position: absolute;
  z-index: 3;
}

.household-coop-member-stack {
  right: 20px;
  top: 24px;
  width: min(230px, 42%);
  display: grid;
  gap: 10px;
}

.household-coop-member-card,
.household-coop-task-card,
.household-coop-progress {
  border: 1px solid rgba(74, 109, 132, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(31, 70, 94, 0.12);
}

.household-coop-member-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.household-coop-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(37, 127, 195, 0.12);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.household-coop-member-card:nth-child(2) .household-coop-avatar {
  background: rgba(59, 155, 114, 0.14);
  color: var(--green);
}

.household-coop-member-card:nth-child(3) .household-coop-avatar {
  background: rgba(197, 138, 53, 0.16);
  color: var(--amber);
}

.household-coop-member-card strong,
.household-coop-task-card strong,
.household-coop-progress strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
}

.household-coop-member-card div>span,
.household-coop-task-card span,
.household-coop-progress span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.household-coop-task-board {
  right: 20px;
  top: 246px;
  width: min(250px, 45%);
  display: grid;
  gap: 10px;
}

.household-coop-task-card {
  padding: 11px;
}

.household-coop-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.household-coop-task-meta em {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(37, 127, 195, 0.1);
  color: var(--primary-dark);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
}

.household-coop-task-card:nth-child(2) .household-coop-task-meta em {
  background: rgba(216, 107, 87, 0.13);
  color: var(--coral);
}

.household-coop-handoff {
  left: 32px;
  right: 190px;
  bottom: 28px;
  min-height: 98px;
  padding: 12px;
  border: 1px solid rgba(37, 127, 195, 0.18);
  border-radius: 8px;
  background: rgba(247, 251, 254, 0.86);
  box-shadow: 0 12px 26px rgba(31, 70, 94, 0.1);
}

.household-coop-handoff-label {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.household-coop-handoff-line {
  position: relative;
  height: 8px;
  margin: 18px 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 127, 195, 0.18), rgba(59, 155, 114, 0.22), rgba(197, 138, 53, 0.24));
}

.household-coop-handoff-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(37, 127, 195, 0.16);
  transform: translateY(-50%);
  animation: household-coop-pulse 2.8s ease-in-out infinite;
  transition: left 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.household-coop-band[data-household-step="assign"] .household-coop-handoff-line::after {
  left: 34%;
  background: var(--amber);
  box-shadow: 0 0 0 7px rgba(197, 138, 53, 0.16);
}

.household-coop-band[data-household-step="complete"] .household-coop-handoff-line::after {
  left: 66%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(59, 155, 114, 0.16);
}

.household-coop-band[data-household-step="review"] .household-coop-handoff-line::after {
  left: calc(100% - 24px);
  background: var(--coral);
  box-shadow: 0 0 0 7px rgba(216, 107, 87, 0.15);
}

.household-coop-handoff-people {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.household-coop-handoff-people span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.household-coop-progress {
  right: 20px;
  top: 468px;
  width: min(250px, 45%);
  padding: 12px;
}

.household-coop-progress-bar {
  display: block;
  height: 9px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(74, 109, 132, 0.14);
}

.household-coop-progress-bar::before {
  content: "";
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--amber));
}

.household-coop-stage [data-household-visual] {
  opacity: 0.62;
  transition: opacity 180ms ease, filter 180ms ease;
}

.household-coop-stage [data-household-visual].is-active {
  opacity: 1;
  filter: saturate(1.08);
}

.household-coop-stage [data-household-visual].is-active.household-coop-member-card,
.household-coop-stage [data-household-visual].is-active.household-coop-task-card,
.household-coop-stage [data-household-visual].is-active.household-coop-progress,
.household-coop-stage [data-household-visual].is-active.household-coop-handoff {
  border-color: rgba(37, 127, 195, 0.42);
  box-shadow: 0 16px 30px rgba(31, 70, 94, 0.16);
}

@keyframes household-coop-pulse {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(-50%) scale(1.08);
  }
}

.use-case-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 74px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(115deg, rgba(247, 251, 254, 0.98), rgba(224, 244, 246, 0.82)),
    linear-gradient(180deg, var(--surface-soft), var(--page));
  content-visibility: auto;
  contain-intrinsic-size: 820px;
}

.use-case-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(135deg, rgba(37, 127, 195, 0.04) 0 1px, transparent 1px 32px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.72) 52%, rgba(238, 246, 251, 0.24));
}

.use-case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  gap: 38px;
  align-items: center;
}

.use-case-copy {
  display: grid;
  gap: 16px;
  max-width: 660px;
}

.use-case-story {
  display: grid;
  gap: 13px;
}

.use-case-story p {
  margin: 0;
  color: var(--muted);
}

.use-case-story .use-case-intro {
  color: var(--ink-soft);
  font-size: 1.09rem;
}

.use-case-outcomes {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.use-case-outcomes li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 850;
}

.use-case-outcomes li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(59, 155, 114, 0.12);
}

.use-case-screens {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.use-case-screen-slot {
  min-width: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0;
}

.use-case-screen-slot img,
.use-case-screen-placeholder {
  width: min(166px, 100%);
  max-width: 100%;
  aspect-ratio: 1080 / 2340;
  border: 1px solid rgba(23, 48, 67, 0.18);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.use-case-screen-slot img {
  display: block;
  height: auto;
  object-fit: cover;
}

.use-case-screen-placeholder {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 14px 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5fbfe 62%, #e8f4fa 100%);
}

.use-case-screen-placeholder::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(37, 127, 195, 0.12);
  border-radius: 22px;
  pointer-events: none;
}

.use-case-screen-bar {
  width: 44px;
  height: 5px;
  justify-self: center;
  border-radius: 999px;
  background: rgba(23, 48, 67, 0.2);
}

.use-case-screen-title {
  display: block;
  margin-top: 10px;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
}

.use-case-screen-line,
.use-case-screen-panel,
.use-case-screen-pills span {
  display: block;
  border-radius: 999px;
  background: rgba(37, 127, 195, 0.16);
}

.use-case-screen-line {
  width: 72%;
  height: 8px;
}

.use-case-screen-line-long {
  width: 100%;
}

.use-case-screen-panel {
  height: 86px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 127, 195, 0.14), rgba(59, 155, 114, 0.12)),
    rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(37, 127, 195, 0.12);
}

.use-case-screen-pills {
  display: grid;
  gap: 8px;
}

.use-case-screen-pills span {
  height: 18px;
  background: rgba(59, 155, 114, 0.16);
}

.use-case-screen-pills span:nth-child(2) {
  background: rgba(197, 138, 53, 0.18);
}

.use-case-screen-pills span:nth-child(3) {
  width: 76%;
  background: rgba(216, 107, 87, 0.14);
}

.use-case-screen-slot figcaption {
  max-width: 170px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.ai-task-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(245, 183, 111, 0.24), transparent 30%),
    radial-gradient(circle at 20% 84%, rgba(57, 159, 151, 0.22), transparent 34%),
    linear-gradient(125deg, #142f42 0%, #214b58 42%, #285b59 70%, #173b4b 100%);
  background-size: 150% 150%, 145% 145%, 180% 180%;
  animation: aiTaskGradientShift 18s ease-in-out infinite alternate;
  color: var(--white);
}

.ai-task-band::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -40px;
  opacity: 0.13;
  background-image:
    url("./assets/objects/items/house-with-tools.png"),
    url("./assets/objects/items/toolbox.png"),
    url("./assets/objects/items/step-ladder-and-box.png"),
    url("./assets/objects/items/pipe-and-water.png"),
    url("./assets/objects/items/climate-sensor.png");
  background-repeat: no-repeat;
  background-position:
    2% 108%,
    96% 8%,
    78% 104%,
    43% -8%,
    54% 92%;
  background-size:
    360px,
    210px,
    260px,
    190px,
    150px;
  filter: grayscale(1) brightness(0.68) contrast(1.08);
  mix-blend-mode: soft-light;
  animation: aiTaskObjectsDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

.ai-task-band::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -210px;
  right: -130px;
  width: 620px;
  height: 620px;
  border-radius: 46% 54% 62% 38% / 45% 38% 62% 55%;
  background:
    radial-gradient(circle at 38% 35%, rgba(255, 203, 137, 0.3), transparent 36%),
    radial-gradient(circle at 62% 66%, rgba(80, 191, 179, 0.3), transparent 56%);
  filter: blur(14px);
  opacity: 0.72;
  animation: aiTaskBlobFloat 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aiTaskGradientShift {
  0% {
    background-position: 88% 12%, 12% 88%, 0% 50%;
  }
  50% {
    background-position: 68% 30%, 32% 70%, 48% 42%;
  }
  100% {
    background-position: 92% 42%, 8% 58%, 100% 50%;
  }
}

@keyframes aiTaskObjectsDrift {
  0% {
    transform: translate3d(-8px, 8px, 0) rotate(-0.5deg) scale(1.01);
  }
  100% {
    transform: translate3d(14px, -10px, 0) rotate(0.7deg) scale(1.035);
  }
}

@keyframes aiTaskBlobFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.94);
    border-radius: 46% 54% 62% 38% / 45% 38% 62% 55%;
  }
  55% {
    transform: translate3d(-150px, 210px, 0) rotate(35deg) scale(1.12);
    border-radius: 62% 38% 45% 55% / 36% 60% 40% 64%;
  }
  100% {
    transform: translate3d(-340px, 470px, 0) rotate(72deg) scale(0.9);
    border-radius: 38% 62% 56% 44% / 58% 42% 58% 42%;
  }
}

.ai-task-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.ai-task-copy {
  display: grid;
  gap: 20px;
}

.ai-task-copy .section-kicker {
  color: #f5b76f;
}

.ai-task-copy h2 {
  max-width: 680px;
  color: var(--white);
}

.ai-task-lede,
.ai-task-paths p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.ai-task-paths {
  display: grid;
  gap: 12px;
}

.ai-task-paths article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.ai-task-paths article>span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f5b76f;
  color: #173043;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 18px rgba(4, 20, 29, 0.18);
}

.ai-task-path-icon svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-task-path-icon-sparkles svg path {
  fill: currentColor;
  stroke: none;
}

.ai-task-paths h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 1.06rem;
}

.ai-task-review {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: #d9f3e7;
  font-weight: 850;
}

.ai-task-review span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(115, 210, 163, 0.18);
}

.ai-task-screens {
  min-height: 720px;
  position: relative;
  overflow: visible;
  clip-path: none;
  contain: none;
}

.ai-task-screen {
  position: absolute;
  width: min(286px, 50%);
  margin: 0;
  filter: drop-shadow(0 26px 28px rgba(3, 17, 25, 0.32));
}

.ai-task-screen-1 {
  left: 6%;
  top: 34px;
  transform: rotate(-4deg);
}

.ai-task-screen-2 {
  right: 6%;
  bottom: 34px;
  transform: rotate(5deg);
}

.ai-task-screen-placeholder {
  aspect-ratio: 1080 / 2340;
  overflow: hidden;
  border: 2px solid rgba(213, 235, 248, 0.92);
  border-radius: 30px;
  background-color: #eaf3fb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(23, 48, 67, 0.08);
}

.ai-task-screen-1 .ai-task-screen-placeholder {
  background-image: url("./assets/screenshots-new/screenshot-48.png");
}

.ai-task-screen-2 .ai-task-screen-placeholder {
  background-image: url("./assets/screenshots-new/screenshot-47.png");
}

.ai-task-screen-placeholder>* {
  display: none;
}

.story-section {
  padding: 58px 0 26px;
}

.story-intro {
  display: grid;
  gap: 12px;
  max-width: 790px;
  margin-bottom: 20px;
}

.story-intro p:last-child,
.feature-copy p,
.capability-band p,
.download-inner p {
  color: var(--muted);
}

.feature-chapter {
  position: relative;
  isolation: isolate;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: 42px;
  align-items: center;
  padding: 54px 0;
  border-top: 1px solid var(--border);
  --feature-object-left: url("./assets/objects/items/toolbox.png");
  --feature-object-right: url("./assets/objects/items/step-ladder.png");
  --feature-object-left-extra: url("./assets/objects/items/long-pipe.png");
  --feature-object-right-extra: url("./assets/objects/items/climate-sensor.png");
  --feature-object-left-size: 220px;
  --feature-object-right-size: 205px;
  --feature-object-left-extra-size: 148px;
  --feature-object-right-extra-size: 142px;
  --feature-object-left-y: 14%;
  --feature-object-right-y: 12%;
  --feature-object-left-rotate: -12deg;
  --feature-object-right-rotate: 10deg;
}

.feature-chapter::before,
.feature-chapter::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 300px;
  height: 72%;
  background-image:
    var(--feature-object-left),
    var(--feature-object-left-extra);
  background-position:
    left top,
    right bottom;
  background-repeat: no-repeat;
  background-size:
    var(--feature-object-left-size),
    var(--feature-object-left-extra-size);
  opacity: 0.19;
  filter: blur(0.7px) saturate(0.78);
  pointer-events: none;
  transform: rotate(var(--feature-object-left-rotate)) scale(0.92);
}

.feature-chapter::before {
  left: calc((100vw - 100%) / -2 + 12px);
  top: var(--feature-object-left-y);
}

.feature-chapter::after {
  right: calc((100vw - 100%) / -2 + 12px);
  bottom: var(--feature-object-right-y);
  width: 290px;
  background-image:
    var(--feature-object-right),
    var(--feature-object-right-extra);
  background-position:
    right bottom,
    left top;
  background-size:
    var(--feature-object-right-size),
    var(--feature-object-right-extra-size);
  opacity: 0.16;
  filter: blur(0.9px) saturate(0.74);
  transform: rotate(var(--feature-object-right-rotate)) scale(0.88);
}

.feature-chapter>* {
  position: relative;
  z-index: 1;
}

.feature-chapter-alt {
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
}

.feature-chapter-alt .feature-copy {
  grid-column: 2;
}

.feature-chapter-alt .feature-visual {
  grid-column: 1;
  grid-row: 1;
}

.feature-copy {
  position: relative;
  display: grid;
  gap: 15px;
  max-width: 620px;
}

.feature-number {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
}

.feature-copy p {
  margin: 0;
  font-size: 1.06rem;
}

.feature-points {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-weight: 750;
}

.feature-points li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
}

.feature-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 8px;
  background: var(--green);
}

.text-link {
  width: fit-content;
  color: var(--primary-dark);
  font-weight: 900;
}

.feature-visual {
  position: sticky;
  top: 100px;
  margin: 0;
  display: grid;
  justify-items: center;
  isolation: isolate;
}

.story-section>.feature-chapter:nth-of-type(1) {
  --feature-object-left: url("./assets/objects/items/completed-tasks.png");
  --feature-object-right: url("./assets/objects/items/toolbox.png");
  --feature-object-left-extra: url("./assets/objects/items/calendar.png");
  --feature-object-right-extra: url("./assets/objects/items/step-ladder.png");
  --feature-object-left-y: 5%;
  --feature-object-right-y: 5%;
}

.story-section>.feature-chapter:nth-of-type(2) {
  --feature-object-left: url("./assets/objects/items/calendar.png");
  --feature-object-right: url("./assets/objects/items/climate-sensor.png");
  --feature-object-left-extra: url("./assets/objects/items/toolbox.png");
  --feature-object-right-extra: url("./assets/objects/items/house.png");
  --feature-object-left-size: 232px;
  --feature-object-right-y: 20%;
}

.story-section>.feature-chapter:nth-of-type(3) {
  --feature-object-left: url("./assets/objects/items/house.png");
  --feature-object-right: url("./assets/objects/items/step-ladder-and-box.png");
  --feature-object-left-extra: url("./assets/objects/items/pipe-and-water.png");
  --feature-object-right-extra: url("./assets/objects/items/toolbox.png");
  --feature-object-left-size: 242px;
  --feature-object-right-size: 218px;
}

.story-section>.feature-chapter:nth-of-type(4) {
  --feature-object-left: url("./assets/objects/items/long-pipe.png");
  --feature-object-right: url("./assets/objects/items/toolbox.png");
  --feature-object-left-extra: url("./assets/objects/items/step-ladder.png");
  --feature-object-right-extra: url("./assets/objects/items/calendar.png");
  --feature-object-left-y: 18%;
  --feature-object-left-rotate: -20deg;
  --feature-object-right-y: 2%;
}

.story-section>.feature-chapter:nth-of-type(5) {
  --feature-object-left: url("./assets/objects/items/pipe-and-water.png");
  --feature-object-right: url("./assets/objects/items/step-ladder.png");
  --feature-object-left-extra: url("./assets/objects/items/toolbox.png");
  --feature-object-right-extra: url("./assets/objects/items/climate-sensor.png");
  --feature-object-left-size: 226px;
  --feature-object-left-y: 4%;
  --feature-object-right-size: 214px;
  --feature-object-right-y: 18%;
}

.story-section>.feature-chapter:nth-of-type(6) {
  --feature-object-left: url("./assets/objects/items/climate-sensor.png");
  --feature-object-right: url("./assets/objects/items/house-complete.png");
  --feature-object-left-extra: url("./assets/objects/items/calendar.png");
  --feature-object-right-extra: url("./assets/objects/items/completed-tasks.png");
  --feature-object-left-y: 20%;
  --feature-object-right-size: 232px;
  --feature-object-right-y: 3%;
}

.story-section>.feature-chapter:nth-of-type(7) {
  --feature-object-left: url("./assets/objects/items/house-with-tools.png");
  --feature-object-right: url("./assets/objects/items/long-pipe.png");
  --feature-object-left-extra: url("./assets/objects/items/step-ladder-and-box.png");
  --feature-object-right-extra: url("./assets/objects/items/pipe-and-water.png");
  --feature-object-left-size: 238px;
  --feature-object-right-rotate: 18deg;
}

.story-section>.feature-chapter:nth-of-type(8) {
  --feature-object-left: url("./assets/objects/items/completed-tasks.png");
  --feature-object-right: url("./assets/objects/items/house-complete.png");
  --feature-object-left-extra: url("./assets/objects/items/toolbox.png");
  --feature-object-right-extra: url("./assets/objects/items/calendar.png");
  --feature-object-left-size: 224px;
  --feature-object-left-y: 8%;
  --feature-object-right-size: 238px;
  --feature-object-right-y: 0%;
}

.feature-visual picture {
  position: relative;
  z-index: 2;
  display: block;
  width: min(292px, 100%);
  line-height: 0;
}

.feature-visual-with-mascot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.feature-visual-with-mascot picture {
  flex: 0 1 280px;
  width: min(280px, 100%);
}

.feature-side-mascot {
  flex: 0 0 auto;
  width: 150px;
  max-width: none;
  opacity: 0.92;
  filter: drop-shadow(0 14px 18px rgba(23, 48, 67, 0.14));
}

.feature-visual-with-peek {
  position: sticky;
  overflow: visible;
  width: min(430px, 100%);
  justify-self: center;
  justify-items: start;
  padding-left: 112px;
}

.feature-peek-mascot {
  position: absolute;
  left: -36px;
  bottom: 80px;
  width: 200px;
  max-width: none;
  z-index: 5;
  opacity: 0.94;
  filter: drop-shadow(0 14px 18px rgba(23, 48, 67, 0.12));
}

.feature-visual-with-peek picture {
  z-index: 2;
}

.feature-visual picture>img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(23, 48, 67, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.js [data-animate] {
  opacity: 0;
  transition:
    opacity 720ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    clip-path 820ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform, clip-path;
}

.js [data-animate="fade-up"] {
  transform: translate3d(0, 26px, 0);
}

.js [data-animate="slide-right"] {
  transform: translate3d(-42px, 0, 0);
}

.js [data-animate="slide-left"] {
  transform: translate3d(42px, 0, 0);
}

.js [data-animate="phone-rise"] {
  transform: translate3d(0, 36px, 0) scale(0.96);
}

.js [data-animate="phone-tilt"] {
  transform: translate3d(0, 30px, 0) rotate(-2deg) scale(0.96);
}

.js [data-animate="card-rise"] {
  transform: translate3d(0, 34px, 0);
  clip-path: inset(12% 0 0 0);
}

.js [data-animate="soft-zoom"] {
  transform: scale(0.96);
}

.js [data-animate].is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

.js .household-coop-band:target [data-animate] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

.capability-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 74px 0;
  background:
    linear-gradient(180deg, rgba(238, 246, 251, 0.92), rgba(248, 252, 254, 0.92)),
    url("./assets/play-console/source-background-alt.png") center 38% / cover no-repeat;
  border-top: 1px solid var(--border);
}

.capability-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(238, 246, 251, 0.78), rgba(255, 255, 255, 0.92) 52%, rgba(238, 246, 251, 0.74));
}

.capability-band h2 {
  max-width: 760px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.capability-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.capability-grid article:nth-child(1) {
  border-top: 5px solid var(--green);
}

.capability-grid article:nth-child(2) {
  border-top: 5px solid var(--amber);
}

.capability-grid article:nth-child(3) {
  border-top: 5px solid var(--coral);
}

.capability-grid h3 {
  font-size: 1.2rem;
}

.capability-grid p {
  margin: 12px 0 0;
}

.faq-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 78px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(248, 252, 254, 0.96), rgba(238, 246, 251, 0.92)),
    linear-gradient(120deg, rgba(105, 191, 211, 0.18), rgba(59, 155, 114, 0.1));
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.faq-intro p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.faq-item[open] {
  border-color: rgba(37, 127, 195, 0.34);
  background: var(--surface);
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 14px;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  min-width: 0;
  display: grid;
}

.faq-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(37, 127, 195, 0.22);
  border-radius: 999px;
  background: var(--surface-soft);
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-dark);
  transform: translateY(-50%);
}

.faq-toggle::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 160ms ease;
}

.faq-item[open] .faq-toggle::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.download-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 84px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.96), rgba(224, 244, 246, 0.72)),
    url("./assets/play-console/feature-graphic-1024x500.png") right center / min(720px, 58vw) auto no-repeat,
    linear-gradient(180deg, #f8fcfe, var(--page-strong));
  border-top: 1px solid var(--border);
}

.download-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 48%, rgba(238, 246, 251, 0.64) 100%);
}

.download-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(250px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding-left: 20px;
}

.download-inner>*:not(.download-mascot) {
  position: relative;
  z-index: 2;
}

.download-mascot {
  position: absolute;
  right: -26px;
  bottom: -82px;
  width: 190px;
  z-index: 1;
  opacity: 0.74;
  filter: drop-shadow(0 16px 20px rgba(23, 48, 67, 0.16));
}

.download-inner>img {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.download-inner p {
  margin: 12px 0 0;
  font-size: 1.06rem;
}

.download-actions {
  justify-content: flex-start;
  gap: 14px;
}

.trust-links {
  gap: 10px 14px;
  font-size: 0.92rem;
  font-weight: 800;
}

.trust-links a {
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(247, 251, 254, 0.9);
}

.footer-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-inner strong {
  color: var(--ink);
}

.footer-links {
  gap: 10px 18px;
  font-weight: 800;
}

.legal-page {
  padding: 52px 0 78px;
}

.legal-shell,
.notice,
.delete-step,
.error-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.legal-shell {
  padding: 34px;
}

.legal-header {
  max-width: 860px;
  margin-bottom: 26px;
}

.legal-header h1 {
  font-size: 2.7rem;
}

.legal-header p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-meta {
  margin-top: 16px;
  color: var(--ink-soft);
  font-weight: 800;
}

.notice {
  margin: 24px 0;
  padding: 16px;
  border-color: rgba(197, 138, 53, 0.28);
  background: #fff8ed;
  color: #68491e;
  box-shadow: none;
}

.legal-content {
  display: grid;
  gap: 28px;
}

.legal-content section {
  padding-top: 6px;
}

.legal-content h2 {
  font-size: 1.35rem;
}

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

.legal-content p {
  margin: 12px 0 0;
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-content strong {
  color: var(--ink);
}

.updates-log-shell {
  overflow: hidden;
}

.updates-log-header {
  max-width: 920px;
}

.updates-log-content {
  gap: 18px;
}

.release-entry {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  background: var(--surface-soft);
}

.release-change-list {
  list-style: none;
  padding-left: 0 !important;
}

.release-change {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.release-change-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.release-change-tag--new-feature {
  border-color: rgba(37, 127, 195, 0.28);
  background: rgba(37, 127, 195, 0.12);
  color: #17649f;
}

.release-change-tag--bug-fix {
  border-color: rgba(201, 54, 54, 0.28);
  background: rgba(201, 54, 54, 0.1);
  color: #a32929;
}

.release-change-tag--improvement {
  border-color: rgba(184, 122, 34, 0.3);
  background: rgba(224, 165, 75, 0.14);
  color: #925b12;
}

.release-entry:nth-child(2) {
  border-left-color: var(--green);
}

.release-entry:nth-child(3) {
  border-left-color: var(--amber);
}

.release-entry:nth-child(4) {
  border-left-color: var(--coral);
}

.release-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
}

.release-version,
.release-date {
  margin: 0;
  font-weight: 900;
}

.release-version {
  color: var(--primary-dark);
}

.release-date {
  color: var(--muted);
}

.legal-nav {
  gap: 10px;
  margin: 22px 0 0;
}

.legal-nav a {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.delete-flow {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.delete-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  box-shadow: none;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
}

.error-page {
  min-height: calc(100vh - 180px);
  display: grid;
  align-items: center;
  padding: 52px 0;
}

.error-panel {
  max-width: 720px;
  padding: 38px;
}

.error-panel h1 {
  font-size: 2.8rem;
}

.error-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 1040px) {
  .mascot-hero {
    right: 20%;
    bottom: 7%;
    width: 158px;
    opacity: 0.42;
  }

  .hero-device-main {
    right: -2%;
    opacity: 0.34;
  }

  .hero-device-side {
    right: -8%;
    opacity: 0.24;
  }

  .feature-chapter,
  .feature-chapter-alt {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.72fr);
    gap: 30px;
  }
}

@media (min-width: 861px) {
  .language-menu[open] {
    max-height: 38px;
  }

  .language-menu[open] .language-options {
    position: fixed;
    top: 64px;
    right: max(16px, calc((100vw - 1160px) / 2));
  }
}

@media (max-width: 860px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 12px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .menu-toggle {
    display: inline-grid !important;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav>a,
  .site-nav .nav-cta {
    width: 100%;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
  }

  .language-menu {
    width: 100%;
    max-height: none;
    align-self: stretch;
  }

  .language-trigger {
    width: 64px;
  }

  .language-options {
    left: 0;
    right: auto;
  }

  .hero-immersive,
  .hero-layer {
    min-height: 72svh;
  }

  .hero-layer {
    padding: 42px 0 46px;
  }

  .hero-product-wall::before {
    width: 100%;
    opacity: 0.62;
  }

  .homecare-object-rail-left {
    display: none;
  }

  .homecare-object-rail-right {
    top: 116px;
    width: 190px;
    opacity: 0.32;
  }

  .hero-immersive {
    background:
      linear-gradient(100deg, rgba(238, 246, 251, 0.98), rgba(238, 246, 251, 0.84)),
      url("./assets/play-console/feature-graphic-background.png") right 18% top 22% / 760px auto no-repeat,
      linear-gradient(180deg, var(--surface) 0%, var(--page) 100%);
  }

  .hero-device {
    width: 210px;
    padding: 8px;
    border-radius: 27px;
  }

  .hero-device::before {
    height: 48px;
    box-shadow:
      0 76px 0 #a7b0ba,
      213px 26px 0 -1px #cdd3da;
  }

  .hero-device::after {
    inset: 8px;
    border-radius: 21px;
  }

  .hero-device-camera {
    top: 15px;
    width: 48px;
    height: 13px;
  }

  .hero-phone {
    border-radius: 21px;
  }

  .hero-device-main {
    right: -10px;
    top: 30px;
    opacity: 0.28;
  }

  .mascot-hero {
    right: 136px;
    bottom: 11%;
    width: 134px;
    opacity: 0.24;
  }

  .hero-device-side {
    display: none;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.48rem;
  }

  .intro-grid,
  .visual-system-layout,
  .use-case-layout,
  .ai-task-layout,
  .home-map-demo-toolbar,
  .home-map-demo-panels,
  .faq-layout,
  .feature-chapter,
  .feature-chapter-alt,
  .download-inner {
    grid-template-columns: 1fr;
  }

  .ai-task-layout {
    gap: 44px;
  }

  .ai-task-copy {
    max-width: 720px;
  }

  .ai-task-screens {
    width: min(680px, 100%);
    min-height: 700px;
    margin: 0 auto;
  }

  .visual-system-frame {
    max-width: 720px;
  }

  .use-case-copy {
    max-width: 720px;
  }

  .use-case-screens {
    max-width: 640px;
  }

  .household-coop-layout {
    grid-template-columns: 1fr;
  }

  .household-coop-copy {
    max-width: 760px;
  }

  .household-coop-stage {
    max-width: 680px;
    min-height: 696px;
  }

  .household-coop-phone-shell {
    left: 54px;
    top: 70px;
    width: 230px;
  }

  .household-coop-mascot {
    right: 24px;
    width: 150px;
  }

  .household-coop-member-stack {
    right: 24px;
    width: 220px;
  }

  .household-coop-task-board {
    right: 24px;
    top: 246px;
    width: 250px;
  }

  .household-coop-progress {
    right: 24px;
    top: 466px;
    width: 250px;
  }

  .household-coop-handoff {
    left: 44px;
    right: 190px;
  }

  .home-map-demo-filters {
    justify-content: flex-start;
  }

  .feature-chapter,
  .feature-chapter-alt {
    min-height: auto;
    gap: 22px;
    padding: 46px 0;
  }

  .feature-chapter-alt .feature-copy,
  .feature-chapter-alt .feature-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-visual {
    position: static;
    justify-items: start;
  }

  .feature-chapter {
    --feature-object-left-size: 168px;
    --feature-object-right-size: 156px;
  }

  .feature-visual-with-mascot {
    align-items: flex-end;
    justify-content: flex-start;
    gap: 12px;
  }

  .feature-side-mascot {
    width: 128px;
    opacity: 0.76;
  }

  .feature-peek-mascot {
    left: 10px;
    top: -18px;
    width: 118px;
    opacity: 0.72;
  }

  .feature-visual-with-peek {
    width: min(388px, 100%);
    padding-left: 92px;
  }

  .feature-visual picture>img {
    width: 100%;
  }

  .feature-visual picture {
    width: min(280px, 100%);
  }

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

  .capability-grid article {
    min-height: auto;
  }

  .faq-intro {
    position: static;
    max-width: 720px;
  }

  .download-actions {
    align-items: flex-start;
  }

  .download-band {
    background:
      linear-gradient(100deg, rgba(255, 255, 255, 0.97), rgba(224, 244, 246, 0.72)),
      url("./assets/play-console/feature-graphic-1024x500.png") right -220px bottom 8px / 620px auto no-repeat,
      linear-gradient(180deg, #f8fcfe, var(--page-strong));
  }

  .download-mascot {
    right: 12px;
    bottom: -74px;
    width: 154px;
    opacity: 0.28;
  }
}

@media (max-width: 560px) {

  .container,
  .header-inner,
  .footer-inner,
  .feature-chapter {
    width: min(100% - 24px, 1160px);
  }

  .site-nav {
    gap: 8px 12px;
    font-size: 0.9rem;
  }

  .ai-task-band {
    padding: 68px 0;
  }

  .ai-task-band::before {
    opacity: 0.1;
    background-position:
      -90px 103%,
      calc(100% + 70px) 7%,
      calc(100% + 100px) 98%,
      40% -5%,
      52% 92%;
    background-size: 280px, 170px, 210px, 150px, 120px;
  }

  .ai-task-band::after {
    width: 440px;
    height: 440px;
    opacity: 0.58;
  }

  .ai-task-paths article {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 14px;
  }

  .ai-task-paths article>span {
    width: 36px;
    height: 36px;
  }

  .ai-task-screens {
    min-height: 520px;
  }

  .ai-task-screen {
    width: 52%;
  }

  .ai-task-screen-1 {
    left: 7%;
    top: 30px;
  }

  .ai-task-screen-2 {
    right: 7%;
    bottom: 30px;
  }

  .site-nav .nav-cta {
    min-height: 36px;
    padding: 6px 11px;
  }

  .language-trigger {
    width: 64px;
    min-height: 36px;
  }

  .hero-immersive,
  .hero-layer {
    min-height: 70svh;
  }

  .hero-layer {
    padding: 34px 0 38px;
  }

  .hero-device-main {
    width: 160px;
    top: 42px;
    right: -34px;
    padding: 6px;
    border-radius: 24px;
  }

  .hero-device-main::before {
    height: 36px;
    box-shadow:
      0 58px 0 #a7b0ba,
      163px 20px 0 -1px #cdd3da;
  }

  .hero-device-main::after {
    inset: 6px;
    border-radius: 17px;
  }

  .hero-device-camera {
    top: 12px;
    width: 38px;
    height: 11px;
  }

  .hero-device-camera::after {
    top: 3px;
    right: 7px;
    width: 5px;
    height: 5px;
  }

  .hero-phone {
    border-radius: 18px;
  }

  .mascot-hero,
  .feature-peek-mascot,
  .feature-side-mascot,
  .download-mascot {
    display: none;
  }

  .feature-chapter::before,
  .feature-chapter::after {
    display: none;
  }

  .feature-visual-with-mascot {
    display: grid;
  }

  .homecare-object-rail {
    display: none;
  }

  h1 {
    max-width: 360px;
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  h3 {
    font-size: 1.34rem;
  }

  .lede {
    max-width: 340px;
    font-size: 1rem;
  }

  .button,
  .button-large {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
  }

  .hero-actions {
    max-width: 340px;
  }

  .hero-proof {
    max-width: 340px;
  }

  .hero-proof li {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .home-map-demo-shell {
    padding: 12px;
  }

  .home-map-demo-filter {
    min-height: 36px;
    padding: 7px 10px;
  }

  .use-case-band {
    contain-intrinsic-size: 1160px;
  }

  .household-coop-band {
    padding-top: 58px;
    padding-bottom: 58px;
    contain-intrinsic-size: 1320px;
  }

  .household-coop-outcomes {
    grid-template-columns: 1fr;
  }

  .household-coop-tablist {
    grid-template-columns: repeat(4, minmax(116px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-color: rgba(37, 127, 195, 0.42) rgba(74, 109, 132, 0.12);
  }

  .household-coop-step {
    min-height: 46px;
  }

  .household-coop-stage {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .household-coop-stage::before {
    inset: 10px;
  }

  .household-coop-phone-shell,
  .household-coop-member-stack,
  .household-coop-task-board,
  .household-coop-handoff,
  .household-coop-progress {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .household-coop-phone-shell {
    justify-self: start;
    width: min(238px, 66%);
    transform: rotate(-2deg);
  }

  .household-coop-mascot {
    right: 4px;
    top: 84px;
    bottom: auto;
    width: min(118px, 31vw);
  }

  .household-coop-member-stack,
  .household-coop-task-board {
    grid-template-columns: 1fr;
  }

  .household-coop-handoff {
    min-height: 94px;
    padding: 11px;
  }

  .household-coop-progress {
    padding: 11px;
  }

  .use-case-screens {
    grid-template-columns: repeat(3, minmax(142px, 1fr));
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(37, 127, 195, 0.42) rgba(74, 109, 132, 0.12);
  }

  .use-case-screen-slot {
    scroll-snap-align: start;
  }

  .use-case-screen-slot img,
  .use-case-screen-placeholder {
    width: 142px;
  }

  .intro-band,
  .visual-system-band,
  .home-map-demo-band,
  .household-coop-band,
  .use-case-band,
  .story-section,
  .capability-band,
  .faq-band,
  .download-band {
    padding-left: 0;
    padding-right: 0;
  }

  .visual-system-band {
    background: linear-gradient(105deg, rgba(248, 252, 254, 0.98), rgba(226, 242, 249, 0.78));
  }


  .hero-immersive {
    background:
      linear-gradient(100deg, rgba(238, 246, 251, 0.98), rgba(238, 246, 251, 0.86)),
      url("./assets/play-console/feature-graphic-background.png") right -210px top 28px / 620px auto no-repeat,
      linear-gradient(180deg, var(--surface) 0%, var(--page) 100%);
  }

  .feature-number {
    width: 40px;
    height: 40px;
  }

  .download-inner>img {
    width: 72px;
    height: 72px;
  }

  .legal-shell,
  .error-panel {
    padding: 24px;
  }

  .legal-header h1,
  .error-panel h1 {
    font-size: 2.1rem;
  }

  .delete-step {
    grid-template-columns: 1fr;
  }

  .release-entry {
    padding: 18px;
  }

  .release-change {
    grid-template-columns: 1fr;
  }

  .release-change-tag {
    width: fit-content;
  }
}

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

  .js [data-animate] {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .household-coop-handoff-line::after,
  .household-coop-stage [data-household-visual],
  .household-coop-step {
    animation: none;
    transition: none;
  }

  .ai-task-band,
  .ai-task-band::before,
  .ai-task-band::after {
    animation: none;
  }
}

/* Tools Index Page Styles */
.tools-page {
  padding: 32px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 127, 195, 0.35);
  outline: none;
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(37, 127, 195, 0.1);
  color: var(--primary);
  flex-shrink: 0;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.tool-card:hover .tool-badge {
  background: var(--primary);
  color: var(--white);
}

.tool-badge--green {
  background: rgba(59, 155, 114, 0.1);
  color: var(--green);
}

.tool-card:hover .tool-badge--green {
  background: var(--green);
  color: var(--white);
}

.tool-badge--amber {
  background: rgba(197, 138, 51, 0.1);
  color: var(--amber);
}

.tool-card:hover .tool-badge--amber {
  background: var(--amber);
  color: var(--white);
}

.tool-badge--coral {
  background: rgba(216, 107, 87, 0.1);
  color: var(--coral);
}

.tool-card:hover .tool-badge--coral {
  background: var(--coral);
  color: var(--white);
}

.tool-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.2;
}

.tool-card-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.tool-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 850;
  color: var(--primary-dark);
  transition: gap 0.15s ease;
}

.tool-card:hover .tool-card-action {
  color: var(--primary);
  gap: 10px;
}

/* Tool details page custom elements */
.tool-detail-shell {
  max-width: 1040px;
  margin: 0 auto;
}

.tool-detail-content {
  margin-top: 32px;
}

/* Calculator Grid Layout */
.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
}

.calculator-card,
.results-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px !important;
  box-shadow: var(--shadow-soft);
}

.calculator-card h3 {
  margin: 0 0 20px;
  color: var(--ink);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 850;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 850;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

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

.input-group {
  display: flex;
  align-items: center;
}

.input-group .input-control {
  flex-grow: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .input-addon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-left: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  color: var(--ink-soft);
  font-weight: 850;
  height: 48px;
  box-sizing: border-box;
}

.input-control,
.select-control {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.input-control:focus,
.select-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 127, 195, 0.15);
  outline: none;
}

/* Radio Group styling as cards */
.radio-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  background: var(--surface-soft);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-card:hover {
  border-color: rgba(37, 127, 195, 0.4);
  background: var(--surface);
}

.radio-card input:checked+.radio-card-content {
  color: var(--primary-dark);
}

.radio-card:has(input:checked) {
  border-color: var(--primary);
  background: rgba(37, 127, 195, 0.05);
}

.radio-card-title {
  display: block;
  font-weight: 850;
  font-size: 0.95rem;
  color: var(--ink);
}

.radio-card-desc {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Systems Checkbox Grid */
.systems-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checkbox-card {
  position: relative;
  display: flex !important;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  background: var(--surface-soft);
  transition: border-color 0.15s ease, background-color 0.15s ease;
  user-select: none;
}

.checkbox-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  margin: 0 12px 0 0;
  flex-shrink: 0;
}

.checkbox-card:hover {
  border-color: rgba(37, 127, 195, 0.4);
  background: var(--surface);
}

.checkbox-card:has(input:checked) {
  border-color: var(--primary);
  background: rgba(37, 127, 195, 0.05);
}

.checkbox-card-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.2;
}

/* Results section styling */
.results-wrapper {
  position: sticky;
  top: 96px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(247, 251, 254, 0.96) 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  text-align: center;
  color: var(--muted);
  border: 2px dashed rgba(74, 109, 132, 0.15);
  border-radius: 8px;
  padding: 24px;
}

.results-placeholder svg {
  color: rgba(37, 127, 195, 0.35);
  margin-bottom: 16px;
}

.results-content {
  display: none;
  animation: fadeIn 0.3s ease-out forwards;
}

.results-content.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.results-title {
  margin: 0 0 16px;
  font-size: 1.4rem;
  font-weight: 850;
  color: var(--ink);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}

.metrics-highlight {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.metric-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.metric-box--primary {
  border-color: rgba(37, 127, 195, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, rgba(37, 127, 195, 0.03) 100%);
}

.metric-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.metric-val {
  display: block;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.15;
}

.metric-box--sub {
  padding: 12px;
}

.metric-box--sub .metric-val {
  font-size: 1.48rem;
  color: var(--ink);
}

.range-scale {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 24px;
}

.range-scale-title {
  font-size: 0.85rem;
  font-weight: 850;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.range-scale-bar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.range-segment {
  flex-grow: 1;
  text-align: center;
  padding: 8px 4px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.range-segment.is-active {
  border-color: var(--primary);
  background: rgba(37, 127, 195, 0.08);
  font-weight: 850;
}

.range-segment-label {
  display: block;
  font-size: 0.64rem;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.range-segment-val {
  font-size: 0.88rem;
  color: var(--ink);
}

/* Visualization breakdown */
.chart-heading {
  font-size: 1rem;
  font-weight: 850;
  color: var(--ink);
  margin: 24px 0 12px;
}

.visual-chart {
  margin-bottom: 20px;
}

.bar-chart-stacked {
  display: flex;
  width: 100%;
  height: 24px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.bar-chart-segment {
  height: 100%;
  transition: width 0.6s ease-out;
  cursor: pointer;
  position: relative;
}

.bar-chart-segment--prev {
  background-color: var(--green);
}

.bar-chart-segment--rep {
  background-color: var(--primary);
}

.bar-chart-segment--emg {
  background-color: var(--coral);
}

.bar-chart-segment:hover {
  filter: brightness(1.08);
}

.chart-legend {
  display: grid;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.legend-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--ink);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.legend-dot--prev {
  background-color: var(--green);
}

.legend-dot--rep {
  background-color: var(--primary);
}

.legend-dot--emg {
  background-color: var(--coral);
}

.legend-val {
  font-weight: 850;
  color: var(--ink-soft);
}

/* Comparison and notes boxes */
.comparison-box {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.comparison-box--under {
  border-color: rgba(216, 107, 87, 0.28);
  background: rgba(216, 107, 87, 0.05);
  color: #8c3b2d;
}

.comparison-box--on-track {
  border-color: rgba(59, 155, 114, 0.28);
  background: rgba(59, 155, 114, 0.05);
  color: #24644a;
}

.comparison-box--over {
  border-color: rgba(197, 138, 51, 0.28);
  background: rgba(197, 138, 51, 0.05);
  color: #7b5825;
}

.comparison-title {
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.comparison-text {
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
}

.notes-section {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.notes-title {
  font-size: 0.85rem;
  font-weight: 850;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.notes-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.disclaimer-text {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* Conversion sections */
.conversion-card {
  margin-top: 48px;
  border: 1px solid rgba(37, 127, 195, 0.24);
  background: radial-gradient(circle at 0% 0%, rgba(37, 127, 195, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 100% 100%, rgba(59, 155, 114, 0.1) 0%, transparent 60%),
              linear-gradient(135deg, rgba(226, 242, 249, 0.4) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-radius: 12px;
  padding: 34px !important;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.conversion-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.conversion-copy {
  display: grid;
  gap: 12px;
}

.conversion-copy h2 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--ink);
}

.conversion-copy p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.05rem;
}

.conversion-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.conversion-actions .button {
  width: 100%;
}

/* Educational content section */
.edu-band {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 48px !important;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.edu-article {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.22s ease;
}

.edu-article--why {
  background: linear-gradient(135deg, rgba(59, 155, 114, 0.04) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.edu-article--save {
  background: linear-gradient(135deg, rgba(37, 127, 195, 0.04) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.edu-article--factors {
  background: linear-gradient(135deg, rgba(197, 138, 51, 0.04) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.edu-article--prevent {
  background: linear-gradient(135deg, rgba(216, 107, 87, 0.04) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.edu-article--promo {
  background: radial-gradient(circle at 100% 0%, rgba(105, 191, 211, 0.16) 0%, transparent 50%),
              radial-gradient(circle at 0% 100%, rgba(37, 127, 195, 0.08) 0%, transparent 60%),
              linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, var(--surface-soft) 100%);
  border: 1px solid rgba(105, 191, 211, 0.3);
}

.edu-article--promo:hover {
  border-color: rgba(105, 191, 211, 0.6);
}

.edu-article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.edu-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.edu-icon-badge--green {
  background: rgba(59, 155, 114, 0.1);
  color: var(--green);
}

.edu-icon-badge--primary {
  background: rgba(37, 127, 195, 0.1);
  color: var(--primary);
}

.edu-icon-badge--amber {
  background: rgba(197, 138, 51, 0.1);
  color: var(--amber);
}

.edu-icon-badge--coral {
  background: rgba(216, 107, 87, 0.1);
  color: var(--coral);
}

.edu-icon-badge--cyan {
  background: rgba(105, 191, 211, 0.1);
  color: var(--cyan);
}

.edu-article h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  color: var(--ink);
}

.edu-article p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* FAQs and accordions */
.faq-accordion-section {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 48px !important;
}

.faq-accordion-section h2 {
  text-align: center;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .results-wrapper {
    position: static;
  }

  .conversion-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .edu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 560px) {

  .radio-card-grid,
  .systems-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Tools page header layout with mascot */
.tools-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 100% !important;
}

.tools-header-content {
  flex: 1;
}

.tools-header-mascot {
  flex-shrink: 0;
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: -20px;
  margin-bottom: -20px;
}

.tools-mascot-img {
  width: 100%;
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(23, 48, 67, 0.12));
  transform-origin: bottom center;
  animation: mascotFloat 4s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
  transform: scaleX(-1);
}

.tools-header-mascot:hover .tools-mascot-img {
  animation-play-state: paused;
  transform: scale(-1.06, 1.06) rotate(1deg);
}

@keyframes mascotFloat {
  0% {
    transform: scaleX(-1) translateY(0) rotate(0deg);
  }
  100% {
    transform: scaleX(-1) translateY(-8px) rotate(1.5deg);
  }
}

@media (max-width: 768px) {
  .tools-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }

  .tools-header-mascot {
    width: 100px;
    align-self: flex-start;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .tools-index-page .tools-header-mascot {
    display: none;
  }
}

/* Breadcrumb navigation styling */
.breadcrumbs {
  margin-bottom: 24px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.4;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 0;
  position: relative;
  top: -1px;
}

.breadcrumbs a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--ink-soft);
  font-weight: 800;
}
