/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --accent:        #ff4d6d;
  --accent-hover:  #ff2d55;
  --accent-glow:   rgba(255, 77, 109, 0.18);
  --bg:            #ffffff;
  --surface:       #ffffff;
  --surface-2:     #ededed;
  --surface-3:     #e4e4e4;
  --border:        #e0e0e0;
  --border-l:      #d0d0d0;
  --text:          #111111;
  --muted:         #666666;
  --dim:           #aaaaaa;
  --success:       #4ade80;
  --error:         #f87171;
  --r-sm:          6px;
  --r:             12px;
  --r-lg:          20px;
  --max-w:         1100px;
  --nav-h:         64px;
  --ease-out:      cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:   cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Stack Sans Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── Page grid background (all pages except hero) ───────────────────────── */
body.page-grid::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(71,85,105,0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(71,85,105,0.13) 1px, transparent 1px),
    radial-gradient(circle at 50% 60%, rgba(255,77,109,0.13) 0%, rgba(255,77,109,0.03) 45%, transparent 70%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 1.75rem;
  background: transparent;
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 0.25rem;
}

.nav-logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none; flex-shrink: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.nav-logo:hover { text-decoration: none; }

.logo-mark {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; flex-shrink: 0;
  font-weight: 900;
}

.nav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none; margin-left: 0.5rem;
}
.nav-item { position: relative; }
.nav-links a {
  display: block;
  position: relative;
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.42rem 0.72rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.72rem; right: 0.72rem;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  transform: scaleX(0);
  transition: transform 0.22s var(--ease-out);
}
.nav-links a.nav-active::after {
  transform: scaleX(1);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.nav-actions {
  display: flex; align-items: center; gap: 0.65rem;
  margin-left: auto;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.575rem 1.2rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s var(--ease-out), box-shadow 0.15s;
  text-decoration: none; white-space: nowrap;
  font-family: inherit; letter-spacing: -0.01em;
}
.btn:not(:disabled):active { transform: scale(0.97); transition-duration: 0.07s; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover); color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  text-decoration: none;
}

.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border-l);
}
.btn-ghost:hover:not(:disabled) {
  color: var(--text); border-color: var(--border-l);
  background: var(--surface-2); text-decoration: none;
}

.btn-danger {
  background: transparent;
  color: var(--error);
  border: 1px solid rgba(248,113,113,0.25);
}
.btn-danger:hover:not(:disabled) {
  background: rgba(248,113,113,0.07);
  border-color: rgba(248,113,113,0.5);
}

.btn-lg { padding: 0.75rem 1.65rem; font-size: 0.975rem; border-radius: var(--r); }
.btn-block { width: 100%; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

label {
  font-size: 0.75rem; font-weight: 700;
  color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
input::placeholder { color: var(--dim); }

.alert {
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem; line-height: 1.5;
}
.alert-error {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.25);
  color: var(--error);
}
.alert-success {
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--success);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + 5rem) 1.75rem 5rem;
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent);
  padding-left: 0.65rem;
  border-left: 2px solid var(--accent);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.035em; margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: var(--muted); max-width: 540px;
  margin: 0 auto 2.75rem; line-height: 1.75;
}

/* ── Signup card ────────────────────────────────────────────────────────── */
.signup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 1.75rem;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
}

.signup-card-title {
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 1.25rem;
}

.form-stack { display: flex; flex-direction: column; gap: 0.85rem; }

.form-footer-note {
  text-align: center; font-size: 0.78rem;
  color: var(--muted); margin-top: 1rem;
}
.form-footer-note a { color: var(--muted); text-decoration: underline; }
.form-footer-note a:hover { color: var(--text); }

/* Success state */
.signup-success { display: none; text-align: center; }

.success-icon {
  width: 50px; height: 50px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 1rem;
  color: var(--success);
}

.signup-success h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.signup-success p {
  font-size: 0.84rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 1.25rem;
}
.signup-success .install-note {
  font-size: 0.72rem; color: var(--dim);
  margin-top: 0.65rem; margin-bottom: 0;
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 5rem 1.75rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.65rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.75rem;
}
.section-header p { color: var(--muted); max-width: 500px; margin: 0 auto; }

/* ── Feature cards ──────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.85rem;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.feature-card:hover {
  border-color: rgba(255,77,109,0.28);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

.feature-icon {
  width: 42px; height: 42px;
  background: rgba(255,77,109,0.09);
  border: 1px solid rgba(255,77,109,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 1.15rem;
}

.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.45rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.72; }

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}

.step-num {
  width: 30px; height: 30px;
  background: var(--accent); color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { font-size: 0.875rem; color: var(--muted); line-height: 1.72; }

/* ── Rule ───────────────────────────────────────────────────────────────── */
hr.section-rule {
  border: none; border-top: 1px solid var(--border);
  margin: 0 1.75rem;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 3rem 1.75rem 2rem;
}

