:root {
  --bg: #f7f8fc;
  --panel: #ffffff;
  --line: #e9ecf5;
  --text: #0f1530;
  --muted: #5c6280;
  --accent: #5a42ff;
  --accent-2: #7f6bff;
}

.preview-lock-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 18px;
  border-bottom: 1px solid #dfe5f4;
  background: #fff7dd;
  color: #705000;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.is-disabled {
  cursor: not-allowed !important;
  opacity: 0.55;
  pointer-events: auto;
}

button.is-disabled {
  pointer-events: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #f6f3ff 0%, var(--bg) 40%);
}

body.is-private-domain::before,
html.is-private-domain body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(248, 250, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: all;
}

body.is-private-domain::after,
html.is-private-domain body::after {
  content: "Appdex is private while we finish setup.";
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  width: min(420px, calc(100vw - 48px));
  transform: translate(-50%, -50%);
  padding: 28px 32px;
  border: 1px solid #dfe5f4;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(48, 42, 103, 0.18);
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  pointer-events: all;
}

.app-shell {
  display: grid;
  grid-template-columns: 222px 1fr;
  min-height: 100vh;
}

body.is-private-domain .app-shell,
html.is-private-domain .app-shell {
  filter: blur(8px);
}

.sidebar {
  border-right: 1px solid var(--line);
  background: var(--panel);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100vh;
  position: sticky;
  top: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 8px;
}

.brand h1 {
  margin: 0;
  font-size: 23px;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #7b73ff, #4b2ff6);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.menu-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.menu-group.secondary {
  margin-top: 18px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #10172f;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  min-height: 44px;
}

.menu-item:hover,
.menu-item.active {
  background: #f1edff;
  color: var(--accent);
}

