:root {
  --tc166-paper: #fbfdfd;
  --tc166-ice: #f1f7f8;
  --tc166-sage: #dce9e3;
  --tc166-mist: #dce8ef;
  --tc166-ink: #14273a;
  --tc166-muted: #64788a;
  --tc166-cyan: #2caeb8;
  --tc166-blue: #4779d8;
  --tc166-line: rgba(44, 89, 111, .14);
  --tc166-shadow: 0 22px 70px rgba(40, 77, 94, .10);
}

/* TC-168 customer-visible repair pass: final layout authority for DEV review. */
.tc-os-nav {
  display: grid !important;
  grid-template-columns: minmax(210px, 1fr) auto minmax(360px, 1fr) !important;
  align-items: center !important;
}
.tc-os-brand { justify-self: start !important; }
.tc-os-primary-nav { justify-self: center !important; text-align: center !important; }
.tc-os-actions-right {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  min-width: 0 !important;
}
.tc-os-tool-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 232px;
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--tc166-line);
  border-radius: 18px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 52px rgba(40, 88, 116, .14);
}
.tc-os-tools[open] .tc-os-tool-menu { display: grid !important; gap: 6px; }
.tc-os-tool-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--tc166-ink);
  text-decoration: none;
}
.tc-os-tool-menu a:hover { background: rgba(227, 247, 249, .86); }

#products .product-grid {
  width: min(1160px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}
#products .product-card {
  display: grid !important;
  grid-template-rows: 112px 56px 126px 1px minmax(210px, 1fr) 52px !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 690px !important;
  padding: 26px 24px !important;
}
#products .product-card-head {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
}
#products .product-card-head h3 {
  margin: 18px 0 0 !important;
  font-size: clamp(23px, 2.1vw, 31px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.045em;
}
#products .product-price {
  display: flex !important;
  align-items: flex-start !important;
  min-height: 56px !important;
  color: var(--tc166-blue);
  font-size: clamp(26px, 2.55vw, 35px);
  line-height: 1;
  font-weight: 650;
}
#products .product-description {
  margin: 0 !important;
  min-height: 126px !important;
  color: var(--tc166-muted);
  line-height: 1.7;
}
#products .product-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 113, 133, .18), rgba(47, 113, 133, .08));
}
#products .product-includes {
  margin: 18px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 12px !important;
  list-style: none !important;
}
#products .product-includes li {
  position: relative;
  padding-left: 20px;
  color: var(--tc166-muted);
  font-size: 13px;
  line-height: 1.45;
}
#products .product-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--tc166-cyan);
  font-weight: 900;
}
#products .product-cta {
  align-self: end !important;
  width: 100% !important;
  margin-top: 0 !important;
}

#methods .method-grid {
  width: min(1120px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 24px !important;
}
#methods .method-card {
  display: grid !important;
  grid-template-rows: 70px 32px 82px 42px !important;
  gap: 14px !important;
  min-height: 260px !important;
  max-width: none !important;
}
.method-icon img,
.payment-mark-svg {
  width: 64px !important;
  height: 42px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 18px rgba(40, 95, 124, .10));
}

.siteos-payment-methods {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
.siteos-payment-methods a,
.siteos-payment-methods span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 34px !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(51, 111, 137, .18) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.78) !important;
  color: var(--tc166-ink) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}
.siteos-payment-methods img { width: 18px !important; height: 18px !important; object-fit: contain !important; }
.provider-mark span { border: 0 !important; padding: 0 !important; background: transparent !important; color: inherit !important; }
.provider-stripe { color: #635bff !important; }
.provider-paypal { color: #003087 !important; }
.provider-payoneer { color: #ff4800 !important; }
.provider-airwallex { color: #111827 !important; }

.siteos-advanced-auth {
  margin-top: 12px;
  border: 1px solid rgba(51, 111, 137, .16);
  border-radius: 16px;
  background: rgba(255,255,255,.62);
  overflow: hidden;
}
.siteos-advanced-auth > summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--tc166-ink);
  font-size: 13px;
  font-weight: 850;
}
.siteos-advanced-auth[open] > summary { border-bottom: 1px solid rgba(51, 111, 137, .12); }
.siteos-advanced-auth .siteos-password-grid,
.siteos-advanced-auth .siteos-button-grid,
.siteos-advanced-auth .siteos-records,
.siteos-advanced-auth > p { margin: 12px !important; }

.siteos-holocards {
  min-height: clamp(620px, 58vw, 780px) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(36, 188, 205, .20), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(70, 122, 232, .16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(235, 250, 252, .9)),
    url("assets/showcase/tc166-white-authority-system.png") center / cover no-repeat !important;
  overflow: hidden !important;
}
.siteos-holocards::before {
  content: "" !important;
  position: absolute !important;
  inset: -10% !important;
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(36,188,205,.34) 23%, transparent 24% 47%, rgba(68,121,232,.25) 48%, transparent 49%),
    radial-gradient(circle at 22% 24%, rgba(25,185,192,.55) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 42%, rgba(68,121,232,.45) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 66%, rgba(25,185,192,.42) 0 5px, transparent 6px);
  background-size: 220% 220%, 260px 260px, 320px 320px, 360px 360px;
  opacity: .62 !important;
  animation: tc168TechDrift 12s linear infinite, tc168PulseDots 2.8s ease-in-out infinite alternate !important;
}
.siteos-holocards::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(255,255,255,.78), rgba(255,255,255,.28) 42%, rgba(255,255,255,.64));
  pointer-events: none;
}
.siteos-stage-visual {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: .82 !important;
}
@keyframes tc168TechDrift {
  from { background-position: 0% 50%, 0 0, 0 0, 0 0; }
  to { background-position: 200% 50%, 80px 60px, -90px 120px, 120px -80px; }
}
@keyframes tc168PulseDots {
  from { filter: drop-shadow(0 0 0 rgba(28,183,199,0)); }
  to { filter: drop-shadow(0 0 14px rgba(28,183,199,.42)); }
}
@media (max-width: 1080px) {
  .tc-os-nav { grid-template-columns: 1fr !important; justify-items: center !important; }
  .tc-os-brand, .tc-os-primary-nav, .tc-os-actions-right { justify-self: center !important; }
  #products .product-grid,
  #methods .method-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)) !important; }
}
@media (max-width: 720px) {
  #products .product-grid,
  #methods .method-grid,
  .siteos-payment-methods { grid-template-columns: 1fr !important; }
  #products .product-card { min-height: 0 !important; grid-template-rows: auto auto auto 1px auto auto !important; }
  .tc-os-actions-right { justify-self: stretch !important; }
}

html { scroll-behavior: smooth; }
body.tc-os-page {
  background:
    radial-gradient(circle at 9% 16%, rgba(155, 219, 213, .17), transparent 28rem),
    radial-gradient(circle at 88% 27%, rgba(139, 180, 224, .13), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--tc166-paper) 100%) !important;
  color: var(--tc166-ink) !important;
}

body.tc-os-page main {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: clip;
}