.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap;
  gap: 2rem; justify-content: space-between; align-items: flex-start;
}

.footer-brand p {
  font-size: 0.8rem; color: var(--dim);
  max-width: 210px; line-height: 1.65; margin-top: 0.5rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 2.5rem; }

.footer-col h4 {
  font-size: 0.67rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col ul a {
  font-size: 0.85rem; color: var(--muted);
  text-decoration: none; transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--text); text-decoration: none; }

.footer-bottom {
  max-width: var(--max-w); margin: 1.75rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--dim);
}

/* ── Policy pages ───────────────────────────────────────────────────────── */
.policy-wrap {
  padding: calc(var(--nav-h) + 3.5rem) 1.75rem 5rem;
  max-width: 760px; margin: 0 auto;
}

.policy-wrap h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.35rem;
}

.policy-meta {
  font-size: 0.82rem; color: var(--muted);
  margin-bottom: 2.75rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.policy-body h2 {
  font-size: 1.15rem; font-weight: 700;
  margin: 2.5rem 0 0.7rem;
}
.policy-body h3 {
  font-size: 0.95rem; font-weight: 600;
  margin: 1.5rem 0 0.4rem; color: var(--text);
}
.policy-body p {
  color: var(--muted); margin-bottom: 1rem;
  line-height: 1.82; font-size: 0.915rem;
}
.policy-body ul, .policy-body ol {
  color: var(--muted); padding-left: 1.35rem; margin-bottom: 1rem;
}
.policy-body li { font-size: 0.915rem; line-height: 1.82; margin-bottom: 0.2rem; }
.policy-body a { color: var(--accent); }
.policy-body strong { color: var(--text); font-weight: 600; }

/* ── Account page ───────────────────────────────────────────────────────── */
.account-wrap {
  padding: calc(var(--nav-h) + 4rem) 1.75rem 5rem;
  max-width: 460px; margin: 0 auto;
}

.account-wrap > h1 {
  font-size: 1.7rem; font-weight: 800;
  letter-spacing: -0.025em; margin-bottom: 0.35rem;
}
.account-wrap > .page-sub {
  font-size: 0.875rem; color: var(--muted); margin-bottom: 2rem;
}

/* Sign-in form (shown when logged out) */
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.85rem;
}
.auth-card h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }

/* Account card (shown when logged in) */
.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: none;
}

.account-head {
  padding: 1.6rem 1.75rem;
  display: flex; align-items: center; gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.account-avatar {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--accent); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 800; color: #fff;
  overflow: hidden;
}
.account-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px;
}

.account-email {
  font-size: 0.925rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.account-since { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }

.account-rows { padding: 0.4rem 0; }

.account-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.account-row:last-child { border-bottom: none; }
.row-label { color: var(--muted); }
.row-value { font-weight: 600; }

.plan-pill {
  display: inline-flex; align-items: center;
  border-radius: 4px;
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.65rem;
}
.plan-pill--free {
  background: rgba(59,130,246,0.08);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.22);
}
.plan-pill--pro {
  background: linear-gradient(135deg, rgba(251,191,36,0.14) 0%, rgba(245,158,11,0.1) 100%);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.32);
}
.plan-pill--trial {
  background: linear-gradient(135deg, rgba(16,185,129,0.14) 0%, rgba(5,150,105,0.1) 100%);
  color: #34d399;
  border: 1px solid rgba(52,211,153,0.32);
}

.account-actions {
  padding: 1.1rem 1.75rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  border-top: 1px solid var(--border);
}

/* Delete confirmation panel */
.delete-confirm {
  margin-top: 0.4rem;
  background: rgba(248,113,113,0.05);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--r);
  padding: 1rem 1.15rem;
  display: none;
}
.delete-confirm p {
  font-size: 0.83rem; color: var(--muted);
  line-height: 1.6; margin-bottom: 0.75rem;
}
.delete-confirm-btns { display: flex; gap: 0.5rem; }

/* ── Spinner ────────────────────────────────────────────────────────────── */
.spin {
  display: inline-block; width: 13px; height: 13px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.55s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 660px) {
  .nav-links { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 3rem); }
  .features-grid, .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-links { gap: 1.5rem; }
}

/* ── Google button ──────────────────────────────────────────────────────── */
.btn-google {
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
  font-weight: 500;
  gap: 0.55rem;
}
.btn-google:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #bbb;
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
  transform: none;
  text-decoration: none;
  color: #3c4043;
}

/* ── Or divider ─────────────────────────────────────────────────────────── */
.or-divider {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 1rem 0 0.15rem;
  font-size: 0.75rem; color: var(--dim);
  user-select: none;
}
.or-divider::before, .or-divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--border);
}

