/* Hallmark · genre: atmospheric · macrostructure: Ecosystem Index · design-system: design.md · designed-as-app
 * H2 hero: split=7/5, right=live-index, divider=rule · N13 nav: inline-search · F6 cards: first=feature
 * Ft5 footer: statement+contact · theme: custom · enrichment: Tier-A technical-grid
 * pre-emit critique: P5 H5 E4 S5 R5 V5
 * context: user-provided · contrast: pass (40–41) · nav: N13 · footer: Ft5 · slop: pass (42–45)
 * honest: pass (46) · chrome: pass (47) · tokens: pass (48) · icons: pass (30)
 * mobile: pass (34, 49, 50–57) · slop-test: pass (1–58)
 */
.tb-home-html {
  overflow-x: clip;
  background: var(--tb-color-paper-deep);
}

.tb-home-v1 {
  width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--tb-color-paper);
  color: var(--tb-color-ink);
  font-family: var(--tb-font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.tb-home-v1::selection,
.tb-home-v1 *::selection {
  background: var(--tb-selection);
  color: var(--tb-color-ink);
}

.tb-home-v1 *,
.tb-home-v1 *::before,
.tb-home-v1 *::after {
  box-sizing: border-box;
}

.tb-home-v1 button,
.tb-home-v1 input {
  font: inherit;
}

.tb-home-v1 button,
.tb-home-v1 a {
  -webkit-tap-highlight-color: var(--tb-color-accent-soft);
}

.tb-home-v1 a {
  color: inherit;
  text-decoration: none;
}

.tb-home-v1 a:active {
  opacity: 0.86;
}

.tb-home-v1 img {
  display: block;
  max-width: 100%;
}

.tb-home-v1 h1,
.tb-home-v1 h2,
.tb-home-v1 h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tb-home-v1 .indexContent,
.tb-home-v1 > #app > .indexContent,
.tb-home-v1 .footBox {
  display: none !important;
}

.tb-home-v1 .headContent {
  position: sticky;
  z-index: 80;
  top: 0;
  width: 100%;
  border-bottom: 1px solid var(--tb-color-rule-soft);
  background: var(--tb-color-paper);
}

.tb-home-v1 .headTopBox {
  width: min(calc(100% - (var(--tb-gutter) * 2)), var(--tb-container)) !important;
  height: 4.75rem !important;
  min-height: 4.75rem;
  margin: 0 auto !important;
  gap: var(--tb-space-lg);
}

.tb-home-v1 .headTopBox > .align {
  min-width: 0;
}

.tb-home-v1 .headTopBox > .align:first-child {
  flex: 1 1 auto;
}

.tb-home-v1 .headTopBox > .align:last-child {
  flex: 0 0 auto;
}

.tb-home-v1 .logoBox {
  height: auto !important;
  flex: 0 0 auto;
}

.tb-home-v1 .logoBox .logo {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: var(--tb-radius-sm);
}

.tb-home-v1 .logoBox .appName {
  padding-left: var(--tb-space-xs) !important;
  color: var(--tb-color-ink) !important;
  font-family: var(--tb-font-display) !important;
  font-size: var(--tb-text-md) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.025em;
}

.tb-home-v1 .headTopNavList {
  height: auto !important;
  margin-left: clamp(1rem, 3vw, 3.5rem) !important;
  gap: var(--tb-space-lg);
}

.tb-home-v1 .headTopNav {
  display: none !important;
}

.tb-nav-link {
  position: relative;
  border: 0;
  padding: var(--tb-space-xs) 0;
  background: none;
  color: var(--tb-color-ink-2);
  cursor: pointer;
  font-size: var(--tb-text-sm);
  line-height: 1;
  transition:
    color var(--tb-dur-short) var(--tb-ease-standard),
    transform var(--tb-dur-fast) var(--tb-ease-standard);
}

.tb-nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--tb-color-accent);
  content: "";
  opacity: 0;
  transition: opacity var(--tb-dur-short) var(--tb-ease-standard);
}

.tb-nav-link:hover::after,
.tb-nav-link:focus-visible::after {
  opacity: 1;
}

.tb-nav-link:active {
  transform: translateY(1px);
}

