* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body.debet-page {
  margin: 0;
  overflow-x: hidden;
  background: #050505;
  color: #f7f7f7;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.debet-page a {
  text-decoration: none;
}

.debet-page img,
.debet-page svg {
  max-width: 100%;
}

.debet-shell {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.debet-topbar {
  background: #080808;
  border-bottom: 1px solid rgba(255, 204, 0, .12);
}

.debet-topbar .debet-shell,
.debet-nav .debet-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.debet-topbar .debet-shell {
  min-height: 82px;
}

.debet-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  min-width: 0;
}

.debet-logo {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(32px, 5vw, 50px);
  line-height: .9;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  color: #fff;
}

.debet-logo span {
  color: #ffbf00;
}

.debet-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9c9c9;
  font-size: 13px;
  line-height: 1.4;
  max-width: 420px;
}

.debet-tagline svg,
.debet-help svg,
.debet-meta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.debet-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.debet-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-right: 12px;
  white-space: nowrap;
}

.debet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 8px;
  border: 1px solid #ffbf00;
  background: #ffbf00;
  color: #0c0c0c;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(255, 191, 0, .24);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.debet-button:hover {
  transform: translateY(-1px);
  color: #0c0c0c;
}

.debet-button.is-ghost {
  background: #101010;
  color: #fff;
  box-shadow: none;
}

.debet-button.is-ghost:hover {
  color: #ffbf00;
}

.debet-button.is-outline {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.debet-button.is-outline:hover {
  color: #ffbf00;
}

.debet-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffd600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.debet-menu {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 60px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.debet-menu::-webkit-scrollbar {
  display: none;
}

.debet-menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 22px;
  color: #111;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.debet-menu a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: transparent;
}

.debet-menu a:hover,
.debet-menu .is-active a {
  color: #d71920;
}

.debet-menu .is-active a::after {
  background: #d71920;
}

.debet-hero {
  position: relative;
  isolation: isolate;
  min-height: 548px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 193, 7, .22), transparent 35%),
    linear-gradient(90deg, #050505 0%, #080808 42%, #111 100%);
}

.debet-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .78) 36%, rgba(5, 5, 5, .16) 68%, rgba(5, 5, 5, .44) 100%);
}

.debet-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 548px;
  padding: 58px 0 34px;
}

.debet-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.debet-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.debet-hero-copy h1 span {
  color: #ffd600;
}

.debet-hero-copy p {
  max-width: 580px;
  margin: 22px 0 0;
  color: #e8e8e8;
  font-size: 17px;
  line-height: 1.8;
}

.debet-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.debet-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(860px, 64vw);
  z-index: -1;
}

.debet-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center right;
}

.debet-proof {
  position: relative;
  z-index: 3;
  margin-top: -44px;
}

.debet-proof-grid,
.debet-category-grid,
.debet-feature,
.debet-news-grid,
.debet-faq-grid,
.debet-footer-grid {
  display: grid;
}

.debet-proof-grid {
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 214, 0, .22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(16, 16, 16, .96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
}

.debet-proof-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 20px 24px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.debet-proof-item:first-child {
  border-left: 0;
}

.debet-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #ffd600;
  background: #141414;
  border: 1px solid rgba(255, 214, 0, .5);
}

.debet-icon svg {
  width: 31px;
  height: 31px;
}

.debet-proof-item h3,
.debet-category-card h3,
.debet-point h3,
.debet-news-card h3 {
  margin: 0;
  color: #fff;
  font-weight: 900;
  line-height: 1.25;
}

.debet-proof-item h3 {
  font-size: 16px;
}

.debet-proof-item p {
  margin: 6px 0 0;
  color: #cfcfcf;
  font-size: 13px;
  line-height: 1.55;
}

.debet-categories {
  padding: 34px 0 18px;
  background: #050505;
}

.debet-category-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.debet-category-card {
  min-height: 150px;
  padding: 24px 16px 18px;
  text-align: center;
  border: 1px solid rgba(255, 214, 0, .2);
  border-radius: 8px;
  background: linear-gradient(180deg, #191919 0%, #101010 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.debet-category-card .debet-icon {
  margin: 0 auto 14px;
  width: 60px;
  height: 60px;
  border: 0;
  color: #ffd600;
  background: rgba(255, 214, 0, .08);
}

.debet-category-card h3 {
  color: #fff;
  font-size: 16px;
}

.debet-mini-arrow {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 0, .35);
  color: #ffd600;
}

.debet-section-dark {
  background: #050505;
  padding: 4px 0 30px;
}

.debet-feature {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 36px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(255, 214, 0, .18);
  border-radius: 8px;
  background: #111;
}

.debet-feature-image {
  min-height: 372px;
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
}

