/* Public Torokoto site */
.tk-site-body {
  --site-bg: #f4f5f3;
  --site-ink: #151515;
  --site-muted: #5f615f;
  --site-border: #000000;
  --site-surface: #ffffff;
  --site-soft: #e9eee8;
  --site-accent: #43d67f;
  --site-accent-dark: #178548;
  --site-black: #050505;
  min-width: 320px;
  margin: 0;
  color: var(--site-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

.tk-site-body *,
.tk-site-body *::before,
.tk-site-body *::after {
  box-sizing: border-box;
}

.tk-site-body a {
  color: inherit;
  text-decoration: none;
}

.tk-site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.tk-site-brand,
.tk-site-nav,
.tk-site-actions,
.tk-site-trust-row,
.tk-site-channel-list,
.tk-site-footer {
  display: flex;
  align-items: center;
}

.tk-site-brand {
  gap: 10px;
  min-width: max-content;
}

.tk-site-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 9px;
  background: linear-gradient(135deg, #d9efff 0%, #55df8a 100%);
  font-weight: 850;
}

.tk-site-brand strong {
  font-size: 24px;
  font-style: italic;
  letter-spacing: -0.03em;
}

.tk-site-brand > span:last-child {
  padding: 4px 9px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  color: #303030;
  font-size: 12px;
  font-weight: 750;
}

.tk-site-nav {
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.tk-site-nav a,
.tk-site-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: #303030;
  font-size: 13px;
  font-weight: 720;
}

.tk-site-nav a:hover,
.tk-site-login:hover,
.tk-site-secondary:hover {
  background: #ffffff;
}

.tk-site-login {
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.75);
}

.tk-site-hero {
  position: relative;
  min-height: min(820px, calc(100vh - 68px));
  padding: clamp(72px, 8vw, 118px) clamp(20px, 5vw, 72px) 128px;
  overflow: hidden;
}

.tk-site-hero-art {
  position: absolute;
  right: max(-90px, 5vw);
  bottom: 142px;
  width: min(50vw, 680px);
  max-height: min(72vh, 760px);
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.14));
}

.tk-site-hero-inner {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  max-width: 100%;
}

.tk-site-chip,
.tk-site-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #3f13a4;
  font-size: 1.2rem;
  font-weight: 820;
  line-height: 1.35;
}

.tk-site-hero h1,
.tk-site-section h2,
.tk-site-final h2 {
  margin: 0;
  color: var(--site-ink);
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.tk-site-hero h1 {
  max-width: 670px;
  font-size: clamp(68px, 11vw, 142px);
}

.tk-site-hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: #30322f;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.38;
  text-wrap: pretty;
}

.tk-site-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tk-site-primary,
.tk-site-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 820;
}

.tk-site-primary {
  border: 1px solid var(--site-black);
  color: #fff !important;
  background: var(--site-black);
}

.tk-site-primary:hover {
  background: #2f2f2f;
}

.tk-site-secondary {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.tk-site-trust-row {
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin-top: 38px;
}

.tk-site-trust-row span,
.tk-site-channel-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #333631;
  font-size: 13px;
  font-weight: 760;
}

.tk-site-strip,
.tk-site-section,
.tk-site-final,
.tk-site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.tk-site-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -72px;
  border: 5px solid var(--site-border);
  border-radius: 14px;
  background: var(--site-bg);
  overflow: hidden;
  isolation: isolate;
}

.tk-site-strip div {
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid var(--site-border);
}

.tk-site-strip div:last-child {
  border-right: 0;
}

.tk-site-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.tk-site-strip span,
.tk-site-copy p,
.tk-site-capabilities p,
.tk-site-price p,
.tk-site-final p,
.tk-site-footer {
  color: var(--site-muted);
  line-height: 1.5;
}

.tk-site-section {
  margin-top: 72px;
}

.tk-site-two-col,
.tk-site-channel-section,
.tk-site-price {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.tk-site-section h2 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 70px);
}

.tk-site-copy p,
.tk-site-price p,
.tk-site-final p {
  max-width: 68ch;
  margin: 18px 0 0;
  font-size: 17px;
}

.tk-site-admin-preview {
  min-height: 420px;
  padding: 18px;
  border: 1px solid #cfd4ce;
  border-radius: 16px;
  background: var(--site-bg);
  box-shadow: 0 8px 0 #202020;
}