.tb-nav-link:focus-visible,
.tb-home-v1 a:focus-visible,
.tb-home-v1 button:focus-visible,
.tb-home-v1 input:focus-visible,
.tb-home-v1 .logoBox:focus-visible,
.tb-home-v1 .headTopLogin:focus-visible {
  outline: 2px solid var(--tb-color-focus);
  outline-offset: 3px;
}

.tb-home-v1 .hcSearchBox {
  width: clamp(13rem, 19vw, 17rem) !important;
  height: 2.75rem !important;
  padding: 0 var(--tb-space-2xs) 0 var(--tb-space-sm) !important;
  border: 1px solid var(--tb-color-rule) !important;
  border-radius: var(--tb-radius-pill) !important;
  background: var(--tb-color-paper-2) !important;
  outline: 2px solid var(--tb-color-transparent);
  outline-offset: 1px;
  transition:
    border-color var(--tb-dur-short) var(--tb-ease-standard),
    background var(--tb-dur-short) var(--tb-ease-standard);
}

.tb-home-v1 .hcSearchBox:focus-within {
  border-color: var(--tb-color-focus) !important;
  background: var(--tb-color-paper-3) !important;
  outline-color: var(--tb-color-focus);
}

.tb-home-v1 .searchIpt {
  width: 100% !important;
  height: 2.75rem !important;
  color: var(--tb-color-ink) !important;
  font-family: var(--tb-font-body) !important;
  font-size: var(--tb-text-sm) !important;
  line-height: 2.75rem !important;
}

.tb-home-v1 .searchIpt .el-input__inner {
  height: 2.75rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--tb-color-ink) !important;
  font-size: var(--tb-text-sm) !important;
}

.tb-home-v1 .searchIpt .el-input__inner::placeholder {
  color: var(--tb-color-muted) !important;
}

.tb-home-v1 .searchIpt .el-input__inner:focus-visible {
  outline: none;
}

.tb-home-v1 .searchIpt .el-input__suffix {
  color: var(--tb-color-muted) !important;
}

.tb-home-v1 .hcSearchBtn {
  width: 2rem !important;
  height: 2rem !important;
  padding: var(--tb-space-2xs);
  border-radius: var(--tb-radius-pill);
  filter: invert(1);
  opacity: 0.72;
  transition:
    opacity var(--tb-dur-short) var(--tb-ease-standard),
    background var(--tb-dur-short) var(--tb-ease-standard);
}

.tb-home-v1 .hcSearchBtn:hover {
  background: var(--tb-color-accent-soft);
}

.tb-home-v1 .hcSearchBtn:active {
  background: var(--tb-color-accent-faint);
}

.tb-home-v1 .hcSearchBtn:focus-visible {
  outline: 2px solid var(--tb-color-focus);
  outline-offset: 2px;
}

.tb-home-v1 .headTopLogin {
  width: auto !important;
  min-width: 5.75rem;
  height: 2.75rem !important;
  margin-left: var(--tb-space-sm) !important;
  padding: 0 var(--tb-space-sm);
  border: 1px solid var(--tb-color-accent) !important;
  border-radius: var(--tb-radius-sm) !important;
  background: var(--tb-color-accent) !important;
  color: var(--tb-color-accent-ink) !important;
  font-family: var(--tb-font-body) !important;
  font-size: var(--tb-text-sm) !important;
  font-weight: 700 !important;
  line-height: 2.625rem !important;
  white-space: nowrap;
  transition:
    background var(--tb-dur-short) var(--tb-ease-standard),
    border-color var(--tb-dur-short) var(--tb-ease-standard),
    transform var(--tb-dur-fast) var(--tb-ease-standard);
}

.tb-home-v1 .headTopLogin:hover {
  background: var(--tb-color-accent-strong) !important;
}

.tb-home-v1 .headTopLogin:active {
  transform: translateY(1px);
}

.tb-home-shell {
  position: relative;
  width: 100%;
  background: var(--tb-color-paper);
}

.tb-wrap {
  width: min(calc(100% - (var(--tb-gutter) * 2)), var(--tb-container));
  margin: 0 auto;
}

.tb-hero {
  position: relative;
  min-height: 42rem;
  overflow: clip;
  border-bottom: 1px solid var(--tb-color-rule-soft);
  background:
    linear-gradient(var(--tb-grid-line) 1px, var(--tb-color-transparent) 1px),
    linear-gradient(90deg, var(--tb-grid-line) 1px, var(--tb-color-transparent) 1px),
    var(--tb-color-paper-deep);
  background-size: 3.5rem 3.5rem;
}

