:root {
  --bg: #ffffff;
  --soft: #f3f6fa;
  --soft-2: #eef2f7;
  --ink: #07111f;
  --muted: #526070;
  --line: #d7dee8;
  --navy: #061832;
  --navy-2: #081f42;
  --blue: #006ef5;
  --blue-2: #005bd0;
  --blue-soft: #e8f1ff;
  --green: #25b967;
  --warning: #f1b93c;
}
* { letter-spacing: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
a:hover { color: var(--blue-2); }
.app-container { max-width: 1168px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; }
.muted { color: var(--muted); }
.btn { border-radius: 7px; font-weight: 700; border-width: 1px; box-shadow: none !important; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--blue-2); border-color: var(--blue-2); }
.btn-outline-dark { border-color: #12345e; color: #12345e; }
.btn-outline-dark:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }

.navbar-wdm { min-height: 58px; padding: 0; background: #fff; border-bottom: 1px solid var(--line); }
.brand-lockup { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; width: 188px; height: 45px; object-fit: contain; }
.brand-pin { display: inline-flex; align-items: center; justify-content: center; color: #2f5f8e; }
.brand-pin.mini { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 18px; }
.brand-name { color: var(--ink); font-size: 16px; font-weight: 800; }
.nav-link { padding: 8px 10px !important; color: var(--ink); font-size: 13px; font-weight: 600; }
.nav-link:hover { color: var(--blue); }
.navbar-toggler { border: 0; }
.flash-wrap { margin-top: 1rem; }

.hero-stitch { padding: 0 10px 52px; background: #fff; }
.hero-panel { position: relative; min-height: 470px; overflow: hidden; display: grid; grid-template-columns: 1fr 430px; gap: 36px; align-items: center; padding: 76px 110px; border-radius: 14px; background: radial-gradient(circle at 80% 20%, #153767 0, transparent 32%), linear-gradient(135deg, #06152c, #071d3e 58%, #041125); color: #fff; }
.hero-copy h1 { max-width: 540px; margin: 0 0 18px; font-size: clamp(46px, 6vw, 72px); }
.hero-copy p { max-width: 485px; margin: 0 0 24px; color: rgba(255,255,255,.83); font-size: 17px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.phone-demo { display: flex; justify-content: center; transform: rotate(9deg); }
.phone-shell { width: 252px; padding: 10px; border-radius: 38px; background: #0b0f16; box-shadow: 0 34px 65px rgba(0,0,0,.42); }
.phone-screen { min-height: 455px; padding: 18px 14px; border-radius: 30px; background: #f5f7fb; color: var(--ink); }
.phone-top { width: 80px; height: 18px; margin: 0 auto -21px; border-radius: 0 0 14px 14px; background: #0b0f16; position: relative; z-index: 2; }
.phone-header { margin: 2px 0 12px; padding: 14px 12px; border-radius: 20px; background: #fff; color: var(--ink); text-align: center; font-size: 13px; font-weight: 800; }
.phone-header img { width: 158px; max-width: 100%; height: auto; }
.qr-card { margin: -12px auto 12px; width: 162px; padding: 10px; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 10px 28px rgba(16,30,52,.18); }
.qr-card span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 700; }
.qr-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.qr-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.qr-grid i { aspect-ratio: 1; background: #101010; border-radius: 1px; }
.qr-grid i:nth-child(3n), .qr-grid i:nth-child(5n) { background: transparent; }
.qr-grid.large { grid-template-columns: repeat(8, 1fr); gap: 5px; width: min(260px, 80vw); margin: 24px auto; }
.qr-grid.large i { border-radius: 2px; }
.chat-bubble { margin: 10px 0; padding: 10px 12px; border-radius: 13px; font-size: 12px; line-height: 1.35; }
.chat-bubble.owner { background: #e8eef8; color: #243244; }
.chat-bubble.finder { background: #fff; border: 1px solid var(--line); }
.phone-status { margin-top: 12px; padding: 10px; border-radius: 14px; background: #10213d; color: #fff; font-size: 12px; font-weight: 700; }
.phone-status span { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--green); }

.how-section, .privacy-section, .faq-section, .page-shell { padding: 68px 0; background: #fff; }
.how-section h2, .pricing-section h2, .privacy-section h2, .faq-section h2 { margin: 0 0 32px; text-align: center; font-size: clamp(30px, 4vw, 42px); }
.step-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step-item span { display: block; margin-bottom: 12px; color: #9aa5b2; font-size: 28px; font-weight: 800; }
.step-item h3 { margin: 0 0 8px; font-size: 17px; }
.step-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.pricing-section { padding: 72px 0; background: linear-gradient(180deg, #eef2f7, #f8fafc); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 740px; margin: 0 auto; }
.stitch-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 34px rgba(12,31,58,.08); }
.price-card { position: relative; min-height: 238px; padding: 22px; }
.price-card.selected { border-color: #4f8be8; box-shadow: 0 16px 38px rgba(0,110,245,.14); }
.badge-soft { position: absolute; top: 18px; right: 18px; padding: 5px 8px; border-radius: 999px; background: #dbeafe; color: var(--blue); font-size: 10px; font-weight: 800; }
.price-card h3 { margin: 0 0 4px; font-size: 18px; }
.price-card strong { display: block; margin: 2px 0 16px; font-size: 36px; line-height: 1; }
.price-card ul { margin: 0 0 20px; padding-left: 18px; color: var(--ink); font-size: 13px; line-height: 1.65; }
.price-card .btn { width: 100%; margin-top: auto; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 740px; margin: 0 auto; }
.info-card { min-height: 150px; padding: 22px; box-shadow: none; }
.info-card span { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: var(--soft); color: var(--ink); font-weight: 800; }
.info-card h3 { margin: 0 0 8px; font-size: 17px; }
.info-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.faq-container { max-width: 720px; }
.section-kicker { margin: 0 0 6px; color: #778394; text-align: center; font-size: 13px; font-weight: 700; }
.stitch-accordion .accordion-item { margin-bottom: 8px; overflow: hidden; border: 0; border-radius: 8px; background: transparent; }
.stitch-accordion .accordion-button { min-height: 40px; padding: 10px 18px; border-radius: 8px !important; background: #e9edf2; color: var(--ink); font-size: 14px; font-weight: 800; box-shadow: none; }
.stitch-accordion .accordion-button:not(.collapsed) { background: var(--blue); color: #fff; }
.stitch-accordion .accordion-body { color: var(--muted); font-size: 14px; }

.site-cta { padding: 0; background: #fff; }
.site-cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px 0; background: var(--navy); color: #fff; box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); }
.site-cta-panel h2 { margin: 0; font-size: clamp(25px, 4vw, 34px); }
.footer-wdm { padding: 46px 0 24px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 44px; }
.footer-heading { margin: 0 0 14px; font-size: 13px; font-weight: 800; }
.footer-wdm a { display: block; margin-bottom: 8px; color: var(--ink); text-decoration: none; font-size: 13px; }
.footer-wdm a:hover { color: var(--blue); }
.footer-social { display: flex; justify-content: flex-end; gap: 16px; font-size: 22px; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.auth-shell { background: linear-gradient(180deg, #fff, var(--soft)); }
.auth-layout { display: grid; grid-template-columns: 1fr 420px; gap: 54px; align-items: center; min-height: 520px; }
.auth-copy .section-kicker { text-align: left; }
.auth-copy h1 { margin: 0 0 18px; font-size: clamp(40px, 5vw, 60px); }
.auth-copy p { max-width: 520px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.auth-card { padding: 30px; }
.auth-card h2 { margin: 0 0 8px; font-size: 28px; }
.form-control { border-color: var(--line); border-radius: 8px; }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(0,110,245,.12); }
.alert { border-radius: 10px; }

.app-dashboard { --sidebar-width: 218px; display: grid; grid-template-columns: var(--sidebar-width) 1fr; min-height: 760px; background: #fff; }
.dashboard-sidebar { position: sticky; top: 0; align-self: start; min-height: 100vh; max-height: 100vh; overflow-y: auto; padding: 22px 14px; background: linear-gradient(180deg, #061832, #041124); z-index: 20; }
.side-link { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 12px 14px; border-radius: 9px; color: rgba(255,255,255,.78); text-decoration: none; font-weight: 600; }
.side-link:hover, .side-link.active { background: rgba(255,255,255,.1); color: #fff; }
.side-link.active { box-shadow: inset 3px 0 0 var(--blue); }
.dashboard-main { padding: 46px 42px 70px; }
.dashboard-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.dashboard-topbar h1 { margin: 0; font-size: 34px; }
.items-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.item-card { min-height: 190px; padding: 22px; }
.item-card h2 { min-height: 44px; margin: 0 0 20px; font-size: 22px; }
.toggle-row { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; }
.switch-on { width: 36px; height: 20px; border-radius: 999px; background: var(--blue); position: relative; }
.switch-on::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.item-card .btn { width: 100%; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.metric-card { padding: 22px; }
.metric-card span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.metric-card strong { font-size: 30px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 22px; }
.admin-grid > * { min-width: 0; }
.table-card { padding: 18px; overflow-x: auto; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-heading h2, .status-card h2, .alert-card h2 { margin: 0; font-size: 20px; }
.table { margin: 0; font-size: 13px; }
.table thead th { background: var(--soft); }
.status-pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pill.paid { background: #d8f5e4; color: #16763e; }
.admin-side { display: grid; gap: 18px; align-content: start; }
.status-card, .alert-card { padding: 20px; }
.status-card p { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 0; font-weight: 700; }
.status-card p span { width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: 30px 0 0 -4px var(--green); }
.alert-card p { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.alert-card small { color: var(--muted); }

.sticker-shell { background: linear-gradient(180deg, #fff, var(--soft)); }
.sticker-layout { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; min-height: 560px; }
.sticker-preview { padding: 32px; text-align: center; }
.sticker-preview h1 { margin: 16px 0 0; font-size: 28px; }
.sticker-preview strong { color: var(--blue); font-size: 18px; }
.sticker-copy .section-kicker { text-align: left; }
.sticker-copy h2 { max-width: 620px; margin: 0 0 18px; font-size: clamp(26px, 4vw, 48px); }
.sticker-copy p { max-width: 600px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.public-sticker-copy h2 { font-size: clamp(22px, 5vw, 38px); }
.public-sticker-copy p { font-size: 16px; }

@media (max-width: 991.98px) {
  .hero-panel { grid-template-columns: 1fr; padding: 54px 34px; }
  .phone-demo { transform: none; }
  .step-row, .privacy-grid, .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .auth-layout, .sticker-layout, .admin-grid { grid-template-columns: 1fr; }
  .app-dashboard { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: sticky; top: 0; display: flex; min-height: auto; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 8px; padding: 12px; }
  .side-link { white-space: nowrap; margin: 0; }
  .items-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-social { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
  .hero-stitch { padding-inline: 0; }
  .hero-panel { min-height: auto; border-radius: 0; padding: 44px 22px; }
  .hero-copy h1 { font-size: 44px; }
  .phone-shell { width: 230px; }
  .step-row, .privacy-grid, .pricing-grid, .items-grid, .metrics-grid, .footer-grid { grid-template-columns: 1fr; }
  .how-section, .privacy-section, .faq-section, .page-shell { padding: 52px 0; }
  .dashboard-main { padding: 32px 18px 54px; }
  .dashboard-topbar, .site-cta-panel, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-cta-panel { padding: 32px 0; }
  .sticker-layout { gap: 28px; }
}

/* Stitch content extensions */
.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.hero-lead { max-width: 560px !important; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 700;
}
.section-lead {
  max-width: 680px;
  margin: -18px auto 30px;
  color: var(--muted);
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
}
.card-subtitle { min-height: 38px; margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.details-section { padding: 72px 0; background: #fff; }
.details-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: start; }
.details-layout h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); }
.section-kicker.left { text-align: left; }
.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.details-grid article { padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.details-grid h3 { margin: 0 0 8px; font-size: 18px; }
.details-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Responsive width pass: desktop 16:9 + mobile */
.app-container {
  width: min(1440px, calc(100vw - 64px));
  max-width: none;
}
.hero-stitch { padding: 0 0 clamp(44px, 5vh, 72px); }
.hero-panel {
  min-height: clamp(560px, 68vh, 760px);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .8fr);
  gap: clamp(32px, 5vw, 92px);
  padding: clamp(58px, 7vw, 108px) clamp(56px, 8vw, 132px);
}
.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(52px, 5.4vw, 92px);
}
.hero-copy p,
.hero-lead {
  max-width: 680px !important;
  font-size: clamp(17px, 1.2vw, 21px);
}
.phone-shell { width: clamp(250px, 19vw, 326px); }
.phone-screen { min-height: clamp(455px, 34vw, 580px); }
.pricing-grid,
.privacy-grid {
  max-width: 1040px;
  gap: clamp(18px, 2vw, 28px);
}
.step-row { gap: clamp(20px, 3vw, 46px); }
.details-layout { grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); gap: clamp(36px, 5vw, 84px); }
.faq-container { width: min(900px, calc(100vw - 64px)); max-width: none; }
.site-cta-panel { padding: clamp(42px, 5vw, 64px) 0; }

@media (min-width: 1500px) {
  .app-container { width: min(1520px, calc(100vw - 96px)); }
  .hero-panel { border-radius: 18px; }
}
@media (max-width: 1199.98px) {
  .app-container { width: min(calc(100% - 40px), 1140px); }
  .hero-panel {
    min-height: 540px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    padding: 58px 46px;
  }
  .hero-copy h1 { font-size: clamp(46px, 5.8vw, 66px); }
}
@media (max-width: 991.98px) {
  .app-container { width: min(calc(100% - 32px), 720px); }
  .hero-panel {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 52px 32px 46px;
  }
  .hero-copy h1 { max-width: 620px; }
  .phone-demo { justify-content: center; }
  .phone-shell { width: min(300px, 76vw); }
  .phone-screen { min-height: 500px; }
  .details-layout { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .app-container { width: min(calc(100% - 24px), 100%); }
  .hero-stitch { padding-bottom: 36px; }
  .hero-panel {
    margin-inline: -12px;
    padding: 38px 18px 34px;
    border-radius: 0;
  }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-copy p,
  .hero-lead { font-size: 16px !important; }
  .hero-proof span { font-size: 12px; }
  .phone-shell { width: min(236px, 82vw); }
  .phone-screen { min-height: 438px; }
  .pricing-grid,
  .privacy-grid,
  .details-grid { gap: 14px; }
  .faq-container { width: min(calc(100% - 24px), 100%); }
}

/* Launch readiness fixes */
.waitlist-section { padding: 76px 0; background: linear-gradient(180deg, #fff, var(--soft)); }
.waitlist-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
}
.waitlist-panel h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 48px); }
.waitlist-panel p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.waitlist-form { display: grid; gap: 10px; }
.waitlist-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.waitlist-form small { color: var(--muted); }
.footer-mini-copy { max-width: 260px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.clean-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.legal-container { max-width: 900px; }
.legal-page h1 { margin: 0 0 22px; font-size: clamp(36px, 5vw, 58px); }
.legal-card { padding: clamp(24px, 4vw, 42px); }
.legal-card h2 { margin: 28px 0 10px; font-size: 22px; }
.legal-card p { color: var(--muted); font-size: 16px; line-height: 1.7; }
@media (max-width: 991.98px) {
  .waitlist-panel { grid-template-columns: 1fr; }
  .clean-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .waitlist-section { padding: 54px 0; }
  .waitlist-control { grid-template-columns: 1fr; }
  .waitlist-control .btn { width: 100%; }
  .clean-footer-grid { grid-template-columns: 1fr; }
}

/* Panel QR scanner */
.dashboard-lead { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.scanner-card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, .7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: 28px;
  padding: clamp(22px, 4vw, 38px);
}
.scanner-copy h2,
.edit-placeholder-card h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 40px); }
.scanner-copy p,
.edit-placeholder-card p { color: var(--muted); line-height: 1.6; }
.scanner-tool { display: grid; gap: 14px; }
.qr-video,
.qr-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #061832;
}
.qr-video { object-fit: cover; }
.qr-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #fff;
  text-align: center;
  padding: 24px;
}
.qr-placeholder span { color: rgba(255,255,255,.72); font-size: 14px; }
.scanner-actions,
.manual-code-control { display: flex; gap: 10px; }
.manual-code-control .form-control { min-width: 0; }
.scanner-status { min-height: 22px; margin: 0; color: var(--muted); font-size: 14px; }
.edit-placeholder-card { max-width: 820px; padding: clamp(24px, 4vw, 42px); }
.edit-code-box {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}
@media (max-width: 991.98px) {
  .scanner-card { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .scanner-actions,
  .manual-code-control { flex-direction: column; }
  .scanner-actions .btn,
  .manual-code-control .btn { width: 100%; }
}

/* Core sticker activation and finder flow */
.sticker-form-card { max-width: 920px; }
.sticker-settings-form { display: grid; gap: 18px; margin-top: 24px; }
.sticker-settings-form textarea { resize: vertical; }
.settings-checks { display: grid; gap: 10px; margin: 4px 0 8px; }
.settings-checks .form-check { margin: 0; color: var(--muted); }
.public-owner-detail {
  display: inline-flex;
  margin: 0 8px 14px 0;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue) !important;
  font-size: 13px !important;
  font-weight: 800;
}
.finder-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 28px);
  text-align: left;
}
.finder-form .btn { justify-self: start; }
.item-card .item-meta { margin: -8px 0 18px; color: var(--muted); font-size: 13px; }
.item-card .item-actions { display: flex; gap: 10px; margin-top: auto; }
.item-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf2f7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.item-status.active { background: #d8f5e4; color: #16763e; }
.item-status.inactive { background: #fff4d6; color: #8a5b00; }
@media (max-width: 575.98px) {
  .finder-form .btn,
  .item-card .item-actions,
  .item-card .item-actions .btn { width: 100%; }
  .item-card .item-actions { flex-direction: column; }
}


/* Admin code batches */
.admin-generator-card .card-heading p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.admin-batch-form { display: grid; gap: 18px; margin-top: 22px; }
.admin-batch-form .btn { justify-self: start; }
.batch-result {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blue-soft);
}
.batch-result span,
.batch-result small { display: block; color: var(--muted); font-size: 13px; }
.batch-result strong { display: block; color: var(--ink); font-size: 22px; }
.code-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.code-preview-grid a {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.bottom-grid { margin-top: 24px; }
.table-card code { color: var(--ink); font-size: 12px; }
@media (max-width: 575.98px) {
  .batch-result { align-items: stretch; flex-direction: column; }
  .batch-result .btn,
  .admin-batch-form .btn { width: 100%; }
}


/* Checkout reservation */
.checkout-section { padding: clamp(54px, 7vw, 92px) 0; background: linear-gradient(180deg, #fff, var(--soft)); }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, .72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.checkout-copy h1 { margin: 0 0 18px; font-size: clamp(38px, 5vw, 64px); }
.checkout-copy p { max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.checkout-summary { display: grid; gap: 8px; margin-top: 24px; padding: clamp(22px, 3vw, 30px); }
.checkout-summary span { color: var(--muted); font-weight: 700; }
.checkout-summary strong { color: var(--ink); font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.checkout-summary p { margin: 0; font-size: 15px; }
.checkout-summary small { color: var(--muted); font-weight: 700; }
.checkout-form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 38px); }
.checkout-form h2 { margin: 0; font-size: 26px; }
.checkout-form textarea { resize: vertical; }
.checkout-consent { display: flex; gap: 10px; color: var(--muted); font-size: 14px; }
.checkout-form .btn { justify-self: start; }
.checkout-success { max-width: 860px; }
.checkout-success-card { padding: clamp(28px, 5vw, 54px); }
.checkout-success-card h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 56px); }
.checkout-success-card p { max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.65; }
@media (max-width: 991.98px) {
  .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .checkout-form .btn,
  .checkout-success-card .btn { width: 100%; }
}

.inline-status-form { display: grid; grid-template-columns: minmax(110px, 1fr) auto; gap: 8px; align-items: center; }
.table-card small { color: var(--muted); }
@media (max-width: 575.98px) { .inline-status-form { grid-template-columns: 1fr; } }

.detail-list { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px 18px; margin: 18px 0 22px; }
.detail-list dt { color: var(--muted); font-weight: 800; }
.detail-list dd { margin: 0; color: var(--ink); }
.detail-status-form { max-width: 420px; }
.order-detail-card { padding: clamp(22px, 3vw, 30px); }
@media (max-width: 575.98px) { .detail-list { grid-template-columns: 1fr; } }

.bot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.h-captcha { margin-top: 4px; }

.account-danger-zone { margin-top: 22px; }
.account-actions { display: flex; gap: 10px; margin: 18px 0; }
.delete-account-form { display: grid; gap: 10px; margin-top: 12px; }
@media (max-width: 575.98px) { .account-actions, .delete-account-form .manual-code-control { flex-direction: column; } }

/* Panel density and support chat */
.app-dashboard { --sidebar-width: 196px; grid-template-columns: var(--sidebar-width) 1fr; }
.dashboard-main { padding: 34px 32px 56px; }
.dashboard-topbar h1 { font-size: 30px; }
.dashboard-lead { font-size: 14px; }
.side-link { padding: 10px 12px; font-size: 13px; }
.metric-card { padding: 18px; }
.metric-card strong { font-size: 26px; }
.card-heading h2, .status-card h2, .alert-card h2 { font-size: 18px; }
.table { font-size: 12px; }
.table th, .table td { vertical-align: top; }
.support-card { padding: clamp(18px, 3vw, 28px); }
.support-thread { display: grid; gap: 12px; margin-bottom: 18px; }
.support-message { max-width: 780px; padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.support-message span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 800; }
.support-message p { margin: 0; font-size: 14px; line-height: 1.55; }
.support-message.user { margin-left: auto; background: var(--blue-soft); }
.support-message.admin { background: #d8f5e4; }
.support-form { display: grid; gap: 12px; }
.support-form .btn { justify-self: start; }
@media (max-width: 575.98px) {
  .dashboard-main { padding: 24px 14px 44px; }
  .dashboard-topbar h1 { font-size: 26px; }
  .details-grid article { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .details-grid h3 { font-size: 17px; color: var(--ink); }
  .details-grid p { font-size: 14px; color: #344256; }
  .support-form .btn { width: 100%; }
}

@media (max-width: 991.98px) {
  .app-dashboard { --sidebar-width: 100%; grid-template-columns: 1fr; }
}

.brand-kicker img { width: 22px; height: 22px; }
.public-brand-logo { width: min(220px, 70vw); height: auto; margin-bottom: 16px; }
@media (max-width: 575.98px) { .brand-logo { width: 162px; height: 39px; } }


.admin-filter-card { padding: 14px; margin-bottom: 14px; }
.admin-filter-form { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(170px, 240px) auto auto; gap: 10px; align-items: center; }
.admin-filter-form .form-control,
.admin-filter-form .form-select { min-height: 42px; font-size: 14px; }
.status-pill.status-escalated { background: #fff0c2; color: #7a4a00; }
.status-pill.status-open { background: #dbeafe; color: #174ea6; }
.status-pill.status-closed { background: #e7edf3; color: #415163; }
.status-pill.status-unsold { background: #eef2ff; color: #3730a3; }
.status-pill.status-sold { background: #fef3c7; color: #92400e; }
.status-pill.status-active { background: #d8f5e4; color: #16763e; }
.status-pill.status-inactive { background: #e7edf3; color: #415163; }
@media (max-width: 760px) {
  .admin-filter-form { grid-template-columns: 1fr; }
}


/* Sticky dashboard navigation and denser status cards */
:root { --nav-height: 58px; }
.app-dashboard { align-items: start; }
.dashboard-sidebar {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  min-height: calc(100vh - var(--nav-height));
  max-height: calc(100vh - var(--nav-height));
}
.status-card { padding: 16px; }
.status-card h2 { font-size: 16px; }
.status-card p {
  gap: 10px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.status-card p span { flex: 0 0 14px; width: 14px; height: 14px; box-shadow: none; }
.alert-card p { font-size: 12px; line-height: 1.35; }
@media (max-width: 991.98px) {
  .dashboard-sidebar {
    top: var(--nav-height);
    max-width: 100vw;
    height: auto;
    min-height: auto;
    max-height: 62px;
    z-index: 30;
  }
}


/* Sticky dashboard sidebar scoped to panel, stops before footer */
@media (min-width: 992px) {
  .app-dashboard {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    align-items: start;
    min-height: calc(100vh - var(--nav-height));
  }
  .dashboard-sidebar {
    position: sticky;
    top: var(--nav-height);
    width: var(--sidebar-width);
    height: auto;
    min-height: calc(100vh - var(--nav-height));
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .dashboard-main {
    margin-left: 0;
  }
}
@media (max-width: 991.98px) {
  .app-dashboard {
    display: block;
  }
  .dashboard-sidebar {
    position: sticky;
    top: var(--nav-height);
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 58px;
    overflow-x: auto;
    overflow-y: hidden;
    z-index: 30;
  }
  .dashboard-main {
    margin-left: 0;
    padding-top: 28px;
  }
}


.customers-collapse-card { padding: 0; overflow: hidden; }
.customers-collapse-card .collapse-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff, #f6f8fc);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.customers-collapse-card .collapse-heading:hover,
.customers-collapse-card .collapse-heading:focus-visible { background: var(--blue-soft); outline: none; }
.customers-collapse-card .collapse-heading span:first-child { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; }
.customers-collapse-card .collapse-heading small { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 900; }
.customers-collapse-card .collapse-chevron { color: var(--blue); font-size: 20px; transition: transform .18s ease; }
.customers-collapse-card .collapse-heading[aria-expanded="true"] .collapse-chevron { transform: rotate(180deg); }
.customers-collapse-card .collapse { padding: 0 18px 18px; }


.dashboard-sidebar .side-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}
.dashboard-sidebar .side-button:hover,
.dashboard-sidebar .side-button:focus-visible {
  background: rgba(255,255,255,.1);
  color: #fff;
  outline: none;
}


/* Use-cases section */
.use-cases-section {
  padding: 76px 0;
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.use-cases-section h2 {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(30px, 4vw, 42px);
}
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.use-case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform .22s ease, box-shadow .22s ease;
}
.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(12,31,58,.13);
}
.use-case-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 2;
  overflow: hidden;
  background-size: 300% auto;
  background-repeat: no-repeat;
  background-color: var(--soft);
}
.use-case-img--left { background-position: 0% center; }
.use-case-img--center { background-position: 50% center; }
.use-case-img--right { background-position: 100% center; }

.use-case-body {
  padding: 1.25rem;
  text-align: center;
}
.use-case-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}
.use-case-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 992px) {
  .use-cases-grid {
    max-width: 960px;
    margin-inline: auto;
    gap: 32px;
  }
}

@media (max-width: 767.98px) {
  .use-cases-grid { 
    grid-template-columns: 1fr; 
    max-width: 320px; 
    margin-inline: auto; 
  }
  .use-case-img-wrap { aspect-ratio: 1 / 1.2; } /* Na mobile trochę szerzej, żeby nie było za chude */
}
@media (max-width: 575.98px) {
  .use-cases-section { padding: 54px 0; }
}
