/* Alpha Dev Stores — platform app styles, built on top of style.css's
   theme variables and .glass surfaces for visual consistency with the
   main marketing site. */

.platform-header{
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-1);
  background: var(--bg-0);
}
.platform-header-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.platform-brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:16px; }
.platform-brand img{ width:26px; height:26px; filter:invert(var(--invert-logo)); }
.platform-nav{ display:flex; align-items:center; gap:18px; font-size:14px; }
.platform-nav a:not(.btn){ color:var(--ink-1); }
.platform-nav a:not(.btn):hover{ color:var(--ink-0); }

.platform-main{ min-height: 70vh; padding: 48px 0 80px; }
.platform-narrow{ max-width: 560px; margin: 0 auto; }
.platform-wide{ max-width: 900px; margin: 0 auto; }
.dash-wide{ max-width: 1120px; margin: 0 auto; }
.dash-section-block{ min-width: 0; }

/* ---------- Dashboard: sidebar shell (sits below the regular top nav) ---------- */
.dash-shell{ display:flex; align-items:flex-start; max-width: 1400px; margin: 0 auto; padding-top: 128px; min-height: 100vh; }

.dash-sidebar{
  flex: none; width: 232px;
  padding: 0 16px 40px;
  border-right: 1px solid var(--line-1);
  display: flex; flex-direction: column;
  position: sticky; top: 128px;
  align-self: stretch;
}
.dash-sidebar-nav{ display:flex; flex-direction:column; gap:3px; }
.dash-sidebar-label{ font-size:11px; text-transform:uppercase; letter-spacing:.07em; color: var(--ink-2); margin: 20px 10px 8px; }
.dash-sidebar-label:first-child{ margin-top: 6px; }
.dash-sidebar-nav a{
  display:flex; align-items:center; gap:10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-1);
}
.dash-sidebar-nav a svg{ width:17px; height:17px; stroke:currentColor; fill:none; stroke-width:1.8; flex:none; }
.dash-sidebar-nav a:hover{ background: var(--glass-fill); color: var(--ink-0); }
.dash-sidebar-nav a.is-active{ background: var(--ink-0); color: var(--bg-0); }

.dash-sidebar-promo{ margin-top: 28px; padding: 16px; border-radius: 14px; background: var(--glass-fill); border: 1px dashed var(--line-0); }
.dash-sidebar-promo strong{ font-family: var(--font-display); font-size: 14px; }
.dash-sidebar-promo p{ margin-top: 6px; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.dash-sidebar-promo .btn{ margin-top: 12px; width: 100%; justify-content: center; }

.dash-main{ flex: 1; min-width: 0; padding: 0 32px 70px; }
.dash-sidebar-toggle{ display:none; }

@media (max-width: 920px){
  .dash-shell{ padding-top: 0; display:block; }
  .dash-sidebar{
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 90;
    width: 260px; padding: 100px 16px 32px;
    background: var(--bg-0);
    box-shadow: 0 0 50px rgba(0,0,0,.35);
    transform: translateX(-100%);
    transition: transform var(--dur-fast) var(--ease-soft);
    overflow-y: auto;
  }
  body.sidebar-open .dash-sidebar{ transform: translateX(0); }
  .dash-sidebar-toggle{
    display:flex; align-items:center; gap:8px;
    padding: 9px 16px; margin: 20px 18px 0; border-radius: 999px; border: 1px solid var(--line-0);
    font-size: 13px; font-weight: 650; color: var(--ink-1);
  }
  .dash-sidebar-toggle svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:1.8; }
  .dash-main{ padding: 112px 18px 56px; }
}

.platform-card{ padding: 36px; border-radius: var(--radius-lg); min-width: 0; overflow-wrap: anywhere; }
.platform-card + .platform-card{ margin-top: 20px; }

.platform-title{ font-family: var(--font-display); font-size: clamp(26px,3.6vw,36px); font-weight: 650; }
.platform-sub{ margin-top: 10px; color: var(--ink-1); font-size: 15px; line-height: 1.6; }