.tk-site-preview-top {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  background: #080808;
  color: #fff;
}

.tk-site-preview-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #5ce28f;
}

.tk-site-preview-top span:nth-child(2) {
  background: #dfe4dd;
}

.tk-site-preview-top span:nth-child(3) {
  background: #8f9690;
}

.tk-site-preview-top strong {
  margin-left: auto;
  font-size: 13px;
}

.tk-site-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 16px;
}

.tk-site-preview-grid div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: #fff;
}

.tk-site-preview-grid .is-wide,
.tk-site-preview-grid .is-table {
  grid-column: 1 / -1;
}

.tk-site-preview-grid small {
  display: block;
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 760;
}

.tk-site-preview-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.tk-site-preview-grid .is-table {
  display: grid;
  gap: 10px;
}

.tk-site-preview-grid .is-table span {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d9ded7, #eef1ed);
}

.tk-site-section-head {
  display: block;
  margin-bottom: 26px;
}

.tk-site-section-head .tk-site-label {
  display: block;
  margin-bottom: 14px;
}

.tk-site-section-head h2 {
  max-width: 720px;
}

.tk-site-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 5px solid var(--site-border);
  border-radius: 16px;
  background: var(--site-bg);
  overflow: hidden;
}

.tk-site-capabilities article {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--site-border);
}

.tk-site-capabilities article:nth-child(4n) {
  border-right: 0;
}

.tk-site-capabilities article:nth-child(-n + 4) {
  border-bottom: 1px solid var(--site-border);
}

.tk-site-capabilities i {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 9px;
  background: #e5f8eb;
  color: var(--site-accent-dark);
  font-size: 18px;
}

.tk-site-capabilities h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.tk-site-capabilities p {
  margin: 0;
  font-size: 14px;
}

.tk-site-channel-section {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  min-height: 500px;
  margin-top: 86px;
  padding: clamp(28px, 5vw, 56px);
  padding-right: clamp(280px, 30vw, 360px);
  border: 0;
  background: transparent;
  color: var(--site-ink);
  overflow: visible;
}

.tk-site-channel-section::before {
  position: absolute;
  z-index: 0;
  inset: 0 210px 0 0;
  border: 5px solid var(--site-border);
  border-radius: 18px;
  background: var(--site-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  content: "";
}

.tk-site-channel-section h2 {
  max-width: 700px;
  color: var(--site-ink);
  font-size: clamp(40px, 4.4vw, 64px);
}

.tk-site-channel-section p {
  color: var(--site-muted);
}

.tk-site-channel-section > * {
  position: relative;
  z-index: 1;
}

.tk-site-side-monster {
  position: absolute;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: 14px;
  left: calc(100% - 230px);
  width: min(18vw, 220px);
  opacity: 0.96;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.11));
}

.tk-site-channel-list {
  position: relative;
  z-index: 2;
  align-self: end;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
  margin-left: auto;
}

.tk-site-channel-list span {
  min-height: 42px;
  border-color: rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #272927;
}

.tk-site-channel-list i {
  margin-right: 8px;
}

.tk-site-price {
  position: relative;
  align-items: center;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1fr);
  margin-top: 96px;
  margin-bottom: 52px;
  padding: clamp(22px, 4vw, 42px) clamp(28px, 5vw, 58px);
  border: 0;
  background: transparent;
  overflow: visible;
}

.tk-site-price::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 200px;
  border: 5px solid var(--site-border);
  border-radius: 18px;
  background: var(--site-bg);
  content: "";
}

.tk-site-price > div {
  position: relative;
  z-index: 1;
  transform: translateX(-100px);
}

.tk-site-price-cta {
  margin-top: 26px;
}

.tk-site-price-art {
  position: relative;
  z-index: 2;
  justify-self: center;
  align-self: end;
  width: min(340px, 88%);
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.08));
  transform: translate(-85px, 83px);
}

.tk-site-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 500px);
  gap: clamp(26px, 6vw, 80px);
  align-items: center;
  margin-top: 72px;
  padding: clamp(34px, 6vw, 70px) clamp(20px, 4vw, 54px);
  border: 5px solid var(--site-border);
  border-radius: 18px;
  background: var(--site-bg);
  text-align: left;
}

