/* StoreNoc: guest marketing landing + type polish (use with body.app--panel) */
body.app--guest-landing,
body.app--auth.app--panel {
  font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body.app--guest-landing .sn-landing__headline,
body.app--guest-landing .sn-landing__card-h {
  font-family: "Instrument Sans", "DM Sans", system-ui, sans-serif;
}

/* Landing: same page canvas as panel (–pp-canvas) */
body.app--panel.app--guest-landing {
  min-height: 100dvh;
  --app-page: var(--pp-canvas, #ebedf0);
  background: var(--pp-canvas, #ebedf0) !important;
  color: var(--app-text, #0f1419);
}
body.app--panel.app--guest-landing .land-shell {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
body.app--panel.app--guest-landing .app-topbar,
body.app--panel.app--guest-landing .topbar {
  /* panel public header: match body.app--panel (shared.css) — no custom blur/glass */
  background: #fff;
  border-bottom: 1px solid var(--pp-edge, #dde1e8);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Hero */
.sn-landing {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}
.sn-landing__hero {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.sn-landing__eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
  background: #e6f7f4;
  border: 1px solid #bfe9e2;
  border-radius: 6px;
}
.sn-landing__headline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0f1419;
}
.sn-landing__accent {
  color: #0d9488;
}
.sn-landing__sub {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}
.sn-landing__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0 0;
}
.sn-landing__btn-primary {
  min-height: 44px;
  padding: 0 1.25rem;
  font-weight: 600;
  border-radius: 8px;
  background: #0d9488 !important;
  color: #fff !important;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(13, 148, 136, 0.2);
}
.sn-landing__btn-primary:hover {
  background: #0f766e !important;
  color: #fff !important;
  text-decoration: none;
}
.sn-landing__btn-secondary {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid #cdd5e0 !important;
  background: #fff !important;
  color: #0f172a !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.1rem;
}
.sn-landing__btn-secondary:hover {
  background: #f8fafc !important;
  text-decoration: none;
}

/* Feature row */
.sn-landing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 700px) {
  .sn-landing__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
.sn-landing__card {
  margin: 0;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--pp-edge, #dde1e8);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sn-landing__card:hover {
  border-color: #bfe9e2;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.sn-landing__card-h {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.sn-landing__card-t {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.52;
  color: #64748b;
}

.sn-landing__strip {
  margin: 1.75rem 0 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--pp-edge, #dde1e8);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.sn-landing__strip-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.2rem;
}
@media (min-width: 600px) {
  .sn-landing__strip-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
  }
}
.sn-landing__strip-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d9488;
}
.sn-landing__strip-body {
  margin: 0;
  font-size: 0.9rem;
  color: #334155;
  flex: 1 1 auto;
  min-width: 0;
}
.sn-landing__strip-link {
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
  white-space: nowrap;
}
.sn-landing__strip-link:hover {
  text-decoration: underline;
  color: #0f766e;
}

/* Auth: host-style login / register (calm surface + floating card) */
body.app--panel.app--auth.app--day {
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(13, 148, 136, 0.1), transparent 50%),
    var(--pp-canvas, #ebedf0) !important;
  --app-page: var(--pp-canvas, #ebedf0);
}
body.app--panel.app--auth,
body.app--panel.app--auth .app-main--auth,
body.app--panel.app--auth .auth-page {
  font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body.app--panel.app--auth .app-topbar,
body.app--panel.app--auth .topbar {
  background: var(--app-surface, #fff);
  border-bottom: 1px solid var(--pp-edge, #dde1e8);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.app--panel.app--auth .app-main--auth {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 4.5vw, 2.75rem) 0;
  min-height: min(100dvh, 100vh);
  min-height: 100svh;
  box-sizing: border-box;
}
body.app--panel.app--auth .auth-page {
  max-width: 24.5rem;
}
body.app--panel.app--auth .auth-page__title {
  font-family: "Instrument Sans", "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.03em;
  color: var(--app-text, #0f1419);
}
body.app--panel.app--auth .auth-page__card.card {
  border-radius: 12px;
  border: 1px solid var(--pp-edge, #dde1e8);
  background: var(--app-surface, #fff);
  box-shadow: var(--app-shadow, 0 1px 2px rgba(15, 20, 40, 0.045)), 0 16px 40px rgba(15, 20, 40, 0.06);
}
body.app--panel.app--auth .auth-page__actions .btn:not(.btn-outline):not(.ghost) {
  min-height: 2.7rem;
  font-weight: 600;
  border-radius: 10px;
  background: var(--app-primary, #0d9488) !important;
  border: 1px solid var(--app-primary-hover, #0c7f75) !important;
  color: #fff !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(5, 50, 45, 0.1);
}
body.app--panel.app--auth .auth-page__actions .btn:not(.btn-outline):not(.ghost):hover {
  background: var(--app-primary-hover, #0c7f75) !important;
  color: #fff !important;
  text-decoration: none !important;
  filter: none;
}
body.app--panel.app--auth .app-link,
body.app--panel.app--auth a.app-link {
  color: var(--app-link, #0a756c);
  font-weight: 600;
}
body.app--panel.app--auth .app-link:hover {
  color: var(--app-primary, #0d9488);
}

/* Login / register: same shell as public marketing (land-mast + pp-canvas) */
body.app--panel.app--auth-landing.app--day,
body.app--auth-landing.app--day {
  min-height: 100dvh;
  --app-page: var(--pp-canvas, #ebedf0) !important;
  background: var(--pp-canvas, #ebedf0) !important;
  color: var(--app-text, #0f1419);
  font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body.app--auth-landing .auth-page__title {
  font-family: "Instrument Sans", "DM Sans", system-ui, sans-serif;
}
/* Match landing: flat mast (identical to local-multisite/storenoc/landing .land-mast) */
body.app--auth-landing {
  --land-px: var(--app-panel-pad-x, clamp(16px, 2.5vw, 28px));
}
body.app--auth-landing .land-mast {
  position: sticky;
  top: 0;
  z-index: var(--app-z-topbar, 100);
  flex: 0 0 auto;
  background: var(--app-surface, #fff);
  border-bottom: 1px solid var(--pp-edge, #dde1e8);
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@supports (padding: max(0px)) {
  body.app--auth-landing .land-mast {
    padding-left: max(0, env(safe-area-inset-left, 0));
    padding-right: max(0, env(safe-area-inset-right, 0));
  }
}
body.app--auth-landing .land-mast__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.6rem var(--land-px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  box-sizing: border-box;
  min-height: 3.25rem;
}
body.app--auth-landing .land-mast__brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 800;
  color: var(--app-text, #0f1419);
  text-decoration: none;
}
body.app--auth-landing .land-mast__brand .app-logo,
body.app--auth-landing .land-mast__brand .logo { font-size: 1.1rem; }
body.app--auth-landing .land-mast__brand .app-logo--image { max-width: 200px; }
body.app--auth-landing .land-mast__auth {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 0.4rem 0.55rem;
}
body.app--auth-landing .land-mast__si {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--app-muted, #5c6b7a);
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  border-radius: var(--app-radius-sm, 7px);
}
body.app--auth-landing a.land-mast__si:hover {
  color: var(--app-link, #0a756c);
  text-decoration: none;
  background: var(--app-elev, #f8f9fc);
}
body.app--auth-landing .land-mast__si--on {
  color: var(--app-text, #0f1419) !important;
  font-weight: 700;
  padding: 0.45rem 0.6rem;
  user-select: none;
}
body.app--auth-landing .land-mast__up,
body.app--auth-landing a.land-mast__up {
  min-height: 2.4rem;
  font-weight: 600;
  border-radius: var(--app-radius-sm, 7px) !important;
  background: var(--app-primary, #0d9488) !important;
  color: #fff !important;
  border: 1px solid var(--app-primary-hover, #0c7f75) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(5, 50, 45, 0.1) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
body.app--auth-landing a.land-mast__up:hover {
  background: var(--app-primary-hover, #0c7f75) !important;
  color: #fff !important;
  text-decoration: none !important;
  filter: none;
}
body.app--auth-landing .land-mast__up--on,
body.app--auth-landing span.land-mast__up.land-mast__up--on {
  cursor: default;
  user-select: none;
  background: var(--app-primary, #0d9488) !important;
  color: #fff !important;
  opacity: 1;
  pointer-events: none;
}
body.app--auth-landing .app-main--auth {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  background: var(--pp-canvas, #ebedf0);
  padding: clamp(1.25rem, 4.5vw, 2.75rem) 0;
  min-height: 0;
}
body.app--auth-landing .auth-page {
  max-width: 25.5rem;
}
/* Auth-landing: align card with landing tokens (overrides non-landing block above) */
body.app--auth-landing.app--panel .auth-page__card.card,
body.app--auth-landing .auth-page__card.card {
  border-radius: 10px;
  border: 1px solid var(--pp-edge, #dde1e8) !important;
  background: var(--app-surface, #fff);
  box-shadow: var(--app-shadow, 0 1px 2px rgba(15, 20, 40, 0.045)), 0 8px 28px rgba(15, 20, 40, 0.05);
}
body.app--auth-landing .form.auth-page__form label {
  color: var(--app-text, #0f1419);
}
body.app--auth-landing .form input {
  background: #fff;
  border-color: var(--app-border-strong, #cdd5e0);
}
/* Single auth surface: do not use separate teal radial (keep canvas flat) */
body.app--auth-landing.app--panel.app--auth.app--day {
  background: var(--pp-canvas, #ebedf0) !important;
}