.menu-item svg {
  width: 19px;
  height: 19px;
  color: #687190;
  fill: none;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.menu-item.active svg,
.menu-item:hover svg {
  color: var(--accent);
}

.nav-dot {
  width: 19px;
  height: 19px;
  border: 1.5px solid currentColor;
  border-radius: 6px;
  display: grid;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  place-items: center;
}

.main-content {
  padding: 20px 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.search {
  flex: 1;
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 14px 16px;
  color: #8087a6;
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-actions a {
  color: #202649;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 12px;
}

.ghost-btn,
.primary-btn {
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  padding: 12px 18px;
  cursor: pointer;
}

.ghost-btn {
  background: #f5f7fd;
  color: #232b4f;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(89, 66, 255, 0.25);
}

a.ghost-btn,
a.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero {
  background: linear-gradient(110deg, #f4f0ff, #eef5ff);
  border: 1px solid #e6ebf8;
  border-radius: 8px;
  height: 245px;
  min-height: 0;
  padding: 24px 50px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.hero h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 560px;
}

.hero p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #2f365d;
  max-width: 520px;
}

.hero .muted {
  color: var(--muted);
}

.hero .primary-btn {
  margin-top: 18px;
  font-size: 15px;
  min-width: 170px;
  padding: 11px 16px;
}

.hero-visual {
  position: relative;
  height: 205px;
  min-height: 0;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 54px;
  bottom: 18px;
  border-radius: 50%;
  background: rgba(96, 97, 220, 0.1);
  box-shadow:
    0 16px 0 rgba(255, 255, 255, 0.75),
    0 24px 30px rgba(88, 91, 178, 0.14);
}

.cube {
  width: 124px;
  aspect-ratio: 1;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 58px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(145deg, #8f7fff, #4f47fa);
  box-shadow: 0 30px 70px rgba(90, 66, 255, 0.33);
  position: relative;
  transform: rotate(9deg);
  z-index: 1;
}

.orbit-card {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #ffffffde;
  display: grid;
  place-items: center;
  color: #654cff;
  border: 1px solid #e8ecfb;
  box-shadow: 0 18px 28px rgba(82, 88, 155, 0.08);
  z-index: 2;
}

.orbit-card svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.orbit-card.one {
  top: 8px;
  left: 120px;
}

.orbit-card.two {
  top: 10px;
  right: 130px;
}

.orbit-card.three {
  right: 44px;
  bottom: 76px;
}

.orbit-card.four {
  left: 44px;
  bottom: 76px;
}

.orbit-card.five {
  left: 134px;
  bottom: 24px;
}

.categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
}

.category {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
}

.category h3 {
  margin: 0;
  font-size: 16px;
}

.category p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
}

.category-icon.purple { background: #f0edff; color: #654cff; }
.category-icon.rose { background: #fdebf4; color: #ec3c9d; }
.category-icon.green { background: #e8f8ed; color: #1f9d58; }
.category-icon.amber { background: #fff1df; color: #ee8a1f; }
.category-icon.blue { background: #eaf4ff; color: #1f7bf2; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.section-head h3 {
  margin: 0;
  font-size: 18px;
}

.section-head a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 12px;
}

.product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.cover {
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.94);
  display: grid;
  flex: 0 0 96px;
  height: 96px;
  place-items: center;
}

.cover svg {
  width: 44px;
  height: 44px;
  fill: none;
  filter: drop-shadow(0 8px 18px rgba(15, 21, 48, 0.18));
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.product > a {
  display: block;
  flex: 0 0 96px;
}

.product > a .cover {
  height: 100%;
}

.cover.purple {
  background: linear-gradient(135deg, #8e78ff, #6651f7);
}

.cover.rose {
  background: linear-gradient(135deg, #f7e5ed, #ffeef4);
}

.cover.green {
  background: linear-gradient(135deg, #7adf9f, #53c87e);
}

.cover.amber {
  background: linear-gradient(135deg, #ffbf67, #eea23f);
}

.cover.blue {
  background: linear-gradient(135deg, #7fb5ff, #5a93f0);
}

.product h4 {
  margin: 12px 0 8px;
  font-size: 14px;
  line-height: 1.2;
  min-height: 34px;
}

.product p {
  color: var(--muted);
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.meta span {
  font-size: 11px;
  color: var(--accent);
  background: #f1efff;
  border-radius: 999px;
  padding: 5px 8px;
}

.meta strong {
  font-size: 18px;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.page-header {
  background: linear-gradient(110deg, #ffffff, #eef5ff);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.page-header.compact {
  padding: 22px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.page-header h2,
.policy h2,
.detail-copy h2,
.auth-panel h2 {
  font-size: 36px;
  line-height: 1.1;
  margin: 0;
}

.page-header p,
.policy p,
.detail-copy p,
.auth-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 12px 0 0;
  max-width: 820px;
}

.quick-links,
.filter-row,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill,
.field,
.select-field {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #293051;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.field,
.select-field {
  border-radius: 10px;
  min-width: 180px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
}

.content-grid.two {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.account-choice-grid {
  align-items: stretch;
}

.account-choice-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
}

.account-choice-card .action-row {
  margin-top: auto;
  padding-top: 18px;
}

.panel,
.metric,
.policy,
.auth-panel,
.detail-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.clerk-card {
  min-height: 0;
  margin-top: 12px;
}

.clerk-card > div {
  margin: 0 !important;
}

.login-page {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(105, 82, 255, 0.14), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(73, 154, 233, 0.16), transparent 30%),
    #f7f8fc;
}

.login-page .preview-lock-banner {
  display: none;
}

.verify-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(105, 82, 255, 0.14), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(73, 154, 233, 0.16), transparent 30%),
    #f7f8fc;
}

.verify-card {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(48, 42, 103, 0.12);
  padding: 34px;
}

.verify-card .login-brand {
  margin-bottom: 34px;
}

.verify-card h1 {
  margin: 8px 0 10px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.verify-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

.login-shell {
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(430px, 500px);
  gap: 18px;
  align-items: center;
  justify-content: center;
  max-width: 910px;
  margin: 0 auto;
  padding: 16px;
}

.login-brand-panel,
.login-auth-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(48, 42, 103, 0.12);
  backdrop-filter: blur(18px);
}

.login-brand-panel {
  position: relative;
  min-height: 470px;
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
}

.login-brand-panel::after {
  content: "A";
  position: absolute;
  right: -36px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  border-radius: 52px;
  background: linear-gradient(135deg, #8a72ff, #543fff);
  color: #fff;
  font-size: 128px;
  font-weight: 800;
  transform: rotate(8deg);
  box-shadow: 0 24px 80px rgba(90, 66, 255, 0.28);
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 32px;
}

.login-brand-panel h1 {
  max-width: 310px;
  margin: 8px 0 12px;
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.login-brand-panel p:not(.eyebrow) {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.login-trust-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 300px;
  margin-top: 18px;
}

.login-trust-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
}

.login-auth-panel {
  border-radius: 24px;
  padding: 16px;
  max-height: calc(100svh - 32px);
  overflow: hidden;
}

.login-auth-heading {
  padding: 0 4px;
}

.login-auth-panel h2 {
  margin: 2px 0 4px;
  color: var(--text);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.login-auth-heading > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.login-auth-panel .form-status {
  margin-top: 10px;
}

.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f8fc;
}

.auth-switch button {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 7px 10px;
}

.auth-switch button.active {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 22px rgba(48, 42, 103, 0.1);
}

.google-auth-btn {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(48, 42, 103, 0.08);
}

.google-auth-btn span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853 42%, #fbbc05 72%, #ea4335);
  color: #fff;
  font-weight: 800;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 11px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.local-auth-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.local-auth-form [hidden] {
  display: none !important;
}

.local-auth-form.is-signup {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.local-auth-form.is-signup .full-btn {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 5px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.form-field input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 0 12px;
  outline: none;
}

.form-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(98, 73, 255, 0.12);
}

.full-btn {
  width: 100%;
  min-height: 40px;
  justify-content: center;
  margin-top: 2px;
  border: 0;
}

.login-page .cl-rootBox,
.login-page .cl-cardBox,
.login-page .cl-card {
  width: 100% !important;
  max-width: 100% !important;
}

.login-page .cl-card {
  box-shadow: none !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  min-height: 0 !important;
}

.login-page .cl-main {
  padding: 14px !important;
}

.login-page .cl-headerTitle {
  font-size: 21px !important;
  letter-spacing: -0.04em !important;
}

.login-page .cl-headerSubtitle {
  font-size: 13px !important;
}

.login-page .cl-socialButtonsBlockButton,
.login-page .cl-formButtonPrimary,
.login-page .cl-formFieldInput {
  min-height: 40px !important;
  border-radius: 12px !important;
}

.login-page .cl-footer,
.login-page .cl-formField,
.login-page .cl-dividerRow {
  margin-top: 8px !important;
}

.login-page .cl-form {
  gap: 8px !important;
}

.login-page .cl-header {
  margin-bottom: 12px !important;
}

.login-page .cl-socialButtonsBlockButton {
  padding-block: 8px !important;
}

.login-page .cl-dividerText,
.login-page .cl-formFieldLabel {
  font-size: 12px !important;
}

.login-page .cl-footer {
  display: none !important;
}

.login-page .cl-socialButtonsBlockButtonText,
.login-page .cl-formButtonPrimary {
  font-size: 14px !important;
}

@media (max-height: 820px) and (min-width: 860px) {
  .login-shell {
    padding: 12px;
    grid-template-columns: minmax(240px, 300px) minmax(420px, 480px);
  }

  .login-brand-panel {
    min-height: 430px;
    padding: 20px;
  }

  .login-brand {
    margin-bottom: 28px;
  }

  .login-brand-panel h1 {
    font-size: 30px;
  }

  .login-brand-panel p:not(.eyebrow) {
    font-size: 15px;
  }

  .login-trust-list {
    margin-top: 18px;
  }

  .login-auth-panel {
    padding: 14px;
  }

  .clerk-card {
    margin-top: 8px;
  }

  .login-page .cl-main {
    padding: 12px !important;
  }

  .login-page .cl-headerTitle {
    font-size: 20px !important;
  }

  .login-page .cl-socialButtonsBlockButton,
  .login-page .cl-formButtonPrimary,
  .login-page .cl-formFieldInput {
    min-height: 38px !important;
  }
}

@media (max-width: 860px) {
  .login-page {
    overflow: auto;
  }

  .login-shell {
    height: auto;
    min-height: 100svh;
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .local-auth-form.is-signup {
    grid-template-columns: 1fr;
  }

  .login-brand-panel {
    min-height: auto;
  }
}

.metric strong {
  display: block;
  font-size: 28px;
  margin-top: 8px;
}

.metric span,
.panel p,
.detail-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 7px 0 0;
}

.panel h3,
.metric h3,
.detail-card h3,
.policy h3 {
  margin: 0;
}

.status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  margin-top: 12px;
  padding: 7px 10px;
}

.status.green {
  background: #e8f8ed;
  color: #1f8e4f;
}

.status.yellow {
  background: #fff3dc;
  color: #a86900;
}

.status.red {
  background: #ffe8e8;
  color: #bd3535;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 290px);
  gap: 14px;
  justify-content: start;
}

.listing-grid .product {
  width: 290px;
}

.detail-layout,
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 18px;
  align-items: start;
}

.detail-hero {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(90, 66, 255, 0.92), rgba(73, 154, 233, 0.85)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.18) 18px 19px);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 64px;
  font-weight: 800;
}

.price-box strong {
  display: block;
  font-size: 38px;
  margin: 8px 0 14px;
}

.check-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.check-list li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: left;
}

.table th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.policy {
  max-width: 920px;
}

.policy section {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}

.auth-layout {
  max-width: 980px;
}

.form-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.form-stack input,
.form-stack textarea,
.form-stack select {
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  padding: 13px 14px;
}

.form-status {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  min-height: 22px;
}

.trust-strip {
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f9ff;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
}

.trust-strip strong {
  font-size: 14px;
}

.trust-strip p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1380px) {
  .app-shell {
    grid-template-columns: 222px minmax(0, 1fr);
  }

  .main-content {
    padding: 16px;
  }

  .hero {
    grid-template-columns: 0.92fr 1.08fr;
    height: 235px;
    padding: 24px;
  }

  .hero h2 {
    font-size: 34px;
  }

  .listing-grid {
    grid-template-columns: repeat(auto-fill, 290px);
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search {
    max-width: none;
  }

  .top-actions {
    flex-wrap: wrap;
  }

  .hero h2 {
    font-size: 30px;
  }

  .hero-visual {
    height: 170px;
    min-height: 0;
    overflow: hidden;
  }

  .orbit-card.one {
    left: 26px;
  }

  .orbit-card.two {
    right: 26px;
  }

  .orbit-card.five {
    left: 76px;
    top: auto;
    bottom: 18px;
  }

  .section-head h3 {
    font-size: 28px;
  }

  .product-grid,
  .categories,
  .trust-strip,
  .content-grid,
  .content-grid.two,
  .listing-grid,
  .detail-layout,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .listing-grid .product {
    width: 100%;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
    position: static;
  }

  .menu-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .menu-group.secondary {
    margin-top: 0;
  }
}