.tk-site-final h2 {
  font-size: clamp(42px, 7vw, 84px);
}

.tk-site-final p {
  margin-bottom: 26px;
}

.tk-site-final-art {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.1));
}

.tk-site-footer {
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  margin-top: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--site-border);
  font-size: 13px;
}

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

  .tk-site-hero {
    min-height: auto;
    padding-bottom: 46px;
  }

  .tk-site-hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: min(92vw, 600px);
    max-height: none;
    margin: 28px auto 0;
  }

  .tk-site-strip,
  .tk-site-two-col,
  .tk-site-channel-section,
  .tk-site-price,
  .tk-site-final,
  .tk-site-capabilities {
    grid-template-columns: 1fr;
  }

  .tk-site-channel-section {
    margin-top: 72px;
    padding-right: clamp(28px, 5vw, 56px);
    border: 5px solid var(--site-border);
    border-radius: 18px;
    background: var(--site-bg);
    overflow: hidden;
  }

  .tk-site-channel-section::before {
    display: none;
  }

  .tk-site-price {
    margin-top: 72px;
    margin-bottom: 0;
    border: 5px solid var(--site-border);
    border-radius: 18px;
    background: var(--site-bg);
    overflow: hidden;
  }

  .tk-site-price::before {
    display: none;
  }

  .tk-site-price-art {
    width: min(260px, 74%);
    max-height: 340px;
    transform: none;
  }

  .tk-site-price > div {
    transform: none;
  }

  .tk-site-strip div,
  .tk-site-capabilities article {
    border-right: 0;
    border-bottom: 1px solid var(--site-border);
  }

  .tk-site-strip div:last-child,
  .tk-site-capabilities article:last-child {
    border-bottom: 0;
  }

  .tk-site-side-monster {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    display: block;
    width: min(56vw, 250px);
    margin: 10px auto 0;
  }

  .tk-site-channel-list {
    margin-left: 0;
  }

  .tk-site-final {
    text-align: center;
  }

  .tk-site-final p {
    margin-right: auto;
    margin-left: auto;
  }

  .tk-site-final-art {
    max-height: 360px;
  }
}

