:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg: #f6f8fb;
  --card: #ffffff;
  --brand: #0f766e;
  --brand-2: #14b8a6;
  --brand-soft: #ccfbf1;
  --accent: #f59e0b;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --success: #047857;
  --success-soft: #ecfdf5;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }

code, pre { font-family: var(--mono); }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 780px; }

.muted { color: var(--muted); }
.right { text-align: right; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.brand-text b { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.inline-form { display: inline; margin: 0; }

.link-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.link-button:hover { color: var(--ink); }
.link-button.danger { color: var(--danger); }
.link-button.danger:hover { color: #b91c1c; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.18);
}
.btn-primary:hover { background: #0b5f59; color: #fff; }

.btn-secondary {
  background: var(--ink);
  color: #fff;
}
.btn-secondary:hover { background: #1e293b; color: #fff; }

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--line-strong); background: #fbfdff; color: var(--ink); }

.btn-large { padding: 13px 22px; font-size: 15px; }
.btn-small { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.btn-block { width: 100%; }

.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px auto 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.flash-success { background: var(--success-soft); border-color: #a7f3d0; color: #065f46; }
.flash-error { background: var(--danger-soft); border-color: #fecaca; color: #991b1b; }
.flash-close { border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; }

.hero {
  background:
    radial-gradient(900px 420px at 15% -10%, #ccfbf1 0%, transparent 60%),
    radial-gradient(700px 360px at 90% 10%, #e0f2fe 0%, transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #f6f8fb 100%);
  border-bottom: 1px solid var(--line);
  padding: 68px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.hero h1 { font-size: clamp(2.5rem, 5.1vw, 4rem); }
.hero-lede { color: var(--muted); font-size: 18px; max-width: 560px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 14px; color: var(--muted-2); font-size: 13px; }

.hero-card {
  background: #0b1220;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  transform: rotate(0.4deg);
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }
.terminal-title { margin-left: 8px; color: #94a3b8; font-size: 12px; font-family: var(--mono); }

.terminal {
  margin: 0;
  padding: 20px;
  color: #d1fae5;
  font-size: 12.5px;
  line-height: 1.8;
  overflow-x: auto;
}

.terminal-foot {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.pill-green { background: var(--success-soft); border-color: #a7f3d0; color: var(--success); }
.terminal-foot .pill { background: rgba(255,255,255,0.06); border-color: rgba(148,163,184,0.2); color: #94a3b8; }
.terminal-foot .pill-green { color: #6ee7b7; border-color: rgba(110,231,183,0.25); background: rgba(16,185,129,0.1); }

.section { padding: 72px 0; }
.section-soft { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding-top: 36px; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2 { margin-bottom: 8px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 4px 7px;
  margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; font-size: 14px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  margin-bottom: 14px;
}
.feature p { color: var(--muted); font-size: 14px; margin: 0; }
.feature code { font-size: 12px; background: #f1f5f9; padding: 1px 4px; border-radius: 4px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

.quote-card {
  background: var(--ink);
  color: #e2e8f0;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
.quote { font-size: 20px; line-height: 1.6; margin-bottom: 18px; color: #f8fafc; }
.quote-by { margin: 0; color: #94a3b8; font-size: 13px; }

.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.demo-banner h2 { margin-bottom: 4px; }
.demo-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 24px 0;
  margin-top: 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); }

/* Dashboard subnav */
.dashboard-subnav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.subnav-inner { display: flex; align-items: center; gap: 22px; min-height: 48px; overflow-x: auto; }
.subnav-inner a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 13px 0 11px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.subnav-inner a:hover, .subnav-inner a.active { color: var(--ink); border-bottom-color: var(--brand); }
.subnav-spacer { flex: 1; }
.subnav-store { color: var(--brand) !important; }

.dashboard-page { padding: 36px 0 72px; }
.page-head { margin-bottom: 26px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 14px; margin-bottom: 24px; }
.stat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.stat-label { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.stat-card strong { display: block; font-size: 30px; letter-spacing: -0.03em; line-height: 1.2; }
.stat-foot { display: block; color: var(--muted-2); font-size: 12px; margin-top: 4px; }
.stat-good strong { color: var(--success); }
.stat-bad strong { color: var(--danger); }
.stat-warn strong { color: #b45309; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { font-size: 17px; margin: 0; }

.copy-row {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}
.copy-row > span { color: var(--muted); font-weight: 600; }
.copy-row code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #f8fafc; padding: 6px 8px; border-radius: 6px; border: 1px solid var(--line); }

.code-block { margin-top: 16px; border: 1px solid #1e293b; border-radius: 12px; overflow: hidden; background: #0b1220; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; color: #94a3b8; font-size: 12px; border-bottom: 1px solid rgba(148,163,184,0.15); }
.code-head .btn { background: transparent; border-color: rgba(148,163,184,0.25); color: #cbd5e1; }
.code-block pre { margin: 0; padding: 14px; overflow-x: auto; color: #d1fae5; font-size: 12px; line-height: 1.7; }

.mini-list { display: flex; flex-direction: column; }
.mini-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mini-item:last-child { border-bottom: 0; }
.mini-item strong { display: block; font-size: 14px; }
.mini-item .muted { font-size: 12px; }
.price { font-weight: 700; font-size: 14px; white-space: nowrap; }

.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 600; background: #f1f5f9; color: var(--muted); white-space: nowrap; }
.badge-new { background: #e0f2fe; color: #075985; }
.badge-contacted { background: #fef3c7; color: #92400e; }
.badge-closed { background: #f1f5f9; color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 0 -4px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 680px; }
.table th { text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 12px; border-bottom: 1px solid #eef2f7; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table-compact td, .table-compact th { padding: 8px 10px; }
.row-error td { background: #fff7f7; }

.empty-state { text-align: center; padding: 42px 20px; }
.empty-icon { font-size: 34px; color: var(--muted-2); margin-bottom: 10px; }
.empty-state h2 { font-size: 20px; }
.empty-state p { max-width: 460px; margin: 0 auto 18px; }
.empty-small { padding: 18px 0; color: var(--muted); font-size: 14px; }
.empty-small p { margin-bottom: 10px; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form-card { padding: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field > span { color: var(--ink-2); }
.field small { color: var(--muted-2); font-weight: 400; font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}
.field textarea { resize: vertical; }
.req { color: var(--danger); }
.input-prefix { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.input-prefix > span { padding: 10px 10px 10px 12px; color: var(--muted); font-family: var(--mono); font-size: 13px; background: #f8fafc; border-right: 1px solid var(--line); }
.input-prefix input { border: 0; border-radius: 0; box-shadow: none; }
.input-prefix input:focus { box-shadow: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.form-error { background: var(--danger-soft); border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.hint { color: var(--muted-2); font-size: 12px; margin: 12px 0 0; }

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 14px;
  padding: 34px 20px;
  text-align: center;
  cursor: pointer;
  background: #fbfdff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.upload-box:hover { border-color: var(--brand-2); background: #f0fdfa; }
.upload-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 4px; }
.upload-box input { display: none; }
.upload-box strong { font-size: 14px; }

.field-list { display: flex; flex-direction: column; }
.field-list-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef2f7; font-size: 13px; }
.field-list-row:last-child { border-bottom: 0; }

.mapping-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.mapping-field { background: #fbfdff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.publish-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.checkbox input { width: 16px; height: 16px; accent-color: var(--brand); }

.inquiry-list { display: flex; flex-direction: column; }
.inquiry-item { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.inquiry-item:last-child { border-bottom: 0; }
.inquiry-main { min-width: 0; }
.inquiry-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inquiry-head strong { font-size: 15px; }
.inquiry-meta { display: flex; gap: 6px; color: var(--muted); font-size: 13px; margin-top: 4px; flex-wrap: wrap; }
.inquiry-message { margin: 8px 0 0; color: var(--ink-2); font-size: 13px; background: #f8fafc; border-radius: 8px; padding: 10px 12px; }
.inquiry-actions { display: flex; align-items: flex-start; gap: 8px; }
.inquiry-actions select { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 12px; background: #fff; }

.auth-wrap { min-height: calc(100vh - 180px); display: flex; align-items: center; justify-content: center; padding: 56px 20px; }
.auth-card { width: min(440px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 28px; }
.auth-hint { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.auth-hint code { background: #f1f5f9; padding: 2px 5px; border-radius: 4px; }

.store-hero { background: linear-gradient(180deg, #ecfdf5 0%, #f6f8fb 100%); border-bottom: 1px solid var(--line); padding: 52px 0 36px; }
.store-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.store-badges { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.store-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.store-desc { color: var(--ink-2); max-width: 620px; font-size: 16px; margin-bottom: 10px; }
.store-meta { font-size: 13px; }
.store-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.store-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.search-wrap { position: relative; flex: 1; max-width: 460px; }
.search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: 18px; }
.search-wrap input { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 11px 14px 11px 38px; font: inherit; font-size: 14px; }
.search-wrap input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(20,184,166,0.12); }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease; display: flex; flex-direction: column; }
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.offer-media { position: relative; height: 150px; background: linear-gradient(135deg, #ccfbf1, #e0f2fe); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-placeholder { font-size: 42px; font-weight: 800; color: rgba(15, 118, 110, 0.35); }
.offer-category { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,0.92); color: var(--ink-2); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.offer-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.offer-body h2 { font-size: 16px; margin-bottom: 6px; }
.offer-desc { color: var(--muted); font-size: 13px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--muted-2); font-size: 11.5px; margin-bottom: 14px; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.offer-price strong { font-size: 20px; letter-spacing: -0.02em; }
.offer-price span { color: var(--muted); font-size: 12px; }

.tool-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.tool-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.tool-list code { color: var(--brand); font-size: 12px; }
.tool-list span { color: var(--muted); }

.success-box { background: var(--success-soft); border: 1px solid #a7f3d0; border-radius: 12px; padding: 14px 16px; margin: 16px 0; color: #065f46; }
.success-box p { margin: 4px 0 0; }

.error-page { padding: 80px 0; }
.error-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 48px 24px; box-shadow: var(--shadow-sm); }
.error-code { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--danger); background: var(--danger-soft); border-radius: 6px; padding: 4px 8px; margin-bottom: 14px; }

@media (max-width: 960px) {
  .hero-grid, .split, .grid-2 { grid-template-columns: 1fr; }
  .hero-card { transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .page-head-row { align-items: flex-start; flex-direction: column; }
  .store-hero-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-inner { min-height: 58px; }
  .nav-links { gap: 12px; font-size: 13px; }
  .nav-links .btn { display: none; }
  .hero { padding: 44px 0 52px; }
  .hero-lede { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 48px 0; }
  .feature-grid, .offer-grid, .mapping-grid, .form-row, .stat-grid, .stat-grid-4 { grid-template-columns: 1fr; }
  .demo-banner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .copy-row { grid-template-columns: 1fr auto; }
  .copy-row > span { grid-column: 1 / -1; }
  .publish-bar { flex-direction: column; align-items: stretch; }
  .inquiry-item { flex-direction: column; }
  .inquiry-actions { justify-content: flex-start; }
  .store-toolbar { align-items: stretch; flex-direction: column; }
  .search-wrap { max-width: none; }
  .card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.nav-links .create-store,.nav-links .create-store:hover,.nav-links .create-store:visited {
  display:inline-flex; align-items:center; justify-content:center; min-height:42px;
  padding:8px 17px; color:white; background:#075e52; font-size:16px; font-weight:700; white-space:nowrap;
}
.nav-links .create-store:focus-visible { outline:3px solid #e9a33d; outline-offset:3px; }
@media(max-width:540px){.nav-inner{flex-wrap:wrap;gap:5px;padding-block:7px}.nav-links{flex-wrap:wrap}.nav-links .create-store{padding:7px 10px}}
