:root {
  color-scheme: light;
  --ink: #17211e;
  --muted: #60706b;
  --line: #dce8e2;
  --paper: #f7faf8;
  --white: #ffffff;
  --green: #0e8a6a;
  --green-deep: #0b6b53;
  --coral: #e86f5c;
  --gold: #f0c65a;
  --blue: #5f8fb8;
  --graphite: #25322f;
  --shadow: 0 24px 80px rgba(23, 33, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 250, 247, 0.82);
  border-bottom: 1px solid rgba(223, 231, 226, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  box-shadow: 8px 0 0 -3px var(--coral), 14px 0 0 -6px var(--gold);
  font-weight: 800;
  isolation: isolate;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px 9px auto;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.brand-mark::after {
  top: 28px;
  width: 18px;
}

.brand-mark {
  font-size: 13px;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 19px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 3px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}

.top-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a:hover {
  color: var(--green-deep);
}

.nav-action,
.search-row button,
.waitlist-form button {
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  cursor: pointer;
  font-weight: 700;
}

.nav-action {
  padding: 11px 16px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 126px clamp(18px, 4vw, 56px) 48px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248, 250, 247, 0.98) 0%, rgba(248, 250, 247, 0.88) 35%, rgba(248, 250, 247, 0.34) 70%, rgba(248, 250, 247, 0.1) 100%),
    linear-gradient(0deg, rgba(248, 250, 247, 1) 0%, rgba(248, 250, 247, 0) 30%);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

@media (min-width: 641px) {
  h1 span:nth-child(1),
  h1 span:nth-child(2) {
    display: inline;
  }

  h1 span:nth-child(1)::after {
    content: "，";
  }
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: #31423d;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.search-panel {
  max-width: 680px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(223, 231, 226, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  margin: 0 0 9px 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
}

.category-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.category-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.search-row input,
.waitlist-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
}

.search-row input {
  height: 52px;
  padding: 0 16px;
}

.search-row button {
  height: 52px;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-stats span,
.feature-list span {
  padding: 9px 12px;
  border: 1px solid rgba(15, 143, 107, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.quick-stats strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-actions a {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(14, 138, 106, 0.2);
  border-radius: 8px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
}

.hero-actions a:first-child {
  color: var(--white);
  background: var(--green);
}

section:not(.hero) {
  padding: 72px clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.market-copy h2,
.miniapp h2,
.waitlist h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

.commerce-dashboard {
  background: var(--white);
}

.dashboard-grid,
.path-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

.dashboard-grid {
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
}

.dashboard-card,
.path-grid article,
.pricing-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.dashboard-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 300px;
  padding: 22px;
}

.dashboard-card.primary {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(14, 138, 106, 0.96), rgba(37, 50, 47, 0.96)),
    var(--graphite);
}

.dashboard-card span,
.path-grid b,
.pricing-grid span {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-card.primary span,
.dashboard-card.primary p {
  color: rgba(255, 255, 255, 0.74);
}

.dashboard-card h3,
.path-grid h3,
.pricing-grid h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.dashboard-card p,
.path-grid p,
.pricing-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dashboard-card a {
  display: inline-grid;
  width: max-content;
  min-height: 42px;
  place-items: center;
  margin-top: auto;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--green-deep);
  background: var(--white);
  font-weight: 800;
}

.user-paths {
  background: #eff5f2;
}

.path-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.path-grid article {
  padding: 20px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbf9);
}

.path-grid h3 {
  margin: 8px 0 10px;
}

.business-model {
  background: #f3f7f4;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid article {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.pricing-grid article.featured {
  border-color: rgba(232, 111, 92, 0.38);
  box-shadow: 0 18px 46px rgba(23, 33, 30, 0.12);
}

.pricing-grid strong {
  color: var(--coral);
  font-size: 34px;
  line-height: 1.1;
}

.launch-readiness {
  background: var(--white);
}

.readiness-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.readiness-list span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #cfe3d8;
  border-radius: 999px;
  color: var(--green-deep);
  background: #f3faf6;
  font-weight: 800;
}

.mobile-strip {
  display: grid;
  grid-template-columns: minmax(280px, 390px) 1fr;
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: var(--white);
}

.mobile-strip .section-heading {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.phone-shell {
  width: min(100%, 390px);
  min-height: 620px;
  padding: 18px;
  border: 10px solid var(--graphite);
  border-radius: 42px;
  background: #eef5f0;
  box-shadow: 0 28px 70px rgba(38, 49, 47, 0.22);
}

.phone-status {
  width: 72px;
  height: 6px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: #9aa6a1;
}

.phone-search,
.price-card,
.trend-grid {
  border-radius: 8px;
  background: var(--white);
}

.phone-search {
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
}

.price-card {
  display: grid;
  gap: 24px;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #dff2ea;
  font-size: 12px;
  font-weight: 800;
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.price-card p,
.market-copy p,
.miniapp p,
.waitlist p,
.category-card p {
  color: var(--muted);
  line-height: 1.7;
}

.price-card strong {
  color: var(--coral);
  font-size: 32px;
}

.trend-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-top: 16px;
  padding: 20px;
}

.trend-grid span {
  color: var(--muted);
}

.trend-grid b {
  color: var(--green-deep);
}

.market-copy {
  max-width: 640px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.library {
  background: #eff5f2;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid rgba(223, 231, 226, 0.9);
  border-radius: 8px;
  color: var(--white);
  overflow: hidden;
  position: relative;
  background: var(--graphite);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 86px;
  aspect-ratio: 0.72;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(10deg);
  background: rgba(255, 255, 255, 0.14);
}

.category-card span,
.category-card h3,
.category-card p {
  position: relative;
}

.category-card span {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.82;
}

.category-card h3 {
  margin: 8px 0 8px;
  font-size: 28px;
}

.category-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.sports {
  background: linear-gradient(145deg, #24312f, #0f8f6b);
}

.pokemon {
  background: linear-gradient(145deg, #26312f, #d5a84f);
}

.tcg {
  background: linear-gradient(145deg, #26312f, #f26d5b);
}

.ip {
  background: linear-gradient(145deg, #24403a, #6c8fbc);
}

.miniapp,
.waitlist {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--white);
}

.miniapp > div:first-child,
.waitlist > div:first-child {
  max-width: 720px;
}

.qr-mock {
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  padding: 18px;
  border: 12px solid var(--white);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(24, 32, 30, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(24, 32, 30, 0.1) 1px, transparent 1px),
    #eef5f0;
  background-size: 18px 18px;
  box-shadow: var(--shadow);
}

.qr-mock span,
.qr-mock b {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--white);
}

.qr-mock b {
  transform: translateY(34px);
  color: var(--green-deep);
  font-size: 13px;
}

.waitlist {
  background: var(--graphite);
  color: var(--white);
}

.waitlist p,
.waitlist .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 96px;
  gap: 10px;
  width: min(100%, 470px);
}

.waitlist-form input {
  height: 52px;
  padding: 0 15px;
}

.waitlist-form button {
  height: 52px;
  background: var(--coral);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--paper);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--green-deep);
  font-weight: 700;
}

.content-page {
  padding-top: 94px;
}

.search-main {
  padding-top: 94px;
}

.search-hero {
  padding: 72px clamp(18px, 4vw, 56px) 44px;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 109, 91, 0.1), transparent 26%),
    linear-gradient(180deg, var(--white), var(--paper));
}

.search-hero h1 {
  max-width: 840px;
}

.search-hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.search-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.search-kpi-row span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #cfe3d8;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

.search-kpi-row b {
  color: var(--green-deep);
}

.search-page-form {
  margin-top: 24px;
}

.search-results-section {
  background: var(--paper);
}

.market-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.market-tabs {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf4f0;
}

.market-tabs button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.market-tabs button.active {
  color: var(--green-deep);
  background: var(--white);
}

.market-select,
.market-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.market-select select {
  min-height: 34px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  outline: 0;
}

.market-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.market-insight {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #cfe3d8;
  border-radius: 8px;
  color: var(--green-deep);
  background:
    linear-gradient(90deg, rgba(14, 138, 106, 0.08), rgba(240, 198, 90, 0.1)),
    #f3faf6;
  line-height: 1.7;
  font-weight: 800;
}