@media (max-width: 640px) {
  .tk-site-header {
    min-height: 62px;
    padding: 10px 14px;
  }

  .tk-site-brand strong {
    font-size: 21px;
  }

  .tk-site-brand > span:last-child {
    display: none;
  }

  .tk-site-login {
    padding: 0 10px;
  }

  .tk-site-hero {
    padding: 54px 18px 40px;
    overflow: hidden;
  }

  .tk-site-hero h1 {
    font-size: clamp(58px, 19vw, 86px);
  }

  .tk-site-hero-copy {
    width: 100%;
    max-width: calc(100vw - 36px);
    font-size: 17px;
  }

  .tk-site-hero-inner,
  .tk-site-hero h1,
  .tk-site-trust-row {
    max-width: calc(100vw - 36px);
  }

  .tk-site-hero-art {
    width: min(100%, 520px);
    margin-top: 24px;
  }

  .tk-site-strip,
  .tk-site-section,
  .tk-site-final,
  .tk-site-footer {
    width: calc(100% - 28px);
  }

  .tk-site-admin-preview {
    min-height: auto;
    box-shadow: 0 5px 0 #202020;
  }

  .tk-site-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tk-site-section h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

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

/* Public CFD self-service */
body.tk-public-cfd { min-height:100vh; color:var(--tk-text,#303030); font-family:var(--tk-font,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif); }
body.tk-public-cfd * { box-sizing:border-box; }
.tk-public-shell { width:min(1080px, calc(100vw - 40px)); margin:0 auto; padding:clamp(38px,5vw,72px) 0 64px; }
.tk-public-card { background:#f4f5f3; border:5px solid #050505; border-radius:18px; overflow:hidden; box-shadow:0 24px 70px rgba(0,0,0,.08); }
.tk-public-head { padding:34px 36px 30px; border-bottom:1px solid #050505; display:flex; justify-content:space-between; gap:20px; align-items:flex-start; }
.tk-public-eyebrow { margin:0 0 14px; display:inline-flex; gap:7px; align-items:center; color:#3f13a4; font-size:1.05rem; font-weight:900; }
.tk-public-head h1 { margin:0; max-width:720px; font-size:clamp(40px,6vw,76px); line-height:.92; letter-spacing:-.055em; color:#050505; }
.tk-public-body { padding:28px 36px 34px; display:grid; gap:22px; }
.tk-public-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.tk-public-grid .wide { grid-column:1 / -1; }
.tk-public-field { display:grid; gap:8px; font-weight:850; color:#303030; font-size:13px; }
.tk-public-field input,.tk-public-field select { width:100%; height:48px; border:1px solid #c9c9c9; border-radius:10px; padding:0 14px; background:#fff; color:#202020; font:inherit; font-size:14px; font-weight:650; box-shadow:inset 0 1px 0 rgba(0,0,0,.03); outline:none; transition:border-color .16s ease, box-shadow .16s ease; }
.tk-public-field select { appearance:none; padding-right:38px; background-image:linear-gradient(45deg,transparent 50%,#616161 50%),linear-gradient(135deg,#616161 50%,transparent 50%); background-position:calc(100% - 18px) 21px,calc(100% - 12px) 21px; background-size:6px 6px,6px 6px; background-repeat:no-repeat; }
.tk-public-field input:focus,.tk-public-field select:focus { border-color:#3f13a4; box-shadow:0 0 0 3px rgba(63,19,164,.16); }
.tk-public-lookup { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:end; }
.tk-public-summary { border:1px solid #d4d4d0; border-radius:12px; padding:16px 18px; background:#fff; display:none; }
.tk-public-summary.is-visible { display:block; }
.tk-public-summary strong { display:block; margin-bottom:4px; font-size:16px; }
.tk-public-actions { display:flex; gap:10px; justify-content:flex-end; padding:20px 36px; border-top:1px solid #d6d6d2; background:#fff; }
.tk-public-note { color:#616161; font-size:15px; line-height:1.5; margin:12px 0 0; max-width:680px; }
.tk-public-cfd .btn { min-height:44px; border:1px solid transparent; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:0 18px; font:inherit; font-size:14px; font-weight:850; text-decoration:none; cursor:pointer; white-space:nowrap; }
.tk-public-cfd .tk-primary-btn { background:#050505; color:#fff; border-color:#050505; box-shadow:0 2px 0 rgba(0,0,0,.18); }
.tk-public-cfd .tk-primary-btn:hover { background:#1d1d1d; color:#fff; }
.tk-public-cfd .tk-soft-btn { background:#e7e7e4; color:#202020; border-color:#deded9; }
.tk-public-cfd .tk-icon-btn { width:38px; min-height:38px; padding:0; background:#f3f3f1; color:#202020; border-color:#dfdfdc; }
.tk-public-cfd .tk-badge { align-self:flex-start; border:1px solid #d0d0cc; border-radius:999px; background:#fff; padding:8px 12px; font-size:13px; font-weight:850; color:#303030; }
.tk-public-modal { position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.52); padding:20px; z-index:9999; }
.tk-public-modal.is-open { display:flex; }
.tk-public-dialog { width:min(520px,100%); background:#fff; border:1px solid #d9d9d5; border-radius:14px; overflow:hidden; box-shadow:0 22px 75px rgba(0,0,0,.25); }
.tk-public-dialog header { padding:16px 18px; border-bottom:1px solid #e2e2de; display:flex; justify-content:space-between; align-items:center; }
.tk-public-dialog main { padding:20px; display:grid; gap:14px; }
.tk-public-links { display:flex; gap:10px; flex-wrap:wrap; }
.tk-public-alert { border:1px solid #f0c8c8; color:#8a2222; background:#fff4f4; border-radius:10px; padding:12px 14px; display:none; font-weight:750; }
.tk-public-alert.is-visible { display:block; }
@media (max-width:720px) {
    .tk-public-shell{width:min(100% - 24px, 1080px); padding:26px 0 40px}
    .tk-public-card{border-width:3px;border-radius:14px}
    .tk-public-head{display:block;padding:26px 20px}
    .tk-public-head h1{font-size:44px}
    .tk-public-body{padding:22px 20px}
    .tk-public-grid,.tk-public-lookup{grid-template-columns:1fr}
    .tk-public-actions{justify-content:stretch;flex-direction:column;padding:18px 20px}
    .tk-public-actions .btn,.tk-public-lookup .btn{width:100%}
}
