:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f1f5fb;
  --ink: #07142f;
  --muted: #7e8ca5;
  --line: #e5ebf5;
  --accent: #1f6fff;
  --accent-dark: #095be8;
  --warn: #f4a340;
  --danger: #ff1616;
  --ok: #20bf7b;
  --shadow: 0 16px 42px rgba(42, 75, 128, 0.08);
}

* {
  box-sizing: border-box;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  letter-spacing: 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

body:not(.tiannis-body):not(.tiannis-products-body):not(.tiannis-detail-body):not(.about-body):not(.solutions-body):not(.contact-body) main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.store-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.95), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(204, 231, 255, 0.55), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #f3f6fb 52%, #eef3f8 100%);
}

.store-shell {
  width: min(1830px, calc(100% - 88px));
  margin: 0 auto;
  padding: 24px 0 26px;
}

.store-main {
  width: 100%;
}

.store-header {
  display: grid;
  grid-template-columns: 430px 1fr 270px;
  align-items: center;
  height: 66px;
  padding: 0 12px 0 14px;
  border: 1px solid rgba(218, 228, 242, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 32px rgba(52, 75, 111, 0.08);
  backdrop-filter: blur(18px);
}

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

.store-logo {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(145deg, #347bff, #1061ee);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 10px 20px rgba(28, 107, 255, 0.28);
}

.store-logo::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  width: 26px;
  height: 16px;
  border-radius: 3px;
  background: white;
}

.store-logo::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  width: 24px;
  height: 12px;
  background: linear-gradient(150deg, transparent 47%, #2b73ff 48% 56%, transparent 57%);
}

.brand-title {
  font-size: 26px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-subtitle {
  color: #7b8aa4;
  font-size: 15px;
  font-weight: 700;
}

.store-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  height: 100%;
  font-size: 16px;
  font-weight: 850;
}

.store-nav a {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
}

.store-nav a.active {
  color: var(--accent);
}

.store-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.theme-button,
.ghost-login,
.register-button {
  display: inline-grid;
  min-width: 94px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.theme-button {
  min-width: 38px;
  width: 38px;
  background: transparent;
  color: #06142d;
  font-size: 22px;
}

.ghost-login {
  background: #f3f6fb;
  color: #1a2a45;
}

.register-button {
  background: linear-gradient(180deg, #2279ff, #1061f2);
  color: white;
  box-shadow: 0 8px 18px rgba(25, 105, 255, 0.28);
}

.mf-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  min-height: 328px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(217, 229, 244, 0.88);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.92) 49%, rgba(229, 245, 255, 0.86) 100%);
  box-shadow: 0 16px 40px rgba(54, 87, 134, 0.08);
}

.mf-hero::before,
.mf-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mf-hero::before {
  inset: 0;
  background:
    linear-gradient(135deg, transparent 72%, rgba(116, 187, 255, 0.13) 72.25%, transparent 72.9%),
    linear-gradient(135deg, transparent 82%, rgba(116, 187, 255, 0.09) 82.2%, transparent 82.85%),
    radial-gradient(circle at 58% 40%, rgba(214, 233, 255, 0.55) 0 5px, transparent 6px);
}

.mf-hero::after {
  right: 330px;
  top: 122px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(221, 237, 255, 0.8);
  transform: rotate(45deg);
}

.hero-copy-block {
  position: relative;
  z-index: 1;
  padding: 68px 0 54px 48px;
}

.hero-copy-block h1 {
  margin: 0 0 24px;
  font-size: 50px;
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy-block h1 span,
.hero-copy-block h1 b {
  color: var(--accent);
}

.hero-copy-block h1 b {
  font-size: 48px;
  font-style: normal;
}

.hero-copy-block p {
  margin: 0 0 38px;
  color: #41506a;
  font-size: 22px;
  font-weight: 500;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 54px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-feature i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  font-size: 25px;
  font-weight: 950;
}

.feature-blue {
  background: #e6f0ff;
  color: #2373ff;
}

.feature-green {
  background: #dff8ef;
  color: #20b979;
}

.feature-purple {
  background: #eee7ff;
  color: #8b62f5;
}

.hero-feature strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.hero-feature small {
  color: #72809a;
  font-size: 14px;
  font-weight: 600;
}

.hero-art {
  position: relative;
  min-height: 328px;
  isolation: isolate;
}

.slot-base {
  position: absolute;
  right: 174px;
  bottom: 0;
  width: 412px;
  height: 172px;
  border-radius: 36px 36px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 243, 255, 0.96) 51%, rgba(213, 226, 252, 0.98) 100%);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.86),
    inset 0 -26px 42px rgba(80, 132, 229, 0.13),
    0 24px 42px rgba(41, 94, 185, 0.14);
  transform: perspective(720px) rotateX(10deg) skewX(1deg);
  z-index: 1;
}