.tb-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 11rem;
  background: linear-gradient(var(--tb-color-transparent), var(--tb-color-paper-deep));
  content: "";
  pointer-events: none;
}

.tb-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(20rem, 5fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  min-height: 42rem;
  padding: var(--tb-space-2xl) 0 var(--tb-space-3xl);
}

.tb-hero__copy {
  max-width: 52rem;
  animation: tb-enter var(--tb-dur-medium) var(--tb-ease-out) both;
}

.tb-eyebrow {
  display: flex;
  gap: var(--tb-space-xs);
  align-items: center;
  margin: 0 0 var(--tb-space-lg);
  color: var(--tb-color-accent-strong);
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tb-eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: var(--tb-color-accent);
  content: "";
}

.tb-hero h1 {
  max-width: 100%;
  margin: 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-3xl);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: var(--tb-line-tight);
}

.tb-hero h1 .tb-accent-line {
  color: var(--tb-color-accent-strong);
}

.tb-hero__lede {
  max-width: 60ch;
  margin: var(--tb-space-lg) 0 0;
  color: var(--tb-color-ink-2);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: var(--tb-line-body);
}

.tb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tb-space-xs);
  margin-top: var(--tb-space-xl);
}

.tb-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: var(--tb-space-xs);
  padding: var(--tb-space-xs) var(--tb-space-md);
  border: 1px solid var(--tb-color-rule);
  border-radius: var(--tb-radius-sm);
  background: var(--tb-color-paper-2);
  color: var(--tb-color-ink);
  cursor: pointer;
  font-size: var(--tb-text-sm);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background var(--tb-dur-short) var(--tb-ease-standard),
    border-color var(--tb-dur-short) var(--tb-ease-standard),
    color var(--tb-dur-short) var(--tb-ease-standard),
    transform var(--tb-dur-fast) var(--tb-ease-standard);
}

.tb-button:hover {
  background: var(--tb-color-paper-3);
}

.tb-button:active {
  transform: translateY(2px);
}

.tb-button[disabled],
.tb-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.tb-button.is-loading {
  cursor: wait;
}

.tb-button.is-loading::before {
  width: 0.85rem;
  height: 0.85rem;
  border: 1px solid var(--tb-color-ink-2);
  border-top-color: var(--tb-color-transparent);
  border-radius: var(--tb-radius-pill);
  animation: tb-spin 700ms linear infinite;
  content: "";
}

.tb-button.is-error {
  border-color: var(--tb-color-error);
  background: var(--tb-color-error-soft);
}

.tb-button.is-success {
  border-color: var(--tb-color-success);
  background: var(--tb-color-success-soft);
}

.tb-button--primary {
  border-color: var(--tb-color-accent);
  background: var(--tb-color-accent);
  color: var(--tb-color-accent-ink);
}

.tb-button--primary:hover {
  background: var(--tb-color-accent-strong);
}

.tb-button__arrow {
  font-family: var(--tb-font-display);
  font-weight: 500;
}

.tb-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tb-space-xs) var(--tb-space-lg);
  margin: var(--tb-space-xl) 0 0;
  padding: var(--tb-space-lg) 0 0;
  border-top: 1px solid var(--tb-color-rule-soft);
  list-style: none;
}

.tb-hero__facts li {
  display: flex;
  gap: var(--tb-space-2xs);
  align-items: center;
  color: var(--tb-color-muted);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-hero__facts li::before {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: var(--tb-radius-pill);
  background: var(--tb-color-success);
  content: "";
}

.tb-console {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tb-color-rule);
  border-radius: var(--tb-radius-lg);
  background: var(--tb-color-paper-2);
  box-shadow: var(--tb-shadow-card);
  animation: tb-enter var(--tb-dur-medium) 100ms var(--tb-ease-out) both;
}

.tb-console__bar {
  display: flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--tb-space-sm);
  border-bottom: 1px solid var(--tb-color-rule-soft);
}

.tb-console__label,
.tb-console__status {
  color: var(--tb-color-muted);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
  letter-spacing: 0.08em;
}