.field{ margin-bottom: 18px; }
.field label{ display:block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--ink-1); }
.field .helptext{ margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.field .errorlist{ list-style:none; margin: 6px 0 0; padding: 0; color: #e5484d; font-size: 12.5px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="url"],
.field input[type="tel"],
.field select,
.field textarea{
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-0);
  background: var(--bg-1);
  color: var(--ink-0);
  font-size: 14.5px;
  font-family: var(--font-body);
}
.field input[type="color"]{ width: 64px; height: 44px; padding: 4px; border-radius: 10px; border: 1px solid var(--line-0); background: var(--bg-1); }
.field input[type="file"]{ padding: 10px 0; border: none; color: var(--ink-1); font-size: 13.5px; }
.field input[type="file"]::file-selector-button{
  padding: 10px 16px;
  margin-right: 14px;
  border-radius: 10px;
  border: 1px solid var(--line-0);
  background: var(--glass-fill-strong);
  color: var(--ink-0);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover{ background: var(--ink-0); color: var(--bg-0); }
.field textarea{ resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--ink-2); }

.form-row{ display:flex; gap:12px; margin-top: 8px; }

.otp-input{ letter-spacing: 10px; font-size: 24px; text-align: center; font-family: var(--font-display); }

.theme-radio-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (max-width: 560px){ .theme-radio-grid{ grid-template-columns: 1fr; } }
.theme-radio{ position: relative; border: 1px solid var(--line-0); border-radius: 14px; padding: 18px; cursor: pointer; }
.theme-radio input{ position: absolute; top: 16px; right: 16px; accent-color: var(--ink-0); }
.theme-radio.is-checked{ border-color: var(--ink-1); }
.theme-swatch{ display: inline-block; width: 32px; height: 32px; border-radius: 50%; margin-bottom: 12px; border: 1px solid var(--line-0); }
.theme-radio h4{ font-family: var(--font-display); font-size: 15px; font-weight: 650; }
.theme-radio p{ margin-top: 4px; font-size: 13px; color: var(--ink-2); }

#templatesSection{ scroll-margin-top: 96px; }
.category-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; max-width: 920px; margin-left: auto; margin-right: auto; }
.category-card{ text-align: left; background: none; border: 1px solid var(--line-0); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: border-color var(--dur-fast), transform var(--dur-fast); padding: 0; }
.category-card:hover{ transform: translateY(-3px); border-color: var(--ink-1); }
.category-card-preview{ display: flex; aspect-ratio: 16/9; background: var(--bg-2); }
.category-card-preview img, .category-card-preview-swatch{ flex: 1 1 0; width: 0; height: 100%; object-fit: cover; object-position: top; }
.category-card-body{ padding: 18px 20px 4px; }
.category-card-body h4{ font-family: var(--font-display); font-size: 17px; font-weight: 650; }
.category-card-body p{ margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.category-card-arrow{ display:block; padding: 10px 20px 20px; font-size: 13px; font-weight: 650; color: var(--ink-1); }

.templates-panel.is-hidden, .category-grid.is-hidden{ display: none; }
.back-link{ background: none; border: none; padding: 0; font-size: 13.5px; font-weight: 650; color: var(--ink-1); cursor: pointer; }
.back-link:hover{ color: var(--ink-0); }
.templates-panel-title{ font-family: var(--font-display); font-size: 20px; font-weight: 650; margin-top: 14px; }

.template-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 18px; }
.template-card{ position: relative; display: block; border: 1px solid var(--line-0); border-radius: 16px; overflow: hidden; cursor: pointer; transition: border-color var(--dur-fast), transform var(--dur-fast); }
.template-card:hover{ transform: translateY(-3px); }
.template-card.is-checked{ border-color: var(--ink-0); box-shadow: 0 0 0 2px var(--ink-0); }
.template-card input{ position: absolute; top: 12px; right: 12px; z-index: 2; accent-color: var(--ink-0); }
.template-card-preview{ display: block; position: relative; aspect-ratio: 4/3; background: var(--bg-2); overflow: hidden; }
.template-card-body .btn.is-selected{ background: #1c8c63; color: #fff; pointer-events: none; }
.template-card-preview img{ width:100%; height:100%; object-fit: cover; object-position: top; }
.template-card-preview-placeholder{ width:100%; height:100%; }
.template-card-preview-link{
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  padding: 8px 16px; border-radius: 999px;
  background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 650;
  white-space: nowrap; opacity: 0; transition: opacity var(--dur-fast);
}
.template-card-preview:hover .template-card-preview-link{ opacity: 1; }
.template-card-body{ padding: 14px 16px 16px; }
.template-card-body h4{ font-family: var(--font-display); font-size: 14.5px; font-weight: 650; }
.template-card-body p{ margin-top: 4px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }

.section-row{ display:flex; align-items:flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-1); }
.section-row:last-child{ border-bottom: none; }
.section-row-toggle{ flex: none; padding-top: 4px; }
.section-row-toggle input{ width: 18px; height: 18px; accent-color: var(--ink-0); }