.slot-base::before {
  content: "";
  position: absolute;
  left: 52px;
  right: 52px;
  top: 46px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(180deg, #155fee 0%, #0c51d6 100%);
  box-shadow:
    inset 0 10px 18px rgba(1, 27, 92, 0.35),
    0 12px 28px rgba(24, 97, 230, 0.2);
}

.slot-base::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, rgba(202, 220, 251, 0.18), rgba(185, 207, 246, 0.42));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 7% 100%);
}

.delivery-card {
  position: absolute;
  right: 230px;
  top: 30px;
  display: grid;
  width: 238px;
  height: 220px;
  place-items: center;
  padding: 30px 26px 28px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, #5a9bff 0%, #2b7cff 40%, #1767ed 100%);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 22px 42px rgba(26, 98, 224, 0.28);
  transform: rotate(5deg) skewX(-2deg);
  z-index: 2;
}

.delivery-card span {
  align-self: start;
  margin-top: 18px;
  font-size: 19px;
  font-weight: 850;
}

.delivery-card b {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #2472f4;
  font-size: 33px;
  line-height: 1;
}

.float-square {
  position: absolute;
  width: 31px;
  height: 31px;
  border-radius: 5px;
  background: #dceaff;
  opacity: 0.7;
  transform: rotate(45deg);
}

.square-one {
  right: 96px;
  top: 84px;
  width: 31px;
  height: 31px;
}

.square-two {
  right: 690px;
  bottom: 72px;
  width: 12px;
  height: 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 612px;
  gap: 14px;
  margin-top: 22px;
}

.store-card {
  border: 1px solid rgba(219, 229, 243, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 14px 35px rgba(54, 80, 116, 0.07);
}

.products-panel {
  min-height: 710px;
  padding: 28px 31px 34px;
}

.panel-heading,
.notice-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading h2,
.process-card h2,
.notice-heading h2,
.security-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 950;
}

.link-button {
  border: 0;
  background: transparent;
  color: #697995;
  font-size: 14px;
  font-weight: 700;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 23px 0 19px;
}

.category-tabs button {
  min-width: 86px;
  height: 42px;
  border: 0;
  border-radius: 7px;
  background: #f0f4fa;
  color: #8b98ae;
  font-size: 15px;
  font-weight: 800;
}

.category-tabs button.active {
  background: linear-gradient(180deg, #2379ff, #1263ee);
  color: white;
  box-shadow: 0 9px 17px rgba(31, 111, 255, 0.24);
}

.sr-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

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

.shop-product-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(282px, auto);
  align-items: center;
  column-gap: 14px;
  min-height: 96px;
  padding: 13px 15px 13px 18px;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 12px rgba(53, 82, 122, 0.03);
}

.shop-product-row[data-product-detail] {
  cursor: pointer;
}