.tb-console__status {
  display: flex;
  gap: var(--tb-space-2xs);
  align-items: center;
  color: var(--tb-color-success);
}

.tb-console__status::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: var(--tb-radius-pill);
  background: var(--tb-color-success);
  content: "";
}

.tb-console__body {
  padding: var(--tb-space-sm);
}

.tb-console__intro {
  display: flex;
  justify-content: space-between;
  gap: var(--tb-space-md);
  padding: var(--tb-space-xs) var(--tb-space-2xs) var(--tb-space-md);
}

.tb-console__intro strong {
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-lg);
  letter-spacing: -0.03em;
}

.tb-console__intro span {
  align-self: flex-end;
  color: var(--tb-color-muted);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-console-list {
  display: grid;
  gap: var(--tb-space-2xs);
}

.tb-console-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: var(--tb-space-xs);
  align-items: center;
  padding: var(--tb-space-xs);
  border: 1px solid var(--tb-color-rule-soft);
  border-radius: var(--tb-radius-sm);
  background: var(--tb-color-paper-deep);
  transition:
    border-color var(--tb-dur-short) var(--tb-ease-standard),
    background var(--tb-dur-short) var(--tb-ease-standard),
    transform var(--tb-dur-fast) var(--tb-ease-standard);
}

.tb-console-item:hover {
  border-color: var(--tb-color-accent);
}

.tb-console-item__media {
  position: relative;
  width: 3rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--tb-radius-xs);
  background: var(--tb-color-paper-4);
}

.tb-console-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tb-console-item__media span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--tb-color-accent-strong);
  font-family: var(--tb-font-display);
  font-weight: 700;
}

.tb-console-item__media img + span,
.tb-product-card__media img + .tb-product-card__fallback {
  display: none;
}

.tb-console-item__media.is-error span,
.tb-product-card__media.is-error .tb-product-card__fallback {
  display: grid;
}

.tb-console-item__media.is-error img {
  display: none;
}

.tb-console-item__copy {
  min-width: 0;
}

.tb-console-item__name {
  overflow: hidden;
  color: var(--tb-color-ink);
  font-size: var(--tb-text-sm);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tb-console-item__meta {
  margin-top: var(--tb-space-3xs);
  color: var(--tb-color-muted);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-console-item__price {
  color: var(--tb-color-accent-strong);
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-sm);
  font-weight: 600;
}

.tb-category-strip {
  border-bottom: 1px solid var(--tb-color-rule-soft);
  background: var(--tb-color-paper-2);
}

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

.tb-category {
  min-height: 8.75rem;
  padding: var(--tb-space-lg);
  border-right: 1px solid var(--tb-color-rule-soft);
}

.tb-category:first-child {
  border-left: 1px solid var(--tb-color-rule-soft);
}

.tb-category__index {
  color: var(--tb-color-accent);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-category h2 {
  margin: var(--tb-space-md) 0 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-md);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tb-category p {
  margin: var(--tb-space-xs) 0 0;
  color: var(--tb-color-muted);
  font-size: var(--tb-text-sm);
  line-height: 1.6;
}

.tb-index-section {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: var(--tb-space-3xl) 0;
  border-bottom: 1px solid var(--tb-color-rule-soft);
}

.tb-section-rail {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.tb-section-number {
  color: var(--tb-color-accent);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
  letter-spacing: 0.12em;
}

.tb-section-rail p {
  max-width: 13rem;
  margin: var(--tb-space-sm) 0 0;
  color: var(--tb-color-muted);
  font-size: var(--tb-text-sm);
  line-height: var(--tb-line-body);
}

.tb-section-main {
  min-width: 0;
}

.tb-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--tb-space-lg);
  margin-bottom: var(--tb-space-xl);
}

.tb-section-head h2 {
  max-width: 19ch;
  margin: 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: var(--tb-line-heading);
}

.tb-section-count {
  flex: 0 0 auto;
  color: var(--tb-color-muted);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tb-space-2xs);
  align-items: center;
  margin-bottom: var(--tb-space-lg);
}