/* ── Logo image ─────────────────────────────────────────────────────────── */
.logo-img {
  width: 30px; height: 30px;
  border-radius: 7px;
  object-fit: contain;
  display: block; flex-shrink: 0;
}

/* ── Active nav link ─────────────────────────────────────────────────────── */
.nav-links a.nav-active { color: var(--text) !important; background: transparent; }
.nav-mobile a.nav-active { color: var(--text) !important; font-weight: 600; }

/* ── Mobile hamburger + drawer ───────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: transparent;
  border: 1px solid var(--border-l);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--muted);
  border-radius: 99px;
  transition: background 0.15s;
}
.nav-hamburger:hover span { background: var(--text); }

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.75rem 1.25rem;
  flex-direction: column;
  gap: 0;
  z-index: 199;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color 0.15s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text); }

@media (max-width: 660px) {
  .nav-hamburger { display: flex; }
  .nav-actions { display: none; }
}

/* ── Page fade-in ────────────────────────────────────────────────────────── */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
main, .policy-wrap, .account-wrap, .contact-wrap {
  animation: page-fade-in 0.28s var(--ease-out) both;
}

/* ── Select ──────────────────────────────────────────────────────────────── */
select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.9rem; font-family: inherit;
  outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); outline: none; }
select option { background: var(--surface-2); color: var(--text); }

/* ── Textarea ────────────────────────────────────────────────────────────── */
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.9rem; font-family: inherit;
  outline: none; resize: vertical;
  min-height: 130px;
  line-height: 1.65;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
textarea::placeholder { color: var(--dim); }

/* ── Contact page ────────────────────────────────────────────────────────── */
.contact-wrap {
  padding: calc(var(--nav-h) + 3.5rem) 1.75rem 5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-head { margin-bottom: 2.5rem; }
.contact-head h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.35rem;
}
.contact-head .page-sub { color: var(--muted); font-size: 0.9rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.contact-form-card,
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.85rem;
}

.contact-form-card h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-success { text-align: center; padding: 0.5rem 0; display: none; }
.contact-success .success-icon {
  width: 50px; height: 50px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 1rem;
  color: var(--success);
}
.contact-success h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-success p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }

.contact-info-card h3 {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 0.5rem;
}

.contact-info-row {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-label {
  display: block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 0.3rem;
}
.contact-info-value {
  font-size: 0.85rem; color: var(--muted); line-height: 1.6;
}
.contact-info-value a { color: var(--accent); text-decoration: none; }
.contact-info-value a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REDESIGN — appended below, all new classes + targeted overrides
   ═══════════════════════════════════════════════════════════════════════════ */

/* New tokens */
:root {
  --feed-card-r: 10px;
  --section-alt:  transparent;
}

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Nav scroll state (nav is position:absolute — no sticky bar) ─────────── */
.nav--scrolled { /* intentionally transparent — nav scrolls with page */ }

/* ── CTA shimmer ────────────────────────────────────────────────────────── */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.09) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover:not(:disabled)::after { transform: translateX(100%); }

/* ── Hero — full redesign ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  /* reset old */
  padding: 0;
  text-align: left;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(255,77,109,0.07) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 5.5rem) 1.75rem 5.5rem;
}

.hero-text-wrap { max-width: 470px; }

/* Override centering from original hero-sub */
.hero-text-wrap .hero-sub  { margin: 0 0 2.5rem; max-width: 420px; }
.hero-text-wrap .signup-card { margin: 0; max-width: 420px; }

/* ── Animated listing feed ──────────────────────────────────────────────── */
.hero-feed {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 54%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: calc(var(--nav-h) + 1.5rem) 2.5rem 1.5rem 1rem;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.feed-col {
  display: flex; flex-direction: column; gap: 0.65rem;
}

@media (prefers-reduced-motion: no-preference) {
  .feed-col--up   { animation: ticker-up   27s linear infinite; }
  .feed-col--down { animation: ticker-down 34s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-feed { opacity: 0.25; }
}

@keyframes ticker-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes ticker-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

/* ── Listing card (feed) ────────────────────────────────────────────────── */
.listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--feed-card-r);
  overflow: hidden; flex-shrink: 0;
}

.listing-card-photo {
  aspect-ratio: 1;
  background-color: hsl(var(--hue, 335), 22%, 84%);
  background-image: var(--photo, none);
  background-size: cover;
  background-position: center;
  position: relative;
}
.listing-card-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 55%);
}

.listing-card-info  { padding: 0.55rem 0.7rem 0.6rem; }
.listing-card-name  {
  display: block; font-size: 0.7rem; font-weight: 500; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 0.28rem; line-height: 1.3;
}
.listing-card-bottom { display: flex; justify-content: space-between; align-items: center; }
.listing-card-size  { font-size: 0.62rem; color: var(--muted); }
.listing-card-price { font-size: 0.74rem; font-weight: 700; color: var(--text); }

