/* CuteCue · landing — visual tokens lifted from welcome.css so the
   marketing page reads as the same product as the extension itself. */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #2b1d12;
  --ink-soft: #7a6a5a;
  --ink-faint: #a89a8b;
  --brand: #7c6cf6;
  --amber: #fcd34d;
  --amber-deep: #f0a73c;
  --amber-soft: #fde68a;
  --amber-bg: #fff7e6;
  --card: #ffffff;
  --border: rgba(120, 90, 50, 0.10);
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", sans-serif;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.5;
}
body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.warm-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(253, 224, 171, 0.55), transparent 38%),
    radial-gradient(circle at 12% 78%, rgba(254, 243, 199, 0.7), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(255, 237, 213, 0.62), transparent 30%),
    linear-gradient(135deg, #fffaf0 0%, #fff7ed 45%, #f8fafc 100%);
}

/* ─── top bar ─────────────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px max(28px, 6vw);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}
.logo-dot {
  width: 20px; height: 20px;
  border-radius: 7px;
  background: var(--amber);
  display: inline-block;
}
.topnav {
  display: flex;
  gap: 22px;
}
.topnav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.topnav a:hover { color: var(--ink); }

/* ─── shared section layout ───────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 max(28px, 6vw) 80px;
}
.section-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  text-align: center;
}

/* ─── hero ────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 36px 0 80px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
}
.headline {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 36em;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.meta {
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ─── buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary {
  background: var(--ink);
  color: #fffaf0;
}
.btn-primary:hover { transform: translateY(-1px); background: #1f140c; }
.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
  color: var(--ink);
}
.btn-secondary:hover { background: #fff; border-color: rgba(240, 167, 60, 0.4); }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ─── hero stage (calm-newtab mock) ───────────────────────────── */
.hero-stage {
  position: relative;
  aspect-ratio: 5 / 6;
  max-width: 460px;
  justify-self: end;
  width: 100%;
  border-radius: 28px;
  padding: 36px 32px;
  background:
    radial-gradient(circle at 50% 28%, rgba(253, 224, 171, 0.7), transparent 55%),
    linear-gradient(160deg, #fff6e3 0%, #ffedcf 100%);
  box-shadow:
    0 32px 80px rgba(120, 80, 40, 0.16),
    0 2px 8px rgba(120, 80, 40, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.pv-logo {
  position: absolute;
  top: 22px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}
.pv-logo-dot {
  width: 16px; height: 16px;
  border-radius: 5px;
  background: var(--amber);
  display: inline-block;
}
.pv-time {
  font-size: clamp(56px, 9vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 38px;
}
.pv-sub { font-size: 20px; font-weight: 700; margin-top: 16px; }
.pv-tagline { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

.pv-pet {
  position: relative;
  flex: 1;
  margin-top: 20px;
  width: 180px;
  max-height: 220px;
}
.pv-pet img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 26px rgba(120, 80, 40, 0.28));
}
.pv-spark {
  position: absolute;
  top: -4px;
  right: -2px;
  color: var(--amber);
  font-size: 24px;
  filter: drop-shadow(0 1px 2px rgba(240, 167, 60, 0.4));
}

/* ─── features ────────────────────────────────────────────────── */
.features {
  padding: 32px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.feature-card:hover {
  border-color: rgba(240, 167, 60, 0.4);
  box-shadow: 0 16px 32px rgba(120, 80, 40, 0.10);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--amber-bg);
  color: var(--amber-deep);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ─── install ─────────────────────────────────────────────────── */
.install {
  padding: 48px 0 16px;
}
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 0 auto 18px;
}
.install-card {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 30px 28px;
  text-align: center;
}
.install-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.install-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}
.install-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.install-tip {
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 18px;
}

/* ─── footer ──────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px max(28px, 6vw) 36px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-faint);
  font-size: 13px;
}
.footer nav { display: flex; gap: 16px; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ─── responsive ──────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 20px 0 56px;
  }
  .hero-stage {
    justify-self: center;
    max-width: 380px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .install-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar { padding: 18px 22px; }
  main { padding-left: 22px; padding-right: 22px; }
  .hero { padding-top: 12px; }
  .headline { font-size: clamp(28px, 8vw, 38px); }
  .section-title { font-size: 24px; margin-bottom: 22px; }
  .cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}