.field-checkbox{ margin-top: 18px; }
.checkbox-label{ display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-1); cursor: pointer; }
.checkbox-label input{ width: 17px; height: 17px; flex: none; margin-top: 2px; accent-color: var(--ink-0); }
.checkbox-label a{ color: var(--ink-0); text-decoration: underline; }
.section-row-body{ flex: 1; }
.section-row-body h4{ font-family: var(--font-display); font-size: 15px; font-weight: 650; }
.section-row-move{ display:flex; flex-direction: column; gap: 4px; }
.section-row-move button{ width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-0); background: var(--glass-fill); font-size: 12px; }

.image-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(110px,1fr)); gap: 12px; margin-top: 20px; }
.image-tile{ position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-0); }
.image-tile img{ width:100%; height:100%; object-fit:cover; }
.image-tile form{ position:absolute; top:6px; right:6px; }
.image-tile button{ width:24px; height:24px; border-radius:50%; background:rgba(0,0,0,.6); color:#fff; font-size:12px; border:none; }

.quota-bar{ margin-top: 10px; height: 6px; border-radius: 4px; background: var(--line-0); overflow: hidden; }
.quota-bar-fill{ height:100%; background: var(--ink-0); }
.quota-label{ margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }

.dash-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 720px){ .dash-grid{ grid-template-columns: 1fr; } }
.dash-stat{ padding: 20px; border-radius: 14px; }
.dash-stat-label{ font-size: 12px; text-transform:uppercase; letter-spacing:.07em; color: var(--ink-2); }