.product-logo {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  color: white;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.product-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-logo.has-image {
  background: #ffffff;
  color: #1f73f8;
}

.logo-play {
  background:
    radial-gradient(circle at 50% 50%, #4ff052 0 20%, transparent 21%),
    linear-gradient(135deg, #050505, #111827);
  color: #2e8cff;
}

.logo-iqiyi {
  background: linear-gradient(145deg, #1ce183, #0abf5d);
  font-size: 16px;
}

.logo-wps {
  background: linear-gradient(145deg, #ff6a45, #ee2029);
  font-size: 32px;
}

.logo-steam {
  background: linear-gradient(145deg, #061334, #116aa3);
  font-size: 32px;
}

.logo-music {
  background: linear-gradient(145deg, #ffe713, #18b575);
  color: #059e85;
  font-size: 40px;
}

.shop-product-info {
  min-width: 0;
  overflow: hidden;
  padding-right: 8px;
}

.product-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.product-title-line h3 {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #101a31;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-product-info p {
  margin: 8px 0 0;
  overflow: hidden;
  color: #7f8da7;
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.tag {
  display: inline-grid;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 92px;
  height: 24px;
  padding: 0 9px;
  place-items: center;
  border-radius: 5px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-green {
  background: #e0fbef;
  color: #19a76d;
}

.tag-blue {
  background: #e8f1ff;
  color: #2475ff;
}

.tag-orange {
  background: #fff2df;
  color: #e57712;
}

.tag-muted {
  background: #f1f5fb;
  color: #7a8aa5;
}

.shop-product-buy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px 86px 124px;
  align-items: center;
  justify-content: end;
  gap: 18px;
}

.shop-product-stats {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.shop-product-buy .stock {
  justify-self: end;
  min-width: 72px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edfdf5;
  color: #0b8f5b;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.home-sales {
  color: #7a8aa5;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.shop-product-buy .stock.out-of-stock {
  background: #f3f6fb;
  color: #7c8798;
}

.shop-product-buy .price {
  color: var(--danger);
  font-size: 20px;
  font-weight: 900;
  text-align: right;
}

.buy-button {
  width: 122px;
  height: 46px;
  min-height: 46px;
  border-radius: 7px;
  background: linear-gradient(180deg, #2077ff, #0f63ed);
  box-shadow: 0 8px 16px rgba(22, 102, 240, 0.2);
}

.side-column {
  display: grid;
  gap: 14px;
}

.process-card {
  min-height: 350px;
  padding: 28px 26px 20px;
}

.process-list {
  position: relative;
  display: grid;
  gap: 27px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: #dce5f2;
}

.process-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.process-list span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 0 0 5px white;
}

.step-blue {
  background: #2578ff;
}

.step-green {
  background: #1fbd82;
}

.step-purple {
  background: #8a61f4;
}

.step-orange {
  background: #f0a33c;
}

.process-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.process-list li:nth-child(1) strong {
  color: #2476ff;
}

.process-list li:nth-child(2) strong {
  color: #1bb77c;
}

.process-list li:nth-child(3) strong {
  color: #825cf0;
}

.process-list li:nth-child(4) strong {
  color: #ea9b36;
}

.process-list small {
  color: #8390a8;
  font-size: 13px;
  font-weight: 650;
}

.notice-card {
  min-height: 181px;
  padding: 25px 25px 20px;
}

.notice-heading h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
}

.notice-heading h2 span {
  color: #ff9d24;
  font-size: 17px;
}

.notice-heading a,
.notice-more {
  border: 0;
  background: transparent;
  color: #8390a8;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.notice-card ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.notice-card li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 12px;
  color: #64728c;
  font-size: 14px;
  font-weight: 650;
}

.notice-card li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-card li span::before {
  content: "•";
  margin-right: 8px;
  color: #10213d;
}

.notice-card time {
  color: #8290a9;
  text-align: right;
}

.security-card {
  min-height: 150px;
  padding: 24px 26px;
}

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

.security-grid div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
}

.security-grid i {
  display: grid;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #e8f1ff;
  color: #1f6fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}

.security-grid strong {
  font-size: 16px;
}

.security-grid small {
  color: #7f8da4;
  font-size: 13px;
  font-weight: 650;
}

.store-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 34px;
  min-height: 96px;
  margin-top: 16px;
  padding: 0 50px;
  border: 1px solid rgba(219, 229, 243, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 35px rgba(54, 80, 116, 0.06);
  color: #7b89a2;
  font-size: 15px;
  font-weight: 700;
}

.store-footer nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.store-footer p {
  margin: 0;
}

.pay-dot {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 11px;
}

.wechat {
  background: #28c05b;
}

.alipay {
  background: #177dff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  min-height: 330px;
  padding: 56px 0 32px;
}

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

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

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

.hero-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eaf5f2);
  box-shadow: var(--shadow);
}

.hero-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.status-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 8px rgba(21, 128, 61, 0.12);
}

.toolbar,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0 18px;
}

.toolbar p,
.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  padding-bottom: 56px;
}

.product-card,
.admin-panel,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.product-card p {
  color: var(--muted);
  line-height: 1.6;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-weight: 800;
}

.price {
  color: var(--ink);
  font-size: 24px;
}

.stock {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 13px;
}

.primary-button,
.secondary-button,
.danger-button,
.icon-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  padding: 0 18px;
  background: var(--accent);
  color: white;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.secondary-button {
  padding: 0 16px;
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.danger-button {
  padding: 0 14px;
  background: #fff5f5;
  border-color: #ffd5d2;
  color: var(--danger);
}

.icon-button {
  width: 40px;
  background: var(--surface-soft);
  color: var(--ink);
}

.empty-state {
  padding: 40px;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

dialog {
  width: min(520px, calc(100% - 30px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(23, 32, 51, 0.22);
}

dialog::backdrop {
  background: rgba(23, 32, 51, 0.5);
}

#announcementDialog {
  width: min(1540px, calc(100% - 56px));
  max-height: min(92vh, 980px);
  overflow: hidden;
  border-radius: 8px;
}

.dialog-shell {
  position: relative;
  display: grid;
  gap: 18px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px;
}

.announcement-dialog-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 0;
  max-height: min(92vh, 980px);
  padding: 34px;
  background: #ffffff;
}

.announcement-close {
  position: absolute;
  top: 28px;
  right: 30px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4e5d75;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.announcement-dialog-head {
  padding: 0 44px 28px 0;
  border-bottom: 1px solid #e5ebf4;
}

.announcement-dialog-head h2 {
  margin: 0 0 14px;
  color: #0f1e36;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.announcement-dialog-head p {
  margin: 0;
  color: #70809a;
  font-size: 16px;
  font-weight: 800;
}

.announcement-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 24px;
  padding: 18px 0 14px;
}

.announcement-tabs {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  overflow-x: auto;
}

.announcement-tabs button {
  position: relative;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
}

.announcement-tabs button.active {
  color: #0d6bff;
}

.announcement-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: #0d6bff;
}

.announcement-sort {
  display: grid;
  gap: 4px;
}

.announcement-sort span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.announcement-sort select {
  min-height: 42px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #ffffff;
  color: #27344c;
  font-weight: 850;
}

.announcement-list {
  min-height: 280px;
  overflow: auto;
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  background: #ffffff;
}

.announcement-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 22px;
  min-height: 112px;
  padding: 18px 26px 18px 18px;
  border-bottom: 1px solid #e9eef6;
}

.announcement-row:last-child {
  border-bottom: 0;
}

.announcement-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 950;
}

.announcement-copy {
  min-width: 0;
}

.announcement-title-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.announcement-title-line h3 {
  margin: 0;
  overflow: hidden;
  color: #101f37;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-copy p {
  margin: 8px 0 0;
  overflow: hidden;
  color: #70809a;
  font-size: 15px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 950;
}

.announcement-row time {
  color: #63708a;
  text-align: right;
  font-size: 15px;
  font-weight: 950;
}

.announcement-empty {
  display: grid;
  min-height: 280px;
  place-items: center;
  color: #70809a;
  font-weight: 900;
}

.type-system {
  background: #eaf2ff;
  color: #2476ff;
}

.type-feature {
  background: #fff3e1;
  color: #f59b24;
}

.type-activity {
  background: #e8fbf2;
  color: #16b979;
}

.type-security {
  background: #edf4ff;
  color: #1d76f6;
}

.announcement-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  color: #64748b;
  font-weight: 850;
}

.announcement-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
}