/* The inherited page keeps its original wrapper modules.  Promote their
   sections into the single authority flow without deleting or cloning them. */
body.tc-os-page main > .wrap { display: contents; }
body.tc-os-page main > .marquee { order: 29; }
body.tc-os-page .integration-drawer { order: 66; width: min(1260px, calc(100% - 40px)); margin: 48px auto 0; }

.tc-os-nav {
  width: min(1260px, calc(100% - 40px)) !important;
  border-color: var(--tc166-line) !important;
  background: rgba(251, 253, 253, .92) !important;
  box-shadow: 0 14px 50px rgba(48, 87, 105, .09) !important;
  backdrop-filter: blur(18px);
}

.tc-os-brand img {
  padding: 2px;
  border: 1px solid var(--tc166-line);
  background: #fff;
  object-fit: contain;
}

.tc-os-primary-nav a:hover,
.tc-os-primary-nav a:focus-visible,
.tc-os-tools > summary:hover,
.tc-os-support:hover {
  color: var(--tc166-ink);
  background: var(--tc166-ice);
}

.tc-os-buy,
.primary-action,
.siteos-primary {
  background: linear-gradient(115deg, #3fb6b3, #4f7fd3) !important;
  box-shadow: 0 12px 28px rgba(67, 136, 173, .18) !important;
}

.system-dock.tc-os-journey {
  width: min(1260px, calc(100% - 40px)) !important;
  background: rgba(246, 251, 251, .93) !important;
  border-color: var(--tc166-line) !important;
}

.system-dock.tc-os-journey a {
  border-color: transparent !important;
  background: rgba(255,255,255,.86) !important;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.system-dock.tc-os-journey a:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 174, 184, .28) !important;
}

.tc-os-hero { order: 10; width: min(1260px, calc(100% - 40px)) !important; }
.tc-os-pillars { order: 12; width: min(1260px, calc(100% - 40px)); margin-inline: auto; }
.authority-chain { order: 20; }
#siteos-flow { order: 22; }
#robot-guide { order: 24; }
#usage-guide { order: 26; }
#paydesk { order: 28; }
#quick-audit { order: 32; }
#how { order: 34; }
#products { order: 36; }
#worth { order: 38; }
#deliverables { order: 40; }
#showcase { order: 42; }
#checkout-section { order: 50; }
#methods { order: 52; }
#pay-desk { order: 54; }
#boundaries { order: 60; }
.email-brand { order: 62; }
#support { order: 64; }

.tc-os-hero {
  min-height: min(760px, calc(100vh - 190px)) !important;
  grid-template-columns: minmax(0, .94fr) minmax(480px, 1.06fr) !important;
}

.tc-os-hero h1 {
  max-width: 730px !important;
  font-size: clamp(46px, 5.2vw, 82px) !important;
  letter-spacing: -.045em;
}

.tc-os-lead { max-width: 690px !important; }
.tc-os-visual {
  min-height: 580px !important;
  border: 1px solid rgba(62, 116, 141, .14);
  background: linear-gradient(145deg, #f7fbfb 0%, #edf5f7 100%) !important;
  box-shadow: var(--tc166-shadow);
}

.tc-os-media { filter: saturate(.64) brightness(1.55) contrast(.72); opacity: .34 !important; }
.tc-os-media-video { opacity: 0 !important; }
.tc166-authority-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) contrast(.92) brightness(1.03);
}
.tc166-live-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 10%, rgba(44,174,184,.42) 30%, transparent 49%) 0 28% / 220% 1px no-repeat,
    linear-gradient(90deg, transparent 3%, rgba(71,121,216,.36) 45%, transparent 68%) 0 64% / 240% 1px no-repeat,
    linear-gradient(120deg, transparent 34%, rgba(44,174,184,.26) 45%, transparent 56%) center / 100% 100% no-repeat;
  animation: tc166CircuitSweep 7s linear infinite;
  mix-blend-mode: multiply;
}
.tc166-live-lines i {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: #42b9b7;
  box-shadow: 0 0 0 6px rgba(66,185,183,.12), 0 0 20px rgba(66,185,183,.58);
  animation: tc166NodePulse 2.8s ease-in-out infinite;
}
.tc166-live-lines i:nth-child(1){left:14%;top:28%}.tc166-live-lines i:nth-child(2){left:31%;top:43%;animation-delay:.45s}.tc166-live-lines i:nth-child(3){left:48%;top:61%;animation-delay:.9s}.tc166-live-lines i:nth-child(4){left:67%;top:34%;animation-delay:1.3s}.tc166-live-lines i:nth-child(5){left:83%;top:55%;animation-delay:1.7s}.tc166-live-lines i:nth-child(6){left:61%;top:78%;animation-delay:2.1s}
@keyframes tc166CircuitSweep { to { background-position: -220% 28%, 240% 64%, center; } }
@keyframes tc166NodePulse { 0%,100%{opacity:.38;transform:scale(.72)} 45%{opacity:1;transform:scale(1.18)} }
.tc-os-command-card {
  border-color: rgba(44, 125, 145, .16) !important;
  background: rgba(255,255,255,.82) !important;
  color: var(--tc166-ink) !important;
  backdrop-filter: blur(18px);
}

.tc-os-pillars {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px !important;
  padding: 0 0 clamp(72px, 8vw, 120px) !important;
}

.tc-os-pillar {
  min-height: 190px;
  padding: 24px !important;
  border: 1px solid var(--tc166-line) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 14px 40px rgba(53, 88, 104, .06);
}

.authority-chain,
.email-brand {
  position: relative;
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto clamp(84px, 9vw, 140px);
}

.authority-heading { max-width: 830px; margin: 0 auto 46px; text-align: center; }
.authority-eyebrow {
  margin: 0 0 14px;
  color: #198993;
  font: 800 11px/1.4 "IBM Plex Mono", "Cascadia Code", monospace;
  letter-spacing: .16em;
}

.authority-heading h2,
.email-brand h2 {
  margin: 0;
  color: var(--tc166-ink);
  font-size: clamp(38px, 4.8vw, 70px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.authority-heading h2 span,
.email-brand h2 span { color: var(--tc166-blue); }
.authority-heading > p:last-child,
.email-brand-copy > p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--tc166-muted);
  font-size: 17px;
  line-height: 1.8;
}

.authority-orbit {
  position: relative;
  min-height: 650px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid var(--tc166-line);
  border-radius: 42px;
  background:
    linear-gradient(rgba(62, 117, 138, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 117, 138, .055) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(89, 196, 190, .16), transparent 34%),
    rgba(248, 252, 252, .96);
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: var(--tc166-shadow);
}

