:root {
  color-scheme: light;
  --paper: #f4ead7;
  --paper-soft: #fff8ea;
  --ink: #332b24;
  --muted: #776a59;
  --line: rgba(78, 66, 51, 0.16);
  --coral: #e98870;
  --coral-dark: #a44b3d;
  --gold: #d7a43a;
  --shadow: 0 18px 55px rgba(62, 47, 31, 0.12);
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(
      circle at 15% 2%,
      rgba(233, 136, 112, 0.22),
      transparent 28rem
    ),
    radial-gradient(
      circle at 92% 14%,
      rgba(215, 164, 58, 0.14),
      transparent 24rem
    ),
    var(--paper);
  color: var(--ink);
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    "Avenir Next",
    Avenir,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: #7e342c;
}

a:focus-visible,
button:focus-visible {
  border-radius: 5px;
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(78, 66, 51, 0.1);
  background: rgba(244, 234, 215, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  width: min(100% - 48px, 1240px);
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(94, 57, 35, 0.16);
}

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

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

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links .app-store-link {
  display: inline-flex;
  min-height: 38px;
  padding: 0 15px;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-soft);
  white-space: nowrap;
}

.nav-links .app-store-link:hover {
  background: #4a3e34;
  color: #fffaf0;
}

.nav-links .app-store-link span {
  font-size: 11px;
}

.hero,
.legal,
.support-page {
  width: min(100% - 36px, var(--content));
  margin: 0 auto;
}

.hero {
  padding: clamp(72px, 8vw, 116px) 0 110px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.hero-content {
  text-align: left;
}

.eyebrow,
.document-label {
  margin: 0 0 12px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(64px, 6.7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(21px, 2vw, 26px);
}

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

.availability {
  display: flex;
  margin: 20px 0 0;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6c9b73;
  box-shadow: 0 0 0 5px rgba(108, 155, 115, 0.12);
}

.world-preview {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
  isolation: isolate;
}

.preview-glow {
  position: absolute;
  z-index: -1;
  inset: 8% 0 2%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(233, 136, 112, 0.28),
    rgba(215, 164, 58, 0.08) 48%,
    transparent 72%
  );
  filter: blur(12px);
}

.phone-frame {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  margin-left: auto;
  overflow: hidden;
  border: 8px solid #2f2924;
  border-radius: 48px;
  background: #d6c4ae;
  box-shadow:
    0 30px 80px rgba(59, 42, 28, 0.2),
    0 4px 0 rgba(255, 255, 255, 0.45) inset;
}

.phone-island {
  position: absolute;
  z-index: 6;
  top: 11px;
  left: 50%;
  width: 32%;
  height: 23px;
  border-radius: 999px;
  background: #211d1a;
  transform: translateX(-50%);
}

.room-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.room-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 245, 225, 0.08) 45%,
    rgba(58, 39, 27, 0.12)
  );
}

.pet-image,
.yarn-image {
  position: absolute;
  z-index: 3;
  image-rendering: pixelated;
  object-fit: contain;
}

.pet-image {
  right: 20%;
  bottom: 18.5%;
  width: 34%;
  filter: drop-shadow(0 8px 5px rgba(31, 24, 20, 0.26));
}

.yarn-image {
  right: 7%;
  bottom: 19%;
  width: 19%;
  filter: drop-shadow(0 5px 3px rgba(31, 24, 20, 0.2));
}

.pet-status {
  position: absolute;
  z-index: 5;
  right: 14px;
  bottom: 16px;
  left: 14px;
  display: flex;
  padding: 11px 13px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 22px;
  background: rgba(248, 235, 210, 0.9);
  box-shadow: 0 10px 24px rgba(50, 36, 25, 0.18);
  backdrop-filter: blur(12px);
}

.status-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 11px;
}

.status-avatar img {
  width: 100%;
  height: 100%;
}

.pet-status strong,
.pet-status small,
.brand-tile strong,
.brand-tile small {
  display: block;
  line-height: 1.25;
}

.pet-status strong {
  font-size: 13px;
}

.pet-status small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.brand-tile {
  position: absolute;
  z-index: 7;
  top: 19%;
  bottom: auto;
  left: -14px;
  display: flex;
  max-width: 220px;
  padding: 12px 15px 12px 12px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(95, 75, 53, 0.13);
  border-radius: 19px;
  background: var(--paper-soft);
  box-shadow: 0 16px 42px rgba(62, 47, 31, 0.18);
}