.mobile-discovery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--white);
}

.search-conversion {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 36px;
  padding-bottom: 36px;
  background: #f3f7f4;
}

.search-conversion a {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.search-conversion span {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}

.search-conversion strong {
  font-size: 20px;
  line-height: 1.3;
}

.news-hero {
  padding-bottom: 28px;
}

.news-toolbar {
  margin-top: 24px;
  margin-bottom: 0;
}

.news-toolbar .market-tabs {
  display: flex;
  flex-wrap: wrap;
}

.news-toolbar .market-tabs a {
  display: inline-grid;
  min-height: 38px;
  place-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.news-toolbar .market-tabs a.active,
.news-toolbar .market-tabs a:hover {
  color: var(--green-deep);
  background: var(--white);
}

.news-section {
  background: var(--paper);
  padding-top: 34px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 310px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(23, 33, 30, 0.08);
}

.news-source,
.news-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.news-source span {
  color: var(--green-deep);
  font-weight: 800;
}

.news-source time,
.news-actions small {
  color: var(--muted);
  font-size: 13px;
}

.news-card h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.22;
}

.news-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.news-actions a {
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.discovery-block {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}

.discovery-block h2 {
  margin-bottom: 14px;
  font-size: clamp(22px, 3vw, 30px);
}

.quick-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-chip-grid a,
.quick-chip-grid span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.quick-chip-grid a {
  flex-wrap: wrap;
}

.quick-chip-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.text-button {
  border: 0;
  color: var(--green-deep);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.result-card {
  position: relative;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  min-height: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(24, 32, 30, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 138, 106, 0.34);
  box-shadow: 0 18px 46px rgba(23, 33, 30, 0.12);
}

.result-card img {
  width: 100%;
  height: 162px;
  object-fit: contain;
}

.result-placeholder {
  display: grid;
  width: 100%;
  height: 162px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(145deg, var(--graphite), var(--green) 56%, var(--gold));
  font-weight: 800;
}

.result-card span,
.result-card p,
.result-card small {
  color: var(--muted);
}

.result-card h3 {
  margin: 6px 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.result-card p {
  line-height: 1.5;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.result-meta b {
  color: var(--coral);
  font-size: 20px;
}

.result-meta small {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #eef8f3;
  font-weight: 800;
}

.result-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.result-flags span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e4f3ec;
  font-size: 12px;
  font-weight: 800;
}

.result-flags .muted {
  color: var(--muted);
  background: #edf1ee;
}

.loading-card {
  display: block;
  color: var(--muted);
}

.brand-empty {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  min-height: 160px;
  padding: 20px;
  border: 1px solid #cfe3d8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 138, 106, 0.08), rgba(240, 198, 90, 0.11)),
    var(--white);
}

.brand-empty-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: var(--green);
  box-shadow: 9px 0 0 -3px var(--coral), 16px 0 0 -7px var(--gold);
  font-weight: 800;
}

.brand-empty h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.brand-empty p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.brand-empty a {
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  margin-top: 14px;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.content-hero {
  padding: 88px clamp(18px, 4vw, 56px) 48px;
  background:
    radial-gradient(circle at 82% 12%, rgba(15, 143, 107, 0.14), transparent 28%),
    linear-gradient(180deg, var(--white), var(--paper));
}

.content-hero h1 {
  max-width: 860px;
}

.content-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.content-grid,
.terms-list {
  display: grid;
  gap: 16px;
  padding: 48px clamp(18px, 4vw, 56px);
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.terms-list {
  grid-template-columns: minmax(0, 860px);
}

.detail-main {
  padding-top: 94px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px clamp(18px, 4vw, 56px) 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--green-deep);
  font-weight: 700;
}

.breadcrumb strong {
  color: var(--ink);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 410px) 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding-top: 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(15, 143, 107, 0.13), transparent 28%),
    linear-gradient(180deg, #ffffff, var(--paper));
}

.card-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.sample-card {
  width: min(100%, 330px);
  aspect-ratio: 0.72;
  padding: 18px;
  border: 10px solid #edf2ee;
  border-radius: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #26312f, #0f8f6b 48%, #d5a84f);
  box-shadow: 0 34px 84px rgba(38, 49, 47, 0.26);
}

.sample-card.has-image {
  padding: 0;
  border-width: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.actual-card-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 34px 48px rgba(38, 49, 47, 0.26));
}

.sample-card.has-image .actual-card-image {
  display: block;
}

.sample-card.has-image .sample-card-top,
.sample-card.has-image .sample-card-art,
.sample-card.has-image .sample-card-title,
.sample-card.has-image .sample-card-lines {
  display: none;
}

.sample-card-top,
.sample-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}

.sample-card-art {
  display: grid;
  height: 54%;
  place-items: center;
  margin: 18px 0;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background:
    radial-gradient(circle at 62% 38%, rgba(242, 109, 91, 0.78), transparent 22%),
    radial-gradient(circle at 38% 62%, rgba(213, 168, 79, 0.72), transparent 26%),
    rgba(255, 255, 255, 0.14);
}

.sample-card-art span {
  width: 44%;
  aspect-ratio: 1;
  border-radius: 999px 999px 999px 18px;
  background: rgba(255, 255, 255, 0.74);
  transform: rotate(-18deg);
}

.sample-card-title {
  font-size: 28px;
}

.sample-card-lines {
  height: 56px;
  margin-top: 14px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.56)) 0 0 / 100% 8px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.36)) 0 24px / 78% 8px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.28)) 0 48px / 54% 8px no-repeat;
}

.ghost-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-deep);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.detail-summary h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, 72px);
}

.detail-subtitle {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.meta-chips,
.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chips span,
.related-grid a {
  padding: 9px 12px;
  border: 1px solid rgba(15, 143, 107, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.price-overview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 760px;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(14, 138, 106, 0.04), rgba(240, 198, 90, 0.08)),
    var(--white);
  box-shadow: var(--shadow);
}

.price-overview span,
.price-overview small {
  display: block;
  color: var(--muted);
}

.price-overview strong {
  display: block;
  margin: 5px 0;
  color: var(--coral);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
}

.price-overview button,
.mobile-action-bar button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.price-overview button {
  padding: 0 18px;
}

.price-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf4f0;
}

.source-status {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 760px;
  margin-top: 12px;
}

.source-status span,
.source-status a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.source-status a {
  color: var(--green-deep);
}

.price-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.price-tabs button.active {
  color: var(--green-deep);
  background: var(--white);
}

.price-panel {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 12px;
}

.price-panel.active {
  display: grid;
}

.price-panel div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.price-panel span,
.price-panel b {
  display: block;
}

.price-panel span {
  color: var(--muted);
  font-size: 13px;
}

.price-panel b {
  margin-top: 6px;
  font-size: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: var(--paper);
  min-width: 0;
}

.detail-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.share-landing {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid #bcded0;
  border-radius: 8px;
  background: #edf8f2;
}

.share-landing[hidden] {
  display: none;
}

.share-landing h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.share-landing p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.share-actions a {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.share-actions a + a {
  color: var(--green-deep);
  background: var(--white);
  border: 1px solid var(--line);
}

.action-console {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) 1.4fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(14, 138, 106, 0.07), rgba(240, 198, 90, 0.09)),
    var(--white);
}

.action-console h2 {
  margin-bottom: 0;
}

.action-console-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.action-console-grid button {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.action-console-grid button:first-child {
  color: var(--white);
  background: var(--green);
}

.action-console-grid span {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.78;
}

.action-console-grid strong {
  font-size: 18px;
  line-height: 1.3;
}

.member-card {
  background:
    linear-gradient(145deg, rgba(37, 50, 47, 0.97), rgba(14, 138, 106, 0.92)),
    var(--graphite);
  color: var(--white);
}

.member-card .eyebrow,
.member-card span {
  color: rgba(255, 255, 255, 0.72);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-grid div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.member-grid strong,
.member-grid span {
  display: block;
}

.member-grid strong {
  margin-bottom: 7px;
  font-size: 18px;
}

.member-grid span {
  line-height: 1.6;
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: 1 / -1;
}

.detail-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.detail-card h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.brief-grid div {
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5faf7;
}

.brief-grid span,
.brief-grid strong,
.brief-grid p {
  display: block;
}

.brief-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.brief-grid strong {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.18;
}

.brief-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.trend-pill {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #dff2ea;
  font-weight: 800;
}

.chart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 8px;
  height: 230px;
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%,
    #f5faf7;
}

.chart span {
  min-width: 0;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, var(--green), var(--gold));
}