.authority-steps {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.authority-steps li {
  display: grid;
  gap: 6px;
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(47, 111, 135, .13);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 32px rgba(43, 81, 99, .06);
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s ease;
}

.authority-steps li:hover { transform: translateY(-5px); border-color: rgba(44,174,184,.42); }
.authority-steps b { color: var(--tc166-cyan); font: 800 12px/1 "IBM Plex Mono", monospace; }
.authority-steps span { color: var(--tc166-ink); font-size: 18px; font-weight: 800; }
.authority-steps small { color: var(--tc166-muted); font-size: 12px; line-height: 1.5; }

.authority-core {
  position: absolute;
  left: 50%;
  bottom: 52px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 440px;
  padding: 16px 22px;
  transform: translateX(-50%);
  border: 1px solid rgba(41, 135, 146, .19);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 48px rgba(42, 99, 119, .13);
}

.authority-core img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; }
.authority-core span { padding: 7px 10px; border-radius: 999px; color: #287680; background: #eef8f6; font: 800 10px/1 "IBM Plex Mono", monospace; }

.authority-flowline {
  position: absolute;
  inset: 36% 7% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(44,174,184,.3), rgba(71,121,216,.35), transparent);
}

.authority-flowline i {
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tc166-cyan);
  box-shadow: 0 0 0 7px rgba(44,174,184,.1), 0 0 20px rgba(44,174,184,.65);
  animation: tc166Pulse 2.2s ease-in-out infinite;
}
.authority-flowline i:nth-child(1){left:8%;animation-delay:0s}.authority-flowline i:nth-child(2){left:29%;animation-delay:.35s}.authority-flowline i:nth-child(3){left:50%;animation-delay:.7s}.authority-flowline i:nth-child(4){left:71%;animation-delay:1.05s}.authority-flowline i:nth-child(5){left:92%;animation-delay:1.4s}

.authority-module-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.authority-module-links a {
  flex: 1 1 210px;
  max-width: 242px;
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--tc166-line);
  border-radius: 18px;
  color: var(--tc166-ink);
  background: rgba(255,255,255,.92);
  text-decoration: none;
}
.authority-module-links a:hover { border-color: rgba(44,174,184,.4); background: #f7fbfb; }
.authority-module-links span { color: var(--tc166-muted); font-size: 12px; }

body.tc-os-page .section {
  width: min(1260px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(64px, 7vw, 104px);
}

body.tc-os-page .section-head,
body.tc-os-page .section-intro { max-width: 820px; margin-inline: auto; text-align: center; }

#products .product-grid,
#products .product-family-grid,
#methods .method-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px !important;
}

#products .product-card {
  flex: 0 1 calc((100% - 36px) / 3);
  min-width: 0;
  min-height: 100%;
  border: 1px solid var(--tc166-line) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 18px 45px rgba(50, 86, 104, .07) !important;
}

#products .product-card.selected {
  transform: none !important;
  border-color: rgba(71,121,216,.42) !important;
  background: linear-gradient(160deg, #fff 0%, #edf7f8 100%) !important;
  box-shadow: 0 24px 60px rgba(65, 112, 151, .16) !important;
}

#methods .method-card { flex: 0 1 calc((100% - 36px) / 3); min-width: 0; }

#paydesk {
  min-height: auto !important;
  margin-block: 30px !important;
  padding: clamp(34px, 5vw, 64px) !important;
  border: 1px solid var(--tc166-line) !important;
  border-radius: 32px;
  background: linear-gradient(120deg, #f2f8f7 0%, #edf4fa 100%) !important;
}

#boundaries .promise-grid,
#boundaries .boundary-grid,
#boundaries .guarantee {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  max-width: 980px;
  margin-inline: auto;
}

.email-brand {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  padding: clamp(40px, 6vw, 82px);
  border: 1px solid var(--tc166-line);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(249,252,252,.98), rgba(238,247,248,.96));
  box-shadow: var(--tc166-shadow);
}

