/* Keychain Reaction — storefront + dashboard styles (Warm Tan, light) */
:root {
  --bg: #faf6ef;        /* warm cream */
  --bg-soft: #f1e7d7;   /* sand band */
  --panel: #fffdfa;     /* warm white cards */
  --panel-2: #f6eee1;   /* sand inset */
  --line: #e6dac6;      /* tan border */
  --text: #33291e;      /* espresso ink */
  --muted: #8a7a64;     /* taupe */
  --accent: #a6572e;    /* terracotta / clay */
  --accent-2: #c8823f;  /* camel / gold */
  --accent-soft: #f6ecdc; /* warm sand tint */
  --good: #15803d;
  --bad: #dc2626;
  --radius: 16px;
  --maxw: 1100px;
  --shadow-sm: 0 1px 2px rgba(70,50,30,.06);
  --shadow: 0 6px 20px rgba(70,50,30,.08);
  --shadow-lg: 0 18px 40px rgba(166,87,46,.18);
  font-synthesis: none;
}

/* Cards get a soft shadow so they read on a white background. */
.card, .stat-card, .tier-card, .configurator, .chart-card, .cart-summary,
.cart-pack, .dash-table, .mini-dash, .locked-panel, .login-form .field {
  box-shadow: var(--shadow);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1, h2 { font-family: "Fraunces", Georgia, "Times New Roman", serif; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.accent { color: var(--accent); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.narrow-mid { max-width: 780px; margin: 0 auto; }
.pad { padding: 48px 20px; }

/* buttons */
.btn {
  display: inline-block; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border: 0; border-radius: 999px;
  padding: 11px 22px; font-weight: 600; font-size: .98rem;
  box-shadow: 0 3px 12px rgba(166,87,46,.30);
  transition: transform .08s ease, opacity .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(166,87,46,.38); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; }
.btn-ghost {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.link-danger { background: none; border: 0; color: var(--bad); cursor: pointer; font: inherit; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-logo { height: 30px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.cart-link {
  border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px; color: var(--text) !important;
}
.cart-count {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: .72rem; font-weight: 800; vertical-align: 1px;
}
.nav-cta { padding: 8px 18px; font-size: .9rem; color: #fff !important; }
.nav-cta:hover { text-decoration: none; }

.flash {
  background: linear-gradient(135deg, rgba(166,87,46,.10), rgba(200,130,63,.12));
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.flash .wrap { padding: 11px 20px; font-size: .92rem; }

/* hero */
.hero {
  padding: 72px 0 48px; overflow: hidden;
  background:
    radial-gradient(55% 75% at 78% 28%, rgba(200,130,63,.16), transparent 65%),
    radial-gradient(40% 55% at 12% 85%, rgba(166,87,46,.07), transparent 70%);
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent); font-weight: 700; margin-bottom: .6rem; }
.eyebrow.center { text-align: center; margin-bottom: .4rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }

/* hero keychain art */
.kc-stack { position: relative; height: 360px; }
.kc-chip {
  position: absolute; top: calc(var(--i) * 12px); left: calc(var(--i) * 26px);
  width: 150px; height: 150px; border-radius: 26px;
  background: var(--kc);
  box-shadow: 0 20px 44px rgba(16,24,40,.26), inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(0,0,0,.06);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(calc(var(--i) * -4deg)); transition: transform .3s ease;
  color: rgba(255,255,255,.9); mix-blend-mode: normal;
  overflow: hidden;
}
/* glossy highlight sweep across each chip */
.kc-chip::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.05) 28%, transparent 45%);
}
/* the white keychain needs a visible edge + dark text on a white page */
.kc-chip:nth-child(2) { color: rgba(0,0,0,.55); box-shadow: 0 16px 36px rgba(16,24,40,.16), inset 0 0 0 1px var(--line); }
.kc-stack:hover .kc-chip { transform: rotate(0) translateY(0); }
.kc-hole { width: 14px; height: 14px; border-radius: 50%; background: rgba(0,0,0,.3); position: absolute; top: 14px; }
.kc-logo { font-weight: 800; letter-spacing: .1em; font-size: .9rem; opacity: .85; }
.kc-wave { position: absolute; bottom: 14px; right: 18px; font-size: 1.1rem; opacity: .7; }

/* bands */
.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--bg-soft); }
.section-title { text-align: center; }
.section-sub { text-align: center; max-width: 60ch; margin: -.3rem auto 2rem; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
/* hover lift for marketing cards */
.usecase, .cards3 .card, .tier-card, .ez-step {
  transition: transform .18s ease, box-shadow .18s ease;
}
.usecase:hover, .cards3 .card:hover, .tier-card:hover, .ez-step:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
}
.tier-pro:hover { box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.step {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-weight: 700; margin-bottom: 12px;
}

/* configurator */
.configurator { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin-top: 8px; }
.config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { border: 0; padding: 0; margin: 0 0 24px; }
.field legend { font-weight: 700; margin-bottom: 12px; font-size: 1.05rem; padding: 0; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch-dot {
  display: inline-block; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--line); vertical-align: middle;
}
.swatch-dot.inline { width: 14px; height: 14px; margin-right: 6px; }
.swatch-name { display: inline-block; margin-left: 7px; color: var(--muted); font-size: .92rem; vertical-align: middle; }
.swatch input:checked + .swatch-dot { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(166,87,46,.28); }
.swatch input:checked ~ .swatch-name { color: var(--text); }

.uploader {
  display: block; position: relative; border: 1.5px dashed var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.uploader:hover, .uploader.drag { border-color: var(--accent); background: var(--accent-soft); }
.uploader-icon { font-size: 1.8rem; display: block; }
.uploader.has-file .uploader-inner { display: none; }
.uploader-replace { color: var(--good); font-weight: 600; font-size: .92rem; }
.uploader-replace u { color: var(--muted); font-weight: 400; }

/* live "tag" print preview — circular printable area on the keychain face */
.tag-preview {
  display: flex; gap: 18px; align-items: center; margin-top: 14px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px;
}
.kc-tag {
  position: relative; flex: none; width: 132px; height: 132px; border-radius: 24px;
  background: var(--kc, #1b1b1f);
  box-shadow: 0 10px 24px rgba(16,24,40,.18), inset 0 0 0 1px rgba(0,0,0,.06);
  display: grid; place-items: center;
  transition: background .25s ease;
}
.kc-tag .kc-hole { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; }
.tag-print-area {
  width: 86px; height: 86px; border-radius: 50%; overflow: hidden;
  border: 2px dashed rgba(255,255,255,.55);
  display: grid; place-items: center; margin-top: 10px;
}
.kc-tag.light .tag-print-area { border-color: rgba(0,0,0,.3); }
#tag-logo { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.tag-logo-ph {
  color: rgba(255,255,255,.7); font-weight: 800; font-size: .7rem;
  letter-spacing: .14em; text-align: center; line-height: 1.4;
}
.kc-tag.light .tag-logo-ph { color: rgba(0,0,0,.4); }
.tag-preview-copy { min-width: 0; }
.tag-preview-copy strong { display: block; margin-bottom: 4px; }
.tag-preview-copy p { margin: 0 0 8px; }
.tag-preview-copy p:last-child { margin-bottom: 0; }
.print-note {
  background: #fef3c7; border: 1px solid #fcd34d; color: #92400e;
  border-radius: 8px; padding: 8px 11px;
}

/* link builder */
.link-rows { display: flex; flex-direction: column; gap: 12px; }
.link-row {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px;
}
.link-row-fields { display: flex; flex-direction: column; gap: 8px; }
.link-row input[type=text], .lr-qty, .login-form input, .editor input {
  width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: 9px; padding: 10px 12px; font: inherit;
}
.link-row input:focus, .lr-qty:focus, .login-form input:focus, .editor input:focus,
.filter-bar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(166,87,46,.18); }
.link-row-qty { display: flex; align-items: center; gap: 6px; }
.qty-label { color: var(--muted); font-size: .8rem; }
.lr-qty { width: 62px; }
.lr-remove { background: none; border: 0; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.lr-remove:hover { color: var(--bad); }

.link-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 14px; flex-wrap: wrap; }
.qty-meter { color: var(--muted); font-size: .92rem; }
.qty-meter.bad #qty-sum { color: var(--bad); font-weight: 700; }
.qty-ok { color: var(--good); font-weight: 700; }

/* "What's a tracked link?" explainer + account note */
.explainer { background: var(--accent-soft); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin-bottom: 14px; }
.explainer > summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 12px 0; list-style: none; display: flex; align-items: center; }
.explainer > summary::-webkit-details-marker { display: none; }
.explainer > summary::before { content: "?"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; margin-right: 8px; flex: none; }
.explainer[open] > summary { color: var(--text); }
.explainer-body { padding: 0 0 12px; }
.explainer-body p { margin: 0 0 .6rem; }
.account-note { margin-top: 14px; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: var(--muted); }
.lr-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 2px 7px; margin-bottom: 2px; }

.config-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 20px; flex-wrap: wrap; gap: 14px; }
.price-tag .price { font-size: 1.7rem; font-weight: 800; margin-right: 8px; }