.tb-filter {
  min-height: 2.3rem;
  padding: 0 var(--tb-space-sm);
  border: 1px solid var(--tb-color-rule);
  border-radius: var(--tb-radius-pill);
  background: var(--tb-color-paper-2);
  color: var(--tb-color-ink-2);
  cursor: pointer;
  font-size: var(--tb-text-sm);
  white-space: nowrap;
  transition:
    background var(--tb-dur-short) var(--tb-ease-standard),
    border-color var(--tb-dur-short) var(--tb-ease-standard),
    color var(--tb-dur-short) var(--tb-ease-standard),
    transform var(--tb-dur-fast) var(--tb-ease-standard);
}

.tb-filter:hover {
  background: var(--tb-color-paper-3);
}

.tb-filter:active {
  transform: translateY(1px);
}

.tb-filter.is-active {
  border-color: var(--tb-color-accent);
  background: var(--tb-color-accent-soft);
  color: var(--tb-color-accent-strong);
}

.tb-search-status {
  min-height: 1.5rem;
  margin: 0 0 var(--tb-space-md);
  color: var(--tb-color-muted);
  font-size: var(--tb-text-sm);
  line-height: 1.5;
}

.tb-search-status.is-success {
  color: var(--tb-color-success);
}

.tb-search-status.is-error {
  color: var(--tb-color-error);
}

.tb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tb-space-sm);
}

.tb-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 24rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tb-color-rule-soft);
  border-radius: var(--tb-radius-md);
  background: var(--tb-color-paper-2);
  transition:
    background var(--tb-dur-short) var(--tb-ease-standard),
    border-color var(--tb-dur-short) var(--tb-ease-standard),
    transform var(--tb-dur-short) var(--tb-ease-out);
}

.tb-product-card:hover {
  border-color: var(--tb-color-accent);
}

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

.tb-product-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
}

.tb-product-card__media {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
  border-bottom: 1px solid var(--tb-color-rule-soft);
  background: var(--tb-color-paper-4);
}

.tb-product-card--featured .tb-product-card__media {
  min-height: 100%;
  border-right: 1px solid var(--tb-color-rule-soft);
  border-bottom: 0;
}

.tb-product-card__media::after {
  position: absolute;
  inset: 0;
  background: var(--tb-color-image-scrim);
  content: "";
  opacity: 0.12;
  pointer-events: none;
  transition: opacity var(--tb-dur-short) var(--tb-ease-standard);
}

.tb-product-card__media img {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
}

.tb-product-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--tb-color-accent);
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-2xl);
  font-weight: 700;
}

.tb-product-card__media.is-error img {
  display: none;
}

.tb-product-card__media.is-error {
  background:
    linear-gradient(var(--tb-grid-line) 1px, var(--tb-color-transparent) 1px),
    linear-gradient(90deg, var(--tb-grid-line) 1px, var(--tb-color-transparent) 1px),
    var(--tb-color-paper-3);
  background-size: 2rem 2rem;
}

.tb-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--tb-space-md);
}

.tb-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tb-space-2xs);
  min-height: 1.55rem;
}

.tb-tag {
  display: inline-flex;
  min-height: 1.5rem;
  align-items: center;
  padding: 0 var(--tb-space-2xs);
  border: 1px solid var(--tb-color-rule);
  border-radius: var(--tb-radius-xs);
  background: var(--tb-color-paper-deep);
  color: var(--tb-color-ink-2);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-product-card h3 {
  margin: var(--tb-space-md) 0 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-lg);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.tb-product-card__foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--tb-space-md);
  margin-top: auto;
  padding-top: var(--tb-space-xl);
}

.tb-price {
  color: var(--tb-color-accent-strong);
  font-family: var(--tb-font-mono);
  font-size: var(--tb-text-lg);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.tb-price small {
  margin-right: var(--tb-space-3xs);
  color: var(--tb-color-muted);
  font-size: var(--tb-text-xs);
  font-weight: 500;
  letter-spacing: 0;
}

.tb-card-link {
  display: inline-flex;
  gap: var(--tb-space-2xs);
  align-items: center;
  color: var(--tb-color-ink-2);
  font-size: var(--tb-text-sm);
  font-weight: 600;
  white-space: nowrap;
}

.tb-service-list {
  display: grid;
  border-top: 1px solid var(--tb-color-rule-soft);
}

.tb-service-item {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.9fr) auto;
  gap: var(--tb-space-md);
  align-items: center;
  min-height: 6.4rem;
  padding: var(--tb-space-sm) 0;
  border-bottom: 1px solid var(--tb-color-rule-soft);
  transition:
    background var(--tb-dur-short) var(--tb-ease-standard),
    color var(--tb-dur-short) var(--tb-ease-standard);
}