/* ── Feature card global hover override ─────────────────────────────────── */
.feature-card {
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.feature-card:hover {
  transform: none;
  border-color: rgba(255, 77, 109, 0.35);
  box-shadow: 0 0 0 1px rgba(255,77,109,0.07) inset, 0 10px 36px rgba(0,0,0,0.12);
}

/* ── Features grid ───────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.feature-card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-text {
  padding: 1.5rem 1.6rem 1.25rem;
}

.feature-num {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.feature-card-text h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card-text p  { font-size: 0.875rem; color: var(--muted); line-height: 1.72; }

.feature-card-media {
  border-top: 1px solid var(--border);
  background: #f5f5f5;
  overflow: hidden;
}
.feature-card-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.2);
  transition: transform 0.4s var(--ease-out);
}
.feature-card--media:hover .feature-card-media img {
  transform: scale(1.02);
}

/* ── Showcase section ───────────────────────────────────────────────────── */
.section--showcase { background: var(--section-alt); }

.browser-frame {
  max-width: 900px; margin: 0 auto;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.06);
}

.browser-chrome {
  background: var(--surface-2);
  padding: 0.65rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; align-items: center; gap: 5px; }
.browser-dot  { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.browser-urlbar {
  flex: 1; max-width: 360px;
  background: var(--surface-3); border-radius: 5px;
  padding: 0.28rem 0.7rem;
  font-size: 0.7rem; color: var(--muted);
  font-family: 'SF Mono', 'Consolas', monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.browser-content {
  background: var(--surface);
  aspect-ratio: 16 / 10; overflow: hidden; position: relative;
}

.mock-browser-inner {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 240px;
}

.mock-depop-side {
  border-right: 1px solid var(--border);
  padding: 0.85rem; overflow: hidden;
  background: var(--bg);
}

.mock-depop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.mock-listing-thumb { aspect-ratio: 1; border-radius: 5px; }
.mock-listing-thumb:nth-child(1)  { background: hsl(335, 22%, 84%); }
.mock-listing-thumb:nth-child(2)  { background: hsl(200, 22%, 84%); }
.mock-listing-thumb:nth-child(3)  { background: hsl(160, 22%, 84%); }
.mock-listing-thumb:nth-child(4)  { background: hsl(40,  22%, 84%); }
.mock-listing-thumb:nth-child(5)  { background: hsl(280, 22%, 84%); }
.mock-listing-thumb:nth-child(6)  { background: hsl(20,  22%, 84%); }
.mock-listing-thumb:nth-child(7)  { background: hsl(210, 22%, 84%); }
.mock-listing-thumb:nth-child(8)  { background: hsl(350, 22%, 84%); }
.mock-listing-thumb:nth-child(9)  { background: hsl(60,  22%, 84%); }
.mock-listing-thumb:nth-child(10) { background: hsl(180, 22%, 84%); }
.mock-listing-thumb:nth-child(11) { background: hsl(310, 22%, 84%); }
.mock-listing-thumb:nth-child(12) { background: hsl(90,  22%, 84%); }
.mock-listing-thumb:nth-child(13) { background: hsl(0,   22%, 84%); }
.mock-listing-thumb:nth-child(14) { background: hsl(240, 22%, 84%); }
.mock-listing-thumb:nth-child(15) { background: hsl(120, 22%, 84%); }
.mock-listing-thumb:nth-child(16) { background: hsl(25,  22%, 84%); }

.mock-popup-panel {
  padding: 0.9rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--surface);
}

.mock-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}
.mock-panel-logo {
  font-size: 0.78rem; font-weight: 800; color: var(--accent);
  letter-spacing: -0.02em;
}
.mock-panel-count {
  font-size: 0.62rem; color: var(--muted);
  background: rgba(255,77,109,0.09);
  border: 1px solid rgba(255,77,109,0.18);
  border-radius: 3px; padding: 0.12rem 0.45rem;
}

.mock-panel-rows { display: flex; flex-direction: column; gap: 0.38rem; flex: 1; }
.mock-panel-row {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.4rem; border-radius: 5px;
  background: var(--surface-2); border: 1px solid transparent;
}
.mock-panel-row--checked {
  background: rgba(255,77,109,0.06); border-color: rgba(255,77,109,0.18);
}