/* tracking section */
.tracking-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 8px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.tracking-price { font-size: 1.1rem; }
.mini-dash { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.mini-dash-head { font-weight: 600; margin-bottom: 16px; }
.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.mini-bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 6px 6px 0 0; }
.mini-dash-foot { margin-top: 16px; color: var(--muted); }
.mini-dash-foot strong { color: var(--text); font-size: 1.3rem; }

/* pricing tiers */
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 28px auto 0; }
.tier-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.tier-pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px rgba(166,87,46,.18); }
.tier-badge { position: absolute; top: -11px; right: 18px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.tier-head h3 { margin: 0 0 4px; }
.tier-price { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; }
.tier-price span { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); }
.included-note { background: rgba(22,163,74,.10); border: 1px solid rgba(22,163,74,.28); color: #15803d; border-radius: 10px; padding: 10px 12px; font-size: .88rem; margin: 12px 0; }

/* cart */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-pack { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cart-pack-logo img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; }
.cart-pack-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-links { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; }
.cart-links li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.chip-count { font-weight: 700; color: var(--accent); }
.chip-url { word-break: break-all; }
.cart-pack-price { font-weight: 700; }
.cart-summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 80px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.2rem; font-weight: 800; }
.upsell { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; margin: 12px 0; }
.upsell span { display: block; }
.upsell-price { font-weight: 700; color: var(--accent); }
.empty-cart { text-align: center; padding: 60px 0; }