.email-brand-copy > p { margin-inline: 0; }
.email-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.email-trust-grid span { display: grid; gap: 4px; padding: 14px; border-radius: 15px; background: rgba(255,255,255,.9); color: var(--tc166-muted); font-size: 12px; }
.email-trust-grid b { color: var(--tc166-ink); }
.email-trust-grid .ready { border-left: 3px solid #55b99d; }
.email-trust-grid .pending { border-left: 3px solid #d4ae69; }
.email-caveat { font-size: 12px !important; }

.email-preview {
  overflow: hidden;
  border: 1px solid rgba(48, 103, 128, .16);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(50, 91, 110, .15);
  animation: tc166Float 6s ease-in-out infinite;
}

.email-preview-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--tc166-line); background: #f6fafb; }
.email-preview-bar i { width: 8px; height: 8px; border-radius: 50%; background: #b7c9ce; }
.email-preview-bar i:nth-child(2){background:#8fcfc6}.email-preview-bar i:nth-child(3){background:#88add9}
.email-preview-bar span { margin-left: auto; color: var(--tc166-muted); font: 700 10px/1 monospace; }
.email-sender { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--tc166-line); }
.email-sender img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; }
.email-sender div { display: grid; gap: 4px; }
.email-sender span,.email-sender small { color: var(--tc166-muted); font-size: 11px; }
.email-sender small { margin-left: auto; }
.email-preview-body { display: grid; justify-items: center; gap: 13px; padding: 46px 24px 52px; text-align: center; }
.email-preview-body img { width: 72px; height: 72px; object-fit: contain; }
.email-preview-body p { margin: 0; color: var(--tc166-muted); }
.email-preview-body strong { padding: 14px 22px; border: 1px solid var(--tc166-line); border-radius: 13px; color: var(--tc166-ink); background: #f8fbfb; font-size: 28px; letter-spacing: .25em; }
.email-preview-body small { color: var(--tc166-muted); }

.siteos-flow-suite {
  margin-top: clamp(80px, 10vw, 160px) !important;
  border-top: 1px solid var(--tc166-line);
  background: linear-gradient(180deg, rgba(240,247,248,.68), #fff) !important;
}

.siteos-workspace {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.siteos-module {
  border: 1px solid var(--tc166-line) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 16px 42px rgba(44, 81, 98, .06) !important;
}

@keyframes tc166Pulse {
  0%,100% { opacity: .35; transform: scale(.72); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes tc166Float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1080px) {
  .tc-os-hero { grid-template-columns: 1fr !important; }
  .tc-os-pillars { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .authority-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .authority-orbit { min-height: 720px; }
  .authority-core { bottom: 34px; }
  #products .product-card, #methods .method-card { flex-basis: calc((100% - 18px) / 2); }
  .email-brand { grid-template-columns: 1fr; }
  .siteos-workspace { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 700px) {
  .tc-os-nav,.system-dock.tc-os-journey,.tc-os-hero,.authority-chain,.email-brand,body.tc-os-page .section { width: calc(100% - 24px) !important; }
  .tc-os-pillars { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .authority-orbit { min-height: auto; padding: 18px; border-radius: 24px; }
  .authority-steps { grid-template-columns: 1fr; }
  .authority-core,.authority-flowline { display: none; }
  .authority-module-links a { max-width: none; }
  #products .product-card,#methods .method-card { flex-basis: 100%; }
  #boundaries .promise-grid,#boundaries .boundary-grid,#boundaries .guarantee { grid-template-columns: 1fr !important; }
  .email-brand { padding: 28px 18px; border-radius: 24px; }
  .email-trust-grid { grid-template-columns: 1fr; }
  .siteos-workspace { grid-template-columns: 1fr !important; }
}

/* TC-168 customer repair overrides: white authority rhythm, readable cards, living signals. */
.tc166-circuit-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .92;
}

.tc166-circuit-base,
.tc166-circuit-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tc166-circuit-base {
  stroke: rgba(94, 184, 190, .26);
  stroke-width: 2.25;
}

.tc166-circuit-flow {
  stroke: url("#tc166SignalGradient");
  stroke-width: 4.8;
  stroke-dasharray: 95 720;
  filter: url("#tc166Glow");
  animation: tc168CircuitTravel 5.8s linear infinite;
}

.tc166-circuit-flow.flow-b { animation-duration: 6.8s; animation-delay: -1.2s; }
.tc166-circuit-flow.flow-c { animation-duration: 7.2s; animation-delay: -.6s; }

.tc166-circuit-core {
  fill: rgba(116, 221, 211, .22);
  stroke: rgba(62, 127, 232, .42);
  stroke-width: 2;
  filter: url("#tc166Glow");
  transform-origin: 604px 383px;
  animation: tc168CoreBreathe 3.6s ease-in-out infinite;
}

.tc166-circuit-node,
.tc166-signal-dot {
  fill: #48ccc6;
  stroke: rgba(255,255,255,.92);
  stroke-width: 3;
  filter: url("#tc166Glow");
}

.tc166-circuit-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: tc168NodeBlink 2.4s ease-in-out infinite;
}

.tc166-circuit-node.delay-1 { animation-delay: .25s; }
.tc166-circuit-node.delay-2 { animation-delay: .52s; }
.tc166-circuit-node.delay-3 { animation-delay: .86s; }
.tc166-circuit-node.delay-4 { animation-delay: 1.18s; }
.tc166-circuit-node.delay-5 { animation-delay: 1.45s; }

.tc166-signal-dot {
  r: 8px;
  opacity: .92;
}

.tc166-signal-dot.delay-dot { fill: #3d7fe8; }
.tc166-signal-dot.delay-dot-2 { fill: #7bd2bb; }

#products .product-grid {
  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 22px !important;
}

#products .product-card {
  flex: 0 1 360px !important;
  min-width: min(100%, 310px) !important;
  max-width: 380px !important;
  min-height: 0 !important;
  padding: 28px 24px !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 70px rgba(55, 89, 109, .11) !important;
}

#products .product-card h3 { font-size: clamp(22px, 2.15vw, 30px) !important; }
#products .product-card .price { font-size: clamp(25px, 2.8vw, 36px) !important; }

#methods .method-grid {
  width: min(1120px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 18px !important;
}

#methods .method-card {
  min-height: 0 !important;
  padding: 24px !important;
  align-items: start !important;
}

#methods .method-card.disabled {
  opacity: 1 !important;
  filter: none !important;
}

#methods .method-card.disabled button {
  cursor: pointer !important;
  color: var(--tc166-ink) !important;
  border-color: rgba(62, 127, 232, .24) !important;
  background: rgba(255,255,255,.78) !important;
}

.method-icon {
  display: grid !important;
  place-items: center !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #ffffff, #eef9fb) !important;
  border: 1px solid rgba(52, 111, 137, .18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 12px 30px rgba(50, 91, 110, .1) !important;
  overflow: hidden;
}

.method-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.method-icon span {
  color: #2d73dc;
  font: 800 12px/1.1 Inter, system-ui, sans-serif;
  letter-spacing: .04em;
}

.method-status {
  display: block;
  margin-top: 10px;
  color: var(--tc166-muted);
  font-size: 12px;
  line-height: 1.45;
}

.siteos-workspace {
  align-items: start !important;
}

.siteos-workspace > .siteos-module {
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
}

.siteos-module {
  overflow: visible;
}

.siteos-module-subpanel {
  margin-top: 18px !important;
  padding-top: 16px !important;
}

.siteos-records {
  min-height: 0 !important;
}

.siteos-payment-methods {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.siteos-payment-methods span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 30px !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(52, 111, 137, .16) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.82) !important;
  color: var(--tc166-ink) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.siteos-payment-methods img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.provider-mark {
  letter-spacing: .01em;
}

site-footer,
body.tc-os-page site-footer {
  display: block;
  background: linear-gradient(180deg, rgba(247, 252, 253, .88), rgba(245, 242, 236, .72)) !important;
  border-top: 1px solid rgba(52, 111, 137, .16) !important;
}

@keyframes tc168CircuitTravel {
  to { stroke-dashoffset: -815; }
}

@keyframes tc168CoreBreathe {
  0%, 100% { opacity: .34; transform: scale(.84); }
  48% { opacity: .9; transform: scale(1.06); }
}

@keyframes tc168NodeBlink {
  0%, 100% { opacity: .4; transform: scale(.78); }
  45% { opacity: 1; transform: scale(1.22); }
}

@media (prefers-reduced-motion: reduce) {
  .tc166-circuit-flow,
  .tc166-circuit-node,
  .tc166-circuit-core {
    animation: none !important;
  }
  .tc166-signal-dot { display: none !important; }
}

@media (max-width: 1080px) {
  #methods .method-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)) !important; }
  #products .product-card { flex-basis: min(45vw, 360px) !important; }
}

@media (max-width: 720px) {
  #products .product-grid,
  #methods .method-grid {
    width: calc(100% - 24px) !important;
    grid-template-columns: 1fr !important;
  }
  #products .product-card {
    flex-basis: 100% !important;
    max-width: none !important;
  }
}

/* TC-168 final header balance: keep center navigation genuinely centered while preserving right-side actions. */
body.tc-os-page .tc-os-nav {
  grid-template-columns: minmax(320px, 460px) minmax(420px, 1fr) minmax(320px, 460px) !important;
  gap: 14px !important;
  overflow: visible !important;
}

body.tc-os-page .tc-os-primary-nav {
  width: 100% !important;
  max-width: 470px !important;
  margin-inline: auto !important;
  justify-content: center !important;
  gap: 16px !important;
  z-index: 1 !important;
}

@media (max-width: 1320px) {
  body.tc-os-page .tc-os-nav {
    grid-template-columns: minmax(290px, 420px) minmax(380px, 1fr) minmax(290px, 420px) !important;
  }
  body.tc-os-page .tc-os-primary-nav { gap: 10px !important; }
  body.tc-os-page .tc-os-primary-nav a,
  body.tc-os-page .tc-os-tools > summary,
  body.tc-os-page .tc-os-support { padding-inline: 9px !important; }
}

/* TC-168 1910 final visual repair: no nav collision, no title/price overlap,
   full six-payment brand marks, footer/no-footer switch. */
body.tc-os-page .tc-os-nav {
  grid-template-columns: 250px minmax(420px, 1fr) 500px !important;
  gap: 14px !important;
  overflow: visible !important;
}

body.tc-os-page .tc-os-primary-nav {
  max-width: 470px !important;
  margin-inline: auto !important;
  justify-content: center !important;
  gap: 16px !important;
  z-index: 1 !important;
}

body.tc-os-page .tc-os-actions-right {
  min-width: 0 !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  z-index: 3 !important;
}

body.tc-os-page .tc-os-tools > summary {
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 10px 24px rgba(77,105,128,.10) !important;
}

#products .product-grid {
  width: min(1120px, calc(100% - 44px)) !important;
  grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
  gap: 24px !important;
}

#products .product-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 610px !important;
  height: auto !important;
  padding: 28px 24px 24px !important;
  overflow: hidden !important;
}

