:root {
  --brand: #ff6422;
  --brand-strong: #d65117;
  --green: #247c4b;
  --ink: #202124;
  --muted: #706d67;
  --page: #f7f1e8;
  --paper: #ffffff;
  --line: #ded7cd;
  --charcoal: #262724;
  --warm: #fff1e0;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.section-shell,
.nav-shell,
.hero-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(32, 33, 36, 0.16);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.footer-links a {
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.footer-links a:hover {
  border-color: currentColor;
}

.nav-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.nav-action {
  min-height: 38px;
  padding: 8px 14px;
}

.hero {
  position: relative;
  min-height: clamp(650px, 82svh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #efe7db;
  background-image: url("images/hero-pet.webp");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 112%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(247, 241, 232, 0.62);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 124px 0 116px;
}

.hero-inner > * {
  max-width: 700px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6.2vw, 82px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  margin: 26px 0 0;
  font-size: 20px;
  line-height: 1.7;
}

.brand-note {
  margin: 16px 0 0;
  color: #4e4b47;
  font-size: 14px;
}

.brand-note strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.button-primary {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.button-primary:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.58);
}

.release-strip {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 16px 24px;
  color: #fff;
  background: var(--charcoal);
  font-size: 13px;
}

.release-strip strong {
  color: #ffb18f;
  font-size: 16px;
}

.quick-facts {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact-grid article {
  min-width: 0;
  padding: 36px 28px 34px;
  border-left: 1px solid var(--line);
}

.fact-grid article:last-child {
  border-right: 1px solid var(--line);
}

.fact-grid span {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.fact-grid h2 {
  margin: 7px 0 4px;
  font-size: 20px;
  line-height: 1.35;
}

.fact-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.content-section {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.app-information h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.28;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.capability-list {
  margin-top: 62px;
  border-top: 1px solid var(--line);
}

.capability-list article {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.capability-index {
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 700;
}

.capability-list h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.capability-list p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.evidence-section {
  border-top: 1px solid var(--line);
  background: #ece3d7;
}

.heading-row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: end;
  gap: 48px;
}

.heading-row > p {
  margin: 0;
  color: var(--muted);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 58px;
}

.evidence-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d4cbc0;
  border-radius: 8px;
  background: var(--paper);
}

.evidence-card-wide {
  grid-column: span 2;
}

.evidence-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid #e4ddd4;
  background: var(--page);
}

.evidence-card-wide img {
  aspect-ratio: 390 / 320;
}

.evidence-card figcaption {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 18px 20px;
}

.evidence-card figcaption strong {
  font-size: 18px;
}

.evidence-card figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.app-information {
  padding: 104px 0;
  color: #fff;
  background: var(--charcoal);
}

.information-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 90px;
}

.section-kicker.light {
  color: #ffb18f;
}

.information-intro {
  margin: 22px 0 0;
  color: #c8c7c1;
}

.information-list {
  margin: 0;
  border-top: 1px solid #555650;
}

.information-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid #555650;
}

.information-list dt {
  color: #aeada8;
  font-size: 14px;
}

.information-list dd {
  margin: 0;
  font-weight: 600;
}

.information-list .status-text {
  color: #ffb18f;
}

.policy-section {
  padding: 104px 0;
  background: var(--paper);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 90px;
}

.policy-links {
  border-top: 1px solid var(--line);
}

.policy-links a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 34px;
  gap: 10px 14px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.policy-links a:hover strong,
.policy-links a:hover b {
  color: var(--brand-strong);
}

.policy-links span {
  grid-row: 1 / 3;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.policy-links strong {
  font-size: 19px;
}

.policy-links small {
  color: var(--muted);
  font-size: 13px;
}

.policy-links b {
  grid-column: 3;
  grid-row: 1 / 3;
  font-size: 24px;
  font-weight: 400;
  text-align: right;
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  background: var(--page);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px 60px;
  align-items: start;
}

.footer-layout strong {
  font-size: 15px;
}

.footer-layout p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Policy pages */
.legal-page {
  background: var(--paper);
}

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

.legal-header .nav-shell {
  min-height: 72px;
}

.legal-header .nav-back {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.legal-main {
  width: min(calc(100% - 48px), 860px);
  margin: 0 auto;
  padding: 78px 0 104px;
}

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

.legal-title h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.28;
  letter-spacing: 0;
}

.legal-title p {
  margin: 16px 0 0;
  color: var(--muted);
}

.legal-title .update-date {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
}

.legal-content {
  padding-top: 20px;
}

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

.legal-content h2 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.4;
}

.legal-content h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.legal-content p,
.legal-content li {
  color: #4f4d49;
}

.legal-content p {
  margin: 10px 0 0;
}

.legal-content ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

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

.legal-highlight {
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  background: var(--warm);
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-action {
    margin-left: auto;
  }

  .hero {
    min-height: 700px;
    background-position: 62% bottom;
    background-size: auto 90%;
  }

  .hero-shade {
    background: rgba(247, 241, 232, 0.71);
  }

  .hero-inner {
    padding-top: 120px;
  }

  .hero-inner > * {
    max-width: 640px;
  }

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

  .fact-grid article:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .fact-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .information-layout,
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }
}

@media (max-width: 600px) {
  .section-shell,
  .nav-shell,
  .hero-inner,
  .legal-main {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav-shell {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    max-width: 220px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
  }

  .nav-action {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero {
    min-height: 690px;
    align-items: flex-start;
    background-position: 57% bottom;
    background-size: auto 73%;
  }

  .hero-shade {
    background: rgba(247, 241, 232, 0.78);
  }

  .hero-inner {
    padding: 108px 0 118px;
  }

  .hero h1 {
    font-size: 42px;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.65;
  }

  .brand-note {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 240px;
  }

  .release-strip {
    min-height: 90px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    justify-content: stretch;
    padding: 13px 16px;
    line-height: 1.4;
  }

  .release-strip span:last-child {
    grid-column: 1 / -1;
    color: #d7d6d1;
    font-size: 11px;
  }

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

  .fact-grid article,
  .fact-grid article:nth-child(2),
  .fact-grid article:last-child {
    padding: 25px 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .content-section,
  .app-information,
  .policy-section {
    padding: 72px 0;
  }

  .section-heading h2,
  .app-information h2,
  .legal-title h1 {
    font-size: 30px;
  }

  .section-heading > p:last-child {
    font-size: 15px;
  }

  .capability-list {
    margin-top: 44px;
  }

  .capability-list article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 26px 0;
  }

  .capability-list h3 {
    font-size: 19px;
  }

  .heading-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 42px;
  }

  .evidence-card-wide {
    grid-column: span 1;
  }

  .information-list div {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
  }

  .policy-links a {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .legal-header .nav-shell {
    min-height: 64px;
  }

  .legal-main {
    padding: 54px 0 72px;
  }

  .legal-title {
    padding-bottom: 30px;
  }

  .legal-content section {
    padding: 28px 0;
  }

  .legal-content h2 {
    font-size: 20px;
  }
}

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