.brand-tile img {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border-radius: 13px;
}

.brand-tile strong {
  font-size: 12px;
}

.brand-tile small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.72);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
}

.trust-row {
  display: grid;
  margin-top: 92px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 248, 234, 0.7);
  box-shadow: var(--shadow);
}

.trust-card {
  padding: 25px 22px;
}

.trust-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.trust-card span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.feature-intro {
  padding: 150px 0 54px;
}

.feature-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  align-items: end;
  gap: clamp(44px, 8vw, 120px);
}

.feature-intro h2,
.how-it-works h2,
.closing-note h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.feature-intro-layout > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

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

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 248, 234, 0.72);
  box-shadow: var(--shadow);
}

.feature-art {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #e9d8bc;
}

.feature-art-room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 64%;
  image-rendering: pixelated;
}

.feature-art-play {
  background:
    radial-gradient(
      circle at 50% 84%,
      rgba(233, 136, 112, 0.28),
      transparent 42%
    ),
    linear-gradient(145deg, #f8e9cf, #eacba6);
}

.feature-pet,
.feature-yarn {
  position: absolute;
  image-rendering: pixelated;
  object-fit: contain;
}

.feature-pet {
  right: 23%;
  bottom: 9%;
  width: 47%;
  filter: drop-shadow(0 12px 8px rgba(62, 47, 31, 0.18));
}

.feature-yarn {
  right: 9%;
  bottom: 10%;
  width: 26%;
}

.feature-art-close {
  display: flex;
  padding: 28px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(150deg, #ead4b2, #f8edda);
}

.feature-art-close > img {
  width: 88px;
  height: 88px;
  border-radius: 25px;
  box-shadow: 0 16px 35px rgba(62, 47, 31, 0.18);
}

.mini-widget {
  display: grid;
  width: 174px;
  padding: 18px;
  border: 1px solid rgba(78, 66, 51, 0.13);
  border-radius: 25px;
  background: var(--paper-soft);
  box-shadow: 0 18px 44px rgba(62, 47, 31, 0.14);
}

.mini-widget strong,
.mini-widget span {
  display: block;
}

.mini-widget strong {
  font-size: 15px;
}

.mini-widget span {
  margin: 1px 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.mini-widget i {
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 7px;
  border-radius: 999px;
  background: #e7dac5;
}

.mini-widget i::after {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
  content: "";
}

.mini-widget i:nth-of-type(2)::after {
  width: 54%;
  background: #78afc2;
}

.mini-widget i:nth-of-type(3)::after {
  width: 85%;
  background: var(--gold);
}

.feature-card-copy {
  padding: 28px 27px 31px;
}

.feature-card-copy > span {
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 9px 0 10px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.how-it-works {
  display: grid;
  margin-top: 110px;
  padding: 58px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 248, 234, 0.68);
  box-shadow: var(--shadow);
}

.how-it-works h2 {
  font-size: clamp(38px, 4vw, 56px);
}

.how-it-works ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pawsies-step;
}

.how-it-works li {
  position: relative;
  display: grid;
  min-height: 74px;
  padding: 13px 0 13px 62px;
  align-content: center;
  border-bottom: 1px solid var(--line);
  counter-increment: pawsies-step;
}

.how-it-works li:last-child {
  border-bottom: 0;
}

.how-it-works li::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #ead8b8;
  color: var(--coral-dark);
  content: "0" counter(pawsies-step);
  font-size: 12px;
  font-weight: 900;
  transform: translateY(-50%);
}

.how-it-works li strong,
.how-it-works li span {
  display: block;
}

.how-it-works li strong {
  font-size: 17px;
}

.how-it-works li span {
  color: var(--muted);
  font-size: 14px;
}

.closing-note {
  display: grid;
  margin: 110px 0 20px;
  padding: 40px 44px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper-soft);
}

.closing-note > img {
  width: 74px;
  height: 74px;
  border-radius: 21px;
}

.closing-note .eyebrow {
  margin-bottom: 4px;
  color: #f1a38f;
}

.closing-note h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.closing-note .button.primary {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--paper-soft);
  color: var(--ink);
}