.announcement-pagination button {
  min-width: 44px;
  height: 44px;
  border: 1px solid #dfe7f2;
  border-radius: 6px;
  background: #ffffff;
  color: #64748b;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
}

.announcement-pagination button.active {
  border-color: #0d6bff;
  color: #0d6bff;
  box-shadow: 0 8px 18px rgba(13, 107, 255, 0.12);
}

.announcement-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

input,
select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.form-message.error {
  color: var(--danger);
}

.form-message.ok {
  color: var(--ok);
}

.payment-qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  text-align: center;
}

.payment-qr-card {
  display: grid;
  width: 100%;
  max-width: 310px;
  justify-items: center;
  gap: 12px;
}

.payment-qr-head {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.payment-qr strong {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
}

.payment-countdown {
  display: inline-grid;
  min-width: 62px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1468f2;
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.payment-countdown.is-warning {
  background: #fff0e8;
  color: #d94b17;
}

.payment-qr-body {
  display: grid;
  width: 232px;
  height: 232px;
  place-items: center;
  border: 1px solid #e4ebf5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(28, 63, 118, 0.08);
}

.payment-qr img {
  display: block;
  width: 208px;
  height: 208px;
  border-radius: 4px;
  background: #ffffff;
}

.payment-qr small {
  display: block;
  max-width: 100%;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.payment-success-card {
  gap: 10px;
  padding: 12px 0;
}

.payment-success-card strong {
  color: #12835b;
  font-size: 20px;
  text-align: center;
}

.payment-success-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #2fe59b, #16b879);
  color: #ffffff;
  font-size: 36px;
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(18, 131, 91, 0.22);
}

.payment-delivery-code {
  display: grid;
  width: 100%;
  gap: 8px;
  padding: 12px;
  border: 1px solid #cfe4d8;
  border-radius: 8px;
  background: #f4fbf7;
  text-align: left;
}

.payment-delivery-code span {
  color: #12835b;
  font-size: 12px;
  font-weight: 900;
}

.payment-delivery-code code {
  display: block;
  max-height: 170px;
  overflow: auto;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-layout {
  display: grid;
  gap: 22px;
  padding: 28px 0 56px;
}

.admin-panel {
  padding: 24px;
}

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

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

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.form-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 20px;
}

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

.admin-item {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.admin-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.pill {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 800;
}

.code-form {
  display: grid;
  align-content: start;
  gap: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

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

.code-cell {
  max-width: 240px;
  white-space: pre-wrap;
  word-break: break-word;
}

.status-sent {
  color: var(--ok);
}

.status-email_failed,
.status-no_stock {
  color: var(--danger);
}

@media (max-width: 820px) {
  .store-shell {
    width: min(100% - 24px, 1830px);
    padding-top: 12px;
  }

  .store-header {
    grid-template-columns: 1fr;
    height: auto;
    gap: 14px;
    padding: 14px;
  }

  .store-brand {
    justify-content: center;
  }

  .brand-title {
    font-size: 22px;
  }

  .brand-subtitle {
    display: none;
  }

  .store-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    min-height: 42px;
    padding-bottom: 2px;
    font-size: 14px;
  }

  .store-nav a {
    height: 42px;
    flex: 0 0 auto;
  }

  .header-actions {
    justify-content: center;
  }

  dialog {
    width: min(100% - 20px, 520px);
    max-height: calc(100dvh - 20px);
  }

  .dialog-shell {
    max-height: calc(100dvh - 20px);
    gap: 14px;
    padding: 22px;
  }

  .payment-qr {
    padding: 14px;
  }

  .payment-qr-card {
    max-width: 100%;
  }

  .payment-qr-head {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .payment-qr strong {
    text-align: center;
  }

  .payment-qr-body {
    width: min(232px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .payment-qr img {
    width: min(208px, calc(100% - 24px));
    height: auto;
    aspect-ratio: 1;
  }

  .mf-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy-block {
    padding: 34px 24px 22px;
  }

  .hero-copy-block h1 {
    font-size: 38px;
  }

  .hero-copy-block p {
    font-size: 17px;
  }

  .hero-features {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-art {
    min-height: 250px;
  }

  .slot-base {
    right: 50%;
    width: 310px;
    transform: translateX(50%) perspective(650px) rotateX(10deg);
  }

  .delivery-card {
    right: 50%;
    width: 190px;
    height: 168px;
    transform: translateX(50%) rotate(6deg);
  }

  .delivery-card span {
    font-size: 16px;
  }

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

  .products-panel {
    min-height: 0;
    padding: 22px 16px;
  }

  .category-tabs {
    gap: 10px;
  }

  .category-tabs button {
    min-width: auto;
    padding: 0 14px;
  }

  .shop-product-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .product-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .product-title-line {
    flex-wrap: wrap;
  }

  .product-title-line h3,
  .shop-product-info p {
    white-space: normal;
  }

  .shop-product-info p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: clip;
  }

  .shop-product-buy {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto 122px;
    align-items: center;
    width: 100%;
  }

  .shop-product-stats {
    justify-items: start;
  }

  .shop-product-buy .stock {
    display: inline-grid;
    justify-self: start;
  }

  .shop-product-buy .price {
    text-align: left;
  }

  .security-grid,
  .store-footer {
    grid-template-columns: 1fr;
  }

  .store-footer {
    gap: 14px;
    min-height: 0;
    padding: 22px;
    text-align: center;
  }

  .store-footer nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  #announcementDialog {
    width: min(100% - 20px, 720px);
    max-height: calc(100dvh - 20px);
  }

  .announcement-dialog-shell {
    max-height: calc(100dvh - 20px);
    padding: 22px;
  }

  .announcement-dialog-head {
    padding: 0 42px 20px 0;
  }

  .announcement-dialog-head h2 {
    font-size: 24px;
  }

  .announcement-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .announcement-tabs {
    gap: 24px;
  }

  .announcement-sort {
    width: 100%;
  }

  .announcement-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 16px;
  }

  .announcement-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    font-size: 16px;
  }

  .announcement-title-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .announcement-title-line h3,
  .announcement-copy p {
    white-space: normal;
  }

  .announcement-row time {
    grid-column: 2;
    text-align: left;
    font-size: 13px;
  }

  .announcement-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .announcement-pagination {
    flex-wrap: wrap;
  }

  .site-header {
    padding: 0 20px;
  }

  body:not(.tiannis-body):not(.tiannis-products-body):not(.tiannis-detail-body):not(.about-body):not(.solutions-body):not(.contact-body) main {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .split-panel,
  .admin-form {
    grid-template-columns: 1fr;
  }

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

  .toolbar,
  .section-heading,
  .admin-item-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* TIANNIS B2B homepage */
:root {
  --tiannis-black: #050607;
  --tiannis-ink: #0c0f10;
  --tiannis-panel: #151819;
  --tiannis-line: rgba(255, 255, 255, .14);
  --tiannis-text: #f3f0e9;
  --tiannis-muted: rgba(243, 240, 233, .68);
  --tiannis-dim: rgba(243, 240, 233, .46);
  --tiannis-gold: #c9a777;
  --tiannis-steel: #9aa8ae;
}

.tiannis-body {
  margin: 0;
  min-height: 100vh;
  color: var(--tiannis-text);
  background:
    radial-gradient(circle at 4% 82%, rgba(58, 79, 85, .28), transparent 30rem),
    linear-gradient(115deg, #07090a 0%, #111516 48%, #080909 100%);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tiannis-body a { color: inherit; text-decoration: none; }
.tiannis-body img { display: block; max-width: 100%; }

.tiannis-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px 50px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
}

.tiannis-brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  letter-spacing: 2px;
  line-height: 1;
}

.tiannis-brand strong {
  font-size: 28px;
  font-weight: 700;
}

.tiannis-brand span {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3.6px;
  color: rgba(255, 255, 255, .7);
}

.tiannis-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.15vw, 32px);
}

.tiannis-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, .84);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.55px;
  text-transform: uppercase;
}

.tiannis-nav a.active::after,
.tiannis-nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 2px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, .7);
}