#products .product-card-head {
  display: block !important;
  min-height: 118px !important;
  margin: 0 0 12px !important;
  overflow: visible !important;
}

#products .product-card-head .method-type,
#products .product-card-head h3,
#products .product-card h3,
#products .product-price,
#products .product-card strong.product-price {
  position: static !important;
  transform: none !important;
  inset: auto !important;
  float: none !important;
}

#products .product-card-head h3,
#products .product-card h3 {
  margin: 16px 0 0 !important;
  min-height: 0 !important;
  font-size: clamp(20px, 1.32vw, 24px) !important;
  line-height: 1.16 !important;
  letter-spacing: -.035em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

#products .product-price,
#products .product-card strong.product-price {
  display: block !important;
  min-height: 34px !important;
  margin: 0 0 14px !important;
  font-size: clamp(22px, 1.45vw, 27px) !important;
  line-height: 1.12 !important;
  white-space: nowrap !important;
  color: #2f6df0 !important;
}

#products .product-description {
  height: 132px !important;
  min-height: 132px !important;
  margin: 0 0 18px !important;
  overflow: hidden !important;
}

#products .product-divider {
  flex: 0 0 1px !important;
  margin: 0 0 16px !important;
}

#products .product-includes {
  flex: 1 1 auto !important;
  margin: 0 0 18px !important;
  overflow: hidden !important;
}

#products .product-cta {
  margin-top: auto !important;
  position: static !important;
  transform: none !important;
}

#methods .method-grid {
  width: min(1120px, calc(100% - 44px)) !important;
  grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
  gap: 24px !important;
}

#methods .method-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 356px !important;
  padding: 28px !important;
  overflow: hidden !important;
}

#methods .method-card .method-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 92px !important;
  height: 58px !important;
  margin: 0 0 18px !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.94) !important;
}

#methods .method-card .method-icon img {
  width: 76px !important;
  height: 38px !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

#methods .method-card h3 {
  margin: 4px 0 10px !important;
  line-height: 1.18 !important;
}

#methods .method-card p,
#methods .method-card .method-status {
  overflow: visible !important;
  max-height: none !important;
  line-height: 1.58 !important;
}

#methods .method-card button {
  width: 100% !important;
  min-height: 48px !important;
  margin-top: auto !important;
  position: static !important;
  transform: none !important;
}

.siteos-payment-methods {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.siteos-payment-methods a {
  min-height: 44px !important;
  padding: 8px 10px !important;
  gap: 8px !important;
}

.siteos-payment-methods a img {
  width: 62px !important;
  height: 24px !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

.provider-airwallex img { width: 82px !important; }
.provider-wechat img { width: 58px !important; }

html.tc-no-footer site-footer,
html.tc-no-footer .site-footer,
html.tc-no-footer body.tc-os-page site-footer {
  display: none !important;
}

@media (max-width: 1320px) {
  body.tc-os-page .tc-os-nav {
    grid-template-columns: 230px minmax(360px, 1fr) 455px !important;
  }
  body.tc-os-page .tc-os-primary-nav { gap: 10px !important; }
  body.tc-os-page .tc-os-primary-nav a,
  body.tc-os-page .tc-os-tools > summary,
  body.tc-os-page .tc-os-support { padding-inline: 9px !important; }
}

@media (max-width: 1180px) {
  body.tc-os-page .tc-os-nav {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }
  body.tc-os-page .tc-os-primary-nav,
  body.tc-os-page .tc-os-actions-right {
    max-width: 100% !important;
    justify-self: center !important;
  }
}

@media (max-width: 980px) {
  #products .product-grid,
  #methods .method-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  #products .product-grid,
  #methods .method-grid,
  .siteos-payment-methods {
    grid-template-columns: 1fr !important;
  }
  #products .product-card,
  #methods .method-card {
    min-height: 0 !important;
  }
}

/* TC-168.2 hard visual QA lock: fixes Longge screenshots 1-4.
   Must remain last so older imported shop/siteos CSS cannot reintroduce
   offset navigation, price/title overlap, or payment text/button collision. */
body.tc-os-page .tc-os-nav {
  grid-template-columns: 240px 450px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: center !important;
}

body.tc-os-page .tc-os-brand {
  justify-self: start !important;
  min-width: 0 !important;
}

body.tc-os-page .tc-os-primary-nav {
  justify-self: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  overflow: visible !important;
}

body.tc-os-page .tc-os-primary-nav a {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding-inline: 8px !important;
  font-size: 12.5px !important;
  text-align: center !important;
}

body.tc-os-page .tc-os-actions-right {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body.tc-os-page .tc-lang-switch {
  flex: 0 0 auto !important;
  max-width: max-content !important;
  transform: none !important;
}

body.tc-os-page .tc-lang-switch button {
  min-height: 26px !important;
  padding-inline: 8px !important;
  font-size: 10.5px !important;
}

body.tc-os-page .tc-os-tools > summary,
body.tc-os-page .tc-os-support,
body.tc-os-page .tc-os-buy,
body.tc-os-page #systemPill {
  min-height: 36px !important;
  padding-inline: 10px !important;
  font-size: 12px !important;
}

body.tc-os-page #systemPill {
  max-width: 86px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#products .product-grid {
  width: min(1120px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

#products .product-card {
  display: grid !important;
  grid-template-rows: 148px 40px 132px 1px minmax(190px, 1fr) 46px !important;
  row-gap: 14px !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 620px !important;
  height: 100% !important;
  padding: 28px 24px !important;
  overflow: hidden !important;
}

#products .product-card-head {
  display: grid !important;
  grid-template-rows: 28px minmax(0, 1fr) !important;
  gap: 13px !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#products .product-card-head .method-type {
  display: block !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow: hidden !important;
}

#products .product-card-head h3,
#products .product-card h3 {
  display: block !important;
  margin: 0 !important;
  min-height: 0 !important;
  color: #102033 !important;
  font-size: clamp(21px, 1.55vw, 26px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
  overflow-wrap: anywhere !important;
}

#products .product-price,
#products .product-card strong.product-price {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  min-height: 40px !important;
  color: #2f6df0 !important;
  font: 850 clamp(19px, 1.65vw, 24px)/1 Inter, system-ui, sans-serif !important;
  letter-spacing: -.02em !important;
  white-space: nowrap !important;
  position: static !important;
  transform: none !important;
}

#products .product-description {
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #688198 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