.tb-service-item:hover {
  background: var(--tb-color-accent-faint);
}

.tb-service-item[hidden] {
  display: none;
}

.tb-service-item h3 {
  margin: 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-md);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tb-service-item__index {
  margin-right: var(--tb-space-xs);
  color: var(--tb-color-muted);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-service-item p {
  margin: 0;
  color: var(--tb-color-muted);
  font-size: var(--tb-text-sm);
  line-height: 1.5;
}

.tb-service-item__end {
  display: flex;
  gap: var(--tb-space-md);
  align-items: center;
}

.tb-service-item__arrow {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--tb-color-rule);
  border-radius: var(--tb-radius-pill);
  color: var(--tb-color-ink-2);
  font-family: var(--tb-font-display);
  white-space: nowrap;
  transition:
    border-color var(--tb-dur-short) var(--tb-ease-standard),
    color var(--tb-dur-short) var(--tb-ease-standard),
    transform var(--tb-dur-short) var(--tb-ease-out);
}

.tb-cooperation {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--tb-color-rule-soft);
  background: var(--tb-color-paper-deep);
}

.tb-cooperation__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  padding: var(--tb-space-3xl) 0;
}

.tb-cooperation__copy h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.tb-cooperation__copy p {
  max-width: 60ch;
  margin: var(--tb-space-lg) 0 0;
  color: var(--tb-color-ink-2);
  font-size: var(--tb-text-md);
  line-height: var(--tb-line-body);
}

.tb-cooperation__panel {
  border-top: 1px solid var(--tb-color-rule);
}

.tb-benefit {
  display: block;
  padding: var(--tb-space-lg) 0;
  border-bottom: 1px solid var(--tb-color-rule-soft);
}

.tb-benefit__index {
  margin-right: var(--tb-space-xs);
  color: var(--tb-color-accent);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-benefit h3 {
  margin: 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-md);
  font-weight: 600;
}

.tb-benefit p {
  margin: var(--tb-space-2xs) 0 0;
  color: var(--tb-color-muted);
  font-size: var(--tb-text-sm);
  line-height: 1.65;
}

.tb-process {
  padding: var(--tb-space-3xl) 0;
  border-bottom: 1px solid var(--tb-color-rule-soft);
}

.tb-process__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--tb-space-lg);
  margin-bottom: var(--tb-space-xl);
}

.tb-process__head h2 {
  margin: 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.tb-process__head p {
  max-width: 60ch;
  margin: 0;
  color: var(--tb-color-muted);
  font-size: var(--tb-text-sm);
  line-height: var(--tb-line-body);
}

.tb-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--tb-color-rule);
  border-left: 1px solid var(--tb-color-rule);
}

.tb-process-step {
  min-height: 12rem;
  padding: var(--tb-space-lg);
  border-right: 1px solid var(--tb-color-rule);
  border-bottom: 1px solid var(--tb-color-rule);
}

.tb-process-step__number {
  color: var(--tb-color-accent);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-process-step h3 {
  margin: var(--tb-space-xl) 0 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-md);
  font-weight: 600;
}

.tb-process-step p {
  margin: var(--tb-space-xs) 0 0;
  color: var(--tb-color-muted);
  font-size: var(--tb-text-sm);
  line-height: 1.6;
}

.tb-footer {
  padding: var(--tb-space-3xl) 0 var(--tb-space-xl);
  background: var(--tb-color-paper-deep);
}

.tb-footer__statement {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: var(--tb-space-2xl);
  align-items: end;
  padding-bottom: var(--tb-space-2xl);
  border-bottom: 1px solid var(--tb-color-rule-soft);
}

.tb-footer__statement h2 {
  max-width: 14ch;
  margin: 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.tb-footer__contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem;
  gap: var(--tb-space-lg);
  align-items: end;
}

.tb-footer__contact dl {
  display: grid;
  gap: var(--tb-space-sm);
  margin: 0;
}

.tb-footer__contact div {
  display: grid;
  gap: var(--tb-space-3xs);
}