.tiannis-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tiannis-outline,
.tiannis-secondary,
.tiannis-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 27px;
  border: 1px solid rgba(255, 255, 255, .58);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.tiannis-primary {
  min-height: 54px;
  border-color: var(--tiannis-gold);
  color: #fff;
  background: var(--tiannis-gold);
  box-shadow: 0 16px 30px rgba(201, 167, 119, .18);
}

.tiannis-secondary {
  min-height: 50px;
  min-width: 236px;
  background: rgba(255, 255, 255, .03);
}

.tiannis-outline:hover,
.tiannis-secondary:hover,
.tiannis-primary:hover {
  transform: translateY(-2px);
  border-color: var(--tiannis-gold);
}

.tiannis-primary:hover {
  background: #b98945;
}

.language-button,
.tiannis-menu {
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
}

.language-button {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.tiannis-menu { display: none; }

.tiannis-hero {
  position: relative;
  min-height: 790px;
  height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: #070809;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .1) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, .18) 100%),
    url("/assets/b2b/home-hero-manufacturing.png") center / cover no-repeat;
  filter: saturate(.9) contrast(1.04);
  transform: scale(1.015);
  transform-origin: 64% 54%;
  animation: tiannisHeroDrift 18s ease-in-out infinite alternate;
  will-change: transform, filter;
}

.hero-backdrop.has-cms-bg {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .1) 100%),
    var(--cms-bg-image) !important;
}