#products .product-includes {
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#methods .method-grid {
  width: min(1120px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

#methods .method-card {
  display: grid !important;
  grid-template-columns: 74px minmax(0, 1fr) !important;
  grid-template-rows: minmax(188px, auto) 48px !important;
  column-gap: 20px !important;
  row-gap: 18px !important;
  min-height: 310px !important;
  padding: 26px !important;
  overflow: hidden !important;
}

#methods .method-card .method-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 64px !important;
  height: 64px !important;
}

#methods .method-card > div:not(.method-icon) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

#methods .method-card h3 {
  margin: 4px 0 8px !important;
  line-height: 1.15 !important;
}

#methods .method-card p,
#methods .method-status {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  line-height: 1.55 !important;
}

#methods .method-card button {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  align-self: end !important;
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  position: static !important;
  transform: none !important;
  z-index: 3 !important;
}

.method-icon img,
.siteos-payment-methods img,
.showcase-payment-methods img {
  object-fit: contain !important;
}

.method-icon img {
  width: 54px !important;
  height: 42px !important;
}

.siteos-payment-methods,
.showcase-payment-methods {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.siteos-payment-methods a,
.showcase-payment-methods a {
  min-width: 0 !important;
  white-space: nowrap !important;
}

html.tc-no-footer site-footer,
html.tc-no-footer .site-footer,
html.tc-no-footer body.tc-os-page site-footer {
  display: none !important;
}

@media (max-width: 1260px) {
  body.tc-os-page .tc-os-nav {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }
  body.tc-os-page .tc-os-brand,
  body.tc-os-page .tc-os-primary-nav,
  body.tc-os-page .tc-os-actions-right {
    justify-self: center !important;
  }
  body.tc-os-page .tc-os-primary-nav {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 980px) {
  #products .product-grid,
  #methods .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  #products .product-grid,
  #methods .method-grid,
  .siteos-payment-methods,
  .showcase-payment-methods {
    grid-template-columns: 1fr !important;
  }
  #products .product-card {
    min-height: 0 !important;
    grid-template-rows: auto auto auto 1px auto auto !important;
  }
  #methods .method-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
  }
  #methods .method-card .method-icon,
  #methods .method-card > div:not(.method-icon),
  #methods .method-card button {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* TC-168-1910 hard visual repair: no nav overlap, no price/title collision,
   official payment marks, footer/no-footer switch, bilingual control. */
html.tc-no-footer site-footer,
html.tc-no-footer .site-footer,
html.tc-no-footer body.tc-os-page site-footer {
  display: none !important;
}

body.tc-os-page .tc-os-nav {
  grid-template-columns: 240px minmax(420px, 1fr) max-content !important;
  column-gap: clamp(18px, 2.2vw, 34px) !important;
  overflow: visible !important;
}

body.tc-os-page .tc-os-brand {
  width: 240px !important;
  min-width: 240px !important;
}

body.tc-os-page .tc-os-primary-nav {
  justify-self: center !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(18px, 2vw, 30px) !important;
  min-width: 420px !important;
  z-index: 1 !important;
}

body.tc-os-page .tc-os-primary-nav a {
  padding-inline: 0 !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

body.tc-os-page .tc-os-actions-right {
  justify-self: end !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  z-index: 2 !important;
}

.tc-lang-switch {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px !important;
  border: 1px solid rgba(52,111,137,.16) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.76) !important;
}

.tc-lang-switch button {
  min-height: 28px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #5f748b !important;
  background: transparent !important;
  font: 850 11px/1 Inter, system-ui, sans-serif !important;
  cursor: pointer !important;
}

.tc-lang-switch button[aria-pressed="true"] {
  color: #fff !important;
  background: linear-gradient(135deg, #21b7c6, #2f6df0) !important;
}

#products .product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(286px, 1fr)) !important;
  align-items: stretch !important;
  width: min(1120px, calc(100% - 40px)) !important;
}

#products .product-card {
  display: grid !important;
  grid-template-rows: 116px 44px 116px 1px minmax(168px, 1fr) 46px !important;
  row-gap: 14px !important;
  min-height: 584px !important;
  overflow: hidden !important;
}

#products .product-card-head,
#products .product-card-head h3,
#products .product-card h3,
#products .product-price,
#products .product-description,
#products .product-includes,
#products .product-cta {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
}

#products .product-card-head {
  display: grid !important;
  grid-template-rows: 30px 1fr !important;
  align-content: start !important;
  gap: 10px !important;
  min-height: 0 !important;
}

#products .product-card-head h3,
#products .product-card h3 {
  margin: 0 !important;
  color: #102033 !important;
  font-size: clamp(21px, 1.85vw, 28px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
  overflow-wrap: normal !important;
}

#products .product-price,
#products .product-card strong.product-price {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  color: #2f6df0 !important;
  font: 850 clamp(20px, 1.8vw, 27px)/1 Inter, system-ui, sans-serif !important;
  letter-spacing: -.025em !important;
  white-space: nowrap !important;
  z-index: 3 !important;
}

#products .product-description {
  margin: 0 !important;
  color: #688198 !important;
  font-size: 13px !important;
  line-height: 1.62 !important;
  overflow: hidden !important;
}

#products .product-divider {
  width: 100% !important;
  height: 1px !important;
  background: rgba(52,111,137,.16) !important;
}

#products .product-includes {
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
  overflow: hidden !important;
}

#products .product-cta {
  align-self: end !important;
  width: 100% !important;
  min-height: 42px !important;
}

#methods .method-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
  align-items: stretch !important;
  width: min(1180px, calc(100% - 40px)) !important;
}

#methods .method-card {
  display: grid !important;
  grid-template-columns: 72px minmax(0,1fr) !important;
  grid-template-rows: minmax(196px, auto) 46px !important;
  column-gap: 20px !important;
  row-gap: 18px !important;
  max-width: none !important;
  min-height: 300px !important;
  padding: 26px !important;
  overflow: hidden !important;
}

#methods .method-card .method-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

#methods .method-card > div:not(.method-icon) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}

#methods .method-card button {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  align-self: end !important;
  position: static !important;
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 2 !important;
}

#methods .method-card p,
#methods .method-status {
  max-height: none !important;
  overflow: visible !important;
}

.method-icon {
  background: #fff !important;
}

.method-icon img {
  width: 54px !important;
  height: 34px !important;
  object-fit: contain !important;
}

.siteos-payment-methods {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.siteos-payment-methods a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 38px !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(52,111,137,.16) !important;
  border-radius: 999px !important;
  color: #102033 !important;
  background: rgba(255,255,255,.88) !important;
  text-decoration: none !important;
  font-weight: 850 !important;
  font-size: 12px !important;
}

.siteos-payment-methods a img {
  width: 42px !important;
  height: 22px !important;
  object-fit: contain !important;
}

@media (max-width: 1220px) {
  body.tc-os-page .tc-os-nav {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }
  body.tc-os-page .tc-os-brand,
  body.tc-os-page .tc-os-primary-nav,
  body.tc-os-page .tc-os-actions-right {
    justify-self: center !important;
  }
}

