/* TENKO Hub one-pager — visual language adapted from Shopify Trade (B2B):
   dark utility bar, warm paper ground, taupe rules, product/pricing cards. */
:root {
  --ink: #161616;
  --ink-soft: #3a3a3a;
  --muted: #6b6560;
  --line: #e4dfd8;
  --paper: #f7f5f2;
  --white: #fff;
  --taupe: #b7a99a;
  --taupe-deep: #8c7f70;
  --bar: #111111;
  --accent: #1f2a24;
  --focus: #2c4a3e;
  --warn: #7a5a12;
  --warn-bg: #f4ecd6;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(22, 22, 22, .08);
  --max: 1160px;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Libre Baskerville", "Iowan Old Style", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--focus); }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

.announce {
  background: var(--bar);
  color: #efeae3;
  text-align: center;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 8px 16px;
}
.header {
  background: var(--bar);
  color: #fff;
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid #2a2a2a;
}
.header-inner, .wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
}
.brand img { height: 28px; width: auto; }
.brand-mark {
  font-weight: 700; letter-spacing: .12em;
  font-size: 14px;
}
.brand-mark span { color: var(--taupe); }
nav.primary { display: flex; flex-wrap: wrap; gap: 4px 16px; }
nav.primary a {
  color: #e8e2d9; text-decoration: none; font-size: 14px;
}
nav.primary a:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; text-decoration: none;
  border-radius: 999px; font-weight: 600;
  padding: 12px 22px; font-size: 15px;
  font-family: inherit;
  transition: .15s ease;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #efeae3; color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-wide { width: 100%; }