[data-cms-theme="light"] {
  background: #f7fafc;
  color: #10203b;
}

[data-cms-theme="dark"] {
  background: #10203b;
  color: #fff;
}

[data-cms-theme="brand"] {
  background: linear-gradient(135deg, #eaf3ff, #f8fbff);
}

[data-cms-theme="industrial"] {
  background: #eef2f7;
}

[data-cms-align="center"] {
  text-align: center;
}

[data-cms-align="right"] {
  text-align: right;
}

[data-cms-size="small"] h1,
[data-cms-size="small"] h2 {
  font-size: clamp(32px, 2.6vw, 46px);
}

[data-cms-size="large"] h1,
[data-cms-size="large"] h2 {
  font-size: clamp(44px, 4.2vw, 74px);
}

[data-cms-size="xlarge"] h1,
[data-cms-size="xlarge"] h2 {
  font-size: clamp(48px, 5vw, 86px);
}

[data-cms-weight="regular"] h1,
[data-cms-weight="regular"] h2,
[data-cms-weight="regular"] h3 {
  font-weight: 500;
}

[data-cms-weight="medium"] h1,
[data-cms-weight="medium"] h2,
[data-cms-weight="medium"] h3 {
  font-weight: 700;
}

[data-cms-weight="headline"] h1,
[data-cms-weight="headline"] h2,
[data-cms-weight="headline"] h3 {
  font-weight: 950;
}

[data-cms-spacing="compact"] {
  padding-top: max(42px, calc(var(--section-pad, 110px) * .62));
  padding-bottom: max(42px, calc(var(--section-pad, 110px) * .62));
}

[data-cms-spacing="loose"] {
  padding-top: calc(var(--section-pad, 110px) * 1.25);
  padding-bottom: calc(var(--section-pad, 110px) * 1.25);
}

[data-cms-radius="none"] img,
[data-cms-radius="none"] picture {
  border-radius: 0 !important;
}

[data-cms-radius="large"] img,
[data-cms-radius="large"] picture {
  border-radius: 24px;
}

[data-cms-image-fit="contain"] img {
  object-fit: contain !important;
}

[data-cms-image-ratio="16x9"] picture,
[data-cms-image-ratio="16x9"] .preview-card-art {
  aspect-ratio: 16 / 9;
}

[data-cms-image-ratio="4x3"] picture,
[data-cms-image-ratio="4x3"] .preview-card-art {
  aspect-ratio: 4 / 3;
}

[data-cms-image-ratio="1x1"] picture,
[data-cms-image-ratio="1x1"] .preview-card-art {
  aspect-ratio: 1;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 72%, rgba(238, 208, 166, .22), transparent 25rem),
    linear-gradient(90deg, rgba(0, 0, 0, .48), transparent 48%);
  pointer-events: none;
}

@keyframes tiannisHeroDrift {
  from {
    transform: scale(1.015) translate3d(0, 0, 0);
    filter: saturate(.9) contrast(1.04);
  }
  to {
    transform: scale(1.045) translate3d(-10px, -6px, 0);
    filter: saturate(.98) contrast(1.08);
  }
}

