:root {
  --ink: #2b211a;
  --muted: #69584c;
  --paper: #fffdf9;
  --cream: #fff6e8;
  --cream-strong: #f9ead4;
  --brand: #b83f00;
  --brand-dark: #8f2f00;
  --brand-soft: #ffe4d1;
  --green: #1d6b50;
  --green-soft: #e1f3eb;
  --line: #e9d9c7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(82, 44, 18, 0.14);
  --radius: 28px;
  --radius-small: 18px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #1f6feb;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(233, 217, 199, 0.75);
  background: rgba(255, 253, 249, 0.94);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.brand em {
  color: var(--brand);
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-width: 0;
}

.main-nav > a:not(.button) {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav > a:not(.button):hover {
  color: var(--brand-dark);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(184, 63, 0, 0.22);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--brand-dark);
  box-shadow: 0 16px 34px rgba(143, 47, 0, 0.25);
  transform: translateY(-2px);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: #cfae92;
  color: var(--brand-dark);
  background: var(--cream);
}

.button.compact {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
  background:
    radial-gradient(circle at 86% 17%, rgba(255, 187, 125, 0.36), transparent 22rem),
    radial-gradient(circle at 8% 82%, rgba(219, 240, 231, 0.88), transparent 22rem),
    linear-gradient(145deg, #fffdf9 0%, #fff7eb 58%, #fff2e2 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -240px;
  bottom: -250px;
  border: 70px solid rgba(184, 63, 0, 0.06);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 7px 12px;
  border: 1px solid #efc8aa;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 244, 232, 0.85);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-bottom: 23px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 .accent {
  color: var(--brand);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.27rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.microcopy {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 22px 18px 24px 34px;
}

.portrait-wrap {
  position: relative;
  max-width: 470px;
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(184, 63, 0, 0.14);
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(184, 63, 0, 0.18);
  border-radius: 34px;
  pointer-events: none;
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 30px;
}

.pet-card {
  position: absolute;
  right: -22px;
  bottom: 0;
  max-width: 240px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(74, 39, 16, 0.18);
  transform: rotate(-2deg);
}

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

.pet-card strong {
  font-size: 1.03rem;
}

.pet-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.paw-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 25px;
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 18px 38px rgba(184, 63, 0, 0.25);
  font-size: 2rem;
  transform: rotate(-10deg);
}

.promise-bar {
  position: relative;
  z-index: 2;
  margin-top: -30px;
}

.promise-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 55px rgba(74, 39, 16, 0.1);
}

.promise-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.promise-item + .promise-item {
  border-left: 1px solid var(--line);
}

.promise-item b {
  color: var(--ink);
}

.icon-box {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 1.1rem;
}

.section {
  padding: 102px 0;
}

.section.tinted {
  background: var(--cream);
}

.section.green-tint {
  background: #f2faf6;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.kicker {
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 0.79rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 15px;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.step,
.feature,
.roadmap-card {
  min-width: 0;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-number {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 15px;
  color: var(--white);
  background: var(--brand);
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(184, 63, 0, 0.2);
}

.step h3,
.feature h3,
.roadmap-card h3 {
  margin-bottom: 9px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.step p,
.feature p,
.roadmap-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.feature .icon-box {
  width: 48px;
  height: 48px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 0.75rem;
  font-weight: 850;
}

.status.future {
  color: #6d4d0c;
  background: #fff0bd;
}

.safety-grid,
.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 86px);
}

.safety-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid #cbe2d7;
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 24px 65px rgba(31, 97, 75, 0.11);
}

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

.check-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.check-list b {
  color: var(--ink);
}

.founder-card,
.app-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 78px);
  border-radius: 38px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 195, 143, 0.28), transparent 18rem),
    linear-gradient(135deg, #7f2900, #b83f00 58%, #d45a13);
  box-shadow: 0 30px 80px rgba(119, 39, 0, 0.24);
}

.founder-card::after,
.app-hero-card::after {
  content: "🐾";
  position: absolute;
  right: -20px;
  bottom: -92px;
  color: rgba(255, 255, 255, 0.09);
  font-size: 15rem;
  line-height: 1;
  transform: rotate(-14deg);
}

.founder-content,
.app-hero-content {
  position: relative;
  z-index: 1;
  max-width: 730px;
}

.founder-card .kicker,
.app-hero-card .kicker {
  color: #ffe3ce;
}