.tb-footer__contact dt {
  color: var(--tb-color-muted);
  font-family: var(--tb-font-body);
  font-size: var(--tb-text-xs);
}

.tb-footer__contact dd {
  margin: 0;
  color: var(--tb-color-ink);
  font-size: var(--tb-text-sm);
  line-height: 1.5;
}

.tb-footer__qr {
  overflow: hidden;
  border: 1px solid var(--tb-color-rule);
  border-radius: var(--tb-radius-sm);
  background: var(--tb-color-ink);
}

.tb-footer__qr img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.tb-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tb-space-sm) var(--tb-space-lg);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--tb-space-lg);
  color: var(--tb-color-muted);
  font-size: var(--tb-text-xs);
}

.tb-footer__bottom a {
  white-space: nowrap;
  transition: color var(--tb-dur-short) var(--tb-ease-standard);
}

.tb-footer__bottom a:hover {
  color: var(--tb-color-ink);
}

.tb-empty-state {
  grid-column: 1 / -1;
  padding: var(--tb-space-2xl);
  border: 1px dashed var(--tb-color-rule);
  border-radius: var(--tb-radius-md);
  color: var(--tb-color-muted);
  text-align: center;
}

.tb-skeleton {
  min-height: 22rem;
  border: 1px solid var(--tb-color-rule-soft);
  border-radius: var(--tb-radius-md);
  background: var(--tb-color-paper-2);
  animation: tb-pulse 1.3s var(--tb-ease-standard) infinite alternate;
}

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

.tb-modal[hidden] {
  display: none;
}

.tb-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--tb-space-md);
  background: var(--tb-color-scrim);
}

.tb-modal__panel {
  width: min(100%, 31rem);
  max-height: calc(100dvh - (var(--tb-space-md) * 2));
  overflow: auto;
  border: 1px solid var(--tb-color-rule);
  border-radius: var(--tb-radius-lg);
  background: var(--tb-color-paper-2);
  box-shadow: var(--tb-shadow-modal);
}

.tb-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--tb-space-md);
  border-bottom: 1px solid var(--tb-color-rule-soft);
}

.tb-modal__head h2 {
  margin: 0;
  color: var(--tb-color-ink);
  font-family: var(--tb-font-display);
  font-size: var(--tb-text-lg);
}

.tb-modal__close {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--tb-color-rule);
  border-radius: var(--tb-radius-pill);
  background: var(--tb-color-paper-deep);
  color: var(--tb-color-ink);
  cursor: pointer;
  font-size: var(--tb-text-lg);
  transition:
    border-color var(--tb-dur-short) var(--tb-ease-standard),
    background var(--tb-dur-short) var(--tb-ease-standard);
}

.tb-modal__close:hover {
  background: var(--tb-color-accent-soft);
}

.tb-modal__close:active {
  background: var(--tb-color-accent-faint);
}

.tb-home-v1 button:disabled,
.tb-home-v1 button[aria-disabled="true"],
.tb-nav-link:disabled,
.tb-filter:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.tb-modal__body {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: var(--tb-space-lg);
  align-items: center;
  padding: var(--tb-space-lg);
}

.tb-modal__qr {
  overflow: hidden;
  border-radius: var(--tb-radius-sm);
  background: var(--tb-color-ink);
}

.tb-modal__qr img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.tb-modal__body p {
  margin: 0;
  color: var(--tb-color-ink-2);
  font-size: var(--tb-text-sm);
  line-height: var(--tb-line-body);
}

.tb-modal__details {
  display: grid;
  gap: var(--tb-space-xs);
  margin-top: var(--tb-space-md);
}

.tb-modal__details a,
.tb-modal__details span {
  color: var(--tb-color-ink);
  font-size: var(--tb-text-sm);
}

@keyframes tb-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tb-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tb-pulse {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0.9;
  }
}

@media (max-width: 68rem) {
  .tb-home-v1 .headTopNavList {
    display: none !important;
  }

  .tb-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
    gap: var(--tb-space-xl);
  }

  .tb-product-card--featured {
    grid-column: span 1;
    display: flex;
  }

  .tb-product-card--featured .tb-product-card__media {
    min-height: 12rem;
    border-right: 0;
    border-bottom: 1px solid var(--tb-color-rule-soft);
  }

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

  .tb-service-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tb-service-item p {
    display: none;
  }

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