@supports (background-image: image-set(url("/assets/b2b/optimized/home-hero-manufacturing-1440.webp") 1x)) {
  .hero-backdrop {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .1) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, .18) 100%),
      image-set(url("/assets/b2b/optimized/home-hero-manufacturing-1440.webp") 1x, url("/assets/b2b/optimized/home-hero-manufacturing-2400.webp") 2x) center / cover no-repeat;
  }

  @media (max-width: 720px) {
    .hero-backdrop {
      background:
        linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .1) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, .18) 100%),
        image-set(url("/assets/b2b/optimized/home-hero-manufacturing-960.webp") 1x, url("/assets/b2b/optimized/home-hero-manufacturing-1440.webp") 2x) center / cover no-repeat;
    }
  }
}

.hero-shower {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(680px, calc(100% - 48px));
  max-width: 680px;
  padding: 210px 0 0 clamp(48px, 8vw, 112px);
}

.tiannis-kicker {
  margin: 0 0 22px;
  color: var(--tiannis-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-content h1,
.section-copy h2,
.quality-section h2,
.inquiry-copy h2,
.news-section h2 {
  margin: 0;
  font-weight: 300;
  letter-spacing: 0;
}

.hero-content h1 {
  font-size: clamp(46px, 3.55vw, 66px);
  line-height: 1.12;
}

.hero-lede,
.section-copy p,
.inquiry-copy p {
  color: var(--tiannis-muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-lede {
  max-width: 430px;
  margin: 26px 0 34px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.video-link i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 12px;
  font-style: normal;
}

.hero-pager {
  position: absolute;
  right: 50px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 2px;
}

.hero-pager span { color: var(--tiannis-dim); }
.hero-pager button {
  width: 46px;
  height: 40px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, .34);
}

.advantage-band {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 54px;
  padding: 70px 48px 62px;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, .98), rgba(26, 25, 22, .98)),
    radial-gradient(circle at 76% 50%, rgba(201, 167, 119, .12), transparent 34rem);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.advantage-title {
  align-self: center;
  padding-left: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.3px;
  line-height: 1.7;
  text-transform: uppercase;
}

.advantage-title span,
.advantage-title strong {
  display: block;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.advantage-grid article {
  min-height: 142px;
  padding: 24px 36px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.advantage-grid i {
  display: block;
  margin-bottom: 18px;
  color: #dce5e8;
  font-style: normal;
  font-size: 27px;
}

.advantage-grid strong {
  display: block;
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: 300;
}

.advantage-grid span {
  color: var(--tiannis-dim);
  font-size: 12px;
  line-height: 1.8;
}

.factory-section,
.solutions-section,
.quality-section,
.inquiry-section,
.news-section {
  padding: 82px 48px;
}

.factory-section {
  display: grid;
  grid-template-columns: 318px 1fr;
  gap: 88px;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(20, 25, 25, .96), rgba(13, 15, 15, .98) 52%, rgba(29, 28, 24, .96)),
    radial-gradient(circle at 6% 38%, rgba(128, 150, 154, .15), transparent 24rem);
}

.section-copy h2,
.quality-section h2,
.inquiry-copy h2,
.news-section h2 {
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.22;
}

.section-copy p {
  margin: 30px 0 34px;
}

.factory-mosaic {
  display: grid;
  grid-template-columns: 1.34fr .96fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.factory-mosaic picture,
.solution-cards picture {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}

.factory-mosaic picture {
  min-height: 190px;
}

.factory-mosaic picture::before,
.solution-cards picture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, .34) 49%, rgba(201, 167, 119, .18) 52%, transparent 62%),
    radial-gradient(circle at 82% 10%, rgba(201, 167, 119, .2), transparent 13rem);
  opacity: 0;
  transform: translateX(-38%) skewX(-12deg);
  transition: opacity .45s ease, transform .75s ease;
  pointer-events: none;
}

.factory-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .12);
  filter: saturate(.94) contrast(1.04);
  transform: scale(1.001);
  transition: transform .75s cubic-bezier(.2, .8, .2, 1), filter .75s ease, box-shadow .75s ease;
  will-change: transform, filter;
}

.factory-main {
  grid-row: span 2;
  min-height: 392px;
}

.factory-mosaic picture:hover::before,
.solution-cards article:hover picture::before {
  opacity: 1;
  transform: translateX(42%) skewX(-12deg);
}

.factory-mosaic picture:hover img {
  filter: saturate(1.08) contrast(1.1);
  transform: scale(1.045);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .28);
}

.solutions-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 78px;
  background:
    radial-gradient(circle at 8% 72%, rgba(47, 80, 93, .35), transparent 26rem),
    linear-gradient(100deg, #111719 0%, #111414 48%, #171814 100%);
}

.section-copy.compact p:not(.tiannis-kicker) {
  margin-top: 22px;
}

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

.solution-cards article {
  overflow: hidden;
  background: #171b1d;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .22);
  transition: transform .34s ease, border-color .34s ease, box-shadow .34s ease;
}

.solution-cards article:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 167, 119, .55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .32), 0 0 0 1px rgba(201, 167, 119, .08);
}

