:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --ink: #18201d;
  --muted: #65706b;
  --line: #dfe5df;
  --panel: #ffffff;
  --accent: #2f7d5c;
  --accent-ink: #ffffff;
  --soft: #e8f2ec;
  --warm: #f3eee6;
  --shadow: 0 21px 55px rgba(25, 32, 29, 0.09);
  --radius: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(24, 32, 29, 0.08);
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  background: linear-gradient(135deg, #18201d, #2f7d5c);
  box-shadow: 0 8px 21px rgba(47, 125, 92, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--accent);
}

main {
  min-height: 68vh;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 55px;
  align-items: center;
  padding-top: 88px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.lead {
  margin: 24px 0 0;
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.actions {
  margin-top: 32px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(24, 32, 29, 0.06);
}

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

.button:hover {
  transform: translateY(-1px);
}

.showcase {
  border-radius: 28px;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 10%, rgba(47, 125, 92, 0.25), transparent 32%),
    linear-gradient(145deg, #ffffff, #edf5ef);
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 125, 92, 0.14);
}

.phone-card {
  border-radius: 26px;
  background: #18201d;
  color: #ffffff;
  padding: 28px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.phone-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -55px;
  bottom: -44px;
  border-radius: 50%;
  background: rgba(106, 206, 160, 0.22);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 21px;
  display: grid;
  place-items: center;
  background: #f5d9d0;
  color: #18201d;
  font-size: 30px;
  font-weight: 900;
}

.app-logo {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.puppy-logo-lockup {
  width: min(100%, 360px);
  display: block;
  margin: 0 auto 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 13px 34px rgba(24, 32, 29, 0.08);
}

.card-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: contain;
  background: #fff7f1;
  margin-bottom: 16px;
}

.app-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
  gap: 34px;
  align-items: center;
}

.phone-card h2 {
  margin: 28px 0 10px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.phone-card p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.status-row {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.status-pill {
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-copy {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(24, 32, 29, 0.05);
}

.card.featured {
  border-color: rgba(47, 125, 92, 0.26);
  background: linear-gradient(180deg, #ffffff, #f0f7f2);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 34px;
}

.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 24px 88px;
}

.content.wide {
  max-width: var(--max);
}

.content h2 {
  margin: 40px 0 12px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.content h3 {
  margin: 28px 0 8px;
}

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

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

.notice {
  border-left: 5px solid var(--accent);
  border-radius: 13px;
  background: var(--soft);
  padding: 18px 20px;
  color: var(--ink);
}

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

.link-list a {
  color: var(--accent);
  font-weight: 750;
}

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

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  flex-wrap: wrap;
}

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

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 2px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .app-page-hero {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 56px 20px;
  }

  .page-hero,
  .content {
    padding-left: 20px;
    padding-right: 20px;
  }
}