.mock-row-check {
  width: 12px; height: 12px;
  border: 1.5px solid var(--border-l); border-radius: 3px;
  flex-shrink: 0; font-size: 7px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.mock-panel-row--checked .mock-row-check {
  background: var(--accent); border-color: var(--accent);
}

.mock-row-thumb {
  width: 22px; height: 22px; border-radius: 4px;
  background: var(--surface-3); flex-shrink: 0;
}
.mock-panel-row--checked .mock-row-thumb { background: hsl(335, 22%, 78%); }

.mock-row-name {
  font-size: 0.62rem; font-weight: 500; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.mock-panel-btn {
  width: 100%; padding: 0.45rem;
  background: var(--accent); color: #fff;
  border: none; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700;
  cursor: default; font-family: inherit;
  margin-top: auto;
}

/* ── Steps timeline ─────────────────────────────────────────────────────── */
.steps-timeline {
  position: relative;
  display: flex; flex-direction: column; gap: 2.75rem;
  padding-left: 3.5rem;
  max-width: 680px; margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 13px; top: 28px; bottom: 28px; width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--border-l) 0px, var(--border-l) 5px,
    transparent 5px, transparent 11px
  );
}

.step-item { position: relative; }

.step-marker {
  position: absolute; left: -3.5rem; top: 2px;
  width: 28px; height: 28px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Override old step-num inside new timeline */
.step-item .step-num {
  font-size: 0.67rem; font-weight: 800; color: var(--accent);
  background: none; width: auto; height: auto;
  border-radius: 0; margin-bottom: 0;
}

.step-body h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.45rem; margin-top: 0.1rem;
}
.step-body p {
  font-size: 0.875rem; color: var(--muted); line-height: 1.72; max-width: 490px;
}

.step-screenshot-placeholder {
  margin-top: 1.2rem;
  aspect-ratio: 16 / 10; max-width: 480px;
  background: var(--surface-2);
  border: 1px dashed var(--border-l);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--dim);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
}

/* Section alt bg */
.section--alt { background: var(--section-alt); }

/* ── Billing toggle ─────────────────────────────────────────────────────── */
.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.billing-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #ebebeb;
  border: 1px solid var(--border-l);
  border-radius: 99px;
  padding: 4px;
}

.billing-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.38s cubic-bezier(0.23, 1, 0.32, 1),
              width    0.38s cubic-bezier(0.23, 1, 0.32, 1);
}

.billing-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: 99px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.billing-btn:hover { color: #333; }
.billing-btn--active { color: var(--text); }

.billing-save-badge {
  display: inline-block;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  color: #4ade80;
  border-radius: 99px;
  padding: 0.1rem 0.45rem;
  line-height: 1.5;
}

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
  align-items: stretch;
}

/* ── Card shell ── */
.pricing-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--border-l);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  border-color: var(--border-l);
  box-shadow: none;
}

/* ── Animated border trail on Pro card ── */
@property --trail-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes trailSpin { to { --trail-angle: 360deg; } }

.pricing-card--pro {
  border-color: transparent;
  background:
    linear-gradient(#fefefe, #fefefe) padding-box,
    conic-gradient(
      from var(--trail-angle),
      rgba(255,77,109,0)   0%,
      rgba(255,77,109,0)   55%,
      rgba(255,77,109,0.9) 70%,
      rgba(255,255,255,0.4) 74%,
      rgba(255,77,109,0.9) 78%,
      rgba(255,77,109,0)   88%
    ) border-box;
  box-shadow: none;
  animation: trailSpin 5s linear infinite;
}
.pricing-card--pro:hover { border-color: transparent; box-shadow: none; }

/* ── Badges (absolute top-right) ── */
.pricing-card-badges {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
}

.pricing-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(251,191,36,0.22) 0%, rgba(180,120,10,0.18) 100%);
  color: #f5c842;
  border: 1px solid rgba(251,191,36,0.5);
  border-radius: 6px;
  padding: 0.28rem 0.65rem 0.28rem 0.55rem;
  box-shadow: 0 0 14px rgba(251,191,36,0.15), inset 0 1px 0 rgba(255,220,80,0.12);
}

.pricing-save-note {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: -0.01em;
  margin-top: 0.3rem;
  margin-bottom: -0.15rem;
}

.yearly-only { display: none; }
.yearly-active .yearly-only { display: block; }
.monthly-only { display: block; }
.yearly-active .monthly-only { display: none; }

/* ── Card sections ── */
.pricing-card-header {
  padding: 1.6rem 1.75rem 1.4rem;
  background: rgba(0,0,0,0.01);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.pricing-card-header--pro {
  background: rgba(255,77,109,0.03);
  border-bottom-color: rgba(255,77,109,0.12);
}

.pricing-card-body {
  flex: 1;
  padding: 1.4rem 1.75rem;
}
.pricing-card-body--pro { background: rgba(255,77,109,0.01); }

.pricing-card-footer {
  padding: 1rem 1.75rem 1.4rem;
  border-top: 1px solid var(--border);
}
.pricing-card-footer--pro { border-top-color: rgba(255,77,109,0.12); background: rgba(255,77,109,0.03); }

/* ── Typography ── */
.pricing-plan-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.pricing-plan-label--pro { color: var(--accent); }

.pricing-price {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.55rem;
}
.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.pricing-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.pricing-trial-note {
  font-size: 0.72rem;
  color: #34d399;
  margin-top: 0.2rem;
  opacity: 0.85;
}

/* ── Feature list ── */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4d6d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.pricing-card--pro .pricing-features li { color: var(--text); }

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .billing-btn { padding: 0.45rem 1rem; }
  .pricing-card-header,
  .pricing-card-body,
  .pricing-card-footer { padding-left: 1.35rem; padding-right: 1.35rem; }
}