.solution-cards img {
  width: 100%;
  aspect-ratio: 1 / .92;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
  transform: scale(1.001);
  transition: transform .65s cubic-bezier(.2, .8, .2, 1), filter .65s ease;
  will-change: transform, filter;
}

.solution-cards article:hover img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.055);
}

.factory-mosaic picture,
.solution-cards article {
  animation: tiannisMediaReveal .8s ease both;
}

@keyframes tiannisMediaReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop,
  .factory-mosaic picture,
  .solution-cards article,
  .factory-mosaic img,
  .solution-cards img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .factory-mosaic picture::before,
  .solution-cards picture::before {
    display: none;
  }
}

.solution-cards div {
  padding: 20px 20px 24px;
}

.solution-cards h3 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 500;
}

.solution-cards small {
  display: block;
  margin: -8px 0 16px;
  color: rgba(255, 255, 255, .52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.solution-cards a {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.solution-cards .solution-empty-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 260px;
  place-items: center;
  border-style: dashed;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 167, 119, .14), transparent 14rem),
    rgba(255, 255, 255, .035);
  text-align: center;
}

.solution-cards .solution-empty-state:hover {
  transform: none;
}

.solution-cards .solution-empty-state div {
  max-width: 520px;
}

.solution-cards .solution-empty-state h3 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .74);
  line-height: 1.5;
}

.solution-cards .solution-empty-state.is-error {
  border-color: rgba(255, 130, 110, .24);
}

.quality-section {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 70px;
  background: #0a0d0e;
}

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

.quality-grid article,
.news-list article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .035);
}

.quality-grid strong,
.news-list strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 500;
}

.quality-grid span {
  color: var(--tiannis-muted);
  font-size: 14px;
  line-height: 1.8;
}

.inquiry-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(6, 8, 9, .88), rgba(6, 8, 9, .66)),
    url("/assets/b2b/workshop.svg") center / cover no-repeat;
}

.chat-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--tiannis-gold);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(9, 11, 12, .78);
  backdrop-filter: blur(18px);
}

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

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .74);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  padding: 14px 14px;
  font: inherit;
}

.inquiry-form textarea { resize: vertical; }
.inquiry-form button { border: 0; cursor: pointer; }
.inquiry-form button:disabled { opacity: .62; cursor: wait; }

.inquiry-status {
  min-height: 20px;
  margin: 0;
  color: var(--tiannis-muted);
  font-size: 14px;
}

.inquiry-status.success { color: #9be0b0; }
.inquiry-status.error { color: #ffb5a9; }

.news-section {
  background: #111516;
}

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

.news-list time {
  display: block;
  margin-bottom: 18px;
  color: var(--tiannis-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.tiannis-footer {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.7fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
  padding: clamp(54px, 6vw, 82px) clamp(24px, 6vw, 86px) 28px;
  color: #172033;
  background: #f5f6f2;
  border-top: 1px solid rgba(17, 20, 23, .1);
}

.tiannis-footer .footer-brand {
  display: grid;
  align-content: start;
  gap: 18px;
  max-width: 360px;
}

.tiannis-footer .footer-brand p {
  max-width: 310px;
  margin: 0;
  color: #5f6972;
  font-size: 14px;
  line-height: 1.75;
}

.tiannis-footer .footer-contact-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: #0f4c81;
  font-size: 13px;
  font-weight: 800;
}

.tiannis-footer .footer-contact-link b {
  font-size: 14px;
}

.tiannis-footer .footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.tiannis-footer .footer-social-row a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(17, 20, 23, .14);
  border-radius: 50%;
  color: #172033;
  background: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(31, 38, 45, .06);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.tiannis-footer .footer-social-row a:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 76, 129, .34);
  background: #ffffff;
}

.tiannis-footer .footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  gap: clamp(20px, 2.8vw, 42px);
  min-width: 0;
}

.tiannis-footer .footer-nav-grid nav {
  display: grid;
  align-content: start;
  gap: 11px;
  min-width: 0;
}

.tiannis-footer .footer-nav-grid strong {
  margin-bottom: 4px;
  color: #111417;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.tiannis-footer .footer-nav-grid a {
  color: #4f5963;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: color .18s ease, transform .18s ease;
}

.tiannis-footer .footer-nav-grid a:hover,
.tiannis-footer .footer-bottom a:hover {
  color: #0f4c81;
}

.tiannis-footer .footer-nav-grid a:hover {
  transform: translateX(2px);
}

.tiannis-footer .footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin: 12px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(17, 20, 23, .1);
  color: #69727b;
  font-size: 12px;
  line-height: 1.6;
}

.tiannis-footer .footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tiannis-footer .footer-bottom a {
  color: inherit;
}

.tiannis-footer .footer-bottom span {
  margin: 0;
  min-width: 0;
}
