@font-face {
  font-family: "TrebuchetLocal";
  src: url("fonts/trebuchet-ms-regular.ttf") format("truetype");
  font-display: optional;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "TrebuchetLocal";
  src: url("fonts/trebuchet-ms-bold.ttf") format("truetype");
  font-display: optional;
  font-weight: 700;
  font-style: normal;
}

:root {
  --clz-bg: #ececf1;
  --clz-card: #ffffff;
  --clz-card-soft: rgba(255, 255, 255, 0.92);
  --clz-text: #1b2334;
  --clz-muted: #697286;
  --clz-line: #d7dce8;
  --clz-blue: #0f3d94;
  --clz-blue-soft: #2b80ff;
  --clz-green: #35d41f;
  --clz-yellow: #ffd53d;
  --clz-pink: #ff1b93;
  --clz-shadow: 0 18px 38px rgba(17, 35, 82, 0.12);
  --clz-shadow-soft: 0 12px 24px rgba(17, 35, 82, 0.08);
  --clz-radius-xl: 30px;
  --clz-radius-lg: 24px;
  --clz-radius-md: 18px;
  --clz-radius-sm: 14px;
  --clz-space: clamp(16px, 2.1vw, 24px);
  --clz-sidebar-width: 296px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--clz-text);
  background:
    radial-gradient(circle at top left, rgba(53, 212, 31, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 213, 61, 0.14), transparent 28%),
    linear-gradient(180deg, #f6f7fb 0%, #ececf1 100%);
  font-family: "TrebuchetLocal", sans-serif;
  overflow-x: hidden;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

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

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

[id] {
  scroll-margin-top: 18px;
}

.clz-page {
  min-height: 100vh;
}

.clz-shell {
  min-height: 100vh;
}

.clz-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--clz-sidebar-width);
  padding: var(--clz-space);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.clz-logo-link,
.clz-mobile-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.clz-logo-link {
  align-self: stretch;
  width: 100%;
  padding: 0;
}

.clz-mobile-logo {
  place-self: start;
  width: 100%;
  max-width: none;
  padding: 0;
}

.clz-logo-link img,
.clz-mobile-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.clz-sidebar-actions,
.clz-mobile-actions {
  display: grid;
  gap: 10px;
}

.clz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(17, 35, 82, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  text-align: center;
}

.clz-btn:hover,
.clz-btn:focus-visible,
.clz-sidebar-page-link:hover,
.clz-anchor-link:hover,
.clz-accordion-link:hover,
.clz-author-link:hover {
  transform: translateY(-1px);
}

.clz-btn:focus-visible,
.clz-sidebar-page-link:focus-visible,
.clz-anchor-link:focus-visible,
.clz-accordion-link:focus-visible,
.clz-accordion-trigger:focus-visible,
.clz-slot-play:focus-visible,
.clz-slot-modal-close:focus-visible,
.clz-floating-bonus-close:focus-visible {
  outline: 3px solid rgba(43, 128, 255, 0.35);
  outline-offset: 2px;
}

.clz-btn--accent {
  color: #151515;
  background: linear-gradient(135deg, var(--clz-yellow), #ffed7a);
}

.clz-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--clz-blue-soft), var(--clz-blue));
}

.clz-btn--ghost {
  color: var(--clz-blue);
  background: linear-gradient(135deg, #ffffff, #eef4ff);
}

.clz-side-card,
.clz-card {
  background: var(--clz-card);
  border: 1px solid rgba(15, 61, 148, 0.08);
  border-radius: var(--clz-radius-lg);
  box-shadow: var(--clz-shadow-soft);
}

.clz-side-card {
  padding: 16px;
}

.clz-side-card-title,
.clz-author-kicker,
.clz-service-note {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clz-blue);
}

.clz-sidebar-nav,
.clz-sidebar-pages {
  display: grid;
  gap: 8px;
}

.clz-anchor-link,
.clz-sidebar-page-link,
.clz-accordion-link {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--clz-text);
  background: #f4f6fb;
  transition: background 0.18s ease, transform 0.18s ease;
}

.clz-anchor-link--level-3,
.clz-accordion-link--level-3 {
  margin-left: 12px;
  font-size: 0.93rem;
  color: var(--clz-muted);
}

.clz-side-card--note {
  margin-top: auto;
}

.clz-sidebar-note {
  margin: 0;
  color: var(--clz-muted);
  line-height: 1.55;
}

.clz-main {
  display: flex;
  flex-direction: column;
  gap: var(--clz-space);
  margin-left: calc(var(--clz-sidebar-width) - var(--clz-space));
  padding: var(--clz-space);
  padding-bottom: var(--clz-space);
}

.clz-main > * {
  min-width: 0;
  max-width: 100%;
}

.clz-mobile-brand {
  display: none;
}

.clz-mobile-utility-nav {
  display: none;
}

.clz-page-flow {
  display: grid;
  gap: var(--clz-space);
}

.clz-hero {
  position: relative;
  min-height: clamp(340px, 52vw, 470px);
  border-radius: var(--clz-radius-xl);
  overflow: hidden;
  box-shadow: var(--clz-shadow);
}