.debet-feature-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center right;
}

.debet-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 8px;
}

.debet-section-title {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.16;
  font-weight: 900;
}

.debet-section-title span {
  color: #ffd600;
}

.debet-feature-copy > p {
  margin: 18px 0 26px;
  color: #d9d9d9;
  font-size: 16px;
  line-height: 1.75;
}

.debet-points {
  display: grid;
  gap: 18px;
}

.debet-point {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 15px;
}

.debet-point .debet-icon {
  width: 50px;
  height: 50px;
}

.debet-point h3 {
  font-size: 17px;
}

.debet-point p {
  margin: 6px 0 0;
  color: #c9c9c9;
  font-size: 14px;
  line-height: 1.6;
}

.debet-news {
  padding: 36px 0 44px;
  background: #fff;
  color: #151515;
}

.debet-news-heading,
.debet-faq-heading {
  text-align: center;
  margin-bottom: 28px;
}

.debet-news-heading h2,
.debet-faq-heading h2 {
  margin: 0;
  color: #111;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.18;
  font-weight: 900;
}

.debet-news-heading h2 span,
.debet-faq-heading h2 span {
  color: #d71920;
}

.debet-title-mark {
  display: block;
  width: 64px;
  height: 3px;
  margin: 13px auto 0;
  border-radius: 4px;
  background: #d71920;
}

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

.debet-news-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  min-height: 142px;
  padding: 14px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
  color: #111;
}

.debet-news-card:hover h3 {
  color: #d71920;
}

.debet-news-thumb {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, .08), rgba(255, 214, 0, .18)),
    url("/assets/debet-hero.png") center / cover no-repeat;
}

.debet-news-thumb.is-dice {
  background-position: 68% 58%;
}

.debet-news-thumb.is-chip {
  background-position: 54% 66%;
}

.debet-news-thumb.is-wheel {
  background-position: 79% 42%;
}

.debet-news-thumb.is-dark {
  background-position: 44% 50%;
}

.debet-news-body {
  min-width: 0;
}

.debet-news-card h3 {
  color: #111;
  font-size: 18px;
}

.debet-news-card p {
  margin: 8px 0 0;
  color: #4f4f4f;
  font-size: 14px;
  line-height: 1.55;
}

.debet-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
  color: #777;
  font-size: 13px;
}

.debet-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.debet-news-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.debet-news-action .debet-button {
  min-height: 44px;
  color: #111;
  background: #fff;
  border-color: #222;
  box-shadow: none;
}

.debet-news-action .debet-button:hover {
  color: #d71920;
}

.debet-faq {
  padding: 34px 0 48px;
  background: #fff;
  color: #111;
  border-top: 1px solid #eee;
}

.debet-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.debet-faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 15px;
}

.debet-plus {
  color: #d71920;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.debet-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 214, 0, .18);
  color: #f7f7f7;
}

.debet-footer-grid {
  grid-template-columns: 1.35fr .75fr .75fr 1fr;
  gap: 46px;
  padding: 44px 0 34px;
}

.debet-footer p {
  margin: 12px 0 0;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.7;
}

.debet-footer h3 {
  margin: 0 0 14px;
  color: #ffd600;
  font-size: 16px;
  font-weight: 900;
}

.debet-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.debet-footer li {
  margin: 9px 0;
  color: #d7d7d7;
  font-size: 14px;
}

.debet-footer a {
  color: #d7d7d7;
}

.debet-footer a:hover {
  color: #ffd600;
}

.debet-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.debet-social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 0, .3);
  color: #ffd600;
  font-size: 13px;
  font-weight: 900;
}

.debet-copyright {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #b8b8b8;
  font-size: 13px;
  text-align: center;
}

.debet-article {
  background: #fff;
  color: #171717;
  padding: 38px 0 52px;
}

.debet-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.debet-article-card,
.debet-aside-card {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .05);
}

.debet-article-card {
  padding: clamp(22px, 4vw, 42px);
}

.debet-article-card h1 {
  margin: 0;
  color: #111;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.14;
  font-weight: 900;
}

.debet-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 15px 0 24px;
  color: #777;
  font-size: 14px;
}

.debet-article-hero {
  overflow: hidden;
  border-radius: 8px;
  margin: 22px 0 28px;
  background: #050505;
}

.debet-article-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.debet-article-body {
  color: #333;
  font-size: 17px;
  line-height: 1.86;
}

.debet-article-body h2,
.debet-article-body h3 {
  color: #111;
  font-weight: 900;
  line-height: 1.25;
}

.debet-article-body h2 {
  margin: 34px 0 12px;
  font-size: 28px;
}

.debet-article-body h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.debet-article-body p,
.debet-article-body ul,
.debet-article-body ol {
  margin: 0 0 18px;
}