.chart-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--muted);
}

.fact-list dd {
  margin: 0;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.6;
}

.check-list li {
  padding-left: 18px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--coral);
}

.launch-page .content-hero p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.75;
}

.launch-page .content-hero h1 {
  max-width: 860px;
  font-size: clamp(36px, 5.2vw, 68px);
}

.launch-score {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.launch-score div,
.launch-matrix article,
.launch-roadmap div,
.launch-steps li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.launch-score div {
  padding: 16px;
}

.launch-score span,
.launch-score strong {
  display: block;
}

.launch-score span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.launch-score strong {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.25;
}

.launch-section {
  background: var(--paper);
}

.launch-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.launch-matrix article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 340px;
  padding: 20px;
}

.launch-matrix h3 {
  margin: 0;
  font-size: 26px;
}

.launch-matrix p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.status-pill {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.done {
  color: var(--green-deep);
  background: #dff2ea;
}

.status-pill.active {
  color: #8a4b19;
  background: #f9ead2;
}

.status-pill.next {
  color: #334b74;
  background: #e2ebf8;
}

.text-link {
  color: var(--green-deep);
  font-weight: 800;
}

.launch-readiness div {
  min-height: 168px;
}

.launch-steps,
.launch-roadmap {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-steps li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px;
}

.launch-steps strong,
.launch-roadmap b {
  color: var(--green-deep);
}

.launch-steps span,
.launch-roadmap span {
  color: var(--muted);
  line-height: 1.65;
}

.launch-roadmap div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 16px;
}

.version-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.version-row div {
  padding: 16px;
  border-radius: 8px;
  background: #f3f8f5;
}

.version-row b,
.version-row span {
  display: block;
}

.version-row span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.seo-article h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.seo-grid section {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.seo-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.source-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.source-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: var(--white);
}

.source-table th,
.source-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.source-table th {
  color: var(--muted);
  background: #f3f8f5;
  font-weight: 800;
}

.source-table td {
  color: var(--ink);
}

.source-table tr:last-child td {
  border-bottom: 0;
}

.source-table a {
  color: var(--green-deep);
  font-weight: 800;
}

.source-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-strip {
  display: inline-flex;
  margin-top: 20px;
  padding: 10px 12px;
  border: 1px solid #cfe3d8;
  border-radius: 8px;
  color: var(--green-deep);
  background:
    linear-gradient(90deg, rgba(14, 138, 106, 0.08), rgba(240, 198, 90, 0.12)),
    #f3faf6;
  font-size: 14px;
  font-weight: 800;
}

.account-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--paper);
}

.bind-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  margin-top: 18px;
}

.bind-form input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.bind-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--white);
  background: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.bind-form span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
}

.submission-form {
  display: grid;
  gap: 14px;
}

.submission-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.submission-form input,
.submission-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.submission-form button {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.domestic-sample {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.domestic-sample strong,
.domestic-sample span {
  display: block;
}

.domestic-sample strong {
  color: var(--coral);
  font-size: 24px;
}

.domestic-sample span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.5;
}

.domestic-sample a {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-deep);
  font-weight: 800;
}

.table-action {
  min-height: 34px;
  margin: 0 4px 6px 0;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.table-action.ghost {
  color: var(--muted);
  background: #edf4f0;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 120px;
  gap: 10px;
  max-width: 520px;
  margin-top: 22px;
}

.admin-login input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
}

.admin-login button {
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.admin-login span {
  grid-column: 1 / -1;
  color: var(--muted);
}

.auth-lab {
  padding-bottom: 64px;
}

.lab-workspace {
  background: #f5f8f6;
}

.lab-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 0 24px;
  border-bottom: 1px solid var(--line);
}

.lab-heading h1 {
  margin: 4px 0 8px;
  font-size: 40px;
  letter-spacing: 0;
}

.lab-heading p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.lab-heading .admin-login {
  flex: 0 0 500px;
  margin: 0;
}

.lab-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.lab-stat-strip div {
  min-height: 92px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.lab-stat-strip div:last-child {
  border-right: 0;
}

.lab-stat-strip span,
.lab-stat-strip strong {
  display: block;
}

.lab-stat-strip span {
  color: var(--muted);
  font-size: 13px;
}

.lab-stat-strip strong {
  margin-top: 4px;
  font-size: 28px;
}

.storage-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.storage-card {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 138, 106, 0.06), rgba(213, 168, 79, 0.08)),
    #fff;
}

.storage-card span,
.storage-card strong,
.storage-card small {
  display: block;
}

.storage-card span,
.storage-card small {
  color: var(--muted);
}

.storage-card strong {
  margin: 6px 0;
  color: var(--ink);
  font-size: 24px;
}

.storage-card small {
  line-height: 1.5;
}

.priority-panel {
  margin-top: 20px;
}