/* Bold filled "hero" stat — the one number that should pop, like Visits today */
.dash-stat.is-accent{ background: var(--dash-accent); border-color: var(--dash-accent); }
.dash-stat.is-accent .dash-stat-label{ color: rgba(255,255,255,.72); }
.dash-stat.is-accent .dash-stat-value{ color: #fff; }
.dash-stat.is-accent .trend-arrow{ color: rgba(255,255,255,.85) !important; }

/* Generic responsive grids for pairing cards of unequal weight, Donezo-style */
.dash-grid-2{ display:grid; grid-template-columns: 2fr 1fr; gap: 18px; align-items: start; }
.dash-grid-2-even{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.dash-grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: start; }
.account-stats{ display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 860px){ .account-stats{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .account-stats{ grid-template-columns: 1fr; } }
.account-stat{ padding: 22px 24px; border-radius: 16px; }
.account-stat-label{ font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.account-stat-value{ margin-top: 10px; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--ink-0); }
.account-stat-plans{ display: flex; flex-direction: column; }
.plan-breakdown{ margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.plan-chip{ display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-1); }
.plan-chip strong{ margin-left: auto; font-weight: 700; color: var(--ink-0); }
.plan-dot{ width: 8px; height: 8px; border-radius: 50%; flex: none; }
.plan-dot.is-starter{ background: #8a8f98; }
.plan-dot.is-business{ background: var(--dash-accent, #17754f); }
.plan-dot.is-pro{ background: #c9a227; }
.plan-chip.is-muted{ color: var(--ink-2); font-size: 12px; margin-top: 2px; }

.dash-grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 860px){ .dash-grid-2, .dash-grid-2-even, .dash-grid-3{ grid-template-columns: 1fr; } }
@media (max-width: 720px){ .dash-grid-4{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .dash-grid-4{ grid-template-columns: 1fr; } }

/* ---------- Dashboard: analytics ---------- */
.dash-section{ margin-top: 28px; }
.dash-section-title{ font-family: var(--font-display); font-weight: 650; font-size: 17px; margin-bottom: 16px; }

.dash-two-col{ display:grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px){ .dash-two-col{ grid-template-columns: 1fr; } }

.trend-arrow{ display:inline-flex; align-items:center; gap:3px; font-size:12.5px; font-weight:650; margin-left:8px; }
.trend-arrow.is-up{ color: var(--dash-accent); }
.trend-arrow.is-down{ color:#e5484d; }

.chart-card{ padding: 26px 26px 22px; border-radius: var(--radius-lg); }
.chart-card-head{ display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.chart-card canvas{ max-height: 220px; }

.health-card{ padding: 26px; border-radius: var(--radius-lg); display:flex; gap:26px; align-items:center; flex-wrap:wrap; }
.health-ring{
  --score: 0;
  position: relative;
  flex: none;
  width: 116px; height: 116px; border-radius: 50%;
  background: conic-gradient(var(--dash-accent) calc(var(--score) * 1%), var(--line-0) 0);
  box-shadow: 0 0 0 6px var(--dash-accent-soft);
}
.health-ring::before{
  content:''; position:absolute; inset: 10px; border-radius: 50%; background: var(--bg-1);
}
.health-ring-value{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size: 26px; z-index:1;
}
.health-ring-value small{ font-size:10.5px; font-weight:600; color: var(--ink-2); text-transform:uppercase; letter-spacing:.05em; }
.health-checklist{ list-style:none; margin:0; padding:0; flex:1; min-width:200px; display:flex; flex-direction:column; gap:10px; }
.health-checklist li{ display:flex; align-items:center; gap:10px; font-size:13.5px; color: var(--ink-1); }
.health-checklist li.is-done{ color: var(--ink-2); text-decoration: line-through; }
.health-check-dot{ flex:none; width:18px; height:18px; border-radius:50%; border:1.5px solid var(--line-0); display:flex; align-items:center; justify-content:center; }
.health-checklist li.is-done .health-check-dot{ background: var(--dash-accent); border-color: var(--dash-accent); }
.health-checklist li.is-done .health-check-dot::after{ content:'✓'; color:#fff; font-size:11px; line-height:1; }
.health-checklist-cta{ margin-top: 4px; align-self: flex-start; }

.benchmark-card{ padding: 26px; border-radius: var(--radius-lg); }
.benchmark-row{ margin-top: 18px; }
.benchmark-row:first-of-type{ margin-top: 0; }
.benchmark-row-label{ font-size:13px; font-weight:600; color: var(--ink-1); margin-bottom:8px; }
.benchmark-bars{ display:flex; flex-direction:column; gap:6px; }
.benchmark-bar-track{ height: 9px; border-radius: 5px; background: var(--line-1); overflow:hidden; }
.benchmark-bar-fill{ height:100%; border-radius:5px; }
.benchmark-bar-fill.is-you{ background: var(--dash-accent); }
.benchmark-bar-fill.is-avg{ background: var(--ink-2); }
.benchmark-bar-caption{ font-size:11.5px; color: var(--ink-2); display:flex; justify-content:space-between; }
.benchmark-empty{ font-size: 13.5px; color: var(--ink-2); }

.milestone-row{ display:flex; flex-direction:column; gap:8px; }
.milestone-chip{
  display:flex; align-items:center; gap:10px; padding: 10px 14px; border-radius:12px;
  border: 1px solid var(--line-0); font-size: 13px; font-weight:600; color: var(--ink-2);
}
.milestone-chip.is-done{ color: var(--ink-0); border-color: var(--dash-accent); background: var(--dash-accent-soft); }
.milestone-chip-icon{ font-size:15px; flex:none; }

/* Bold accent card for the most important recurring action, Donezo-style punch */
.dash-quick-actions{
  padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--dash-accent), color-mix(in srgb, var(--dash-accent) 70%, #000));
  color: #fff;
  display: flex; flex-direction: column; height: 100%;
}
.dash-quick-actions h3{ font-family: var(--font-display); font-weight: 650; font-size: 16px; color: #fff; }
.dash-quick-actions p{ margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.5; }
.dash-quick-actions-links{ display:flex; flex-direction:column; gap: 10px; margin-top: 18px; }
.dash-quick-actions-links a{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.14);
  font-size: 13.5px; font-weight: 650; color: #fff;
}
.dash-quick-actions-links a:hover{ background: rgba(255,255,255,.22); }

.insight-card{ margin-top: 16px; padding: 16px 20px; border-radius: 12px; background: var(--glass-fill); border: 1px dashed var(--line-0); font-size: 13.5px; color: var(--ink-1); }
.dash-stat-value{ margin-top: 8px; font-family: var(--font-display); font-size: 26px; font-weight: 700; }

.status-pill{ display:inline-flex; align-items:center; gap:6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 650; border: 1px solid var(--line-0); }
.status-pill.is-active{ background: var(--ink-0); color: var(--bg-0); border-color: var(--ink-0); }
.status-pill.is-warning{ border-color: #e5484d; color: #e5484d; }

.banner{ margin-top: 20px; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line-0); background: var(--glass-fill); font-size: 14px; color: var(--ink-1); }
.banner.is-warning{ border-color: #e5484d; }

.builder-steps{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 28px; }
.builder-steps a, .builder-steps span{ padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-0); font-size: 13px; font-weight: 600; color: var(--ink-1); }
.builder-steps a.is-active{ background: var(--ink-0); color: var(--bg-0); border-color: var(--ink-0); }
.builder-steps span.is-disabled{ color: var(--ink-2); opacity: .5; border-style: dashed; }

.messages{ list-style:none; margin: 0 0 20px; padding: 0; display:flex; flex-direction:column; gap: 8px; }
.messages li{ padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-0); font-size: 13.5px; background: var(--glass-fill); }
.messages li.error{ border-color: #e5484d; color: #e5484d; }
.messages li.success{ border-color: var(--ink-1); }

.dev-code-box{ margin-top: 16px; padding: 14px 18px; border-radius: 10px; background: var(--glass-fill); border: 1px dashed var(--line-0); font-size: 13px; color: var(--ink-1); }
.dev-code-box strong{ font-family: var(--font-display); font-size: 18px; letter-spacing: 4px; }

.plan-teaser-row{ display:flex; flex-wrap:wrap; justify-content:center; gap: 12px; margin-top: 22px; }
.plan-teaser-chip{ display:flex; align-items:baseline; gap: 8px; padding: 10px 18px; border: 1px solid var(--line-0); border-radius: 999px; }
.plan-teaser-chip strong{ font-family: var(--font-display); font-size: 14px; font-weight: 650; }
.plan-teaser-chip span{ font-size: 13.5px; color: var(--ink-1); }
.plan-teaser-chip small{ color: var(--ink-2); }

.cycle-toggle{ display:flex; justify-content:center; gap: 6px; margin: 28px auto 0; padding: 5px; width: fit-content; border: 1px solid var(--line-0); border-radius: var(--radius-pill); }
.cycle-toggle-btn{ padding: 9px 18px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 650; color: var(--ink-1); display:flex; align-items:center; gap: 8px; }
.cycle-toggle-btn.is-active{ background: var(--ink-0); color: var(--bg-0); }
.cycle-toggle-badge{ font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--accent, #1c8c63); color: #fff; }
.cycle-toggle-btn.is-active .cycle-toggle-badge{ background: rgba(255,255,255,.2); }

.plan-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 24px; }
@media (max-width: 640px){ .plan-grid{ grid-template-columns: 1fr; } }
.platform-card.is-popular{ border-color: var(--ink-0); position: relative; }
.plan-popular-badge{
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ink-0); color: var(--bg-0); font-size: 11.5px; font-weight: 700;
  padding: 5px 14px; border-radius: var(--radius-pill); white-space: nowrap;
}
.plan-price-sub{ margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }

.store-list-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 18px; }
.store-list-card{
  display:block; cursor:pointer; padding: 22px; border-top: 3px solid transparent;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.store-list-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 34px -16px rgba(0,0,0,.4); }
.store-list-card.is-live{ border-top-color: #1c8c63; }
.store-list-card.is-past-due{ border-top-color: #e5484d; }
.store-list-card-top{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.store-list-avatar{
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--glass-fill-strong, rgba(255,255,255,.08)); border: 1px solid var(--line-0);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-0);
}
.status-pill.is-muted{ color: var(--ink-2); }
.store-list-card-name{
  margin-top: 16px; font-family: var(--font-display); font-weight: 650; font-size: 17px; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.store-list-card-url{ margin-top: 4px; font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-list-card-meta{ margin-top: 12px; display:flex; align-items:center; gap: 6px; font-size: 12.5px; color: var(--ink-1); }
.store-list-card-dot{ color: var(--ink-2); }
.store-list-card-new{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 12px;
  border: 1px dashed var(--line-0); color: var(--ink-2); font-weight: 650; min-height: 160px;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.store-list-card-new:hover{ border-color: var(--ink-0); color: var(--ink-0); }
.store-list-card-new-icon{
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-0);
  display:flex; align-items:center; justify-content:center;
}
.store-list-card-new-icon svg{ width: 16px; height: 16px; }
.plan-price{ margin-top: 14px; font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.plan-price small{ font-size: 13px; font-weight: 500; color: var(--ink-2); }
.plan-features{ margin: 16px 0; padding: 0; list-style: none; display:flex; flex-direction:column; gap:8px; }
.plan-features li{ font-size: 13.5px; color: var(--ink-1); }

.public-store{ min-height: 100vh; }
.public-store-hero{ padding: 90px 0 60px; text-align:center; }
.public-store-logo{ width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; display:block; }
.public-store-name{ font-family: var(--store-font, var(--font-display)); font-size: clamp(32px,5vw,52px); font-weight: 700; }
.public-store-tagline{ margin-top: 12px; font-size: 17px; color: var(--ink-1); }
.public-store-section{ padding: 48px 0; border-top: 1px solid var(--line-1); }
.public-store-section h2{ font-family: var(--store-font, var(--font-display)); font-size: 24px; font-weight: 650; margin-bottom: 14px; }
.public-store-gallery{ display:grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; }
.public-store-gallery img{ width:100%; aspect-ratio:1; object-fit:cover; border-radius: 12px; }
.public-store-socials{ display:flex; gap:12px; flex-wrap:wrap; }
.public-store-footer{ padding: 30px 0; text-align:center; font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--line-1); }
.public-store-footer a{ color: var(--ink-1); font-weight: 600; }

.paused-page{ min-height: 70vh; display:flex; align-items:center; justify-content:center; text-align:center; padding: 40px 20px; }

/* ---------- Store preview watermark ---------- */
.preview-banner{
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--ink-0);
  color: var(--bg-0);
  font-size: 12.5px;
  font-weight: 650;
  text-align: center;
}
.preview-banner a{ text-decoration: underline; }
.preview-watermark{
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='200'><text x='160' y='100' transform='rotate(-28 160 100)' font-family='Arial, sans-serif' font-size='34' font-weight='700' fill='%23808080' text-anchor='middle'>PREVIEW</text></svg>");
  background-repeat: repeat;
  background-size: 320px 200px;
}

/* ---------- Explore directory ---------- */
.explore-search{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap: 10px; max-width: 640px; margin-left:auto; margin-right:auto; }
.explore-search-input{ flex: 1 1 280px; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-0); background: var(--bg-0); color: var(--ink-0); font-size: 13.5px; }
.explore-search-input:focus{ outline:none; border-color: var(--ink-2); }
.explore-card-meta{ margin-top: 10px; display:flex; justify-content:center; gap: 12px; font-size: 12px; color: var(--ink-2); }

.explore-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 18px; margin-top: 32px; }
.explore-card{ position: relative; padding: 26px; text-align: center; transition: transform var(--dur-fast) var(--ease-out); }
.explore-card:hover{ transform: translateY(-4px); }
.explore-card-badge{ position: absolute; top: 14px; right: 14px; margin-top: 0; padding: 4px 10px; font-size: 10.5px; }
.explore-card-logo{ width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; display:block; }
.explore-card-logo-placeholder{ display:flex; align-items:center; justify-content:center; background: var(--glass-fill-strong); font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink-0); }
.explore-card h3{ font-family: var(--font-display); font-size: 16px; font-weight: 650; }
.explore-card-category{ margin-top: 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.explore-card-tagline{ margin-top: 10px; font-size: 13px; color: var(--ink-1); line-height: 1.5; }

/* ---------- Platform footer ---------- */
.platform-footer{ margin-top: 80px; padding: 28px 0; border-top: 1px solid var(--line-0); }
.platform-footer-inner{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-2); }
.platform-footer-links{ display: flex; gap: 18px; }
.platform-footer-links a{ color: var(--ink-2); }
.platform-footer-links a:hover{ color: var(--ink-0); }

/* ---------- Legal pages ---------- */
.legal-page h2{ margin-top: 28px; margin-bottom: 8px; font-family: var(--font-display); font-size: 17px; font-weight: 650; }
.legal-page h2:first-child{ margin-top: 0; }
.legal-page p{ font-size: 14.5px; line-height: 1.75; color: var(--ink-1); margin-top: 8px; }
.legal-page ul{ margin: 8px 0 0 20px; padding: 0; }
.legal-page li{ font-size: 14.5px; line-height: 1.75; color: var(--ink-1); margin-top: 4px; }
.legal-page a{ color: var(--ink-0); text-decoration: underline; }