@media (max-width: 980px) {
  #products .product-grid,
  #methods .method-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  body.tc-os-page .tc-os-primary-nav {
    display: none !important;
  }
  #products .product-grid,
  #methods .method-grid,
  .siteos-payment-methods {
    grid-template-columns: 1fr !important;
  }
  #products .product-card {
    min-height: 0 !important;
    grid-template-rows: auto auto auto 1px auto auto !important;
  }
  #methods .method-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
  }
  #methods .method-card .method-icon,
  #methods .method-card > div:not(.method-icon),
  #methods .method-card button {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 2026-07-22 authority closure: all retained modules share one centered visual
   system. Runtime only reorders existing nodes; it never deletes a module. */
body.tc-os-page main > *,
body.tc-os-page main > .wrap > * { order: initial !important; }

.tc-os-primary-nav {
  justify-content: center;
  gap: 4px !important;
}

.tc-os-tool-menu {
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  min-width: min(560px, calc(100vw - 32px));
}

.tc-os-hero {
  min-height: 0 !important;
  padding-block: clamp(52px, 7vw, 92px) !important;
  align-items: center !important;
}

.tc-os-visual { min-height: clamp(460px, 46vw, 610px) !important; }

.authority-steps-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.authority-steps-12 li { min-height: 126px; }
.authority-steps-12 + .authority-core { bottom: 24px; }
.authority-steps-12 ~ .authority-core { position: relative; left: auto; bottom: auto; justify-content: center; width: fit-content; margin: 30px auto 0; transform: none; }
.authority-orbit:has(.authority-steps-12) { min-height: auto; }
.authority-orbit:has(.authority-steps-12) .authority-flowline { inset: 49% 6% auto; }

.authority-media-story,
.capability-library,
.commerce-hub {
  position: relative;
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto clamp(76px, 8vw, 126px);
}

.authority-media-story {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(0, 1.42fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  padding: clamp(32px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid var(--tc166-line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 82% 18%, rgba(79, 165, 195, .12), transparent 28rem),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,247,248,.96));
  box-shadow: var(--tc166-shadow);
}

.authority-media-story-reverse { grid-template-columns: minmax(0, 1.42fr) minmax(330px, .78fr); }
.authority-media-story-reverse .authority-story-copy { order: 2; }
.authority-media-story-reverse .authority-story-visual { order: 1; }

.authority-story-copy h2 {
  margin: 0;
  color: var(--tc166-ink);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.authority-story-copy h2 span { color: var(--tc166-blue); }
.authority-story-copy > p:not(.authority-eyebrow) { color: var(--tc166-muted); font-size: 16px; line-height: 1.75; }

.authority-story-points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.authority-story-points span {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid rgba(52, 111, 137, .12);
  border-radius: 16px;
  color: var(--tc166-muted);
  background: rgba(255,255,255,.86);
  font-size: 12px;
}
.authority-story-points b { color: #238c94; font: 800 10px/1.2 "IBM Plex Mono", monospace; letter-spacing: .08em; }

.authority-story-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.authority-story-actions a,
.product-family-filter button {
  position: relative;
  overflow: hidden;
  padding: 11px 15px;
  border: 1px solid rgba(44, 115, 144, .16);
  border-radius: 999px;
  color: var(--tc166-ink);
  background: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.authority-story-actions a:hover,
.product-family-filter button:hover,
.product-family-filter button.is-active { transform: translateY(-2px); border-color: rgba(44,174,184,.46); background: #edf8f7; }

.authority-story-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(53, 111, 138, .13);
  border-radius: 28px;
  background: #f8fbfb;
  box-shadow: 0 24px 64px rgba(51, 93, 111, .12);
}
.authority-story-visual img { display: block; width: 100%; height: auto; filter: saturate(.86) contrast(.98); }
.authority-story-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.58) 45%, transparent 68%);
  transform: translateX(-125%);
  animation: tc166GlassSweep 8s ease-in-out infinite;
}

.circuit-signal-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; mix-blend-mode: multiply; }
.circuit-signal-layer i {
  position: absolute;
  left: -8%;
  width: 14%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(38,169,177,.9), transparent);
  filter: drop-shadow(0 0 6px rgba(38,169,177,.5));
  animation: tc166SignalTravel 6.8s linear infinite;
}
.circuit-signal-layer i:nth-child(1){top:18%;animation-delay:-.8s}.circuit-signal-layer i:nth-child(2){top:34%;animation-delay:-3.2s}.circuit-signal-layer i:nth-child(3){top:49%;animation-delay:-1.9s}.circuit-signal-layer i:nth-child(4){top:63%;animation-delay:-5.1s}.circuit-signal-layer i:nth-child(5){top:76%;animation-delay:-2.6s}.circuit-signal-layer i:nth-child(6){top:88%;animation-delay:-4.4s}
.circuit-signal-layer b {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #48bcb4;
  box-shadow: 0 0 0 6px rgba(72,188,180,.12), 0 0 18px rgba(72,188,180,.55);
  animation: tc166NodePulse 2.7s ease-in-out infinite;
}
.circuit-signal-layer b:nth-of-type(1){left:17%;top:28%}.circuit-signal-layer b:nth-of-type(2){left:43%;top:55%;animation-delay:.7s}.circuit-signal-layer b:nth-of-type(3){left:68%;top:36%;animation-delay:1.4s}.circuit-signal-layer b:nth-of-type(4){left:84%;top:71%;animation-delay:2.1s}

