:root {
  --bg: #fff8f1;
  --surface: #ffffff;
  --surface-soft: #f8eadf;
  --ink: #241d1a;
  --muted: #746864;
  --brand: #df7432;
  --brand-dark: #b8521d;
  --green: #4f8f72;
  --rose: #ffe8e8;
  --line: rgba(36, 29, 26, 0.12);
  --shadow: 0 24px 80px rgba(92, 52, 24, 0.14);
  font-family: ui-rounded, "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(223, 116, 50, 0.16), transparent 34rem),
    radial-gradient(circle at 92% 12%, rgba(79, 143, 114, 0.16), transparent 30rem),
    var(--bg);
}

a {
  color: inherit;
}

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

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 850;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(92, 52, 24, 0.12);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 54px;
  padding: 34px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 16px;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #ed9a48);
  box-shadow: 0 16px 36px rgba(223, 116, 50, 0.32);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.fine-print {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.94rem;
}

.phone-card {
  position: relative;
  max-width: 380px;
  margin-left: auto;
  padding: 16px;
  border-radius: 46px;
  background: #1f1a18;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-top {
  width: 92px;
  height: 7px;
  margin: 5px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.app-preview {
  display: grid;
  gap: 16px;
  padding: 22px;
  min-height: 560px;
  border-radius: 34px;
  background: linear-gradient(180deg, #fffdf9, #f7eee7);
}

.pet-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: var(--surface);
}

.avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--surface-soft);
  font-size: 1.7rem;
}

.pet-row span,
.metric-grid span,
.timeline-card p {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-grid div,
.timeline-card {
  padding: 16px;
  border-radius: 24px;
  background: var(--surface);
}

.metric-grid strong {
  display: block;
  font-size: 1.55rem;
}

.timeline-card {
  margin-top: 6px;
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--surface-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.85fr;
  gap: 10px;
  margin-top: auto;
}

.photo-strip span {
  height: 110px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent),
    linear-gradient(135deg, #eeb47a, #9cc8a9);
}

.photo-strip span:nth-child(2) {
  background: linear-gradient(135deg, #f2d4c7, #df7432);
}

.photo-strip span:nth-child(3) {
  background: linear-gradient(135deg, #8ab69f, #f5e6d8);
}

.section,
.icloud-panel,
.download,
.features article,
.faq article,
.legal-page,
.support-hero {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(92, 52, 24, 0.08);
  backdrop-filter: blur(18px);
}

.section.compact,
.icloud-panel,
.download {
  margin: 22px 0;
  padding: clamp(26px, 5vw, 52px);
  border-radius: 36px;
}

.section.compact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: end;
}

.section.compact p:last-child,
.icloud-panel p,
.download p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.features article,
.faq article {
  padding: 24px;
  border-radius: 30px;
}

.features p,
.faq p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.icloud-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 248, 241, 0.78)),
    radial-gradient(circle at 92% 0%, rgba(79, 143, 114, 0.2), transparent 26rem);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 700;
}

.download {
  margin-bottom: 58px;
  text-align: center;
}

.download h2,
.download p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.legal-page,
.support-page {
  max-width: 920px;
  margin: 38px auto 70px;
}

.legal-page {
  padding: clamp(24px, 5vw, 56px);
  border-radius: 36px;
}

.legal-page h1,
.support-page h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.legal-page h2,
.faq h2 {
  margin-top: 36px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-page hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.support-hero {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 36px;
}

.support-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.faq {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section.compact,
  .icloud-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 26px;
    padding-top: 28px;
  }

  .phone-card {
    width: min(100%, 380px);
    margin: 0 auto;
    transform: none;
  }

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

@media (max-width: 520px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    justify-content: flex-start;
  }

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

  .app-preview {
    min-height: 500px;
  }
}