/* ── Step visual mocks ──────────────────────────────────────────────────── */
.step-visual { margin-top: 1.4rem; max-width: 380px; }

.step-visual--gif { max-width: 440px; }
.step-gif {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: 0 14px 44px rgba(0,0,0,0.12);
  filter: saturate(1.2);
}

/* Step 1 — Signup mock */
.step-mock-signup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.3rem 1.45rem;
  display: flex; flex-direction: column; gap: 0.65rem;
  box-shadow: 0 14px 44px rgba(0,0,0,0.1);
}
.step-mock-label { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.step-mock-google-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.42rem;
  padding: 0.52rem; background: #fff; border: 1px solid #dadce0;
  border-radius: 6px; font-size: 0.7rem; color: #3c4043; font-weight: 500;
}
.step-mock-divider { text-align: center; font-size: 0.65rem; color: var(--dim); }
.step-mock-fields { display: flex; flex-direction: column; gap: 0.38rem; }
.step-mock-field {
  height: 34px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 5px; padding: 0 0.7rem; display: flex; align-items: center;
}
.step-mock-field-label { font-size: 0.62rem; color: var(--dim); }
.step-mock-cta-btn {
  height: 36px; background: var(--accent); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: #fff;
}

/* Step 2 — Store mock */
.step-mock-store {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.3rem 1.45rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: 0 14px 44px rgba(0,0,0,0.1);
}
.step-mock-store-top { display: flex; align-items: center; gap: 0.9rem; }
.step-mock-store-icon {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  object-fit: contain; display: block;
}
.step-mock-store-name { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.step-mock-store-stars { font-size: 0.68rem; color: #f59e0b; margin: 0.1rem 0; }
.step-mock-store-sub { font-size: 0.62rem; color: var(--muted); }
.step-mock-store-btn {
  padding: 0.6rem; background: var(--accent); color: #fff; border-radius: 7px;
  font-size: 0.76rem; font-weight: 700; text-align: center;
}

/* Step 3 — Panel mock */
.step-mock-panel-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 44px rgba(0,0,0,0.4);
  max-width: 300px;
}
.step-mock-panel { background: var(--surface); display: flex; flex-direction: column; }
.step-mock-panel-hdr {
  padding: 0.72rem 0.9rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.step-mock-panel-logo { font-size: 0.75rem; font-weight: 800; color: var(--accent); }
.step-mock-panel-badge {
  font-size: 0.58rem; color: var(--muted);
  background: rgba(255,77,109,0.09); border: 1px solid rgba(255,77,109,0.18);
  border-radius: 3px; padding: 0.1rem 0.4rem;
}
.step-mock-panel-list {
  padding: 0.6rem 0.85rem;
  display: flex; flex-direction: column; gap: 0.32rem;
}
.step-mock-prow {
  display: flex; align-items: center; gap: 0.42rem;
  padding: 0.35rem 0.4rem; border-radius: 5px;
  background: var(--surface-2); border: 1px solid transparent;
}
.step-mock-prow--on {
  background: rgba(255,77,109,0.06); border-color: rgba(255,77,109,0.18);
}
.step-mock-pcheck {
  width: 13px; height: 13px; border: 1.5px solid var(--border-l); border-radius: 3px;
  flex-shrink: 0; font-size: 7px; display: flex; align-items: center; justify-content: center; color: #fff;
}
.step-mock-prow--on .step-mock-pcheck { background: var(--accent); border-color: var(--accent); }
.step-mock-pthumb {
  width: 22px; height: 22px; border-radius: 4px; background: var(--surface-3); flex-shrink: 0;
}
.step-mock-pname {
  font-size: 0.62rem; font-weight: 500; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.step-mock-panel-foot { padding: 0.4rem 0.85rem 0.85rem; }
.step-mock-relist-btn {
  width: 100%; padding: 0.52rem;
  background: var(--accent); color: #fff; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700; text-align: center;
  animation: step-btn-glow 2.8s ease-in-out infinite;
}
@keyframes step-btn-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,77,109,0); }
  50%       { box-shadow: 0 4px 18px rgba(255,77,109,0.4); }
}

/* ── Homepage: hero split ───────────────────────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Override old single-column text wrapper */
.hero-split .hero-sub { margin: 0 0 2rem; max-width: 430px; }