.debet-article-body img {
  height: auto;
  border-radius: 8px;
}

.debet-prenext {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.debet-prenext div {
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

.debet-aside {
  display: grid;
  gap: 18px;
}

.debet-aside-card {
  overflow: hidden;
}

.debet-aside-card img {
  width: 100%;
  display: block;
}

.debet-aside-body {
  padding: 18px;
}

.debet-aside-body h3 {
  margin: 0 0 10px;
  color: #111;
  font-size: 20px;
  font-weight: 900;
}

.debet-aside-body p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.debet-pager {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.debet-pager .pagination,
.debet-pager ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.debet-pager a,
.debet-pager li,
.debet-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #111;
  background: #fff;
}

@media (max-width: 1100px) {
  .debet-shell {
    width: min(100% - 40px, 960px);
  }

  .debet-topbar .debet-shell {
    min-height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
  }

  .debet-tagline {
    order: 3;
    width: 100%;
    max-width: none;
  }

  .debet-hero-grid {
    grid-template-columns: 1fr;
    min-height: 640px;
    align-items: end;
  }

  .debet-hero-media {
    right: 0;
    width: 100%;
    opacity: .82;
  }

  .debet-proof {
    margin-top: 0;
    background: #050505;
    padding-top: 18px;
  }

  .debet-proof-grid,
  .debet-category-grid,
  .debet-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .debet-category-grid {
    gap: 12px;
  }

  .debet-feature,
  .debet-article-layout {
    grid-template-columns: 1fr;
  }

  .debet-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .debet-shell {
    width: min(100% - 28px, 560px);
  }

  .debet-topbar .debet-shell {
    gap: 16px;
  }

  .debet-brand {
    width: 100%;
    justify-content: space-between;
  }

  .debet-tagline {
    display: none;
  }

  .debet-actions {
    width: 100%;
    justify-content: space-between;
  }

  .debet-help {
    margin-right: 0;
    font-size: 12px;
  }

  .debet-button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .debet-nav .debet-shell {
    width: 100%;
  }

  .debet-menu {
    justify-content: flex-start;
    padding: 0 14px;
  }

  .debet-menu a {
    min-height: 54px;
    padding: 0 15px;
    font-size: 13px;
  }

  .debet-menu a::after {
    left: 15px;
    right: 15px;
  }

  .debet-hero {
    min-height: auto;
  }

  .debet-hero-grid {
    min-height: 610px;
    padding: 44px 0 28px;
  }

  .debet-hero-media {
    height: 360px;
    bottom: auto;
  }

  .debet-hero::after {
    background: linear-gradient(180deg, rgba(5, 5, 5, .38) 0%, #050505 48%, #050505 100%);
  }

  .debet-hero-copy {
    margin-top: 260px;
  }

  .debet-hero-copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .debet-hero-copy p {
    font-size: 15px;
  }

  .debet-proof-grid,
  .debet-category-grid,
  .debet-news-grid,
  .debet-faq-grid,
  .debet-footer-grid,
  .debet-aside,
  .debet-prenext {
    grid-template-columns: 1fr;
  }

  .debet-proof-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .debet-proof-item:first-child {
    border-top: 0;
  }

  .debet-feature {
    padding: 14px;
  }

  .debet-feature-image {
    min-height: 230px;
  }

  .debet-news-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .debet-news-thumb {
    min-height: 104px;
  }

  .debet-news-card h3 {
    font-size: 16px;
  }

  .debet-news-card p {
    font-size: 13px;
  }

  .debet-meta {
    gap: 10px;
    font-size: 12px;
  }

  .debet-footer-grid {
    gap: 26px;
  }

  .debet-article-card {
    padding: 20px;
  }
}

@media (max-width: 430px) {
  .debet-actions {
    align-items: stretch;
  }

  .debet-actions .debet-button {
    flex: 1 1 0;
    padding: 0 10px;
  }

  .debet-help {
    display: none;
  }

  .debet-news-card {
    grid-template-columns: 1fr;
  }

  .debet-news-thumb {
    min-height: 160px;
  }
}

/* Codex 2026-07-07: support real linked DEBET column pages. */
.debet-proof-item,
.debet-faq-item {
  color: inherit;
  text-decoration: none;
}

.debet-feature-copy a,
.debet-aside-body a,
.debet-article-body a,
.debet-prenext a {
  color: #f5c242;
  font-weight: 800;
}

.debet-proof-item:hover h3,
.debet-faq-item:hover span:first-child,
.debet-feature-copy a:hover,
.debet-aside-body a:hover,
.debet-article-body a:hover,
.debet-prenext a:hover {
  color: #ffde76;
}