.commerce-hub {
  padding: clamp(32px, 5vw, 68px);
  border: 1px solid var(--tc166-line);
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(244,250,250,.96), rgba(255,255,255,.98));
  box-shadow: var(--tc166-shadow);
}
.commerce-hub > .section { width: 100% !important; padding-inline: 0 !important; }
.commerce-truth-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: -14px auto 20px; }
.commerce-truth-strip span { display: grid; gap: 5px; padding: 14px; border-radius: 15px; color: var(--tc166-muted); background: #fff; font-size: 11px; }
.commerce-truth-strip b { color: #258b94; font: 800 10px/1.2 monospace; }

.commerce-local-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 clamp(34px, 5vw, 58px);
  padding: 0;
  list-style: none;
}
.commerce-local-stepper li {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 136px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(53,111,138,.13);
  border-radius: 20px;
  color: var(--tc166-muted);
  background: rgba(255,255,255,.88);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.commerce-local-stepper li::before {
  content: "";
  position: absolute;
  left: -45%;
  bottom: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #45bcb4, transparent);
  animation: tc166StepperSignal 7s linear infinite;
}
.commerce-local-stepper li:nth-child(2)::before{animation-delay:-1.7s}.commerce-local-stepper li:nth-child(3)::before{animation-delay:-3.4s}.commerce-local-stepper li:nth-child(4)::before{animation-delay:-5.1s}
.commerce-local-stepper li > b { color: var(--tc166-cyan); font: 800 11px/1 monospace; letter-spacing: .08em; }
.commerce-local-stepper li > span { color: var(--tc166-ink); font-size: 17px; font-weight: 850; }
.commerce-local-stepper li > small { font-size: 11px; line-height: 1.55; }
.commerce-local-stepper li[aria-current="step"] {
  transform: translateY(-3px);
  border-color: rgba(44,174,184,.56);
  background: linear-gradient(145deg, #fff, #edf9f8);
  box-shadow: 0 18px 38px rgba(46,122,140,.12);
}
.commerce-local-stepper li.is-done { border-color: rgba(44,174,184,.28); }
.commerce-local-stepper li.is-done > b::after { content: "  ✓"; color: #34a69e; }

.authority-offer-ribbon {
  width: min(1260px, calc(100% - 40px)) !important;
  margin: 0 auto clamp(44px, 6vw, 82px) !important;
}
.authority-offer-ribbon .hero-copy { max-width: 610px; }
.authority-offer-ribbon .display { font-size: clamp(34px, 4.6vw, 62px) !important; }
.authority-offer-ribbon .hero-visual { min-height: 320px !important; }
.authority-offer-ribbon .hero-frame img { filter: saturate(.8) brightness(1.04) !important; }

.product-family-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 0 auto 24px; }
.product-family-filter button { cursor: pointer; }
.product-family-label { display: inline-flex; width: fit-content; margin-bottom: 10px; padding: 6px 9px; border-radius: 999px; color: #227f88; background: #edf8f6; font: 800 10px/1 monospace; letter-spacing: .08em; }
#products .product-card[hidden] { display: none !important; }

/* Licensed React Bits StarBorder idea, reimplemented as a restrained native-CSS
   state cue. It appears only on the selected product or focused payment method. */
.product-card,.method-card { position: relative; overflow: hidden; isolation: isolate; }
.product-card.selected::after,
.method-card:not(.disabled):focus-within::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -45%;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 40%, rgba(57,181,183,.34) 48%, transparent 56% 100%);
  animation: tc166SelectedOrbit 11s linear infinite;
}
.product-card.selected > *,
.method-card:not(.disabled):focus-within > * { position: relative; z-index: 1; }

.capability-library { padding: clamp(38px, 5vw, 68px); border: 1px solid var(--tc166-line); border-radius: 38px; background: rgba(248,252,252,.94); }
.capability-groups { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.capability-groups article {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--tc166-line);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 40px rgba(50,88,104,.06);
}
.capability-groups article::before,
.product-card::before,
.siteos-module::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  left: calc(var(--pointer-x, 50%) - 85px);
  top: calc(var(--pointer-y, 50%) - 85px);
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,185,184,.13), transparent 68%);
  opacity: 0;
  transition: opacity .2s ease;
}
.capability-groups article:hover::before,.product-card:hover::before,.siteos-module:hover::before { opacity: 1; }
.capability-groups article > span { color: var(--tc166-cyan); font: 800 11px/1 monospace; }
.capability-groups h3 { margin: 4px 0 12px; color: var(--tc166-ink); font-size: 22px; }
.capability-groups a { padding: 8px 0; border-bottom: 1px solid var(--tc166-line); color: var(--tc166-muted); text-decoration: none; font-size: 13px; }
.capability-groups a:hover { color: var(--tc166-blue); transform: translateX(3px); }

.authority-media-story,
.capability-library,
.commerce-hub,
.product-card,
.siteos-module { opacity: .45; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.authority-media-story.is-inview,
.capability-library.is-inview,
.commerce-hub.is-inview,
.product-card.is-inview,
.siteos-module.is-inview { opacity: 1; transform: none; }

button,.primary,.btn-primary,.secondary-action,.authority-story-actions a { position: relative; overflow: hidden; }
.tc166-action-ripple { position: absolute; z-index: 0; width: 8px; height: 8px; margin: -4px; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.72); animation: tc166Ripple .65s ease-out forwards; }

@keyframes tc166GlassSweep { 0%,58%{transform:translateX(-125%)} 82%,100%{transform:translateX(125%)} }
@keyframes tc166SignalTravel { to { left: 104%; } }
@keyframes tc166Ripple { to { transform: scale(24); opacity: 0; } }
@keyframes tc166StepperSignal { to { left: 106%; } }
@keyframes tc166SelectedOrbit { to { transform: rotate(1turn); } }

@media (max-width: 1080px) {
  .authority-steps-12 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .authority-media-story,.authority-media-story-reverse { grid-template-columns: 1fr; }
  .authority-media-story-reverse .authority-story-copy,.authority-media-story-reverse .authority-story-visual { order: initial; }
  .commerce-truth-strip,.capability-groups,.commerce-local-stepper { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tc-os-tool-menu { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .authority-media-story,.capability-library,.commerce-hub,.authority-offer-ribbon { width: calc(100% - 24px) !important; }
  .authority-media-story,.capability-library,.commerce-hub { padding: 24px 16px; border-radius: 24px; }
  .authority-steps-12,.commerce-truth-strip,.capability-groups,.authority-story-points,.commerce-local-stepper { grid-template-columns: 1fr; }
  .commerce-local-stepper li { min-height: 0; }
  .capability-groups article { min-height: 0; }
  .tc-os-tool-menu { min-width: min(330px, calc(100vw - 24px)); }
}

/* TC-168 final cascade lock: keep customer-critical composition above older package CSS. */
html { scroll-padding-top: 92px; }

body.tc-os-page .section,
body.tc-os-page .commerce-hub > .section {
  min-height: 0 !important;
  padding-block: clamp(44px, 5vw, 76px) !important;
}

#products,
#methods,
#checkout-section,
#siteos-flow,
#siteos-workspace {
  scroll-margin-top: 92px !important;
}

#products .section-head,
#methods .section-head {
  margin-bottom: 28px !important;
}

#products .product-grid {
  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 22px !important;
}

#products .product-card {
  flex: 0 1 360px !important;
  width: auto !important;
  min-width: min(100%, 310px) !important;
  max-width: 380px !important;
  min-height: 0 !important;
  padding: 28px 24px !important;
  border-radius: 24px !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

#methods .method-grid {
  width: min(1120px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 18px !important;
}

#methods .method-card {
  flex: 0 1 342px !important;
  max-width: 360px !important;
  min-height: 0 !important;
  justify-content: start !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.siteos-flow-suite,
.siteos-geo-panel,
.siteos-data-grid,
.siteos-workspace {
  min-height: 0 !important;
}

.siteos-workspace,
.siteos-data-grid {
  align-items: start !important;
}

.siteos-workspace > .siteos-module {
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
}

.siteos-flow-suite button {
  text-transform: none !important;
}

.siteos-module-subpanel {
  margin-top: 18px !important;
}

@media (max-width: 1080px) {
  #methods .method-card { flex-basis: min(45vw, 342px) !important; }
  #products .product-card { flex-basis: min(45vw, 360px) !important; }
}

@media (max-width: 720px) {
  #products .product-grid,
  #methods .method-grid {
    width: calc(100% - 24px) !important;
    grid-template-columns: 1fr !important;
  }
  #products .product-card {
    flex-basis: 100% !important;
    max-width: none !important;
  }
}