@media (max-width: 52rem) {
  .tb-home-v1 {
    padding-bottom: 4.75rem;
  }

  .tb-home-v1 .headTopBox {
    height: 4.25rem !important;
    min-height: 4.25rem;
    gap: var(--tb-space-sm);
  }

  .tb-home-v1 .logoBox .logo {
    width: 2.2rem !important;
    height: 2.2rem !important;
  }

  .tb-home-v1 .logoBox .appName {
    font-size: var(--tb-text-base) !important;
  }

  .tb-home-v1 .hcSearchBox {
    display: none !important;
  }

  .tb-home-v1 .headTopLogin {
    min-width: auto;
    height: 2.25rem !important;
    margin-left: 0 !important;
    padding: 0 var(--tb-space-xs);
    line-height: 2.15rem !important;
  }

  .tb-hero {
    min-height: 0;
    background-size: 2.75rem 2.75rem;
  }

  .tb-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tb-space-xl);
    min-height: 0;
    padding: var(--tb-space-2xl) 0;
  }

  .tb-hero h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 13vw, 5.4rem);
  }

  .tb-hero .tb-accent-line {
    color: var(--tb-color-ink);
  }

  .tb-hero .tb-actions {
    display: none;
  }

  .tb-console {
    max-width: 38rem;
  }

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

  .tb-category:nth-child(3) {
    border-left: 1px solid var(--tb-color-rule-soft);
  }

  .tb-category {
    border-bottom: 1px solid var(--tb-color-rule-soft);
  }

  .tb-index-section {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tb-space-lg);
    padding: var(--tb-space-2xl) 0;
  }

  .tb-section-rail {
    position: static;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--tb-space-md);
    align-items: start;
  }

  .tb-section-rail p {
    max-width: 32rem;
    margin: 0;
  }

  .tb-section-head {
    align-items: start;
  }

  .tb-section-head h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .tb-cooperation__inner,
  .tb-footer__statement {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tb-space-xl);
  }

  .tb-cooperation__inner,
  .tb-process,
  .tb-footer {
    padding-top: var(--tb-space-2xl);
    padding-bottom: var(--tb-space-2xl);
  }

  .tb-process__head {
    display: grid;
  }

  .tb-footer__contact {
    max-width: 34rem;
  }

  .tb-mobile-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--tb-space-2xs);
    padding: var(--tb-space-2xs) max(var(--tb-space-xs), env(safe-area-inset-right))
      max(var(--tb-space-2xs), env(safe-area-inset-bottom))
      max(var(--tb-space-xs), env(safe-area-inset-left));
    border-top: 1px solid var(--tb-color-rule);
    background: var(--tb-color-paper-deep);
  }

  .tb-mobile-bar .tb-button {
    min-height: 3.2rem;
  }
}

@media (max-width: 39rem) {
  .tb-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .tb-button {
    width: 100%;
  }

  .tb-hero__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--tb-space-xs);
  }

  .tb-console__body {
    padding: var(--tb-space-xs);
  }

  .tb-console-item {
    grid-template-columns: 2.6rem minmax(0, 1fr);
  }

  .tb-console-item__media {
    width: 2.6rem;
  }

  .tb-console-item__price {
    grid-column: 2;
  }

  .tb-category {
    min-height: 8rem;
    padding: var(--tb-space-md);
  }

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

  .tb-product-card {
    min-height: 23rem;
  }

  .tb-section-head {
    display: grid;
    gap: var(--tb-space-xs);
  }

  .tb-service-item {
    grid-template-columns: minmax(0, 1fr);
    min-height: 6rem;
  }

  .tb-service-item__end {
    grid-column: 1;
    justify-content: space-between;
  }

  .tb-process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tb-process-step {
    min-height: 10rem;
  }

  .tb-footer__contact {
    grid-template-columns: minmax(0, 1fr) 5.5rem;
    gap: var(--tb-space-md);
  }

  .tb-modal__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .tb-modal__qr {
    width: 8.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-home-v1 {
    scroll-behavior: auto;
  }

  .tb-home-v1 *,
  .tb-home-v1 *::before,
  .tb-home-v1 *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: var(--tb-dur-fast) !important;
  }
}