.clz-hero-media,
.clz-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.clz-hero-media img {
  object-fit: cover;
}

.clz-hero-card {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 40px));
  padding: clamp(20px, 3.2vw, 30px);
  border-radius: 26px;
  background: var(--clz-card-soft);
  box-shadow: 0 18px 32px rgba(17, 35, 82, 0.18);
  text-align: left;
}

.clz-hero-card h1 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.clz-hero-note {
  margin: -4px 0 18px;
  font-size: clamp(0.88rem, 1.9vw, 1rem);
  line-height: 1.45;
  font-weight: 600;
  color: rgba(17, 35, 82, 0.72);
}

.clz-accordion-card {
  padding: 8px;
}

.clz-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(43, 128, 255, 0.1), rgba(255, 213, 61, 0.16));
  color: var(--clz-text);
  padding: 16px 18px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.clz-accordion-icon {
  flex: 0 0 auto;
  font-size: 1.2rem;
  line-height: 1;
}

.clz-accordion-card.is-open .clz-accordion-icon {
  transform: rotate(45deg);
}

.clz-accordion-list {
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.clz-slot-grid-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.clz-slot-grid {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.clz-slot-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--clz-card);
  box-shadow: var(--clz-shadow-soft);
}

.clz-slot-card:hover {
  box-shadow: 0 18px 30px rgba(17, 35, 82, 0.16);
}

.clz-slot-media {
  width: 100%;
  aspect-ratio: 432 / 580;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f6f7fb);
}

.clz-slot-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.clz-slot-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 24px rgba(17, 35, 82, 0.18);
  cursor: pointer;
}

.clz-slot-play-icon {
  font-size: 2rem;
  color: var(--clz-blue);
}

.clz-slot-actions {
  position: absolute;
  inset: auto 12px 12px;
  display: grid;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.clz-slot-actions .clz-btn {
  min-width: 0;
  min-height: 42px;
  width: 100%;
  padding: 0 16px;
  font-size: 0.95rem;
}

.clz-slot-card.is-active .clz-slot-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.clz-slot-card.is-active .clz-slot-play {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .clz-slot-card:hover .clz-slot-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .clz-slot-card:hover .clz-slot-play {
    opacity: 0;
    pointer-events: none;
  }
}

.clz-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.clz-overview-card,
.clz-author-card,
.clz-intro-card,
.clz-article-card,
.clz-service-card,
.clz-author-page-card,
.clz-faq-card {
  padding: clamp(18px, 2.6vw, 28px);
}

.clz-overview-card h2,
.clz-author-card h2,
.clz-article-card h2,
.clz-service-card h1,
.clz-service-card h2,
.clz-author-page-card h1,
.clz-author-page-card h2,
.clz-faq-card h2,
.clz-cta-banner-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.clz-paragraph,
.clz-article-note,
.clz-author-role,
.clz-footer-copy,
.clz-faq-answer p,
.clz-service-card li {
  margin: 0 0 14px;
  color: var(--clz-text);
  line-height: 1.65;
}

.clz-article-note {
  color: var(--clz-muted);
}

.clz-subtitle {
  margin: 24px 0 12px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.clz-rich-list {
  margin: 0 0 16px 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.clz-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.clz-table-wrap + .clz-paragraph,
.clz-table-wrap + .clz-article-note,
.clz-table-wrap + .clz-rich-list {
  margin-top: 14px;
}

.clz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  border-radius: 18px;
  overflow: hidden;
}

.clz-table th,
.clz-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--clz-line);
}

.clz-table thead th {
  background: rgba(15, 61, 148, 0.08);
}

.clz-table tbody tr:nth-child(even) {
  background: rgba(15, 61, 148, 0.03);
}

.clz-table--overview th {
  width: 34%;
}

.clz-author-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 20px;
  align-items: center;
}

.clz-author-photo,
.clz-author-page-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 22px rgba(17, 35, 82, 0.18);
}

.clz-author-copy p {
  margin: 0 0 12px;
}

.clz-author-copy,
.clz-author-page-intro {
  min-width: 0;
}

.clz-author-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clz-blue);
  font-weight: 700;
}

.clz-cta-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 38vw, 360px);
  padding: 0;
}

.clz-cta-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clz-cta-banner-card {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 36px));
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 32px rgba(17, 35, 82, 0.18);
}

.clz-cta-banner-card p {
  margin: 0 0 16px;
  line-height: 1.6;
}

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

.clz-faq-item {
  border-radius: 18px;
  background: #f5f7fc;
  padding: 0 18px;
}

.clz-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
}

.clz-faq-item summary::-webkit-details-marker {
  display: none;
}

.clz-faq-answer {
  padding-bottom: 16px;
}

.clz-slot-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
}

.clz-slot-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 38, 0.7);
}

.clz-slot-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 32px));
  border-radius: 28px;
  background: #0f1630;
  padding: 18px;
  box-shadow: 0 28px 48px rgba(8, 16, 38, 0.35);
}

.clz-slot-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.clz-slot-frame-wrap {
  overflow: hidden;
  border-radius: 22px;
}

.clz-slot-iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  background: #000;
}

