@font-face {
  font-family: "DymonShouXie";
  src: url("assets/dymon-shouxieti.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #002a8b;
  --blue-deep: #001a58;
  --blue-soft: #0b40bb;
  --lime: #d5ec26;
  --paper: #fffdf7;
  --cream: #f8f5ef;
  --ink: #162045;
  --muted: #68728b;
  --line: rgba(22, 32, 69, 0.12);
  --shadow: 0 28px 70px rgba(0, 23, 76, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.handwritten {
  font-family: "DymonShouXie", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 42, 139, 0.94);
  color: white;
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 44px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 900;
}

.brand-link img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.nav-links a:hover {
  color: white;
}

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(460px, 0.92fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(58px, 7.5vw, 116px);
  margin: 0;
  padding: 92px max(22px, calc((100vw - 1180px) / 2)) 88px;
  background: var(--blue);
  color: white;
  isolation: isolate;
  overflow: hidden;
}

.paw-field {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.paw-field img {
  position: absolute;
  width: 58px;
  height: auto;
  opacity: 0.25;
}

.hero-paws {
  right: max(40px, calc((100vw - 1180px) / 2) - 8px);
  bottom: 118px;
  width: 270px;
  height: 260px;
}

.hero-paws img:nth-child(1) {
  left: 8px;
  top: 92px;
  transform: rotate(-12deg);
}

.hero-paws img:nth-child(2) {
  left: 112px;
  top: 148px;
  transform: rotate(10deg);
}

.hero-paws img:nth-child(3) {
  left: 130px;
  top: 24px;
  transform: rotate(-4deg);
}

.hero-paws img:nth-child(4) {
  left: 214px;
  top: 0;
  transform: rotate(18deg);
}

.hero::after {
  content: none;
  position: absolute;
  right: max(44px, calc((100vw - 1180px) / 2));
  bottom: 84px;
  z-index: 0;
  width: 96px;
  height: 96px;
  background:
    linear-gradient(45deg, transparent 44%, rgba(0, 26, 88, 0.78) 45%, rgba(0, 26, 88, 0.78) 55%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, rgba(0, 26, 88, 0.78) 45%, rgba(0, 26, 88, 0.78) 55%, transparent 56%);
  transform: rotate(-8deg);
}

.hero-doodle {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.44;
  pointer-events: none;
}

.hero-route-line,
.hero-deep-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-route-line {
  stroke: rgba(213, 236, 38, 0.36);
  stroke-width: 7;
  stroke-dasharray: 2 20;
}

.hero-deep-line {
  stroke: rgba(0, 20, 72, 0.68);
  stroke-width: 18;
}

.hero-deep-line-alt {
  stroke-width: 10;
  opacity: 0.82;
}

.hero-copy-block {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 20px;
  font-weight: 900;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 640px;
  color: white;
  font-family: "DymonShouXie", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(74px, 8.2vw, 136px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  width: max-content;
  white-space: nowrap;
}

.hero h1 .title-large {
  font-size: 1.54em;
}

.hero h1 .title-small {
  margin-top: 0.04em;
  font-size: 0.64em;
}

.hero-copy {
  max-width: 560px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.hero-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  max-width: 460px;
  margin: 0 0 30px;
}

.hero-marks span {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px 7px;
  color: var(--lime);
  font-size: 21px;
  line-height: 1;
}

.hero-marks span::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(213, 236, 38, 0.82);
  border-radius: 54% 46% 50% 50% / 46% 58% 42% 54%;
  transform: rotate(-4deg);
  pointer-events: none;
}

.hero-marks span::before {
  content: "";
  position: absolute;
  inset: 4px 2px 2px 4px;
  border: 1.5px solid rgba(213, 236, 38, 0.42);
  border-radius: 48% 52% 46% 54% / 56% 44% 52% 48%;
  transform: rotate(3deg);
  pointer-events: none;
}

.hero-marks span:nth-child(2)::after {
  border-radius: 46% 54% 48% 52% / 54% 44% 56% 46%;
  transform: rotate(3deg);
}

.hero-marks span:nth-child(3)::after {
  border-radius: 52% 48% 56% 44% / 44% 56% 46% 54%;
  transform: rotate(-2deg);
}

.hero-marks span:nth-child(2)::before {
  transform: rotate(-4deg);
}

.hero-marks span:nth-child(3)::before {
  transform: rotate(4deg);
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
}

.button-primary {
  background: var(--lime);
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(213, 236, 38, 0.18);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: white;
}

.desktop-only {
  display: initial;
}

.qr-card {
  width: fit-content;
  margin-top: 22px;
  padding: 12px 16px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.qr-card img {
  width: 86px;
  height: 86px;
  padding: 7px;
  border-radius: 12px;
  background: white;
}

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

.qr-card strong {
  font-size: 16px;
}

.qr-card span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.demo-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.phone-shell {
  position: relative;
  width: min(330px, calc(100vh - 190px) * 0.4599);
  max-width: 330px;
  padding: 10px;
  border-radius: 46px;
  background: #07163d;
  box-shadow: var(--shadow);
}

.phone-shell::before {
  content: "";
  position: absolute;
}

.demo-screen {
  position: relative;
  aspect-ratio: 1206 / 2622;
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--blue);
  container-type: inline-size;
}

.home-layer,
.walk-layer {
  position: absolute;
  inset: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.walk-layer {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.demo-screen.is-walking .home-layer {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

.demo-screen.is-walking .walk-layer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.screen-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.home-phrase {
  position: absolute;
  top: 30.1%;
  left: 5%;
  right: 5%;
  z-index: 3;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 5.95cqw;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.go-hotspot,
.walk-end,
.walk-home,
.walk-back {
  position: absolute;
  z-index: 5;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.go-hotspot {
  left: 31.2%;
  top: 78.6%;
  width: 37.5%;
}

.go-hotspot img,
.walk-end img,
.walk-home img,
.walk-back img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.go-hotspot:hover,
.walk-end:hover,
.walk-home:hover,
.walk-back:hover {
  transform: scale(1.035);
}

.walk-time,
.walk-distance {
  position: absolute;
  z-index: 4;
  color: #20242c;
  font-size: 5.35cqw;
  line-height: 1;
  white-space: nowrap;
}

.walk-time {
  top: 9.35%;
  left: 18.2%;
}

.walk-distance {
  top: 9.35%;
  right: 8.8%;
}

.walk-phrase-cover {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 26.1%;
  z-index: 3;
  height: 4.9%;
  background: var(--lime);
}

.walk-phrase {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 26.45%;
  z-index: 4;
  margin: 0;
  color: #282c32;
  font-size: 5.7cqw;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.walk-dog {
  position: absolute;
  left: 0;
  top: 28.6%;
  z-index: 3;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.walk-end {
  left: 31.35%;
  top: 77.7%;
  width: 37.3%;
}

.walk-home {
  left: 9.2%;
  top: 88.5%;
  width: 9%;
}

.walk-back {
  right: 8.4%;
  top: 88.1%;
  width: 10%;
}

.demo-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 22px;
  text-align: center;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 80px 0;
}

.features-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 112px max(22px, calc((100vw - 1180px) / 2)) 118px;
  background: var(--lime);
  overflow: hidden;
  color: #263314;
}

.features-section::before {
  content: none;
  position: absolute;
  left: max(22px, calc((100vw - 1180px) / 2));
  top: 36px;
  width: 260px;
  height: 260px;
  border-radius: 46% 54% 52% 48% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 28% 26%, rgba(255, 253, 247, 0.34) 0 9px, transparent 10px),
    radial-gradient(circle at 64% 40%, rgba(0, 42, 139, 0.16) 0 8px, transparent 9px),
    radial-gradient(circle at 48% 72%, rgba(38, 51, 20, 0.12) 0 7px, transparent 8px);
  background-size: 72px 72px, 92px 92px, 84px 84px;
  transform: rotate(-7deg);
  opacity: 0.48;
  pointer-events: none;
}

.features-section::after {
  content: none;
  position: absolute;
  right: max(16px, calc((100vw - 1180px) / 2));
  top: 76px;
  color: rgba(38, 51, 20, 0.09);
  font-family: "DymonShouXie", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(120px, 15vw, 220px);
  line-height: 0.8;
  transform: rotate(8deg);
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 46px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.features-section .section-kicker {
  color: rgba(38, 51, 20, 0.72);
}

.section h2,
.gallery-copy h2 {
  margin: 0;
  color: var(--blue);
  font-family: "DymonShouXie", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.features-section h2 {
  color: #263314;
  font-size: clamp(70px, 8vw, 118px);
}

.section-heading p:not(.section-kicker) {
  max-width: 720px;
  margin: 12px auto 0;
  color: rgba(38, 51, 20, 0.74);
  font-size: 14px;
}

.loop-board {
  position: relative;
  z-index: 1;
  min-height: 560px;
  isolation: isolate;
}

.feature-paws {
  left: -190px;
  bottom: 48px;
  width: 320px;
  height: 230px;
}

.feature-paws img {
  width: 58px;
  opacity: 0.18;
}

.feature-paws img:nth-child(1) {
  left: 18px;
  top: 132px;
  transform: rotate(-16deg);
}

.feature-paws img:nth-child(2) {
  left: 98px;
  top: 68px;
  transform: rotate(9deg);
}

.feature-paws img:nth-child(3) {
  left: 156px;
  top: 6px;
  transform: rotate(14deg);
}

.feature-paws img:nth-child(4) {
  left: 196px;
  top: 122px;
  transform: rotate(-8deg);
}

.loop-dog {
  position: absolute;
  z-index: 2;
  width: 150px;
  height: auto;
  filter: drop-shadow(0 12px 0 rgba(255, 255, 255, 0.96)) drop-shadow(0 20px 14px rgba(38, 51, 20, 0.14));
  pointer-events: none;
}

.loop-dog-left {
  left: -76px;
  top: 18px;
  transform: rotate(-18deg) scaleX(-1);
}

.loop-dog-right {
  right: -34px;
  bottom: 92px;
  transform: rotate(20deg);
}

.loop-path {
  position: absolute;
  inset: 70px 0 auto;
  z-index: 0;
  width: 100%;
  height: 360px;
  overflow: visible;
}

.loop-path-main,
.loop-path-shadow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loop-path-shadow {
  stroke: rgba(38, 51, 20, 0.24);
  stroke-width: 14;
}

.loop-path-main {
  stroke: rgba(38, 51, 20, 0.78);
  stroke-width: 4;
  stroke-dasharray: 2 22;
}

.loop-card {
  position: absolute;
  z-index: 1;
  width: clamp(210px, 19.2vw, 246px);
  min-height: 286px;
  padding: 24px 24px 26px;
  border: 0;
  border-radius: 30px 24px 34px 26px;
  background: var(--paper);
  box-shadow: 10px 14px 0 rgba(38, 51, 20, 0.12), 0 20px 44px rgba(0, 42, 139, 0.12);
}

.loop-card::before {
  content: "";
  position: absolute;
  left: 30px;
  top: -9px;
  width: 72px;
  height: 22px;
  border-radius: 8px;
  background: rgba(0, 42, 139, 0.16);
  transform: rotate(-5deg);
}

.loop-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  height: 3px;
  background: linear-gradient(90deg, rgba(38, 51, 20, 0.24), transparent);
}

.loop-card .step {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(38, 51, 20, 0.34);
  font-size: 40px;
  line-height: 1;
}

.loop-card img {
  display: block;
  width: 104px;
  height: 104px;
  margin: 10px 0 24px;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(38, 51, 20, 0.1));
}

.loop-card h3 {
  margin: 0 0 10px;
  color: #263314;
  font-size: clamp(29px, 2.9vw, 36px);
  line-height: 1;
}

.loop-card p {
  margin: 0;
  color: rgba(38, 51, 20, 0.78);
  font-size: 16px;
}

.card-start,
.card-reward {
  background: #f3ffd7;
}

.card-start {
  border-radius: 26px 34px 28px 32px;
}

.card-route {
  border-radius: 34px 26px 32px 24px;
}

.card-reward {
  border-radius: 24px 34px 26px 32px;
}

.card-reminder {
  left: 0;
  top: 170px;
  transform: rotate(-3deg);
}

.card-start {
  left: 29%;
  top: 72px;
  transform: rotate(2deg);
}

.card-start img {
  width: 126px;
  height: 126px;
  margin-top: 0;
  margin-bottom: 26px;
}

.card-route {
  left: 54%;
  top: 160px;
  transform: rotate(-2deg);
}

.card-reward {
  right: 0;
  top: 72px;
  transform: rotate(3deg);
}

.feature-notes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  border-top: 2px solid rgba(38, 51, 20, 0.2);
  border-bottom: 2px solid rgba(38, 51, 20, 0.2);
}

.feature-notes article {
  position: relative;
  min-height: 164px;
  padding: 28px 30px 26px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.feature-notes article + article {
  border-left: 2px solid rgba(38, 51, 20, 0.18);
}

.note-label {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  color: rgba(0, 42, 139, 0.9);
  font-size: 17px;
  line-height: 1;
}

.feature-notes h3 {
  margin: 0 0 12px;
  color: #263314;
  font-size: 22px;
  line-height: 1.2;
}

.feature-notes p {
  margin: 0;
  color: rgba(38, 51, 20, 0.76);
  font-size: 16px;
}

.gallery-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 108px max(22px, calc((100vw - 1180px) / 2)) 92px;
  background: var(--blue);
  color: white;
  overflow: hidden;
}

.gallery-section::before,
.gallery-section::after {
  content: none;
  position: absolute;
  pointer-events: none;
}

.gallery-section::before {
  content: "ART";
  right: max(16px, calc((100vw - 1180px) / 2));
  top: 42px;
  width: auto;
  height: auto;
  color: rgba(0, 20, 72, 0.58);
  font-family: "DymonShouXie", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(120px, 15vw, 220px);
  line-height: 0.8;
  transform: rotate(7deg);
}

.gallery-section::after {
  left: max(22px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  width: min(520px, 48vw);
  height: 16px;
  background: rgba(0, 20, 72, 0.72);
  border-radius: 999px;
  transform: rotate(-2deg);
}

.gallery-copy {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 860px;
  margin-bottom: 38px;
  text-align: left;
}

.gallery-copy .section-kicker,
.gallery-copy h2 {
  color: white;
}

.gallery-copy h2 span {
  display: block;
  width: max-content;
  transform-origin: left center;
}

.gallery-copy h2 .title-large {
  font-size: 1.38em;
}

.gallery-copy h2 .title-small {
  font-size: 0.76em;
}

.gallery-copy p:not(.section-kicker) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  max-width: 360px;
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.gallery-tags span {
  position: relative;
  display: inline-flex;
  padding: 0 0 6px;
  color: var(--lime);
  font-weight: 900;
  font-size: 14px;
}

.gallery-tags span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(213, 236, 38, 0.58);
  border-radius: 999px;
  transform: rotate(-1.4deg);
}

.outfit-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  max-width: none;
  padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.outfit-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: outfit-scroll 42s linear infinite;
}

.outfit-marquee:hover .outfit-track {
  animation-play-state: paused;
}

.outfit-track figure {
  flex: 0 0 178px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px 18px 24px 20px;
  background: white;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.outfit-track img {
  display: block;
  width: 90%;
  margin: 14px auto 0;
  aspect-ratio: 1 / 1.02;
  object-fit: contain;
}

.outfit-track figcaption {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 8px 8px 10px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

@keyframes outfit-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.closing {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 118px 22px 112px;
  background: var(--blue);
  color: white;
  text-align: center;
  overflow: hidden;
}

.closing > img {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.closing h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.closing .button-primary {
  background: var(--lime);
  color: var(--blue);
}

.closing-qr {
  margin-top: 6px;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.closing-qr img {
  width: 112px;
  height: 112px;
  padding: 8px;
  border-radius: 16px;
  background: white;
}

.footer {
  background: #06143c;
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  width: min(1180px, calc(100% - 44px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

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

.footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.document-shell {
  background: var(--cream);
}

.document {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.document-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: clamp(24px, 5vw, 50px);
  box-shadow: 0 18px 44px rgba(0, 42, 139, 0.08);
}

.document-date {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.document-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.document h1 {
  margin: 0;
  color: var(--blue);
  font-family: "DymonShouXie", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}

.document h2 {
  margin: 34px 0 10px;
  color: var(--blue);
  font-size: 23px;
  line-height: 1.3;
}

.document p {
  margin: 10px 0;
}

.document ul {
  margin: 10px 0 0;
  padding-left: 1.25em;
}

.document li {
  margin: 6px 0;
}

.document a {
  color: var(--blue);
  font-weight: 700;
}

.document-footer {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav {
    width: min(100% - 28px, 1180px);
    min-height: 60px;
  }

  .brand-link img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .nav-links a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 18px 46px;
  }

  .paw-field,
  .loop-dog {
    display: none;
  }

  .hero::after {
    width: 90px;
    height: 90px;
    right: -26px;
    bottom: 30%;
  }

  .hero-doodle {
    opacity: 0.28;
  }

  .hero-copy-block {
    order: 2;
    width: min(100%, 460px);
    margin: 0 auto;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .hero h1 {
    max-width: 360px;
    margin-bottom: 16px;
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-copy {
    max-width: 330px;
    margin-bottom: 18px;
    font-size: 15px;
  }

  .hero-marks {
    max-width: 340px;
    margin-bottom: 24px;
    gap: 10px;
  }

  .hero-marks span {
    min-height: 40px;
    padding: 7px 13px 6px;
    font-size: 18px;
  }

  .hero-actions {
    width: min(100%, 340px);
    flex-direction: column;
    align-items: stretch;
  }

  .desktop-only {
    display: none;
  }

  .button {
    min-height: 48px;
    width: 100%;
  }

  .demo-wrap {
    order: 1;
    gap: 12px;
  }

  .phone-shell {
    width: min(300px, calc(100vw - 58px), calc(100vh - 140px) * 0.4599);
    padding: 8px;
    border-radius: 38px;
  }

  .demo-screen {
    border-radius: 30px;
  }

  .go-hotspot:hover,
  .walk-end:hover,
  .walk-home:hover,
  .walk-back:hover {
    transform: none;
  }

  .demo-caption {
    max-width: 280px;
    font-size: 17px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 58px 0;
  }

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

  .features-section {
    width: 100%;
    padding: 50px 18px 66px;
  }

  .features-section::before {
    display: none;
  }

  .features-section::after {
    top: 36px;
    right: -4px;
    font-size: 104px;
  }

  .section h2,
  .gallery-copy h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .section-heading p:not(.section-kicker) {
    max-width: 330px;
    font-size: 14px;
  }

  .loop-board {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .loop-path {
    display: none;
  }

  .loop-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    padding: 20px;
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;
    align-items: center;
    transform: none;
  }

  .loop-card::before {
    left: 20px;
    top: -7px;
    width: 58px;
    height: 18px;
  }

  .loop-card::after {
    left: 20px;
    right: 20px;
    bottom: 12px;
  }

  .loop-card .step {
    top: 12px;
    right: 14px;
    font-size: 30px;
  }

  .loop-card img,
  .card-start img {
    width: 76px;
    height: 76px;
    margin: 0;
    grid-row: span 2;
  }

  .loop-card h3 {
    margin: 0;
    font-size: 30px;
  }

  .loop-card p {
    font-size: 15px;
  }

  .feature-notes {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 16px;
  }

  .feature-notes article {
    min-height: 0;
    padding: 24px 0 22px;
    border-left: 0;
  }

  .feature-notes article + article {
    border-left: 0;
    border-top: 2px solid rgba(38, 51, 20, 0.18);
  }

  .note-label {
    margin-top: 10px;
  }

  .gallery-section {
    padding: 50px 0 66px;
  }

  .gallery-section::before {
    right: -36px;
    top: 44px;
    font-size: 104px;
  }

  .gallery-section::after {
    display: none;
  }

  .gallery-copy {
    width: min(100% - 28px, 1180px);
    margin: 0 auto 22px;
  }

  .gallery-copy h2 .title-large,
  .gallery-copy h2 .title-small,
  .hero h1 .title-large,
  .hero h1 .title-small {
    max-width: calc(100vw - 36px);
  }

  .gallery-copy p:not(.section-kicker) {
    max-width: 310px;
    font-size: 14px;
  }

  .gallery-tags {
    margin-top: 16px;
  }

  .outfit-marquee {
    padding: 4px 0 8px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }

  .outfit-track {
    gap: 12px;
    animation-duration: 36s;
  }

  .outfit-track figure {
    flex-basis: 142px;
    border-radius: 18px 16px 20px 17px;
  }

  .outfit-track figcaption {
    min-height: 52px;
    font-size: 18px;
  }

  .closing {
    padding: 58px 18px 66px;
  }

  .closing h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .footer-inner {
    width: min(100% - 28px, 1180px);
    min-height: 118px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .hero {
    padding-top: 26px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .phone-shell {
    width: min(286px, calc(100vw - 48px));
  }
}
