:root {
  --background: #fff9f5;
  --surface: #ffffff;
  --surface-warm: #fff1ea;
  --text: #2f2a29;
  --text-muted: #7a716d;
  --primary: #ff6b52;
  --primary-strong: #e6533f;
  --primary-soft: #ffe0d6;
  --mint: #e3f2ea;
  --sky: #e7f1f6;
  --honey: #fff0c9;
  --border: #f0ded5;
  --shadow: 0 10px 28px rgba(65, 47, 39, 0.08);
  --shadow-strong: 0 18px 42px rgba(65, 47, 39, 0.13);
  --body-font: 'Nunito', ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display-font:
    'Fredoka', 'Nunito', ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--body-font);
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header,
.page-shell,
.site-footer {
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
}

.site-header {
  min-height: 60px;
  margin-top: 28px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(240, 222, 213, 0.82);
  border-radius: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.brand-link,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark,
.footer-brand img {
  display: block;
}

.brand-copy,
.footer-brand span {
  display: grid;
  gap: 1px;
}

.brand-name,
.footer-brand strong {
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.brand-tagline,
.footer-brand small {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 900;
}

.site-nav a,
.login-link,
.footer-column a {
  text-decoration: none;
}

.site-nav a:hover,
.login-link:hover,
.footer-column a:hover {
  color: var(--primary-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 18px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 900;
}

.book-now,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(255, 107, 82, 0.22);
  font-family: var(--display-font);
}

.book-now:hover,
.primary-button:hover {
  background: var(--primary-strong);
}

.page-shell {
  display: grid;
  gap: 14px;
  padding: 0 0 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(360px, 1.14fr);
  align-items: center;
  gap: 22px;
  min-height: 364px;
  padding: 8px 34px 0 44px;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.trust-pill {
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(255, 107, 82, 0.28);
  border-radius: 999px;
  padding: 5px 14px;
  background: #fff7f2;
  color: var(--primary-strong);
  font-size: 13px;
  line-height: 18px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 580px;
  font-family: var(--display-font);
  font-size: 50px;
  line-height: 55px;
  font-weight: 700;
}

h1 span {
  color: var(--primary);
}

.hero-summary {
  max-width: 390px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 25px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 2px;
}

.primary-button {
  min-height: 48px;
  padding: 0 28px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 900;
}

.hero-note {
  max-width: 122px;
  color: var(--primary-strong);
  font-size: 14px;
  line-height: 18px;
  font-weight: 900;
}

.hero-art {
  position: relative;
  min-height: 356px;
  display: grid;
  place-items: end center;
  padding: 24px 28px 0;
}

.hero-blob {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: min(94%, 548px);
  height: 252px;
  border-radius: 8px;
  background: #fff0e7;
}

.hero-pets {
  position: relative;
  z-index: 2;
  display: block;
  width: min(82%, 442px);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 18px rgba(60, 44, 38, 0.13));
}

.speech-bubble {
  position: absolute;
  top: 22px;
  right: 2px;
  z-index: 3;
  width: 156px;
  border: 2px solid rgba(83, 66, 59, 0.52);
  border-radius: 50%;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  text-align: center;
  font-size: 14px;
  line-height: 17px;
  font-weight: 900;
  transform: rotate(-6deg);
}

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

.service-card {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 12px 14px 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 20px rgba(65, 47, 39, 0.05);
}

.service-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

h3 {
  font-family: var(--display-font);
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
}

.service-copy p {
  max-width: 185px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.service-copy a {
  width: fit-content;
  color: var(--primary-strong);
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  text-decoration: none;
}

.service-copy a::after {
  content: ' ->';
}

.service-illustration {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 112px;
  height: auto;
  margin-right: -4px;
  filter: drop-shadow(0 8px 14px rgba(65, 47, 39, 0.1));
}

.app-band {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: 154px minmax(260px, 1fr) 230px 128px;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border-radius: 8px;
  padding: 12px 22px;
  background: var(--surface-warm);
}

.app-preview {
  align-self: end;
  width: 136px;
  height: auto;
  margin-bottom: -28px;
  filter: drop-shadow(0 10px 18px rgba(65, 47, 39, 0.12));
}

.app-copy {
  display: grid;
  gap: 8px;
}

h2 {
  font-family: var(--display-font);
  font-size: 25px;
  line-height: 31px;
  font-weight: 700;
}

.app-copy p {
  max-width: 510px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.store-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(126px, 1fr));
  gap: 10px;
  max-width: 330px;
}

.store-button {
  min-height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 12px;
  color: #ffffff;
  background: #121111;
  font-family: var(--body-font);
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(47, 42, 41, 0.13);
}

.store-button:hover {
  background: #2f2a29;
}

.store-button-disabled {
  color: #ffffff;
  background: #161312;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  opacity: 0.92;
}

.store-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.store-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.store-copy {
  display: grid;
  justify-items: start;
  gap: 0;
  min-width: 0;
}

.store-eyebrow,
.store-label {
  display: block;
  white-space: nowrap;
}

.store-eyebrow {
  font-size: 9px;
  line-height: 11px;
  font-weight: 800;
}

.store-label {
  font-size: 14px;
  line-height: 17px;
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 21px;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--primary);
}

.feature-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  width: 5px;
  height: 3px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.band-pet {
  width: 118px;
  height: auto;
  justify-self: end;
  filter: drop-shadow(0 9px 16px rgba(65, 47, 39, 0.12));
}

.site-footer {
  min-height: 92px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) repeat(3, minmax(100px, 0.5fr)) minmax(150px, 0.8fr);
  align-items: center;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(65, 47, 39, 0.05);
}