.queue-meta {
  color: var(--muted);
  font-size: 13px;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.priority-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.priority-card:hover {
  border-color: var(--green);
  background: #f4faf7;
}

.priority-card-head,
.priority-card-body {
  display: grid;
  gap: 6px;
}

.priority-card-head {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.priority-tier {
  display: inline-grid;
  min-width: 28px;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.tier-S {
  color: #fff;
  background: #8f332c;
}

.tier-A {
  color: #fff;
  background: #d09a42;
}

.tier-B {
  color: #176442;
  background: #dbf2e5;
}

.tier-C {
  color: var(--green-deep);
  background: #edf4ef;
}

.priority-card-body strong,
.priority-card-body small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.priority-card-body small {
  color: var(--muted);
}

.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  margin-top: 20px;
}

.intake-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.lab-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lab-panel h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.lab-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.lab-step-head > span {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

.lab-step-head p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.catalog-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  margin-top: 20px;
}

.catalog-search input,
.catalog-search button,
.reference-meta-grid input,
.reference-meta-grid select,
.review-head select,
.upload-preview select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.catalog-search button,
.form-footer button,
.reference-actions button {
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.catalog-candidates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.catalog-candidate {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.catalog-candidate:hover {
  border-color: var(--green);
  background: #f2f8f5;
}

.catalog-candidate img {
  width: 48px;
  height: 58px;
  object-fit: contain;
}

.catalog-candidate span,
.catalog-candidate strong,
.catalog-candidate small {
  display: block;
  min-width: 0;
}

.catalog-candidate strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-candidate small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #9fc8b6;
  border-radius: 6px;
  background: #eef8f3;
}

.selected-card[hidden] {
  display: none;
}

.selected-card img {
  width: 62px;
  height: 76px;
  object-fit: contain;
}

.selected-card span,
.selected-card strong,
.selected-card small {
  display: block;
}

.selected-card span {
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}

.selected-card small {
  margin-top: 4px;
  color: var(--muted);
}

.selected-card button,
.upload-preview button {
  border: 0;
  color: var(--green-deep);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.reference-form {
  margin-top: 20px;
}

.reference-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reference-meta-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.reference-meta-grid .span-all {
  grid-column: 1 / -1;
}

.upload-zone {
  position: relative;
  display: grid;
  min-height: 132px;
  margin-top: 16px;
  place-content: center;
  border: 1px dashed #93b9a8;
  border-radius: 8px;
  background: #f6faf8;
  text-align: center;
  cursor: pointer;
}

.upload-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-zone strong,
.upload-zone span {
  pointer-events: none;
  display: block;
}

.upload-zone span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.upload-preview {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.upload-preview img {
  grid-row: span 2;
  width: 64px;
  height: 76px;
  object-fit: contain;
  background: #f2f4f3;
}

.upload-preview div {
  min-width: 0;
}

.upload-preview strong,
.upload-preview small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-preview small {
  margin-top: 4px;
  color: var(--muted);
}

.upload-preview select {
  min-height: 34px;
  padding: 0 6px;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.form-footer button {
  min-height: 46px;
  padding: 0 22px;
}

.form-footer button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-footer span {
  color: var(--muted);
}

.intake-guide {
  align-self: start;
  position: sticky;
  top: 92px;
}

.rule-list {
  display: grid;
  gap: 18px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  counter-reset: rules;
}

.rule-list li {
  counter-increment: rules;
}

.rule-list li::before {
  content: counter(rules, decimal-leading-zero);
  display: block;
  margin-bottom: 3px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}

.rule-list strong,
.rule-list span {
  display: block;
}

.rule-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.lab-warning {
  padding: 14px;
  border-left: 3px solid #d09a42;
  background: #fff8eb;
}

.lab-warning p {
  margin: 5px 0 0;
  color: #66583f;
  font-size: 13px;
  line-height: 1.6;
}

.review-panel {
  margin-top: 20px;
}

.review-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.reference-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.reference-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.reference-image {
  position: relative;
  min-height: 138px;
  background: #eef1ef;
}

.reference-image img {
  width: 100%;
  height: 138px;
  object-fit: contain;
}

.reference-image span {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 3px 6px;
  color: #fff;
  background: rgba(20, 34, 28, 0.78);
  font-size: 11px;
}

.reference-body {
  min-width: 0;
}

.reference-body > strong,
.reference-body > p,
.reference-body > a,
.reference-body > small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-body > p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.reference-body > a {
  margin-top: 10px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
}

.reference-body > small {
  margin-top: 7px;
  color: var(--muted);
}

.reference-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.reference-title small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill {
  flex: 0 0 auto;
  padding: 3px 6px;
  color: #765810;
  background: #fff2c9;
  font-size: 11px;
  font-weight: 800;
}

.status-pill.approved {
  color: #176442;
  background: #dbf2e5;
}

.status-pill.rejected {
  color: #8f332c;
  background: #fde3df;
}

.reference-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.reference-actions button {
  min-height: 36px;
}

.reference-actions .danger {
  color: #8f332c;
  background: #fde3df;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  color: var(--muted);
  background: #f5f7f6;
  text-align: center;
}

@media (max-width: 1100px) {
  .catalog-candidates,
  .upload-preview-grid,
  .priority-grid,
  .reference-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .lab-heading {
    display: block;
  }

  .lab-heading .admin-login {
    margin-top: 20px;
  }

  .intake-layout {
    grid-template-columns: 1fr;
  }

  .intake-guide {
    position: static;
  }

  .storage-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lab-heading {
    padding-top: 24px;
  }

  .lab-heading h1 {
    font-size: 32px;
  }

  .lab-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-stat-strip div:nth-child(2) {
    border-right: 0;
  }

  .lab-stat-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .lab-panel {
    padding: 16px;
  }

  .catalog-search,
  .reference-meta-grid,
  .catalog-candidates,
  .upload-preview-grid,
  .priority-grid,
  .reference-gallery {
    grid-template-columns: 1fr;
  }

  .reference-meta-grid .span-all {
    grid-column: auto;
  }

  .form-footer,
  .review-head {
    align-items: stretch;
    flex-direction: column;
  }

  .selected-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .selected-card img {
    width: 54px;
    height: 68px;
  }

  .selected-card button {
    grid-column: 1 / -1;
    min-height: 36px;
    border-top: 1px solid var(--line);
  }
}

.compact-hero {
  min-height: auto;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.lab-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.lab-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.lab-form input,
.lab-form select,
.lab-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.lab-form textarea {
  resize: vertical;
}

.lab-form .span-all {
  grid-column: 1 / -1;
}

.lab-form button {
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 12px 16px;
  cursor: pointer;
}

.lab-list-card {
  margin-top: 18px;
}

/* Authentication intake and public report */
.auth-intake-page,
.report-page {
  --auth-ink: #17213d;
  --auth-muted: #5e6c80;
  --auth-line: #dbe5f2;
  --auth-blue: #245fd6;
  --auth-yellow: #ffcb3d;
  --auth-red: #ee5353;
  --auth-green: #118764;
  --auth-green-deep: #0b6b53;
  color: var(--auth-ink);
  background:
    linear-gradient(135deg, rgba(36, 95, 214, 0.06) 0 28%, transparent 28% 100%),
    linear-gradient(180deg, #f7fbff 0%, #fffaf0 58%, #f8fbff 100%);
}

.auth-intake {
  padding-bottom: 72px;
}

.auth-intake-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 24px;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--auth-blue), var(--auth-yellow), var(--auth-red), var(--auth-green)) 1;
}

.auth-intake-heading h1 {
  max-width: 760px;
  margin: 4px 0 10px;
  font-size: 42px;
  letter-spacing: 0;
}

.auth-intake-heading p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.intake-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 260px;
  padding: 4px;
  border: 1px solid var(--auth-line);
  border-radius: 7px;
  background: #fff;
}

.intake-mode button {
  min-height: 42px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.intake-mode button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--auth-blue), var(--auth-green));
  box-shadow: 0 10px 24px rgba(36, 95, 214, 0.18);
}

.auth-pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--auth-line);
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 33, 61, 0.08);
}

.auth-pipeline div {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0 10px;
  min-height: 86px;
  align-content: center;
  padding: 14px 18px;
  border-right: 1px solid var(--auth-line);
}

.auth-pipeline div:last-child {
  border-right: 0;
}

.auth-pipeline span {
  grid-row: span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: linear-gradient(135deg, rgba(255, 203, 61, 0.78), rgba(36, 95, 214, 0.15));
  color: var(--auth-ink);
  font-weight: 800;
}

.auth-pipeline strong,
.auth-pipeline small {
  display: block;
}

.auth-pipeline small {
  margin-top: 3px;
  color: var(--muted);
}

.auth-intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  margin-top: 20px;
}

.auth-ai-status {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 16px;
  border-left: 3px solid var(--auth-yellow);
  color: var(--muted);
  background: #fff9df;
  font-size: 13px;
}

.auth-ai-status strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.auth-job-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.auth-job-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.auth-job-fields input {
  min-height: 46px;
  border: 1px solid var(--auth-line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.auth-upload-heading {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--auth-line);
}

.auth-required-uploads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.auth-view-upload {
  position: relative;
  display: grid;
  min-height: 170px;
  place-content: center;
  border: 1px dashed rgba(36, 95, 214, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 95, 214, 0.05), rgba(255, 203, 61, 0.08)),
    #fff;
  text-align: center;
  cursor: pointer;
}

.auth-view-upload.has-file {
  border-style: solid;
  border-color: var(--auth-green);
  background: #f0fbf7;
}

.auth-view-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.auth-view-upload span,
.auth-view-upload strong,
.auth-view-upload small {
  pointer-events: none;
  display: block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-view-upload span {
  margin-bottom: 8px;
  color: var(--auth-blue);
  font-size: 13px;
  font-weight: 800;
}

.auth-view-upload small {
  margin-top: 8px;
  color: var(--muted);
}

.auth-extra-upload {
  min-height: 104px;
}

.auth-consent {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--auth-green);
  background: #effaf5;
}

.auth-consent p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.auth-consent-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-consent-note a {
  color: var(--blue);
  font-weight: 800;
}

.auth-noscript-warning {
  margin-bottom: 20px;
  border-color: rgba(231, 86, 68, 0.45);
  color: #9f2f24;
  font-weight: 800;
}

[data-auth-job-status][data-state="ready"],
[data-auth-job-status][data-state="success"] {
  color: var(--auth-green);
  font-weight: 800;
}

[data-auth-job-status][data-state="warn"] {
  color: #9a6a09;
  font-weight: 800;
}

[data-auth-job-status][data-state="error"] {
  color: #b93a2d;
  font-weight: 800;
}

[data-auth-job-status][data-state="loading"] {
  color: var(--auth-blue);
  font-weight: 800;
}