.clz-slot-modal-actions {
  padding-top: 16px;
  display: flex;
  justify-content: center;
}

.clz-floating-bonus {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  max-width: min(520px, calc(100vw - 24px));
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 61, 148, 0.96), rgba(255, 27, 147, 0.96));
  color: #fff;
  box-shadow: 0 22px 34px rgba(17, 35, 82, 0.28);
}

.clz-floating-bonus .clz-btn {
  min-width: 0;
  min-height: 40px;
  padding: 0 18px;
}

.clz-floating-bonus-text {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}

.clz-floating-bonus-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
}

.clz-footer {
  margin-top: var(--clz-space);
  padding: 18px 20px 20px;
  border-radius: var(--clz-radius-lg);
  background: #fff;
  box-shadow: var(--clz-shadow-soft);
}

.clz-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 12px;
}

.clz-footer-links a,
.clz-footer-responsible {
  color: var(--clz-blue);
  font-weight: 700;
}

.clz-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 10px;
}

.clz-form-field {
  display: grid;
  gap: 8px;
}

.clz-form-field input,
.clz-form-field textarea {
  width: 100%;
  border: 1px solid var(--clz-line);
  border-radius: 16px;
  background: #f7f9fd;
  padding: 14px 16px;
  color: var(--clz-text);
}

.clz-form-field--wide {
  grid-column: 1 / -1;
}

.clz-form-feedback {
  margin: 10px 0 0;
  color: var(--clz-blue);
  font-weight: 700;
}

.clz-author-page-top {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.clz-author-page-photo {
  width: 180px;
  height: 180px;
}

.clz-author-role {
  color: var(--clz-blue);
  font-weight: 700;
}

.clz-page--legacy {
  display: grid;
  place-items: center;
}

.clz-legacy-redirect {
  width: min(520px, calc(100vw - 32px));
  padding: 28px;
  border-radius: 22px;
  background: var(--clz-card);
  box-shadow: var(--clz-shadow-soft);
  text-align: center;
}

@media (max-width: 1199px) {
  .clz-slot-grid-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .clz-sidebar {
    display: none;
  }

  .clz-main {
    margin-left: 0;
    padding: 16px;
  }

  .clz-page-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .clz-page-flow > * {
    min-width: 0;
    max-width: 100%;
  }

  .clz-mobile-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .clz-mobile-logo {
    justify-content: center;
  }

  .clz-mobile-logo img {
    width: clamp(188px, 62vw, 238px);
    max-width: 100%;
  }

  .clz-mobile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
  }

  .clz-mobile-actions .clz-btn {
    min-width: 0;
    width: 100%;
  }

  .clz-mobile-utility-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 0;
    width: 100%;
    min-width: 0;
    padding: 8px 14px 9px;
    border: 1px solid rgba(168, 179, 145, 0.32);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(246, 247, 238, 0.34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
  }

  .clz-mobile-utility-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--clz-blue);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .clz-mobile-utility-link:not(:last-child) {
    margin-right: 10px;
  }

  .clz-mobile-utility-link:not(:last-child)::after {
    content: "·";
    margin-left: 10px;
    color: rgba(105, 114, 134, 0.7);
  }

  .clz-hero-card,
  .clz-cta-banner-card {
    width: calc(100% - 32px);
    padding: 18px;
  }

  .clz-author-card,
  .clz-author-page-top {
    align-items: start;
  }

  .clz-author-card {
    grid-template-columns: 92px 1fr;
    gap: 14px;
  }

  .clz-author-page-top {
    grid-template-columns: 104px 1fr;
    gap: 16px;
  }

  .clz-author-photo {
    width: 92px;
    height: 92px;
    margin-inline: 0;
  }

  .clz-author-page-photo {
    width: 104px;
    height: 104px;
    margin-inline: 0;
  }

  .clz-table th,
  .clz-table td {
    padding: 12px 12px;
    font-size: 0.92rem;
  }

  .clz-floating-bonus {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    grid-template-columns: 1fr auto;
  }

  .clz-floating-bonus .clz-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .clz-slot-modal {
    place-items: stretch;
  }

  .clz-slot-modal-panel {
    width: 100vw;
    min-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    padding: max(14px, env(safe-area-inset-top)) 0 calc(12px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    box-shadow: none;
  }

  .clz-slot-modal-close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 52px;
    height: 52px;
  }

  .clz-slot-frame-wrap {
    height: 100%;
    border-radius: 0;
  }

  .clz-slot-iframe {
    min-height: 0;
    height: 100%;
  }

  .clz-slot-modal-actions {
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 767px) {
  .clz-slot-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .clz-slot-grid,
  .clz-slot-grid-list {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .clz-btn {
    min-width: 0;
    width: 100%;
  }

  .clz-contact-form {
    grid-template-columns: 1fr;
  }

  .clz-form-field--wide {
    grid-column: auto;
  }

  .clz-hero {
    min-height: 320px;
  }

  .clz-hero-card h1 {
    font-size: clamp(1.6rem, 7vw, 2.3rem);
  }

  .clz-hero-note {
    margin: -2px 0 16px;
    font-size: 0.9rem;
  }
}