.details-dialog {
  width: min(100% - 32px, 560px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  color: var(--text);
}

.details-dialog::backdrop {
  background: rgba(47, 42, 41, 0.36);
}

.details-dialog-panel {
  position: relative;
  display: grid;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  background: #fffaf6;
  box-shadow: var(--shadow-strong);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(240, 222, 213, 0.9);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-muted);
  font-family: var(--display-font);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

.dialog-close:hover {
  color: var(--primary-strong);
}

.detail-kicker {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
}

.detail-body {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 800;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 22px;
}

.detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
}

.detail-action {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 15px;
  line-height: 20px;
  font-weight: 900;
  text-decoration: none;
}

.detail-action:hover {
  background: var(--primary-strong);
}

.footer-column {
  display: grid;
  gap: 5px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.footer-column strong {
  color: var(--text);
  font-size: 13px;
  line-height: 17px;
  font-weight: 900;
}

.footer-note {
  justify-self: end;
  max-width: 150px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 17px;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px 24px 0;
  }

  .hero-copy {
    justify-items: center;
    text-align: center;
  }

  .hero-summary {
    max-width: 520px;
  }

  .hero-art {
    width: min(100%, 620px);
    justify-self: center;
  }

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

  .service-copy p {
    max-width: 420px;
  }

  .app-band {
    grid-template-columns: 132px minmax(0, 1fr) 190px;
  }

  .feature-list {
    display: none;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-note {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 34px;
    padding: 12px;
  }

  .page-shell {
    padding-top: 0;
  }

  .brand-link {
    justify-content: center;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .login-link {
    display: none;
  }

  .book-now {
    width: min(100%, 220px);
  }

  .hero {
    gap: 8px;
    padding: 8px 0 0;
  }

  h1 {
    max-width: 420px;
    font-size: 38px;
    line-height: 44px;
  }

  .hero-summary {
    font-size: 16px;
    line-height: 23px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-note {
    max-width: none;
  }

  .hero-art {
    min-height: 306px;
    padding: 28px 0 0;
  }

  .hero-blob {
    right: 0;
    bottom: 20px;
    width: 100%;
    height: 214px;
  }

  .hero-pets {
    width: min(86%, 360px);
  }

  .speech-bubble {
    top: 8px;
    right: 0;
    width: 128px;
    padding: 12px 12px 14px;
    font-size: 12px;
    line-height: 15px;
  }

  .service-card {
    grid-template-columns: minmax(0, 1fr) 86px;
    min-height: 110px;
    padding: 14px 10px 14px 16px;
  }

  .service-illustration {
    width: 86px;
  }

  .app-band {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 18px;
  }

  .app-preview {
    width: 128px;
    margin-bottom: 0;
  }

  .store-row {
    grid-template-columns: 1fr;
    width: min(100%, 240px);
    margin: 0 auto;
  }

  .band-pet {
    display: none;
  }

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

  .footer-note {
    justify-self: center;
  }

  .details-dialog-panel {
    padding: 24px 20px 22px;
  }
}