.auth-routing-guide {
  align-self: start;
  position: sticky;
  top: 90px;
}

.auth-result-panel {
  margin-top: 20px;
}

.auth-result-panel[hidden] {
  display: none;
}

.auth-result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.auth-result-head > strong {
  font-size: 18px;
}

.auth-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--line);
}

.auth-score-grid div {
  min-height: 88px;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.auth-score-grid div:last-child {
  border-right: 0;
}

.auth-score-grid span,
.auth-score-grid strong {
  display: block;
}

.auth-score-grid span {
  color: var(--muted);
  font-size: 13px;
}

.auth-score-grid strong {
  margin-top: 5px;
  font-size: 26px;
}

.auth-route-copy {
  color: var(--muted);
  line-height: 1.6;
}

.auth-report-link {
  display: inline-grid;
  min-height: 44px;
  padding: 0 18px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--auth-blue), var(--auth-green));
  font-weight: 800;
}

.report-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 28px auto 72px;
  border: 1px solid var(--auth-line);
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 33, 61, 0.1);
}

.report-identity,
.report-main-grid,
.report-section,
.report-meta {
  padding: 28px;
}

.report-identity {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--auth-line);
}

.report-identity h1 {
  margin: 5px 0 8px;
  font-size: 36px;
  letter-spacing: 0;
}

.report-identity p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.report-status {
  padding: 8px 10px;
  color: #385047;
  background: #edf1ef;
  font-size: 12px;
  font-weight: 800;
}

.report-status.positive {
  color: var(--auth-green-deep);
  background: #dff5eb;
}

.report-status.warning {
  color: #765810;
  background: #fff2c9;
}

.report-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  border-bottom: 1px solid var(--auth-line);
}

.report-card-block {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.report-card-block img {
  width: 150px;
  height: 205px;
  object-fit: contain;
  background: #f3f5f4;
}

.report-card-block span,
.report-card-block small {
  color: var(--muted);
}

.report-card-block h2 {
  margin: 6px 0;
  font-size: 30px;
  letter-spacing: 0;
}

.report-card-block p {
  margin: 0 0 8px;
}

.report-code-block {
  display: grid;
  align-content: center;
  justify-items: center;
  border-left: 1px solid var(--auth-line);
  text-align: center;
}

.report-code-block img {
  width: 180px;
  height: 180px;
}

.report-code-block small {
  margin-top: 4px;
  color: var(--muted);
}

.report-scores {
  margin: 0;
  border-width: 0 0 1px;
}

.report-section {
  border-bottom: 1px solid var(--line);
}

.warning-section {
  background: #fff8ed;
  border-left: 4px solid var(--auth-yellow);
}

.report-section h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.report-section p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.6;
}

.report-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.report-detail-grid div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px;
  background: #fff;
}

.report-detail-grid span {
  color: var(--muted);
  font-size: 12px;
}

.report-detail-grid strong {
  overflow-wrap: anywhere;
}

.report-evidence-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.report-evidence-list p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.report-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.report-image-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #f5f7f6;
}

.report-image-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #eef2f0;
}

.report-image-grid figcaption {
  padding: 9px 11px;
  color: var(--muted);
  font-size: 13px;
}

.report-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.report-checks div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f5f7f6;
}

.check-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d09a42;
}

.check-dot.pass {
  background: var(--green);
}