.country-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 64px; z-index: 30;
  padding: 10px 0;
}
.country-bar .wrap { display: flex; flex-direction: column; gap: 8px; }
.country-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.country-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.country-pills button {
  font-family: inherit; font-size: 14px;
  border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 7px 14px; cursor: pointer;
  color: var(--ink-soft);
}
.country-pills button[aria-pressed="true"],
.country-pills button:hover {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

.hero {
  position: relative; color: #fff;
  min-height: 520px;
  display: grid; align-items: end;
  background: #1a1c1b center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.48) 42%, rgba(8,8,8,.18) 100%),
    linear-gradient(180deg, rgba(8,8,8,.15) 0%, rgba(8,8,8,.45) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 80px 0 56px; }
.eyebrow {
  letter-spacing: .14em; text-transform: uppercase;
  font-size: 12px; color: var(--taupe); margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.15; margin: 0 0 16px;
  max-width: 16ch;
}
.hero p.lede {
  max-width: 42em; font-size: 18px; color: #efeae3; margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

section { padding: 72px 0; }
section.alt { background: #fff; }
h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; line-height: 1.2;
}
h3 { font-size: 20px; margin: 0 0 8px; }
.lead { color: var(--ink-soft); max-width: 46em; margin: 0 0 32px; }
.grid-3, .grid-4, .grid-2 {
  display: grid; gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.card.plain { box-shadow: none; }
.icon-num {
  font-family: var(--serif); font-size: 28px; color: var(--taupe-deep); margin: 0 0 10px;
}
.tbd {
  display: inline-block; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; background: var(--warn-bg); color: var(--warn);
  border-radius: 4px; padding: 2px 6px; font-weight: 700;
}
.briefing {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px;
}
.briefing h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.briefing ul { margin: 0; padding-left: 18px; }
.briefing li { margin: 0 0 8px; }
.origin-note { font-size: 14px; color: var(--muted); margin: 0 0 16px; }

.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center;
}
.split img {
  width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius);
}
.packages { align-items: stretch; }
.pkg {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.pkg.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.pkg-tag {
  position: absolute; top: -11px; left: 22px;
  background: var(--ink); color: #fff; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.pkg .price {
  font-family: var(--serif); font-size: 34px; line-height: 1.15; margin: 4px 0 0; white-space: nowrap;
}
.pkg .price small { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.pkg .annual { color: var(--muted); font-size: 14px; margin: 0; }
.pkg ul { margin: 0; padding-left: 18px; flex: 1; }
.pkg li { margin: 0 0 6px; }
.pkg .who { margin: 0; color: var(--ink-soft); }
.addons { overflow-x: auto; }
table.shop {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
table.shop th, table.shop td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.shop th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
table.shop tr:last-child td { border-bottom: 0; }
.form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
input, select, textarea {
  width: 100%; font: inherit; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 16px; margin: 0 0 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--ink-soft); }
footer {
  background: var(--bar); color: #d9d3cb; padding: 48px 0 32px; font-size: 14px;
}
footer a { color: #efeae3; }
footer h2, footer h3 { color: #fff; font-family: var(--sans); font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid #2c2c2c; color: #9a948c; font-size: 13px; }

@media (max-width: 900px) {
  .grid-3, .grid-4, .briefing, .split, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  nav.primary { display: none; }
  .pkg.featured { transform: none; }
  .country-bar { top: 56px; }
  .split img { height: 280px; }
  .header-inner { min-height: 56px; }
}

ol.steps{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; counter-reset:none;
}
ol.steps li{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:20px 18px; box-shadow:var(--shadow);
}
.video-frame video{
  width:100%; border-radius:var(--radius); background:#0e1418;
  box-shadow:var(--shadow); margin-top:12px; aspect-ratio:16/9;
}
@media (max-width:900px){
  ol.steps{grid-template-columns:1fr 1fr;}
}
@media (max-width:600px){
  ol.steps{grid-template-columns:1fr;}
}

/* Onboarding page */
.page-hero {
  background: var(--accent);
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 18ch;
}
.page-hero .lede {
  max-width: 42em;
  font-size: 18px;
  color: #efeae3;
  margin: 0;
}
.gets ul { margin: 0; padding-left: 18px; }
.gets li { margin: 0 0 8px; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
a.partner-card:hover { border-color: var(--ink); }
.partner-logo {
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 18px;
  overflow: hidden;
  padding: 18px;
}
.partner-logo.bleed {
  padding: 0;
  background: #d11d2a;
  border-color: #d11d2a;
}
.partner-logo img {
  max-width: 100%;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.partner-logo.bleed img { max-height: 128px; width: 100%; height: 128px; object-fit: cover; }
.partner-card h3 { margin: 0 0 4px; }
.partner-meta { margin: 0 0 8px; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.partner-cat { margin: 0; color: var(--ink-soft); }
.partner-fallback {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  letter-spacing: .04em;
}
.header-page {
  display: none;
  color: #e8e2d9;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.header-page:hover { color: #fff; }
@media (max-width: 900px) {
  .partner-grid { grid-template-columns: 1fr; }
  .header-page { display: inline-flex; }
}

ol.steps.steps-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  ol.steps.steps-6 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  ol.steps.steps-6 { grid-template-columns: 1fr; }
}

/* Partner profile pages */
.badge-onboarded {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  background: #efeae3;
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 12px;
  margin: 0 0 14px;
}
.partner-hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
}
.partner-hero-logo {
  background: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.partner-hero-logo.bleed { padding: 0; background: #d11d2a; }
.partner-hero-logo img { max-width: 100%; max-height: 108px; object-fit: contain; display: block; }
.partner-hero-logo.bleed img { max-height: 140px; width: 100%; height: 140px; object-fit: contain; }
.page-hero .partner-hero h1 { max-width: 20ch; margin-bottom: 8px; }
.page-hero .country-line { color: var(--taupe); letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.back-link { font-size: 14px; margin: 0 0 8px; }
.back-link a { color: #efeae3; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.product-tile .photo {
  background: #fff;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.product-tile .photo img { max-width: 100%; max-height: 248px; object-fit: contain; }
.product-tile .body { padding: 20px 22px 22px; }
.product-tile h3 { margin: 0 0 8px; }
.product-tile .specs { margin: 0 0 12px; padding-left: 18px; color: var(--ink-soft); }
.product-tile .specs li { margin: 0 0 4px; }
.buy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.buy-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.buy-list .channel { font-weight: 700; margin: 0 0 4px; }
.buy-list p { margin: 0 0 8px; color: var(--ink-soft); }
.contact-eu address { font-style: normal; margin: 0; line-height: 1.6; }
@media (max-width: 900px) {
  .partner-hero, .product-grid { grid-template-columns: 1fr; }
  .partner-hero-logo { width: min(200px, 100%); }
}

.product-grid.one { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
@media (max-width: 900px){ .product-grid.one { grid-template-columns: 1fr; } }

/* Onboarding plan section */
.onb-stages li { position: relative; }
.onb-stages .wk { margin: 6px 0 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe-deep); font-weight: 700; }
.onb-stages h3 { margin-top: 4px; }
.onb-stages ul { margin: 8px 0 0; padding-left: 18px; font-size: 15px; }
.onb-stages li li { background: none; border: 0; box-shadow: none; padding: 0; }

/* Language switch (EN default, native language of the selected country) */
.lang-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lang-switch[hidden] { display: none; }
.lang-switch .lang-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.lang-switch .lang-label::before { content: "\1F310\FE0E"; margin-right: 6px; letter-spacing: 0; }
.lang-switch button {
  font-family: inherit; font-size: 13px; line-height: 1.2;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  border-radius: 999px; padding: 5px 12px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"], .lang-switch button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.lang-switch.in-header { margin-left: auto; margin-right: 12px; }
.lang-switch.in-header .lang-label { color: #bbb; }
.lang-switch.in-header button { background: transparent; color: #ddd; border-color: #555; }
.lang-switch.in-header button[aria-pressed="true"], .lang-switch.in-header button:hover { background: #fff; color: var(--ink); border-color: #fff; }
/* Script fallbacks for translated pages */
html[lang="zh-Hans"] { --sans: "Source Sans 3", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; --serif: "Libre Baskerville", "Songti SC", "SimSun", "Noto Serif SC", "Noto Serif CJK SC", serif; }
html[lang="hi"] { --sans: "Source Sans 3", "Nirmala UI", "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif; --serif: "Noto Serif Devanagari", "Nirmala UI", "Kohinoor Devanagari", serif; }
html[lang="uk"], html[lang="vi"] { --serif: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
html[lang="zh-Hans"] .pkg .price, html[lang="hi"] .pkg .price { white-space: normal; }
