/* PawMart (爪爪便利店) site: pink paw-print wallpaper, mint dado, cream paper, orange accents. */
:root {
  --pink: #f2a7b0;
  --pink-soft: #fbd9dd;
  --mint: #bfe6cf;
  --mint-deep: #3f8f68;
  --cream: #fff6e6;
  --orange: #f07b3f;
  --orange-deep: #c9561c;

  --bg: #fde8ea;
  --surface: #fffaf1;
  --surface-edge: #f5d9c4;
  --text: #4a2f2a;
  --muted: #8a6a60;
  --link: #c9561c;
  --header-bg: rgba(255, 246, 230, 0.86);
  --border: rgba(74, 47, 42, 0.12);
  --shadow: 0 6px 0 rgba(74, 47, 42, 0.06), 0 14px 30px rgba(240, 123, 63, 0.10);
  --max: 1040px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #2a1d20;
    --surface: #372629;
    --surface-edge: #4d3437;
    --text: #fbeee4;
    --muted: #cdb3aa;
    --link: #ffa071;
    --header-bg: rgba(42, 29, 32, 0.84);
    --border: rgba(255, 246, 230, 0.12);
    --shadow: 0 6px 0 rgba(0, 0, 0, 0.18), 0 14px 30px rgba(0, 0, 0, 0.25);
    --mint-deep: #8fd4ad;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Yuanti SC", "PingFang SC",
               "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background-color: var(--bg);
  /* the shop's paw-print wallpaper */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='white'%3E%3Cg transform='translate(26 28) rotate(-14)'%3E%3Cellipse cx='0' cy='6' rx='8' ry='6.5'/%3E%3Ccircle cx='-9' cy='-4' r='3.2'/%3E%3Ccircle cx='-3.5' cy='-9.5' r='3.4'/%3E%3Ccircle cx='3.5' cy='-9.5' r='3.4'/%3E%3Ccircle cx='9' cy='-4' r='3.2'/%3E%3C/g%3E%3Cg transform='translate(72 74) rotate(16)'%3E%3Cellipse cx='0' cy='6' rx='8' ry='6.5'/%3E%3Ccircle cx='-9' cy='-4' r='3.2'/%3E%3Ccircle cx='-3.5' cy='-9.5' r='3.4'/%3E%3Ccircle cx='3.5' cy='-9.5' r='3.4'/%3E%3Ccircle cx='9' cy='-4' r='3.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 96px;
}
/* tint the white paws per theme: overlay keeps the pattern one asset */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(var(--bg), var(--bg));
  opacity: 0.45;
  pointer-events: none;
}
@media (prefers-color-scheme: dark) {
  body::before { opacity: 0.93; }
}