/* dashboard (used in later phases) */
.dash-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dash-table th, .dash-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.dash-table th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.dash-table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; background: var(--panel-2); border: 1px solid var(--line); }
.login-form, .editor { max-width: 420px; }
.login-form label, .editor label { display: block; margin: 14px 0 6px; font-weight: 600; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat-card .num { font-size: 2rem; font-weight: 800; }
.filter-bar { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 16px 0; }
.filter-bar input { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 9px 11px; font: inherit; }

/* test-mode badge (dev simulation pages) */
.dev-badge { display:inline-block; background:#fef3c7; color:#92400e; border:1px solid #fcd34d; padding:4px 12px; border-radius:999px; font-size:.78rem; font-weight:700; letter-spacing:.05em; margin-bottom:14px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 40px; background: var(--bg-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { text-align: right; line-height: 1.9; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* legal pages */
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal ul { padding-left: 22px; color: var(--muted); }
.legal li { margin-bottom: 10px; }

/* floating "new review" card over the hero art */
.review-float {
  position: absolute; right: -6px; bottom: 8px; width: 230px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  animation: rf-pop .6s ease both; animation-delay: .35s;
}
@keyframes rf-pop {
  from { opacity: 0; transform: rotate(2deg) translateY(14px); }
  to   { opacity: 1; transform: rotate(2deg) translateY(0); }
}
.rf-head { display: flex; align-items: center; gap: 9px; font-size: .82rem; line-height: 1.25; }
.rf-head strong { display: block; }
.rf-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .85rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.rf-when { color: var(--muted); font-size: .74rem; }
.rf-stars { color: #e8a200; letter-spacing: 2px; font-size: 1.05rem; margin: 6px 0 2px; }
.rf-text { color: var(--muted); font-size: .82rem; }

/* logistics trust strip (under hero) */
.trust-strip { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.trust-strip-inner { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.ts-item { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ts-ico { font-size: 1.45rem; flex: none; }
.ts-item strong { display: block; font-size: .92rem; line-height: 1.25; }
.ts-item em { display: block; font-style: normal; color: var(--muted); font-size: .8rem; line-height: 1.3; }
@media (max-width: 760px) {
  .trust-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* use cases */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.usecase {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.usecase h3 { margin-bottom: .4em; }
.usecase p:last-child { margin-bottom: 0; }
.usecase-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; align-items: start;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  background: linear-gradient(135deg, var(--panel), var(--accent-soft));
}
.usecase-featured h3 { font-size: 1.35rem; }
.usecase-featured .uc-icon { grid-row: span 3; }
.usecase-featured .uc-foot {
  margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.uc-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem; background: var(--accent-soft); border: 1px solid var(--line);
  margin-bottom: 12px; color: var(--accent);
}

.usecase-foot { text-align: center; max-width: 64ch; margin: 24px auto 0; }

/* dynamic-link callout — keychains never go obsolete */
.band-callout {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-top: 0; color: #fff;
}
.band-callout h2 { color: #fff; }
.band-callout p { color: rgba(255,255,255,.9); max-width: 52ch; margin-bottom: 0; }
.callout-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.retarget-demo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rt-chip {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: 7px 18px; font-weight: 700; font-size: .9rem;
}
.rt-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.rt-step {
  background: #fff; color: var(--text); border-radius: 12px; padding: 10px 14px;
  font-weight: 600; font-size: .88rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px; text-align: center;
}
.rt-step em { font-style: normal; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.rt-arrow { font-weight: 800; opacity: .8; }

/* teams / employee accountability */
.teams-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.teams-copy h2 { margin-bottom: .45em; }

/* leaderboard rows (marketing demo + dashboard) */
.lb-rows { display: flex; flex-direction: column; gap: 11px; }
.lb-row { display: flex; align-items: center; gap: 10px; }
.lb-name {
  flex: 0 0 150px; min-width: 0; font-weight: 600; font-size: .92rem; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
a.lb-name:hover { color: var(--accent); text-decoration: none; }
.lb-bar { flex: 1; height: 14px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.lb-bar::after {
  content: ""; display: block; height: 100%; width: var(--w, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px;
  transition: width .4s ease;
}
.lb-n { flex: 0 0 34px; text-align: right; font-weight: 800; font-size: .92rem; }
.lb-when { flex: 0 0 auto; color: var(--muted); font-size: .72rem; text-align: right; white-space: nowrap; }
.lb-row.lb-low .lb-bar::after { background: var(--bad); opacity: .55; }
.lb-row.lb-low .lb-name, .lb-row.lb-low .lb-n { color: var(--muted); }
.lb-row.lb-low .lb-when { color: var(--bad); }
.leaderboard-demo .lb-name { flex-basis: 64px; }
.leaderboard-demo { box-shadow: var(--shadow-lg); }
.leaderboard-demo .lb-when { flex-basis: 132px; }

/* mini taps-per-day chart inside the teams demo card */
.lb-demo-chart { display: flex; align-items: flex-end; gap: 4px; height: 72px; }
.lb-demo-chart span {
  flex: 1; height: var(--h, 20%);
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 3px 3px 0 0;
}
.lb-chart-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .7rem; margin: 5px 0 14px; }
.mini-dash-sub { font-weight: 700; font-size: .85rem; margin-bottom: 10px; }
@media (max-width: 640px) {
  .lb-when { display: none; }
}

/* per-keychain split tracking (configurator) */
.lr-split {
  display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; cursor: pointer;
  color: var(--text); padding-top: 2px;
}
.lr-split input { margin-top: 3px; accent-color: var(--accent); }
.lr-names { display: flex; flex-direction: column; gap: 6px; padding-left: 22px; }
.lr-names .lr-name {
  width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: 9px; padding: 8px 11px; font: inherit; font-size: .88rem;
}
.lr-names .lr-name:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(166,87,46,.18); }

/* video slots (light up when files land in public/media/) */
.vid-wrap { position: relative; }
.vid-card {
  display: block; width: 100%; max-height: 430px; object-fit: cover;
  border-radius: 24px; box-shadow: var(--shadow-lg); background: #000;
}
.pitch-video {
  display: block; width: 100%; max-width: 720px; margin: 0 auto;
  border-radius: 18px; box-shadow: var(--shadow-lg); background: #000;
}
.dash-shot { max-height: none; object-fit: contain; background: var(--panel); border: 1px solid var(--line); }

/* homepage build teaser → /build */
.ez-steps { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.ez-step {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px 12px 12px; font-weight: 600; box-shadow: var(--shadow);
}
.ez-num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 800;
}
.ez-arrow { align-self: center; color: var(--muted); font-weight: 800; }

/* dedicated /build page */
.build-page { max-width: var(--maxw); }
.build-head { text-align: center; max-width: 60ch; margin: 0 auto 30px; }
.build-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; max-width: 980px; margin-left: auto; margin-right: auto; }

/* vertical stepper configurator */
.configurator-v { max-width: 780px; margin: 0 auto; padding: 0; background: none; border: 0; box-shadow: none; }
.vstep {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.vstep.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.vstep-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.vstep-head h2 { margin: 0; font-size: 1.25rem; }
.vstep-num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-weight: 800;
}
.vstep.active .vstep-num { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; }
.vstep.done .vstep-num { background: var(--good); color: #fff; border: 0; }
.vstep-check { margin-left: auto; color: var(--good); font-weight: 700; font-size: .85rem; }
.vstep-hint { margin: 12px 0 0; }
.vstep-optional { border-style: dashed; }
.vstep-optional .vstep-num { background: var(--accent-soft); color: var(--accent); border-color: var(--line); }
.vstep-optional.done .vstep-num { background: var(--good); color: #fff; border: 0; }
.vstep-opt {
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px;
}
/* step 4: dynamic+tracked link intro + inline account funnel */
.link-intro {
  background: var(--accent-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 14px;
}
.link-intro-head { margin: 0 0 10px; }
.link-intro-points { display: flex; flex-direction: column; gap: 8px; }
.lip { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.lip strong { color: var(--text); }
.lip-icon { flex: none; font-size: 1.05rem; line-height: 1.4; }
.acct-funnel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* signed-in allowance bar (free: X/3 dynamic links · pro: unlimited) */
.allow-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; margin-bottom: 14px; font-size: .9rem;
}
.allow-plan { color: var(--muted); }
.allow-plan.is-pro { color: var(--good); font-weight: 600; }
.allow-upgrade { margin-left: auto; }
.allow-over { color: var(--bad); font-weight: 600; font-size: .85rem; flex-basis: 100%; }
.allow-bar.over { border-color: rgba(220,38,38,.5); }
.allow-bar.over .allow-plan strong { color: var(--bad); }

/* anonymous sign-up gate over the link builder */
.link-zone { position: relative; }
.link-zone.locked .link-zone-inner {
  filter: blur(3px); opacity: .5; pointer-events: none; user-select: none;
}
.link-paywall {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; padding: 10px;
}
.lp-card {
  background: var(--panel); border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  border-radius: 16px; padding: 22px 26px; text-align: center; max-width: 440px;
}
.lp-lock { font-size: 1.6rem; margin-bottom: 6px; }
.lp-card h3 { margin-bottom: .4em; }
.lp-actions { justify-content: center; margin-top: 4px; }

.logo-step-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: start; }
.preview-stage { text-align: center; max-width: 230px; }
.kc-tag-lg { width: 208px; height: 208px; border-radius: 36px; margin: 0 auto; }
.kc-tag-lg .tag-print-area { width: 136px; height: 136px; margin-top: 14px; }
.kc-tag-lg .kc-hole { width: 16px; height: 16px; top: 13px; }
.logo-step-grid .print-note { margin-top: 14px; }

.qty-picker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qty-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font-size: 1.4rem; font-weight: 700;
  cursor: pointer; line-height: 1;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
#pack-qty {
  width: 76px; text-align: center; font-size: 1.3rem; font-weight: 800;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px;
  color: var(--text); font-family: inherit;
}
#pack-qty:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(166,87,46,.18); }
.qty-math { display: flex; flex-direction: column; margin-left: 12px; }
#qty-calc { font-weight: 800; font-size: 1.1rem; }
.configurator-v .config-actions {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 24px; box-shadow: var(--shadow); margin-top: 0; border-top: 1px solid var(--line);
}
.bt-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; font-size: .92rem; box-shadow: var(--shadow-sm);
}
/* keep the icon on the same line as the title, however narrow the card */
.bt-head { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 4px; }
.bt-ico { flex: none; line-height: 1.45; }
.bt-item .muted { display: block; }

/* pricing footnote */
.tier-note { text-align: center; max-width: 56ch; margin: 22px auto 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.faq {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 20px; box-shadow: var(--shadow-sm);
}
.faq > summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 600; flex: none; }
.faq[open] > summary::after { content: "–"; }
.faq > p { margin: -4px 0 16px; }

/* responsive */
@media (max-width: 900px) {
  .hero-inner, .config-grid, .tracking-inner, .cart-layout, .tier-grid,
  .teams-inner, .usecase-featured, .callout-inner { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .cards3, .stat-cards { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .kc-stack { height: 250px; }
  .review-float { right: 0; bottom: -8px; width: 200px; }
  .usecase-featured .uc-icon { grid-row: auto; }
  .cart-summary { position: static; }
}
@media (max-width: 900px) {
  .build-trust { grid-template-columns: 1fr 1fr; }
  .ez-arrow { display: none; }
  .ez-steps { flex-direction: column; align-items: center; }
  .logo-step-grid { grid-template-columns: 1fr; }
  .preview-stage { max-width: none; }
}
@media (max-width: 560px) {
  .build-trust { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* keep the header to the essentials on phones */
  .site-nav { gap: 12px; }
  .site-nav .nav-link { display: none; }
}
@media (max-width: 480px) {
  .tag-preview { flex-direction: column; align-items: center; text-align: center; }
}