.founder-card h2,
.app-hero-card h1 {
  color: var(--white);
}

.founder-card p,
.app-hero-card p {
  color: #fff1e6;
}

.founder-card .button,
.app-hero-card .button {
  color: var(--brand-dark);
  background: var(--white);
  box-shadow: none;
}

.founder-card .button:hover,
.app-hero-card .button:hover {
  background: var(--cream);
}

.founder-card .button.secondary,
.app-hero-card .button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.founder-card .button.secondary:hover,
.app-hero-card .button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.counter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 27px 0 31px;
}

.counter span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  font-weight: 800;
}

.faq-list {
  max-width: 850px;
  display: grid;
  gap: 12px;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.faq-list summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--brand);
  font-size: 1.6rem;
  font-weight: 500;
  transform: translateY(-53%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: #2b211a;
  color: #f8eee4;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto;
  gap: 40px;
  align-items: start;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand em {
  color: #ff985b;
}

.footer-copy {
  max-width: 460px;
  margin: 16px 0 0;
  color: #cdbfb4;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 24px;
}

.footer-links a {
  color: #f8eee4;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffb17f;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b8a99e;
  font-size: 0.8rem;
}

.legal-main {
  padding: 72px 0 100px;
  background: var(--cream);
}

.legal-card {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(28px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.legal-card .updated {
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-card h2 {
  margin-top: 38px;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.legal-card h3 {
  margin-top: 27px;
  margin-bottom: 8px;
  font-size: 1.07rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card a {
  color: var(--brand-dark);
  font-weight: 750;
}

.notice {
  padding: 18px 20px;
  border: 1px solid #cbe2d7;
  border-radius: 16px;
  color: #244d3f;
  background: var(--green-soft);
}

.app-page {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 180, 116, 0.22), transparent 22rem),
    var(--cream);
}

.app-main {
  padding: 56px 0 100px;
}

.app-hero-card {
  min-height: 510px;
  display: flex;
  align-items: center;
}

.app-hero-card h1 {
  max-width: 800px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.preview-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.preview-topbar strong {
  display: flex;
  align-items: center;
  gap: 9px;
}

.preview-topbar img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.demo-label {
  padding: 5px 9px;
  border-radius: 999px;
  color: #6d4d0c;
  background: #fff0bd;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-body {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  min-height: 420px;
}

.preview-menu {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: #fffaf3;
}

.preview-menu span {
  display: block;
  margin-bottom: 7px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.preview-menu span:first-child {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.preview-feed {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.demo-post {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.demo-post img {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  object-fit: cover;
}

.demo-post strong,
.demo-post small {
  display: block;
}

.demo-post small {
  color: var(--muted);
}

.demo-post p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.roadmap-card .status {
  margin-top: 0;
  margin-bottom: 18px;
}

.not-found {
  min-height: calc(100vh - 79px);
  display: grid;
  place-items: center;
  padding: 70px 20px;
  text-align: center;
  background: var(--cream);
}

.not-found-inner {
  max-width: 620px;
}

.not-found .big-paw {
  display: block;
  margin-bottom: 15px;
  font-size: 4rem;
}

.not-found h1 {
  margin-bottom: 15px;
}

.not-found p {
  margin-bottom: 28px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .main-nav > a:not(.button) {
    display: none;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid,
  .safety-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy > p:not(.eyebrow),
  .hero-copy h1 {
    margin-inline: auto;
  }

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

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
  }

  .promise-list,
  .steps,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .promise-item + .promise-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand {
    font-size: 1.05rem;
  }

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

  .main-nav {
    gap: 9px;
  }

  .main-nav .button {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 49px 0 76px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.3rem);
  }

  .hero-grid {
    gap: 43px;
  }

  .hero-visual {
    padding: 12px 10px 38px;
  }

  .paw-badge {
    width: 58px;
    height: 58px;
    font-size: 1.4rem;
  }

  .pet-card {
    right: 0;
  }

  .promise-bar {
    margin-top: -22px;
  }

  .section {
    padding: 76px 0;
  }

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

  .feature,
  .step,
  .roadmap-card {
    padding: 23px;
  }

  .founder-card,
  .app-hero-card {
    border-radius: 28px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-menu {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .preview-menu span {
    white-space: nowrap;
  }

  .preview-feed {
    padding: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