a { color: var(--link); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 4px solid var(--mint);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.logo:hover { text-decoration: none; }
.logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--pink);
}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 1rem; }
nav a { color: var(--muted); font-weight: 700; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a.lang {
  color: var(--orange-deep);
  border: 2px solid var(--orange);
  border-radius: 999px;
  padding: 0.1rem 0.7rem;
  font-size: 0.9rem;
}
@media (prefers-color-scheme: dark) { nav a.lang { color: var(--link); } }
nav a.lang:hover { background: var(--orange); color: #fff; text-decoration: none; }

/* home */
.hero { padding: 3.5rem 0 2.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: var(--mint);
  color: #24553d;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
h1, h2, h3 { line-height: 1.2; font-weight: 800; }
h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin: 0.75rem 0 1rem;
}
h1 .accent { color: var(--orange); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 0 var(--orange-deep);
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 4px 0 var(--surface-edge);
  border: 2px solid var(--surface-edge);
}
.badge-soon {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 2px dashed var(--orange);
  color: var(--text);
  font-weight: 700;
}
.icon-stage {
  display: grid;
  place-items: center;
}
.app-icon {
  width: min(300px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, var(--cream) 0 55%, var(--pink-soft) 100%);
  border: 8px solid var(--surface);
  box-shadow: 0 0 0 6px var(--pink), var(--shadow);
  object-fit: cover;
}

.card, .hero-card {
  background: var(--surface);
  border: 2px solid var(--surface-edge);
  border-radius: 1.4rem;
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}
.card { margin: 1.25rem 0; }
.card h2 { margin-top: 0; font-size: 1.3rem; }
.card > :last-child { margin-bottom: 0; }

.features { padding: 1rem 0 2rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.feature-grid .card { margin: 0; }
.feature-grid h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-grid h2::before {
  content: "";
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--pink-soft);
}
.feature-grid .card:nth-child(even) h2::before { background: var(--mint-deep); box-shadow: 0 0 0 4px var(--mint); }
@media (prefers-color-scheme: dark) {
  .feature-grid h2::before { box-shadow: 0 0 0 4px rgba(242, 167, 176, 0.25); }
  .feature-grid .card:nth-child(even) h2::before { box-shadow: 0 0 0 4px rgba(191, 230, 207, 0.25); }
}
ul.ticks { margin: 0; padding-left: 1.2rem; }
ul.ticks li { margin-bottom: 0.4rem; }
ul.ticks li::marker { color: var(--orange); }

.screens { padding: 0 0 2rem; }
.screens:empty { display: none; }

.mint-band {
  margin-top: 1rem;
  padding: 2rem 0 2.5rem;
  background: var(--mint);
  color: #24402f;
  border-top: 6px solid var(--surface);
}
.mint-band h2 { margin-top: 0; }
.mint-band p { color: #335a44; margin-bottom: 0; }
.mint-band a { color: #9a3f10; }
@media (prefers-color-scheme: dark) {
  .mint-band { background: #24392d; color: var(--text); border-top-color: var(--surface-edge); }
  .mint-band p { color: #cfe7d9; }
  .mint-band a { color: var(--link); }
}

/* privacy + support pages */
.page { padding: 2.5rem 0 3.5rem; }
.narrow { max-width: 760px; }
.paper {
  background: var(--surface);
  border: 2px solid var(--surface-edge);
  border-radius: 1.6rem;
  padding: 1.5rem clamp(1.1rem, 4vw, 2.4rem) 2rem;
  box-shadow: var(--shadow);
}
.paper h1 { margin-top: 0.25rem; }
.paper h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
  padding-bottom: 0.3rem;
  border-bottom: 3px dotted var(--pink);
}
.muted { color: var(--muted); }
.paper ul { padding-left: 1.2rem; }
.paper li { margin-bottom: 0.5rem; }
.paper li::marker { color: var(--orange); }
.summary {
  background: var(--cream);
  border-left: 6px solid var(--mint);
  border-radius: 0.9rem;
  padding: 0.9rem 1.1rem;
  color: #4a2f2a;
}
@media (prefers-color-scheme: dark) {
  .summary { background: #2f2124; color: var(--text); }
}

details.faq {
  background: var(--cream);
  border: 2px solid var(--surface-edge);
  border-radius: 1rem;
  margin: 0.75rem 0;
  padding: 0.2rem 1rem;
}
@media (prefers-color-scheme: dark) { details.faq { background: #2f2124; } }
details.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 0.7rem 0;
  list-style-position: outside;
}
details.faq summary::marker { color: var(--orange); }
details.faq[open] summary { border-bottom: 2px dotted var(--pink); margin-bottom: 0.5rem; }
details.faq > :last-child { margin-bottom: 0.9rem; }

.contact-mail {
  display: inline-block;
  font-size: 1.15rem;
  word-break: break-all;
}

/* footer */
.site-footer {
  background: var(--header-bg);
  border-top: 4px solid var(--pink);
  padding: 1.25rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}
.footer-row a { color: var(--muted); }

@media (max-width: 800px) {
  .hero { padding-top: 2rem; }
  .hero-grid, .feature-grid { grid-template-columns: 1fr; }
  .icon-stage { order: -1; }
  .app-icon { width: min(220px, 60vw); }
}