.legal,
.support-page {
  max-width: 960px;
  padding: 70px 0 110px;
}

.support-page {
  max-width: 1120px;
}

.legal-header {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.legal h1,
.support-page h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.updated {
  display: inline-flex;
  margin-top: 20px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.legal section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal h3 {
  margin: 22px 0 7px;
  font-size: 18px;
  line-height: 1.3;
}

.legal p,
.legal li {
  color: #51463b;
}

.legal ul {
  padding-left: 24px;
}

.legal li + li {
  margin-top: 9px;
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--coral);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 248, 234, 0.78);
}

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

.support-card {
  padding: 24px;
}

.support-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.support-card.wide {
  grid-column: 1 / -1;
}

.contact-card {
  margin-top: 28px;
  padding: 30px;
  border-radius: 26px;
  background: var(--ink);
  color: var(--paper-soft);
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.contact-card p {
  margin: 0 0 18px;
  color: #ded0bd;
}

.contact-card a {
  color: #ffd0c4;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  width: min(100% - 48px, 1240px);
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

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

.footer-links a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero {
    padding-top: 48px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-content {
    text-align: center;
  }

  h1,
  .hero-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .availability {
    justify-content: center;
  }

  .world-preview {
    max-width: 350px;
  }

  .phone-frame {
    margin: 0 auto;
  }

  .brand-tile {
    left: -4px;
  }

  .feature-intro-layout,
  .how-it-works {
    grid-template-columns: 1fr;
  }

  .feature-intro-layout {
    gap: 22px;
  }

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

  .feature-card {
    display: grid;
    grid-template-columns: minmax(230px, 0.78fr) 1fr;
  }

  .feature-art {
    height: 100%;
    min-height: 250px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .how-it-works {
    gap: 32px;
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: 68px;
  }

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

  .brand {
    font-size: 18px;
  }

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

  .hero {
    width: min(100% - 28px, var(--content));
    padding: 42px 0 70px;
  }

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

  .world-preview {
    width: min(100% - 10px, 335px);
  }

  .phone-frame {
    width: min(88%, 300px);
    border-width: 7px;
    border-radius: 42px;
  }

  .brand-tile {
    top: 20%;
    bottom: auto;
    left: 0;
  }

  .trust-row {
    margin-top: 64px;
    grid-template-columns: 1fr;
  }

  .feature-intro {
    padding: 100px 0 38px;
  }

  .feature-intro-layout > p {
    font-size: 17px;
  }

  .feature-card {
    display: block;
  }

  .feature-art {
    height: 225px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-card-copy {
    padding: 25px 22px 28px;
  }

  .how-it-works {
    margin-top: 72px;
    padding: 34px 24px;
    border-radius: 26px;
  }

  .closing-note {
    margin-top: 72px;
    padding: 30px 24px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .closing-note > img {
    width: 58px;
    height: 58px;
    border-radius: 17px;
  }

  .closing-note .button {
    grid-column: 1 / -1;
  }

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

  .support-card.wide {
    grid-column: auto;
  }

  .footer-inner {
    padding: 18px 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .nav {
    width: min(100% - 24px, 1240px);
    min-height: 68px;
    gap: 10px;
  }

  .brand span {
    display: none;
  }

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

  .nav-links {
    min-width: 0;
    flex: 1;
    justify-content: flex-end;
    gap: clamp(7px, 2.2vw, 13px);
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .nav-links .app-store-link {
    min-height: 34px;
    padding: 0 clamp(9px, 2.8vw, 13px);
  }

  .hero {
    padding-top: 62px;
  }

  .trust-row,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card.wide {
    grid-column: auto;
  }

  .legal,
  .support-page {
    padding-top: 50px;
  }

  .footer-inner {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .nav {
    width: min(100% - 22px, 1040px);
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

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

  .nav-links {
    gap: 6px;
    font-size: 9.5px;
  }

  .nav-links .app-store-link {
    min-height: 31px;
    padding: 0 8px;
  }

  .hero,
  .legal,
  .support-page {
    width: min(100% - 26px, var(--content));
  }

  .hero h1 {
    font-size: 40px;
  }

  .legal h1,
  .support-page h1 {
    font-size: 34px;
    line-height: 1.03;
    letter-spacing: -0.045em;
  }

  .hero-copy,
  .lede {
    font-size: 16px;
  }
}

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