.report-checks small {
  color: var(--muted);
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .auth-intake-heading,
  .auth-result-head,
  .report-identity {
    display: grid;
  }

  .intake-mode {
    width: 100%;
  }

  .auth-pipeline {
    grid-template-columns: 1fr;
  }

  .auth-pipeline div {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .auth-intake-layout,
  .report-main-grid {
    grid-template-columns: 1fr;
  }

  .auth-routing-guide {
    position: static;
  }

  .report-code-block {
    padding-top: 24px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .auth-intake-heading h1,
  .report-identity h1 {
    font-size: 30px;
  }

  .auth-job-fields,
  .auth-required-uploads,
  .auth-score-grid,
  .report-checks,
  .report-detail-grid,
  .report-evidence-list {
    grid-template-columns: 1fr;
  }

  .report-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* CardCheck.ai overseas landing */
.cardcheck-page {
  --cc-ink: #17213d;
  --cc-muted: #5f6c80;
  --cc-line: #dbe5f2;
  --cc-wash: #f7fbff;
  --cc-cream: #fffaf0;
  --cc-blue: #245fd6;
  --cc-yellow: #ffcb3d;
  --cc-red: #ee5353;
  --cc-green: #118764;
  --cc-green-deep: #0b6b53;
  --cc-shadow: 0 24px 70px rgba(23, 33, 61, 0.14);
  color: var(--cc-ink);
  background:
    repeating-linear-gradient(90deg, rgba(36, 95, 214, 0.035) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, #f7fbff 0%, #fffaf0 56%, #ffffff 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cardcheck-page h1,
.cardcheck-page h2,
.cardcheck-page h3,
.cardcheck-page p {
  margin-top: 0;
}

.cardcheck-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(219, 229, 242, 0.9);
  background: rgba(247, 251, 255, 0.9);
  backdrop-filter: blur(18px);
}

.cardcheck-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cardcheck-mark,
.brand-mark.cardcheck-mark {
  --mark-blue: var(--cc-blue, var(--auth-blue, #245fd6));
  --mark-yellow: var(--cc-yellow, var(--auth-yellow, #ffcb3d));
  --mark-red: var(--cc-red, var(--auth-red, #ee5353));
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  color: transparent;
  background:
    linear-gradient(135deg, var(--mark-blue) 0 42%, var(--mark-yellow) 42% 58%, var(--mark-red) 58% 100%);
  box-shadow:
    0 16px 34px rgba(36, 95, 214, 0.22),
    inset 0 0 0 2px rgba(255, 255, 255, 0.82);
  font-size: 0;
  isolation: auto;
}

.cardcheck-mark::before,
.brand-mark.cardcheck-mark::before {
  content: "";
  position: absolute;
  inset: auto;
  left: 12px;
  top: 11px;
  width: 21px;
  height: 21px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.cardcheck-mark::after,
.brand-mark.cardcheck-mark::after {
  content: "";
  position: absolute;
  inset: auto;
  left: 28px;
  top: 30px;
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(42deg);
  transform-origin: left center;
}

.cardcheck-brand strong,
.cardcheck-brand small {
  display: block;
  line-height: 1.08;
}

.cardcheck-brand strong {
  font-size: 20px;
  letter-spacing: 0;
}

.cardcheck-brand small {
  margin-top: 4px;
  color: var(--cc-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cardcheck-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--cc-muted);
  font-size: 14px;
  font-weight: 700;
}

.cardcheck-nav a:hover {
  color: var(--cc-blue);
}

.cardcheck-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cardcheck-auth-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cardcheck-header-link {
  color: var(--cc-muted);
  font-size: 14px;
  font-weight: 800;
}

.cardcheck-header-link:hover {
  color: var(--cc-blue);
}

.cardcheck-header-action,
.cardcheck-primary,
.cardcheck-secondary,
.cardcheck-footer a {
  display: inline-grid;
  min-height: 46px;
  place-items: center;
  border-radius: 8px;
  font-weight: 800;
}

.cardcheck-header-action,
.cardcheck-primary,
.cardcheck-footer a {
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--cc-blue), var(--cc-green));
  box-shadow: 0 12px 28px rgba(36, 95, 214, 0.18);
}

.cardcheck-secondary {
  padding: 0 18px;
  border: 1px solid var(--cc-line);
  color: var(--cc-ink);
  background: #fff;
}

.cardcheck-login-pill,
.cardcheck-account-pill {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(219, 229, 242, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(23, 33, 61, 0.08);
  color: var(--cc-ink);
  font-weight: 900;
}

.cardcheck-login-pill {
  padding: 0 16px;
}

.cardcheck-login-pill:hover,
.cardcheck-account-pill:hover {
  border-color: rgba(36, 95, 214, 0.38);
  color: var(--cc-blue);
}

.cardcheck-login-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cc-yellow);
  box-shadow: 0 0 0 4px rgba(255, 203, 61, 0.18);
}

.cardcheck-account-pill {
  max-width: 260px;
  padding: 5px 14px 5px 6px;
}

.cardcheck-account-pill span:last-child {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.cardcheck-account-pill strong,
.cardcheck-account-pill small {
  display: block;
  overflow: hidden;
  max-width: 180px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cardcheck-account-pill strong {
  font-size: 13px;
}

.cardcheck-account-pill small {
  color: var(--cc-green-deep);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cardcheck-avatar,
.account-avatar-large {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.6), transparent 28%),
    linear-gradient(135deg, var(--cc-blue), var(--cc-green));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.cardcheck-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  font-size: 14px;
}

.cardcheck-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: clamp(28px, 4vw, 56px);
  min-height: calc(100vh - 83px);
  align-items: center;
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 72px) 42px;
  background:
    linear-gradient(135deg, rgba(36, 95, 214, 0.08) 0 32%, transparent 32% 100%),
    linear-gradient(110deg, rgba(247, 251, 255, 0.98) 0%, rgba(255, 250, 240, 0.96) 58%, rgba(255, 255, 255, 0.98) 100%);
}

.cardcheck-kicker {
  margin-bottom: 12px;
  color: var(--cc-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cardcheck-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.cardcheck-lede {
  max-width: 680px;
  margin-bottom: 28px;
  color: #34445e;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.cardcheck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cardcheck-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cardcheck-proof-row span {
  padding: 10px 12px;
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  color: var(--cc-muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.cardcheck-proof-row strong {
  color: var(--cc-blue);
}

.cardcheck-hero-visual {
  position: relative;
  width: min(100%, 480px);
  justify-self: end;
  min-height: 620px;
}

.cardcheck-photo-stack {
  position: relative;
  height: 520px;
}

.cardcheck-card-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(219, 229, 242, 0.95);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--cc-shadow);
}

.cardcheck-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardcheck-card-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #fff;
  background: rgba(20, 28, 25, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.cardcheck-card-photo.front {
  top: 0;
  left: 0;
  width: 52%;
  height: 455px;
}

.cardcheck-card-photo.back {
  right: 0;
  bottom: 0;
  width: 44%;
  height: 405px;
}

.cardcheck-verdict {
  position: absolute;
  right: 10px;
  bottom: 22px;
  width: min(360px, 88%);
  padding: 18px 20px;
  border: 1px solid rgba(255, 203, 61, 0.72);
  border-left: 4px solid var(--cc-yellow);
  border-radius: 8px;
  background: rgba(255, 252, 242, 0.96);
  box-shadow: 0 18px 48px rgba(30, 40, 36, 0.12);
}

.cardcheck-verdict span {
  display: block;
  color: var(--cc-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cardcheck-verdict strong {
  display: block;
  margin: 7px 0;
  font-size: 22px;
}

.cardcheck-verdict p {
  margin: 0;
  color: var(--cc-muted);
  line-height: 1.55;
}

.cardcheck-strip {
  padding: 24px clamp(20px, 5vw, 72px);
  border-block: 1px solid var(--cc-line);
  background: #fff;
}

.cardcheck-strip p {
  max-width: 1120px;
  margin: 0 auto;
  color: var(--cc-muted);
  font-size: 18px;
  line-height: 1.65;
}

.cardcheck-strip strong {
  color: var(--cc-ink);
}

.cardcheck-section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.cardcheck-section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.cardcheck-section h2 {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

.cardcheck-step-grid,
.cardcheck-trust-grid,
.cardcheck-price-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cardcheck-step-grid article,
.cardcheck-trust-grid article,
.cardcheck-price-table article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  background: #fff;
}

.cardcheck-step-grid span {
  color: var(--cc-green-deep);
  font-weight: 900;
}

.cardcheck-step-grid h3,
.cardcheck-trust-grid h3 {
  margin: 14px 0 8px;
  font-size: 22px;
}

.cardcheck-step-grid p,
.cardcheck-trust-grid p,
.cardcheck-pricing p,
.cardcheck-report-copy p {
  margin-bottom: 0;
  color: var(--cc-muted);
  line-height: 1.65;
}

.cardcheck-product {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: #fff;
}

.cardcheck-checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cardcheck-checklist li {
  padding: 12px 14px;
  border-left: 3px solid var(--cc-green);
  background: var(--cc-wash);
  font-weight: 800;
}

.cardcheck-report-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  background: var(--cc-wash);
  box-shadow: var(--cc-shadow);
}

.cardcheck-report-shot img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top;
}

.cardcheck-report-shot figcaption {
  padding: 12px 14px;
  color: var(--cc-muted);
  background: #fff;
  font-size: 13px;
}

.cardcheck-trust {
  background: var(--cc-cream);
}

.cardcheck-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cardcheck-pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

.cardcheck-price-table {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cardcheck-price-table article.featured {
  border-color: rgba(15, 138, 104, 0.55);
  box-shadow: inset 0 4px 0 var(--cc-green);
}

.cardcheck-price-table span {
  color: var(--cc-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.cardcheck-price-table strong {
  display: block;
  margin: 12px 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.cardcheck-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--cc-line);
  color: var(--cc-muted);
  background: #fff;
}

.cardcheck-footer strong {
  color: var(--cc-ink);
}

.cardcheck-auth-page {
  min-height: 100vh;
}

.cardcheck-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 28px;
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0;
}

.auth-card {
  border: 1px solid rgba(219, 229, 242, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--cc-shadow);
}

.auth-card-primary {
  padding: clamp(28px, 5vw, 54px);
}

.auth-card-primary h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.98;
}

.auth-card-primary p {
  max-width: 720px;
  color: var(--cc-muted);
  font-size: 18px;
  line-height: 1.7;
}

.auth-card-secondary {
  align-self: start;
  padding: 28px;
}

.auth-card-secondary h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.account-dashboard-card {
  overflow: hidden;
}

.account-hero-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.account-avatar-large {
  width: 86px;
  height: 86px;
  font-size: 34px;
}

.account-dashboard-card h1 {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
}

.account-dashboard-card h1 span {
  color: var(--cc-ink);
}

.account-dashboard-card h1 strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--cc-blue);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.18;
}

.account-lede {
  max-width: 640px;
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.account-stat-grid div {
  min-width: 0;
  border: 1px solid rgba(219, 229, 242, 0.95);
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.92), rgba(255, 255, 255, 0.96));
}

.account-stat-grid span,
.account-stat-grid small,
.account-roadmap small {
  display: block;
  color: var(--cc-muted);
}

.account-stat-grid span {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-stat-grid strong {
  display: block;
  color: var(--cc-ink);
  font-size: 28px;
  line-height: 1;
}

.account-stat-grid small {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
}

.auth-provider-button,
.auth-email-form button,
.account-signout {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.account-signout {
  color: var(--cc-muted);
}

.account-signout:hover {
  border-color: rgba(238, 83, 83, 0.35);
  color: #a33;
  background: rgba(238, 83, 83, 0.08);
}

.auth-provider-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 360px);
  min-height: 56px;
  margin-top: 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--cc-blue);
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(36, 95, 214, 0.24);
}

.auth-provider-button span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--cc-blue);
  background: #fff;
  font-weight: 900;
}

.auth-email-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 560px;
  margin-top: 18px;
}

.auth-email-form label {
  display: grid;
  gap: 8px;
  color: var(--cc-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-email-form input {
  min-height: 52px;
  border: 1px solid var(--cc-line);
  border-radius: 10px;
  padding: 0 16px;
  color: var(--cc-ink);
  background: #fff;
  font: inherit;
}

.auth-email-form button {
  align-self: end;
  min-height: 52px;
  border-radius: 10px;
  padding: 0 20px;
  color: var(--cc-ink);
  background: var(--cc-yellow);
  font-weight: 900;
}

.auth-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(36, 95, 214, 0.08);
  font-size: 14px !important;
  font-weight: 800;
}

.auth-status[data-type="success"] {
  color: var(--cc-green-deep);
  background: rgba(17, 135, 100, 0.1);
}

.auth-status[data-type="warn"] {
  color: #806013;
  background: rgba(255, 203, 61, 0.18);
}

.auth-status[data-type="error"] {
  color: #9d2626;
  background: rgba(238, 83, 83, 0.12);
}

.account-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.account-meta-grid div {
  min-width: 0;
  border: 1px solid var(--cc-line);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.account-meta-grid span,
.account-meta-grid strong {
  display: block;
}

.account-meta-grid span {
  color: var(--cc-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-meta-grid strong {
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: var(--cc-ink);
}

.account-roadmap {
  display: grid;
  gap: 12px;
}

.account-roadmap article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px;
  border: 1px solid rgba(219, 229, 242, 0.92);
  border-radius: 12px;
  background: var(--cc-wash);
}

.account-roadmap span {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--cc-green-deep);
  background: rgba(17, 135, 100, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.account-roadmap strong {
  color: var(--cc-ink);
}

.account-roadmap small {
  line-height: 1.5;
}

.account-reports-card {
  padding: 28px;
}

.account-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.account-section-head h2 {
  margin: 0;
  font-size: 28px;
}

.account-section-head p {
  margin: 6px 0 0;
  color: var(--cc-muted);
}

.account-report-list {
  display: grid;
  gap: 12px;
}

.account-empty-state,
.account-report-row {
  border: 1px solid var(--cc-line);
  border-radius: 14px;
  background: #fff;
}

.account-empty-state {
  display: grid;
  gap: 8px;
  padding: 22px;
  color: var(--cc-muted);
}

.account-empty-state strong,
.account-report-row strong {
  color: var(--cc-ink);
}

.account-empty-state a,
.account-report-row a {
  color: var(--cc-blue);
  font-weight: 900;
}

.account-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
}

.account-report-row small,
.account-report-row span {
  display: block;
  color: var(--cc-muted);
}

.account-report-row small {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-report-row strong {
  display: block;
  font-size: 18px;
}

.account-report-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.auth-tier-copy {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--cc-yellow);
  color: var(--cc-muted);
  background: rgba(255, 203, 61, 0.13);
  font-size: 14px;
  line-height: 1.55;
}

.auth-tier-copy strong {
  color: var(--cc-ink);
}

.cardcheck-info-main {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 0;
}

.cardcheck-info-hero {
  max-width: 860px;
  margin-bottom: 32px;
}

.cardcheck-info-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
}

.cardcheck-info-hero p {
  color: var(--cc-muted);
  font-size: 18px;
  line-height: 1.7;
}

.pricing-grid-xl,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-plan,
.guide-grid article,
.pricing-boundary,
.guide-failures {
  border: 1px solid var(--cc-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--cc-shadow);
}

.pricing-plan {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px;
}

.pricing-plan.featured {
  border-color: rgba(15, 138, 104, 0.42);
  box-shadow: var(--cc-shadow), inset 0 5px 0 var(--cc-green);
}

.pricing-badge,
.guide-grid span {
  color: var(--cc-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-plan h2,
.guide-grid h2,
.pricing-boundary h2,
.guide-failures h2 {
  margin: 0;
  font-size: 26px;
}

.pricing-plan strong {
  color: var(--cc-ink);
  font-size: 46px;
  line-height: 1;
}

.pricing-plan p,
.pricing-boundary p,
.guide-grid p {
  color: var(--cc-muted);
  line-height: 1.65;
}

.pricing-plan ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--cc-ink);
  font-weight: 800;
}

.pricing-boundary,
.guide-failures {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 28px;
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-grid article {
  padding: 24px;
}

.guide-failures div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-failures span {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--cc-muted);
  background: var(--cc-wash);
  font-weight: 800;
}

.report-service-level {
  border-left: 4px solid var(--cc-blue);
}

.cca-system {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
}

.cca-system .cardcheck-section-head p:last-child {
  max-width: 820px;
  color: var(--cc-muted);
  font-size: 17px;
  line-height: 1.72;
}

.cca-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cca-system-grid article {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(219, 229, 242, 0.96);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
  box-shadow: 0 16px 42px rgba(23, 33, 61, 0.08);
}

.cca-system-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--cc-blue), var(--cc-green));
  font-size: 13px;
  font-weight: 900;
}

.cca-system-grid h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.cca-system-grid p {
  margin: 0;
  color: var(--cc-muted);
  line-height: 1.65;
}

.cca-intake-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.cca-intake-proof span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--auth-blue, #245fd6);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.cca-result-strip,
.cca-report-summary,
.cca-condition-grid {
  display: grid;
  gap: 12px;
}

.cca-result-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.cca-result-strip div {
  padding: 16px;
  border: 1px solid rgba(219, 229, 242, 0.95);
  border-radius: 8px;
  background: #fff;
}

.cca-result-strip span,
.cca-result-strip strong {
  display: block;
}

.cca-result-strip span {
  color: var(--cc-muted, #5f6c80);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cca-result-strip strong {
  margin-top: 7px;
  color: var(--cc-ink, #17213d);
  font-size: 26px;
}

.cca-report-hero {
  border-top: 6px solid var(--cc-blue, #245fd6);
}

.cca-report-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.cca-grade-card {
  min-height: 168px;
  padding: 24px;
  border: 1px solid rgba(219, 229, 242, 0.95);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 46px rgba(23, 33, 61, 0.08);
}

.cca-grade-card.decision {
  border-color: rgba(17, 135, 100, 0.28);
  background:
    linear-gradient(180deg, rgba(17, 135, 100, 0.08), rgba(255, 255, 255, 0.98));
}

.cca-grade-card span,
.cca-grade-card strong,
.cca-grade-card small {
  display: block;
}

.cca-grade-card span {
  color: var(--cc-muted, #5f6c80);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cca-grade-card strong {
  margin: 10px 0;
  color: var(--cc-ink, #17213d);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
}

.cca-grade-card small {
  color: var(--cc-muted, #5f6c80);
  line-height: 1.45;
}

.cca-condition-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cca-condition-grid article {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cca-condition-grid article.strong {
  border-color: rgba(17, 135, 100, 0.32);
  background: linear-gradient(180deg, rgba(17, 135, 100, 0.08), #fff);
}

.cca-condition-grid article.medium {
  border-color: rgba(255, 203, 61, 0.42);
  background: linear-gradient(180deg, rgba(255, 203, 61, 0.12), #fff);
}

.cca-condition-grid article.risk {
  border-color: rgba(238, 83, 83, 0.24);
  background: linear-gradient(180deg, rgba(238, 83, 83, 0.08), #fff);
}

.cca-condition-grid span,
.cca-condition-grid strong,
.cca-condition-grid small {
  display: block;
}

.cca-condition-grid span {
  color: var(--cc-muted, #5f6c80);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cca-condition-grid strong {
  margin-top: 8px;
  color: var(--cc-ink, #17213d);
  font-size: 38px;
  line-height: 1;
}

.cca-condition-grid small {
  margin-top: 8px;
  color: var(--cc-blue, #245fd6);
  font-weight: 900;
}

.cca-condition-grid p {
  margin: 12px 0 0;
  color: var(--cc-muted, #5f6c80);
  font-size: 14px;
  line-height: 1.55;
}

.cca-trace-section .report-checks div {
  background:
    linear-gradient(180deg, rgba(36, 95, 214, 0.06), #fff);
}

.auth-desk-actions {
  margin-left: auto;
}

@media (max-width: 1100px) {
  .cardcheck-hero,
  .cardcheck-product,
  .cardcheck-pricing {
    grid-template-columns: 1fr;
  }

  .cca-system-grid,
  .cca-condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cardcheck-hero {
    min-height: 0;
  }

  .cardcheck-hero-visual {
    min-height: 560px;
  }
}

@media (max-width: 980px) {
  .cardcheck-nav {
    display: none;
  }

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

  .cardcheck-step-grid,
  .cardcheck-trust-grid,
  .cardcheck-price-table,
  .cca-report-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .cardcheck-header {
    gap: 16px;
    padding-inline: 28px;
  }

  .cardcheck-nav {
    gap: 18px;
  }

  .cardcheck-header-action {
    min-height: 42px;
    padding-inline: 14px;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .cardcheck-header {
    align-items: start;
    padding: 14px 16px;
  }

  .cardcheck-brand small {
    display: none;
  }

  .cardcheck-header-actions {
    gap: 8px;
  }

  .cardcheck-auth-nav-group {
    gap: 8px;
  }

  .cardcheck-header-link,
  .cardcheck-header-action {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .cardcheck-login-pill {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .cardcheck-account-pill {
    max-width: 46px;
    min-height: 40px;
    padding: 2px;
  }

  .cardcheck-account-pill span:last-child {
    display: none;
  }

  .cardcheck-avatar {
    width: 36px;
    height: 36px;
  }

  .cardcheck-hero,
  .cardcheck-section,
  .cardcheck-strip,
  .cardcheck-footer {
    padding-inline: 16px;
  }

  .cardcheck-hero h1 {
    font-size: 42px;
  }

  .cardcheck-proof-row {
    display: grid;
  }

  .cardcheck-hero-visual {
    min-height: 520px;
  }

  .cardcheck-photo-stack {
    height: 440px;
  }

  .cardcheck-card-photo.front {
    left: 0;
    width: 58%;
    height: 360px;
  }

  .cardcheck-card-photo.back {
    right: 0;
    width: 54%;
    height: 330px;
  }

  .cardcheck-verdict {
    left: 0;
    right: auto;
    bottom: 0;
    width: 100%;
  }

  .cardcheck-step-grid,
  .cardcheck-trust-grid,
  .cardcheck-price-table,
  .cca-system-grid,
  .cca-result-strip,
  .cca-report-summary,
  .cca-condition-grid {
    grid-template-columns: 1fr;
  }

  .cardcheck-footer {
    display: grid;
  }

  .auth-email-form,
  .account-meta-grid,
  .account-stat-grid,
  .account-hero-row,
  .account-report-row,
  .pricing-grid-xl,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .account-section-head {
    display: grid;
  }

  .account-report-meta {
    justify-items: start;
    text-align: left;
  }

  .account-avatar-large {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .auth-score-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .auth-score-grid div:last-child {
    border-bottom: 0;
  }

  .report-identity,
  .report-main-grid,
  .report-section,
  .report-meta {
    padding: 20px;
  }

  .report-card-block {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .report-card-block img {
    width: 92px;
    height: 128px;
  }

  .report-card-block h2 {
    font-size: 22px;
  }
}

@media (max-width: 820px) {
  .lab-grid,
  .lab-form {
    grid-template-columns: 1fr;
  }

  .lab-form .span-all {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .admin-login {
    grid-template-columns: 1fr;
  }
}

.related-section {
  background: #eff5f2;
}

.related-grid a {
  background: var(--white);
}

.mobile-action-bar {
  display: none;
}

.mobile-tab-bar {
  display: none;
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid,
  .path-grid,
  .pricing-grid,
  .search-conversion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .mobile-discovery {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .account-panel {
    grid-template-columns: 1fr;
  }

  .bind-form {
    grid-template-columns: 1fr;
  }

  .mobile-strip,
  .miniapp,
  .waitlist,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .share-landing {
    grid-template-columns: 1fr;
  }

  .action-console {
    grid-template-columns: 1fr;
  }

  .action-console-grid {
    grid-template-columns: 1fr;
  }

  .share-actions {
    justify-content: stretch;
  }

  .share-actions a {
    flex: 1 1 130px;
  }

  .brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-2 {
    grid-column: auto;
  }

  .span-3 {
    grid-column: auto;
  }

  .version-row {
    grid-template-columns: 1fr;
  }

  .launch-score,
  .launch-matrix {
    grid-template-columns: 1fr;
  }

  .launch-matrix article {
    min-height: 0;
  }

  .qr-mock {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-action {
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 100svh;
    padding: 104px 16px 34px;
  }

  .hero-bg {
    object-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(248, 250, 247, 0.98) 0%, rgba(248, 250, 247, 0.9) 58%, rgba(248, 250, 247, 0.5) 100%),
      linear-gradient(0deg, rgba(248, 250, 247, 1) 0%, rgba(248, 250, 247, 0) 38%);
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .search-row input {
    padding: 0 13px;
    font-size: 15px;
  }

  .search-row,
  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    display: grid;
  }

  section:not(.hero) {
    padding: 54px 16px;
  }

  .dashboard-grid,
  .path-grid,
  .pricing-grid,
  .search-conversion {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    min-height: 0;
  }

  .readiness-list {
    flex-wrap: nowrap;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
  }

  .readiness-list span {
    flex: 0 0 auto;
  }

  .detail-main {
    padding-top: 80px;
  }

  .breadcrumb {
    padding: 16px 16px 0;
    font-size: 13px;
  }

  .detail-hero {
    padding-top: 20px;
    gap: 28px;
  }

  .detail-summary {
    order: 1;
  }

  .card-stage {
    order: 2;
  }

  .detail-summary h1 {
    font-size: 34px;
  }

  .detail-subtitle {
    font-size: 16px;
  }

  .price-overview,
  .price-panel {
    grid-template-columns: 1fr;
  }

  .price-overview {
    margin-top: 18px;
  }

  .price-overview button {
    display: none;
  }

  .detail-grid,
  .related-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-main {
    padding-bottom: 74px;
  }

  .sample-card {
    width: min(100%, 292px);
  }

  .brief-grid {
    grid-template-columns: 1fr;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    min-height: 560px;
    border-width: 8px;
    border-radius: 34px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 220px;
  }

  .search-hero {
    padding: 54px 16px 34px;
  }

  .market-toolbar {
    flex-wrap: nowrap;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
  }

  .mobile-discovery {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .discovery-block {
    padding: 16px;
  }

  .quick-chip-grid {
    flex-wrap: nowrap;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
  }

  .quick-chip-grid a,
  .quick-chip-grid span {
    flex: 0 0 auto;
    max-width: 220px;
  }

  .market-tabs,
  .market-select,
  .market-check {
    flex: 0 0 auto;
  }

  .market-insight {
    font-size: 14px;
  }

  .result-card {
    grid-template-columns: 92px 1fr;
    min-height: 158px;
  }

  .result-card img {
    height: 132px;
  }

  .detail-card {
    padding: 18px;
  }

  .detail-card h2 {
    font-size: 24px;
  }

  .brief-grid div {
    min-height: 0;
  }

  .launch-score strong {
    font-size: 20px;
  }

  .launch-steps li,
  .launch-roadmap div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .launch-matrix h3 {
    font-size: 24px;
  }

  .source-table-wrap {
    margin-left: -4px;
    margin-right: -4px;
  }

  .source-table th,
  .source-table td {
    padding: 12px;
    font-size: 13px;
  }

  .submission-form input[type="file"] {
    padding: 10px;
    font-size: 14px;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(248, 250, 247, 0.94);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar button {
    min-width: 0;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    color: var(--white);
    background: var(--green);
    font-weight: 800;
  }

  .mobile-action-bar button:nth-child(2),
  .mobile-action-bar button:nth-child(4) {
    color: var(--green-deep);
    background: var(--white);
    border: 1px solid var(--line);
  }

  .mobile-action-bar button.active {
    color: var(--white);
    background: var(--coral);
  }

  .site-footer {
    padding-bottom: 106px;
  }

  .mobile-tab-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 8px 10px max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(248, 250, 247, 0.96);
    backdrop-filter: blur(16px);
  }

  .mobile-tab-bar a {
    display: grid;
    gap: 2px;
    min-width: 0;
    min-height: 48px;
    place-items: center;
    padding: 5px 4px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-tab-bar b {
    color: var(--ink);
    font-size: 13px;
  }

  .mobile-tab-bar a.active {
    color: var(--green-deep);
    background: #e4f3ec;
  }

  .mobile-tab-bar a.active b {
    color: var(--green-deep);
  }

  .mobile-action-bar + .site-footer + .mobile-tab-bar {
    display: none;
  }
}
