html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

:root {
  --site-max: 1194px;
  --site-gutter: clamp(16px, 4vw, 32px);
  --hero-panel-gap: clamp(28px, 2.4vw, 40px);
}

body {
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: "Ramsina";
  src: url("https://fonts.gstatic.com/s/ramsina/v2/daaYSTE-LGmCbhP9yMo_QrmM.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

section {
  scroll-margin-top: 80px;
}

.site-container {
  width: min(var(--site-max), calc(100% - (var(--site-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(47, 76, 85, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.86);
  box-shadow: 0 18px 42px rgba(47, 76, 85, 0.10);
  backdrop-filter: blur(18px);
}

.site-brand {
  color: #2f4c55;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 8px);
}

.nav-toggle {
  display: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: #2f4c55;
  font-size: clamp(0.76rem, 1.6vw, 0.9rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #172126;
  background: #e4f1f6;
  outline: none;
}

.site-nav a:active {
  transform: translateY(1px);
}

@media (max-width: 767px) {
  .site-header {
    min-height: 52px;
    padding: 8px 9px 8px 14px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(47, 76, 85, 0.12);
    border-radius: 999px;
    color: #2f4c55;
    background: rgba(255, 251, 234, 0.82);
  }

  .nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-header[data-menu-open] .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header[data-menu-open] .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header[data-menu-open] .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    width: min(210px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid rgba(47, 76, 85, 0.12);
    border-radius: 18px;
    z-index: 60;
    background: #fffdf5;
    box-shadow: 0 18px 42px rgba(47, 76, 85, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease;
    backdrop-filter: blur(18px);
  }

  .site-header[data-menu-open] .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  width: max-content;
  margin-bottom: 1.15rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(47, 76, 85, 0.12);
  border-radius: 999px;
  color: #172126;
  background: rgba(255, 253, 245, 0.9);
  box-shadow: 0 14px 34px rgba(47, 76, 85, 0.08);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.award-badge strong {
  font-weight: 800;
}

.award-logo {
  display: block;
  width: 1.42rem;
  height: 1.42rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.hero-title {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  max-width: 500px;
  font-size: clamp(57.662px, calc(48px + 2.48vw), 83.707px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(15.377px, calc(14.02px + 0.347vw), 19.024px);
  font-weight: 400;
  line-height: clamp(22.296px, calc(19.27px + 0.776vw), 30.439px);
  letter-spacing: 0;
}

.problem-title,
.platform-title,
.story-title {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.problem-copy p,
.platform-copy p,
.system-copy p,
.app-heading p,
.promise-copy p {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #172126;
  font-size: clamp(15.377px, calc(14.02px + 0.347vw), 19.024px);
  font-weight: 400;
  line-height: clamp(22.296px, calc(19.27px + 0.776vw), 30.439px);
  letter-spacing: 0;
}

.problem-title {
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  line-height: 1.08;
}

.platform-title {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  line-height: 1.08;
}

.story-title {
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  line-height: 1.08;
}

.hero-shell {
  position: relative;
  width: calc(100% - (var(--hero-panel-gap) * 2));
  margin-right: auto;
  margin-left: auto;
  margin-top: 0 !important;
  border-radius: 0 0 30px 30px;
  background:
    radial-gradient(72% 82% at 79% 47%, rgba(255, 251, 234, 0.98) 0 58%, transparent 59%),
    #fffbea;
}

.hero-shell::after {
  position: absolute;
  right: -1%;
  bottom: -6%;
  left: 0;
  z-index: 0;
  height: clamp(188px, 26vw, 308px);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 308' preserveAspectRatio='none'%3E%3Cpath d='M0 170C46 186 96 199 140 185C183 171 159 116 214 106C333 84 464 132 604 174C754 219 885 246 1034 242C1171 238 1263 185 1323 103C1364 47 1398 76 1440 84V308H0V170Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  pointer-events: none;
}

.hero-shell::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(54px, 7.8vw, 86px);
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 100% 34%, 92% 18%, 84% 20%, 76% 42%, 66% 54%, 55% 57%, 43% 75%, 31% 58%, 18% 45%, 0 33%);
  content: "";
  pointer-events: none;
}

.hero-shell > * {
  position: relative;
  z-index: 2;
}

.hero-inner {
  min-height: clamp(700px, 105svh, 820px);
  padding-top: clamp(7.5rem, 22vw, 9rem);
  padding-bottom: clamp(2.5rem, 10vw, 4.5rem);
}

.hero-art {
  position: absolute;
  right: -20%;
  bottom: -4%;
  z-index: 1;
  width: clamp(520px, 112vw, 860px);
  aspect-ratio: 671 / 690;
  height: auto;
  pointer-events: none;
}

.hero-vector {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-dog-raster {
  opacity: 1;
}

.hero-blob-fill {
  fill: #f5c415;
}

.hero-paw-fill {
  fill: #ffec9e;
}

.hero-white-marks {
  fill: #ffffff;
}

.hero-purple-paw {
  fill: #c991ff;
}

.hero-pink-paw {
  fill: #ff5e96;
}

.hero-orange-paw {
  fill: #f5a400;
}

.hero-svg-avatar circle {
  fill: #ffffff;
  stroke: #63d4e9;
  stroke-width: 2;
  filter: drop-shadow(0 18px 28px rgba(47, 76, 85, 0.18));
}

.hero-svg-avatar-top circle {
  stroke: #ff6f9d;
}

.hero-svg-avatar-bottom circle {
  stroke: #f5a400;
}

@media (max-width: 639px) {
  .hero-shell {
    --hero-mobile-height: clamp(700px, 92svh, 780px);
    --hero-mobile-art-top: clamp(288px, 75vw, 340px);
    --hero-mobile-art-size: min(130vw, 500px);
    width: 100%;
    border-radius: 0;
  }

  .hero-inner {
    min-height: var(--hero-mobile-height);
    padding-top: clamp(7.25rem, 27vw, 8.5rem);
    padding-bottom: clamp(2rem, 10vw, 3.5rem);
    align-content: start;
  }

  .hero-inner > .relative {
    position: relative;
    z-index: 2;
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .hero-title,
  .hero-subtitle,
  .award-badge {
    margin-right: auto;
    margin-left: auto;
  }

  .award-badge {
    margin-bottom: 0.95rem;
    font-size: 0.74rem;
  }

  .hero-title {
    max-width: 321px;
    line-height: 1.1;
  }

  .hero-subtitle {
    position: relative;
    z-index: 3;
    max-width: 300px;
    text-shadow: 0 1px 0 rgba(255, 253, 245, 0.86);
  }

  .hero-art {
    top: var(--hero-mobile-art-top);
    right: auto;
    bottom: auto;
    left: 50%;
    z-index: 0;
    width: var(--hero-mobile-art-size);
    opacity: 1;
    transform: translateX(-50%);
  }

  .hero-dog-raster {
    opacity: 1;
  }

  .hero-blob-fill {
    opacity: 1;
  }

  .hero-paw-fill,
  .hero-white-marks {
    opacity: 1;
  }

  .hero-color-paws,
  .hero-svg-avatar {
    opacity: 1;
  }

  .hero-blob-fill,
  .hero-paw-fill,
  .hero-white-marks,
  .hero-color-paws,
  .hero-svg-avatar,
  .hero-dog-raster {
    transition: opacity 160ms ease;
  }

  .problem-copy,
  .platform-copy,
  .system-intro,
  .app-heading,
  .promise-copy {
    max-width: 38rem;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .problem-title,
  .platform-title,
  .story-title,
  .promise-copy .story-title {
    max-width: 11ch;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2.75rem, 12vw, 3.5rem);
    line-height: 0.96;
  }

  .problem-copy p,
  .platform-copy p,
  .app-heading p,
  .promise-copy p {
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1rem, 4.1vw, 1.12rem);
    line-height: 1.38;
  }
}

.question-quote {
  position: relative;
  display: grid;
  gap: 0.5rem;
  max-width: 36rem;
  margin: 1.65rem auto 0;
  padding: clamp(1.3rem, 4vw, 1.75rem);
  border: 1px solid rgba(47, 76, 85, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(33, 54, 60, 0.07);
}

.question-quote::before {
  position: absolute;
  top: -0.95rem;
  left: 1.15rem;
  color: rgba(245, 164, 0, 0.8);
  content: "\201C";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.question-quote p {
  margin: 0 0 0 0.3rem;
  color: #172126;
  font-size: clamp(1.02rem, 2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.42;
  text-align: left;
}

.question-quote p::before {
  color: rgba(245, 164, 0, 0.9);
  content: "\2014  ";
}

@media (min-width: 640px) and (max-width: 1199px) {
  .problem-copy,
  .platform-copy,
  .system-intro,
  .app-heading,
  .promise-copy {
    max-width: 44rem;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .problem-title,
  .platform-title,
  .story-title,
  .promise-copy .story-title {
    margin-right: auto;
    margin-left: auto;
  }

  .platform-copy p {
    margin-right: auto;
    margin-left: auto;
  }
}

.problem-art {
  position: relative;
  min-height: clamp(360px, 86vw, 500px);
}

.product-video {
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 10px solid #ffffff;
  border-radius: 24px;
  background: #172126;
  box-shadow: 0 22px 60px rgba(33, 54, 60, 0.14);
}

.product-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.problem-dog {
  position: absolute;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(108%, 640px);
  max-height: 108%;
  margin: auto;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
}

.video-bubble {
  position: absolute;
  top: 2%;
  right: 2%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 100px;
  padding: 16px;
  border-radius: 47% 53% 49% 51% / 42% 46% 54% 58%;
  color: #ffffff;
  background: #2f4c55;
  box-shadow: 0 18px 40px rgba(47, 76, 85, 0.18);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.play-ring {
  position: relative;
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.play-ring::after {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #ffffff;
  content: "";
  transform: translate(-40%, -50%);
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero-shell {
    --hero-tablet-height: clamp(700px, 88svh, 820px);
    --hero-tablet-art-size: min(104vw, 780px);
    width: calc(100% - 32px);
  }

  .hero-inner {
    min-height: var(--hero-tablet-height);
    padding-top: clamp(8rem, 16vw, 9.5rem);
    padding-bottom: clamp(4rem, 10vw, 6rem);
    align-content: start;
  }

  .hero-inner > .relative {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .hero-title,
  .hero-subtitle,
  .award-badge {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-art {
    top: clamp(5.5rem, 12vw, 7.25rem);
    right: auto;
    bottom: auto;
    left: 52%;
    z-index: 0;
    width: var(--hero-tablet-art-size);
    transform: translateX(-50%);
  }

  .hero-blob-fill,
  .hero-paw-fill,
  .hero-white-marks,
  .hero-color-paws,
  .hero-svg-avatar,
  .hero-dog-raster {
    opacity: 1;
  }

  .problem-copy,
  .platform-copy,
  .system-intro,
  .app-heading,
  .promise-copy {
    max-width: 44rem;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .problem-title,
  .platform-title,
  .story-title,
  .promise-copy .story-title {
    max-width: 13ch;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 900px) and (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 0.86fr 1.14fr;
    gap: 1.5rem;
    align-items: center;
    min-height: clamp(640px, 78svh, 740px);
    padding-top: 7rem;
    padding-bottom: 5rem;
  }

  .hero-inner > .relative {
    max-width: 430px;
    text-align: left;
  }

  .hero-title,
  .hero-subtitle {
    margin-left: 0;
  }

  .hero-art {
    position: relative;
    top: auto;
    left: auto;
    justify-self: end;
    width: min(118%, 700px);
    opacity: 1;
    transform: none;
  }

  .hero-blob-fill,
  .hero-paw-fill,
  .hero-white-marks,
  .hero-color-paws,
  .hero-svg-avatar,
  .hero-dog-raster {
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .problem-art {
    min-height: clamp(500px, 48vw, 620px);
  }

  .problem-dog {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(112%, 720px);
    max-height: 112%;
  }

  .video-bubble {
    top: 5%;
    right: 5%;
    width: clamp(128px, 14vw, 170px);
    height: clamp(112px, 12vw, 150px);
    font-size: clamp(0.92rem, 1.4vw, 1.1rem);
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    min-height: min(100svh, 820px);
    padding-top: clamp(7rem, 12vh, 8.5rem);
    padding-bottom: clamp(2rem, 5vh, 3.5rem);
  }

  .hero-art {
    right: -5%;
    bottom: 0;
    width: min(52vw, 700px);
    max-height: calc(100svh - 96px);
  }

  .product-video {
    min-height: 0;
  }
}

/* Navigation sits inside the hero and does not float or follow scroll. */
.site-header,
.site-header[data-scrolled] {
  position: absolute;
  top: 16px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

@media (max-width: 767px) {
  .site-header,
  .site-header[data-scrolled] {
    top: 10px;
  }

  .site-nav {
    border: 1px solid rgba(47, 76, 85, 0.12);
    background: #fffdf5;
    box-shadow: 0 14px 36px rgba(47, 76, 85, 0.12);
    backdrop-filter: blur(16px);
  }
}

/* Final shared grid and footer layer. */
.hero-inner,
#problem > .site-container,
.platform-inner,
.system-flow-inner,
.app-story-inner,
.promise-inner,
#team > .site-container,
.site-footer > .site-container {
  width: min(var(--site-max), calc(100% - (var(--site-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .platform-visual {
    width: 100%;
    margin-right: 0;
  }
}

.site-footer {
  padding: clamp(4.5rem, 8vw, 7rem) 0 2rem;
  border-top: 0;
  color: #fffdf5;
  background: #2f4c55;
}

.footer-panel {
  grid-template-columns: minmax(300px, 1.5fr) repeat(3, minmax(120px, 0.5fr));
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 245, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-brand { max-width: 27rem; }
.footer-logo { align-items: center; gap: 10px; color: #fffdf5; font-size: clamp(1.65rem, 2.4vw, 2.15rem); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.footer-logo svg { width: 30px; height: 30px; fill: #f5b336; }
.footer-brand p { max-width: 34ch; margin-top: 1.25rem; color: rgba(255, 253, 245, 0.7); font-size: 1rem; line-height: 1.65; }
.footer-award { margin-top: 1.4rem; border-color: rgba(255, 253, 245, 0.16); color: #fffdf5; background: rgba(255, 253, 245, 0.08); box-shadow: none; }
.footer-group h2 { color: #f5b336; font-size: 0.75rem; letter-spacing: 0.1em; }
.footer-group a,
.footer-bottom a { color: rgba(255, 253, 245, 0.72); font-weight: 500; text-decoration: none; }
.footer-group a:hover,
.footer-group a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible { color: #fffdf5; }
.footer-bottom { padding-top: 1.6rem; color: rgba(255, 253, 245, 0.58); }

@media (max-width: 767px) {
  .footer-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-group:last-child { grid-column: 1 / -1; }
}

/* Shared landing-page content grid. */
.hero-inner,
#problem > .site-container,
.platform-inner,
.system-flow-inner,
.app-story-inner,
.promise-inner,
#team > .site-container,
.site-footer > .site-container {
  width: min(var(--site-max), calc(100% - (var(--site-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .platform-visual {
    width: 100%;
    margin-right: 0;
  }
}

/* Footer redesign. */
.site-footer {
  padding: clamp(4.5rem, 8vw, 7rem) 0 2rem;
  border-top: 0;
  color: #fffdf5;
  background: #2f4c55;
}

.footer-panel {
  grid-template-columns: minmax(300px, 1.5fr) repeat(3, minmax(120px, 0.5fr));
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 245, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-brand {
  max-width: 27rem;
}

.footer-logo {
  align-items: center;
  gap: 10px;
  color: #fffdf5;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-logo svg {
  width: 30px;
  height: 30px;
  fill: #f5b336;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 1.25rem;
  color: rgba(255, 253, 245, 0.7);
  font-size: 1rem;
  line-height: 1.65;
}

.footer-award {
  margin-top: 1.4rem;
  border-color: rgba(255, 253, 245, 0.16);
  color: #fffdf5;
  background: rgba(255, 253, 245, 0.08);
  box-shadow: none;
}

.footer-group h2 {
  color: #f5b336;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.footer-group a,
.footer-bottom a {
  color: rgba(255, 253, 245, 0.72);
  font-weight: 500;
  text-decoration: none;
}

.footer-group a:hover,
.footer-group a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fffdf5;
}

.footer-bottom {
  padding-top: 1.6rem;
  color: rgba(255, 253, 245, 0.58);
}

@media (max-width: 767px) {
  .footer-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-group:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .hero-shell,
  .hero-inner {
    min-height: min(100svh, 790px);
  }

  .hero-inner {
    overflow: hidden;
  }

  .hero-art {
    top: auto;
    right: auto;
    bottom: -4px;
    left: 50%;
    width: min(88vw, 350px);
    transform: translateX(-50%);
  }

  .hero-checkin {
    right: 2%;
    bottom: 5%;
    width: min(300px, 86%);
  }
}

@media (max-width: 767px) {
  .hero-shell {
    min-height: min(100svh, 790px);
  }

  .hero-inner {
    min-height: min(100svh, 790px);
    overflow: hidden;
  }

  .hero-art {
    top: auto;
    right: auto;
    bottom: -4px;
    left: 50%;
    width: min(88vw, 350px);
    transform: translateX(-50%);
  }

  .hero-checkin {
    right: 2%;
    bottom: 5%;
    width: min(300px, 86%);
  }
}

/* Refined navigation and hero — page structure below remains unchanged. */
.site-header {
  position: fixed;
  top: 16px;
  min-height: 58px;
  padding: 7px 8px 7px 16px;
  border-radius: 16px;
  background: rgba(255, 253, 245, 0.9);
  box-shadow: 0 12px 36px rgba(33, 54, 60, 0.1);
  transition: top 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.site-header[data-scrolled] {
  top: 8px;
  background: rgba(255, 253, 245, 0.96);
  box-shadow: 0 14px 42px rgba(33, 54, 60, 0.14);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.08rem;
  font-weight: 700;
}

.site-brand svg {
  width: 25px;
  height: 25px;
  fill: #f5a400;
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav .nav-cta {
  margin-left: 5px;
  padding-inline: 17px;
  color: #fffdf5;
  background: #172126;
  box-shadow: 0 8px 18px rgba(23, 33, 38, 0.18);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #fffdf5;
  background: #2f4c55;
}

.hero-shell {
  width: calc(100% - 32px);
  border-radius: 0 0 34px 34px;
  background: #fffbea;
}

.hero-shell::before,
.hero-shell::after {
  display: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: clamp(30px, 4vw, 64px);
}

.hero-copy {
  padding-left: clamp(0px, 2vw, 24px);
}

.hero-title {
  max-width: 8.5ch;
  font-size: clamp(3.8rem, 6.3vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  max-width: 480px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.38;
}

.hero-description {
  max-width: 560px;
  margin-top: 18px;
  color: #64716e;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.hero-primary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  border-radius: 13px;
  color: #fffdf5;
  background: #172126;
  box-shadow: 0 12px 26px rgba(23, 33, 38, 0.2);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-primary:hover {
  box-shadow: 0 16px 32px rgba(23, 33, 38, 0.25);
  transform: translateY(-2px);
}

.hero-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #172126;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-checkin {
  position: absolute;
  right: 2%;
  bottom: 9%;
  z-index: 5;
  display: grid;
  width: min(360px, 72%);
  grid-template-columns: 48px 1fr 30px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(47, 76, 85, 0.1);
  border-radius: 16px;
  background: rgba(255, 253, 245, 0.94);
  box-shadow: 0 18px 42px rgba(47, 76, 85, 0.16);
  backdrop-filter: blur(14px);
}

.hero-checkin img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-checkin span,
.hero-checkin small,
.hero-checkin strong {
  display: block;
}

.hero-checkin small {
  color: #64716e;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.hero-checkin strong {
  margin-top: 2px;
  color: #172126;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-checkin > svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  background: #4b9b6d;
}

@media (max-width: 1023px) {
  .site-nav a {
    padding-inline: 10px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-description,
  .hero-actions {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .site-header {
    top: 10px;
    min-height: 54px;
    padding: 6px 7px 6px 13px;
    border-radius: 14px;
  }

  .site-nav {
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    width: auto;
    border-radius: 14px;
  }

  .site-nav a:first-child {
    display: flex;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin: 4px 0 0;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .hero-shell {
    width: 100%;
  }

  .hero-inner {
    min-height: min(100svh, 790px);
    padding-top: 7.2rem;
  }

  .hero-title {
    font-size: clamp(3.1rem, 15vw, 4.2rem);
  }

  .hero-description {
    max-width: 330px;
    font-size: 0.92rem;
  }

  .hero-actions {
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
  }

  .hero-primary {
    min-height: 48px;
  }

  .hero-art {
    top: clamp(390px, 106vw, 440px);
    width: min(112vw, 450px);
  }

  .hero-checkin {
    right: 5%;
    bottom: 4%;
    width: min(330px, 88%);
  }
}

@media (min-width: 1024px) {
  .hero-shell {
    margin-top: 0 !important;
  }

  .hero-inner {
    min-height: 806px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-inner > .relative {
    align-self: start;
    padding-top: 276px;
  }

  .hero-title {
    max-width: 500px;
    white-space: normal;
  }

  .hero-subtitle {
    max-width: 500px;
    margin-top: 1.45rem;
  }

  .hero-art {
    position: absolute;
    top: -22px;
    right: -96px;
    bottom: auto;
    width: min(110%, 671px);
    aspect-ratio: 671 / 690;
    height: auto;
    transform: none;
  }

}

.platform-section {
  overflow: hidden;
}

.platform-inner {
  min-height: 720px;
}

.platform-copy {
  position: relative;
  z-index: 1;
}

.platform-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 760px);
}

.platform-visual img {
  width: 100%;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(33, 54, 60, 0.1));
}

@media (min-width: 1024px) {
  .platform-visual {
    justify-self: end;
    width: min(118%, 900px);
    margin-right: -5%;
  }
}

.system-flow-section {
  position: relative;
  overflow: hidden;
}

.system-flow-inner {
  position: relative;
}

.system-path {
  position: absolute;
  z-index: 0;
  display: block;
  overflow: visible;
  fill: none;
  stroke: #f2a414;
  stroke-width: 6;
  stroke-dasharray: 1 24;
  stroke-linecap: round;
  opacity: 0.82;
}

.system-top-row,
.system-story-row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
}

.system-top-row {
  grid-template-columns: 1fr;
  margin-top: clamp(34px, 6vw, 72px);
}

.system-story-row {
  margin-top: clamp(54px, 9vw, 124px);
  align-items: center;
}

.system-screen {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(47, 76, 85, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(33, 54, 60, 0.08);
}

.system-screen img {
  width: 100%;
  object-fit: contain;
}

.system-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  background: #ffffff;
}

.system-intro {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.system-copy p,
.app-heading p,
.promise-copy p {
  margin-top: 1.6rem;
}

.flow-paw {
  position: absolute;
  z-index: 0;
  display: block;
  width: 54px;
  height: auto;
  fill: #ffaa00;
  opacity: 0.9;
  pointer-events: none;
}

.app-story-section {
  position: relative;
  overflow: hidden;
}

.app-story-inner {
  position: relative;
}

.app-heading p {
  max-width: 840px;
  margin-right: auto;
  margin-left: auto;
}

.phone-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  align-items: end;
  margin-top: clamp(44px, 7vw, 84px);
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.phone-flow img {
  width: min(100%, 238px);
  min-width: 150px;
  margin: 0 auto;
  aspect-ratio: 402 / 874;
  border: clamp(6px, 0.8vw, 10px) solid #ffffff;
  border-radius: clamp(24px, 2.6vw, 34px);
  outline: 1px solid rgba(47, 76, 85, 0.12);
  background: #f5f9fb;
  object-fit: cover;
  box-shadow: 0 22px 42px rgba(33, 54, 60, 0.12);
}

.phone-flow img:nth-child(2),
.phone-flow img:nth-child(4) {
  margin-top: clamp(22px, 4vw, 58px);
}

.app-doodle {
  position: absolute;
  display: none;
  width: 120px;
  height: 120px;
  border: 9px solid #dceef4;
  border-radius: 38% 62% 52% 48% / 52% 42% 58% 48%;
  pointer-events: none;
}

.promise-section {
  overflow: hidden;
}

.promise-inner {
  min-height: 640px;
}

.promise-pet {
  position: relative;
  justify-self: center;
  width: min(92vw, 520px);
}

.promise-pet img {
  width: 100%;
  filter: drop-shadow(0 20px 34px rgba(33, 54, 60, 0.08));
}

.promise-copy {
  max-width: 590px;
}

.promise-copy .story-title {
  max-width: 12ch;
}

.team-section {
  overflow: hidden;
}

.team-heading {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3.75rem);
  text-align: center;
}

.team-heading p {
  margin-top: 1.2rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #172126;
  font-size: clamp(15.377px, calc(14.02px + 0.347vw), 19.024px);
  font-weight: 400;
  line-height: clamp(22.296px, calc(19.27px + 0.776vw), 30.439px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.45rem);
}

.team-card {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.team-card::before {
  display: none;
}

.team-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, #d7ddcc, #c8d0bf);
  box-shadow: 0 18px 42px rgba(33, 54, 60, 0.08);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card:nth-child(2) .team-photo {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, #ded6d1, #d0c7c3);
}

.team-card:nth-child(3) .team-photo {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, #d9c1c7, #caaeb6);
}

.team-card:nth-child(4) .team-photo {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, #c6c7ca, #b8babf);
}

.team-info {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 2.1rem);
  min-height: 78px;
  margin: -38px auto 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(47, 76, 85, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(33, 54, 60, 0.12);
}

.team-card h3 {
  margin: 0;
  color: #172126;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
}

.team-card p {
  margin: 0.35rem 0 0;
  padding: 0;
  color: #64716e;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

.team-linkedin {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(47, 76, 85, 0.12);
  border-radius: 999px;
  color: #2f4c55;
  background: #fffdf5;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.team-linkedin:hover,
.team-linkedin:focus-visible {
  border-color: rgba(47, 76, 85, 0.28);
  color: #172126;
  transform: translateY(-1px);
}

.team-linkedin svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.site-footer {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  border-top: 1px solid rgba(47, 76, 85, 0.08);
  background:
    radial-gradient(circle at 82% 12%, rgba(245, 179, 54, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
}

.footer-panel {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  padding: clamp(1.35rem, 3.4vw, 2.25rem);
  border: 1px solid rgba(47, 76, 85, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.86);
  box-shadow: 0 24px 56px rgba(33, 54, 60, 0.08);
}

.footer-brand {
  max-width: 25rem;
}

.footer-logo {
  display: inline-flex;
  color: #2f4c55;
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.footer-brand p {
  margin-top: 1rem;
  color: #64716e;
  font-size: 0.98rem;
  line-height: 1.65;
}

.footer-award {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(47, 76, 85, 0.1);
  border-radius: 999px;
  color: #172126;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(33, 54, 60, 0.07);
}

.footer-award img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 0.72rem;
}

.footer-group h2 {
  margin: 0 0 0.18rem;
  color: #172126;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-group a,
.footer-bottom a {
  color: #64716e;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 160ms ease;
}

.footer-group a:hover,
.footer-group a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #172126;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.35rem;
  color: #64716e;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 768px) {
  .footer-panel {
    grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(120px, 0.55fr));
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .system-top-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-story-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }

  .guidance-story {
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  }
}

@media (min-width: 1024px) {
  .system-flow-inner {
    min-height: 1760px;
  }

  .system-path {
    top: 350px;
    left: 8%;
    width: 84%;
    height: 1120px;
  }

  .system-top-row {
    width: min(82%, 860px);
    margin: 0 auto;
    margin-top: 78px;
    gap: 34px;
  }

  .system-story-row {
    margin-top: 142px;
  }

  .action-story .system-screen {
    transform: translateX(-6%);
  }

  .action-story .system-copy {
    transform: translateY(-22px);
  }

  .guidance-story {
    margin-top: 150px;
  }

  .guidance-story .system-copy {
    padding-left: 6%;
  }

  .guidance-story .system-screen {
    transform: translateX(4%);
  }

  .flow-paw {
    width: 62px;
    transform: rotate(18deg);
  }

  .flow-paw-one {
    top: 620px;
    right: 18%;
  }

  .flow-paw-two {
    top: 1210px;
    left: 16%;
    transform: rotate(-22deg) scale(0.78);
  }

  .app-doodle {
    display: block;
  }

  .app-doodle-one {
    top: 110px;
    left: 2%;
  }

  .app-doodle-two {
    right: 1%;
    bottom: 130px;
    transform: rotate(34deg) scale(0.72);
  }
}

@media (max-width: 767px) {
  .system-flow-section {
    background:
      linear-gradient(180deg, #ffffff 0%, #fffdf5 12%, #fffdf5 88%, #ffffff 100%);
  }

  .system-flow-inner,
  .app-story-inner,
  .promise-inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .system-flow-inner {
    min-height: 1700px;
  }

  .system-path {
    display: block;
    top: 230px;
    left: -18%;
    width: 138%;
    height: 1280px;
    transform: none;
    stroke-width: 6;
    stroke-dasharray: 1 24;
    opacity: 0.78;
  }

  .system-intro {
    max-width: 21rem;
  }

  .system-top-row,
  .system-story-row {
    gap: 34px;
  }

  .system-top-row {
    margin-top: 82px;
  }

  .system-top-row .system-screen + .system-screen {
    margin-top: 10px;
  }

  .system-story-row {
    margin-top: 132px;
  }

  .system-screen {
    position: relative;
    overflow: visible;
    width: min(100%, 330px);
    margin-right: auto;
    margin-left: auto;
    box-shadow: 0 16px 34px rgba(97, 72, 30, 0.1);
  }

  .system-screen img {
    overflow: hidden;
    border-radius: 8px;
  }

  .system-copy {
    width: min(100%, 330px);
    margin-right: auto;
    margin-left: auto;
    padding: 0.2rem 0.65rem 0.35rem;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 0 0 18px #ffffff;
    text-align: center;
  }

  .system-copy .story-title {
    max-width: 11ch;
    margin-right: auto;
    margin-left: auto;
  }

  .system-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .flow-paw-one {
    top: 642px;
    right: 8%;
    transform: rotate(17deg) scale(0.46);
    opacity: 0.45;
  }

  .flow-paw-two {
    top: 1320px;
    left: 9%;
    transform: rotate(-18deg) scale(0.42);
    opacity: 0.38;
  }

  .guidance-story .system-copy {
    order: 2;
  }

  .guidance-story .system-screen {
    order: 1;
  }

  .phone-flow {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    margin-right: -1rem;
    margin-left: -1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-x: auto;
    scroll-padding-inline: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .phone-flow img {
    flex: 0 0 clamp(184px, 62vw, 238px);
    min-width: 0;
    width: clamp(184px, 62vw, 238px);
    scroll-snap-align: center;
  }

  .phone-flow img:nth-child(2),
  .phone-flow img:nth-child(4) {
    margin-top: 24px;
  }

  .promise-copy .story-title {
    max-width: 13ch;
  }

  .team-heading {
    max-width: 20rem;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-photo {
    aspect-ratio: 1.18 / 1;
  }

  .team-info {
    width: calc(100% - 2.5rem);
  }

  .team-card h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .problem-title,
  .platform-title,
  .story-title {
    font-size: clamp(2.45rem, 11.5vw, 3.25rem);
    line-height: 1.08;
  }

  .problem-copy p,
  .platform-copy p,
  .system-copy p,
  .app-heading p,
  .promise-copy p {
    font-size: 1rem;
    line-height: 1.52;
  }
}

@media (max-width: 767px) {
  .hero-shell,
  .hero-inner {
    min-height: min(100svh, 790px);
  }

  .hero-inner {
    overflow: hidden;
  }

  .hero-art {
    top: auto;
    right: auto;
    bottom: -4px;
    left: 50%;
    width: min(88vw, 350px);
    transform: translateX(-50%);
  }

  .hero-checkin {
    right: 2%;
    bottom: 5%;
    width: min(300px, 86%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal-item {
    opacity: 0;
    filter: blur(4px);
    translate: 0 24px;
    transition:
      opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 680ms cubic-bezier(0.22, 1, 0.36, 1),
      translate 680ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--reveal-index, 0) * 70ms);
    will-change: opacity, filter, translate;
  }

  .motion-ready .reveal-item.is-visible {
    opacity: 1;
    filter: blur(0);
    translate: 0 0;
  }

  .motion-ready .hero-art.is-visible {
    animation: heroFloat 7s ease-in-out 850ms infinite;
  }

  .motion-ready .team-card.reveal-item,
  .motion-ready .system-screen.reveal-item,
  .motion-ready .phone-flow img.reveal-item {
    transition-duration: 760ms;
  }
}

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

@keyframes heroFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    min-height: min(100svh, 820px);
    padding-top: 90px;
    padding-bottom: 36px;
  }

  .hero-inner > .relative {
    align-self: center;
    padding-top: 0;
  }

  .hero-art {
    position: absolute;
    top: 76px;
    right: -2%;
    bottom: auto;
    width: min(52vw, 700px);
    max-height: calc(100svh - 92px);
  }
}

.site-header,
.site-header[data-scrolled] {
  position: absolute;
  top: 16px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

@media (max-width: 767px) {
  .site-header,
  .site-header[data-scrolled] {
    top: 10px;
  }

  .site-nav {
    border: 1px solid rgba(47, 76, 85, 0.12);
    background: #fffdf5;
    box-shadow: 0 14px 36px rgba(47, 76, 85, 0.12);
    backdrop-filter: blur(16px);
  }
}

/* Footer and shared-width overrides must remain last. */
.hero-inner,
#problem > .site-container,
.platform-inner,
.system-flow-inner,
.app-story-inner,
.promise-inner,
#team > .site-container,
.site-footer > .site-container {
  width: min(var(--site-max), calc(100% - (var(--site-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .platform-visual {
    width: 100%;
    margin-right: 0;
  }
}

.site-footer {
  padding: clamp(4.5rem, 8vw, 7rem) 0 2rem;
  border-top: 0;
  color: #fffdf5;
  background: #2f4c55;
}

.footer-panel {
  grid-template-columns: minmax(300px, 1.5fr) repeat(3, minmax(120px, 0.5fr));
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 245, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-brand { max-width: 27rem; }
.footer-logo { align-items: center; gap: 10px; color: #fffdf5; font-size: clamp(1.65rem, 2.4vw, 2.15rem); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.footer-logo svg { width: 30px; height: 30px; fill: #f5b336; }
.footer-brand p { max-width: 34ch; margin-top: 1.25rem; color: rgba(255, 253, 245, 0.7); font-size: 1rem; line-height: 1.65; }
.footer-award { margin-top: 1.4rem; border-color: rgba(255, 253, 245, 0.16); color: #fffdf5; background: rgba(255, 253, 245, 0.08); box-shadow: none; }
.footer-group h2 { color: #f5b336; font-size: 0.75rem; letter-spacing: 0.1em; }
.footer-group a,
.footer-bottom a { color: rgba(255, 253, 245, 0.72); font-weight: 500; text-decoration: none; }
.footer-group a:hover,
.footer-group a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible { color: #fffdf5; }
.footer-bottom { padding-top: 1.6rem; color: rgba(255, 253, 245, 0.58); }

@media (max-width: 767px) {
  .footer-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-group:last-child { grid-column: 1 / -1; }
}