.hero-copy { max-width: 520px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.hero-primary-btn { min-width: 160px; }
.hero-demo-btn    { gap: 0.5rem; }

.hero-footnote {
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.01em;
}

/* Hero product visual (right column) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,77,109,0.13) 0%, transparent 68%);
  pointer-events: none;
}

/* ── Extension mockup (hero right) ──────────────────────────────────────── */
.ext-mockup {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 32px 80px rgba(0,0,0,0.7));
}

.ext-window {
  background: var(--surface);
  border: 1px solid var(--border-l);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.ext-chrome {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ext-dots { display: flex; align-items: center; gap: 5px; }
.ext-dot  { width: 10px; height: 10px; border-radius: 50%; display: block; }

.ext-url {
  flex: 1; max-width: 220px;
  background: var(--surface-3);
  border-radius: 4px;
  padding: 0.22rem 0.6rem;
  font-size: 0.65rem;
  color: var(--muted);
  font-family: 'SF Mono', 'Consolas', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ext-body {
  display: grid;
  grid-template-columns: 1fr 185px;
}

/* Depop listing grid side */
.ext-site {
  border-right: 1px solid var(--border);
  padding: 0.7rem;
  background: var(--bg);
}

.ext-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.ext-thumb {
  aspect-ratio: 1;
  border-radius: 4px;
}

/* Extension panel side */
.ext-panel {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: 0.75rem;
  gap: 0;
  min-height: 200px;
}

.ext-panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.55rem;
  margin-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
}

.ext-panel-logo {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.ext-panel-badge {
  font-size: 0.56rem;
  color: var(--muted);
  background: rgba(255,77,109,0.09);
  border: 1px solid rgba(255,77,109,0.18);
  border-radius: 3px;
  padding: 0.1rem 0.38rem;
  font-weight: 600;
}

.ext-panel-list {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1;
}

.ext-row {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.3rem 0.35rem;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid transparent;
}

.ext-row--on {
  background: rgba(255,77,109,0.06);
  border-color: rgba(255,77,109,0.2);
}

.ext-check {
  width: 12px; height: 12px;
  border: 1.5px solid var(--border-l);
  border-radius: 3px;
  flex-shrink: 0;
  font-size: 6.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ext-row--on .ext-check {
  background: var(--accent);
  border-color: var(--accent);
}

.ext-rowthumb {
  width: 20px; height: 20px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ext-rowname {
  flex: 1;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ext-rowprice {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.ext-panel-foot {
  padding-top: 0.5rem;
  margin-top: 0.4rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.ext-sel-label {
  font-size: 0.58rem;
  color: var(--muted);
  flex-shrink: 0;
}

.ext-relist-btn {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  padding: 0.38rem 0.5rem;
  animation: ext-btn-pulse 3s ease-in-out infinite;
}

@keyframes ext-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,77,109,0); }
  50%       { box-shadow: 0 3px 14px rgba(255,77,109,0.45); }
}

/* ── Homepage: feature cards ────────────────────────────────────────────── */
.home-features {
  padding: 0 1.75rem 5rem;
}

.home-features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.hf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hf-card:hover {
  border-color: rgba(255,77,109,0.28);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hf-icon {
  width: 42px; height: 42px;
  background: rgba(255,77,109,0.08);
  border: 1px solid rgba(255,77,109,0.16);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.15rem;
  flex-shrink: 0;
}

.hf-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.hf-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 1.25rem;
}

.hf-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
}
.hf-link:hover { text-decoration: underline; }

/* ── Homepage: bottom CTA ───────────────────────────────────────────────── */
.home-cta {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 6rem 1.75rem;
  text-align: center;
}

.home-cta-inner {
  max-width: 580px;
  margin: 0 auto;
}

.home-cta-inner h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.home-cta-inner > p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.home-cta-btn { min-width: 200px; }

.home-cta-sub {
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 1rem;
}
.home-cta-sub a { color: var(--muted); text-decoration: underline; }
.home-cta-sub a:hover { color: var(--text); }

/* ── Demo modal ─────────────────────────────────────────────────────────── */
.demo-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 900;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.demo-modal {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border-l);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
}

.demo-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  background: rgba(20,20,20,0.85);
  border: 1px solid var(--border-l);
  color: var(--muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.demo-modal-close:hover { color: var(--text); border-color: #555; }

.demo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  gap: 0.5rem;
}

.demo-ph-icon {
  width: 64px; height: 64px;
  background: rgba(255,77,109,0.1);
  border: 1px solid rgba(255,77,109,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.demo-placeholder h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.demo-placeholder p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Mobile overrides (redesign) ────────────────────────────────────────── */
@media (max-width: 660px) {
  .hero { min-height: auto; }
  .hero::before {
    background: linear-gradient(to bottom, transparent 40%, var(--bg) 85%);
  }
  .hero-feed { width: 100%; opacity: 0.18; }
  .hero-content { padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: 4rem; }
  .hero-text-wrap { max-width: 100%; }
  .hero-text-wrap .signup-card { max-width: 100%; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .mock-browser-inner { grid-template-columns: 1fr; }
  .mock-popup-panel { display: none; }

  .steps-timeline { padding-left: 2.5rem; }
  .timeline-line  { left: 10px; }
  .step-marker    { left: -2.5rem; }
}

/* ── Homepage responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-items: center;
  }
  .hero-copy { max-width: 100%; }
  .hero-split .hero-sub { max-width: 100%; }
  .pdemo .float-panel { width: 360px; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-primary-btn, .hero-demo-btn { width: 100%; justify-content: center; }
  .home-cta { padding: 4rem 1.75rem; }
  .demo-overlay { padding: 1rem; }
  .demo-modal { aspect-ratio: auto; min-height: 250px; }
}

/* ── Background FX: stars ────────────────────────────────────────────────── */
/* Move the dark background from body → html so z-index:-1 canvas is visible  */
html { background: var(--bg); }
body { background: transparent; }

#fx-stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* ── Globe hero ──────────────────────────────────────────────────────────── */
.hero-globe-wrap {
  position: relative;
  flex-shrink: 0;
  width: 580px;
  height: 580px;
  overflow: visible;
}

#globe-canvas {
  display: block;
}

/* ── Demo showcase section ───────────────────────────────────────────────── */
.demo-showcase {
  padding: 80px 0 100px;
}

.demo-showcase-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.demo-showcase-hdr {
  text-align: center;
  max-width: 560px;
}

.demo-showcase-hdr h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 8px 0 12px;
}

.demo-showcase-hdr p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.demo-showcase-panel {
  width: 100%;
  max-width: 420px;
  display: flex;
  justify-content: center;
}

/* Responsive: stack globe below copy on narrow screens */
@media (max-width: 1080px) {
  .hero-globe-wrap {
    width: 460px;
    height: 460px;
  }
}

@media (max-width: 860px) {
  .hero-globe-wrap {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 700px) {
  .hero-globe-wrap {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DROPDOWN NAV + HAMBURGER ANIMATION + MOBILE DRAWER
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hamburger → X animation ─────────────────────────────────────────────── */
.nav-hamburger span {
  transition: background 0.15s, transform 0.3s cubic-bezier(0.23,1,0.32,1.1), opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-sep {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0;
  flex-shrink: 0;
}

/* Reset btn styles inside mobile drawer */
.nav-mobile .btn {
  border-bottom: none;
  padding: 0.575rem 1.2rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.875rem;
}
.nav-mobile .btn-ghost {
  color: var(--muted);
  border: 1px solid var(--border-l);
  background: transparent;
}
.nav-mobile .btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.nav-mobile .btn-primary {
  color: #fff;
  background: var(--accent);
  border: none;
  margin-top: 0.5rem;
}
.nav-mobile .btn-primary:hover { background: var(--accent-hover); }

/* ── Hero grid ───────────────────────────────────────────────────────────── */
.hero-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-grid-inner {
  position: absolute;
  left: -10%;
  right: -10%;
  top: -40%;
  height: 220%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: skewY(12deg);
  transform-origin: top center;
  mask-image: radial-gradient(ellipse 95% 70% at 50% 38%, black 0%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 95% 70% at 50% 38%, black 0%, transparent 82%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — comprehensive layer (must stay at end of file)
   ═══════════════════════════════════════════════════════════════════════════ */

/* First section below nav: replaces inline padding-top on page sections */
.section--page-top { padding-top: calc(var(--nav-h) + 5rem); }

/* ── ≤660px ── */
@media (max-width: 660px) {
  /* Reduce section vertical padding (5rem → 3rem is much better on mobile) */
  .section { padding: 3rem 1.25rem; }
  .section--page-top { padding-top: calc(var(--nav-h) + 2.5rem); }
  .section-header { margin-bottom: 2rem; }

  /* Home features */
  .home-features { padding: 0 1.25rem 3rem; }
  .home-features-inner { grid-template-columns: 1fr !important; }

  /* Feature card image: cap height so stacked cards don't scroll forever */
  .feature-card-media { max-height: 260px; overflow: hidden; }

  /* Account / policy / contact wrapper padding */
  .account-wrap { padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem; }
  .policy-wrap  { padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem; }
  .contact-wrap { padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem; }
  .account-email { font-size: 0.82rem; }
  .account-row { flex-wrap: wrap; gap: 0.35rem; }
}

/* ── ≤480px: small phones ── */
@media (max-width: 480px) {
  /* Extension is desktop Chrome only — hide demo panel on small phones */
  .pdemo { display: none !important; }
  .hero-split { gap: 0 !important; }

  .section { padding: 2.5rem 1.1rem; }
  .section--page-top { padding-top: calc(var(--nav-h) + 2rem); }
}
