/* CODEX RENDER CONTRACT: guide-info-pages */
:root {
  --ten-bg: #07100d;
  --ten-surface: #101914;
  --ten-surface-2: #17231c;
  --ten-panel: rgba(255, 255, 255, 0.055);
  --ten-text: #f7fbf6;
  --ten-muted: #c4d4c5;
  --ten-border: rgba(196, 212, 197, 0.2);
  --ten-accent: #59d185;
  --ten-accent-2: #f0b35a;
  --ten-blue: #7ec7de;
  --ten-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(89, 209, 133, 0.08), transparent 34%),
    linear-gradient(180deg, #060b09 0%, #0e1712 52%, #12140e 100%);
  color: var(--ten-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: #a9e7bd;
}

a:hover,
a:focus-visible {
  color: #f7fbf6;
}

.ten-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 74px;
}

.ten-breadcrumbs {
  margin: 0 0 14px;
  color: var(--ten-muted);
  font-size: 0.92rem;
}

.ten-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ten-breadcrumbs li::after {
  content: "/";
  margin-left: 0.45rem;
  color: rgba(196, 212, 197, 0.48);
}

.ten-breadcrumbs li:last-child::after {
  display: none;
}

.ten-breadcrumbs [aria-current="page"] {
  color: #edf6ea;
}

.ten-hero,
.ten-panel,
.ten-guide-card,
.ten-stats-grid > div {
  border: 1px solid var(--ten-border);
  background:
    radial-gradient(circle at top right, rgba(240, 179, 90, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026));
  box-shadow: var(--ten-shadow);
}

.ten-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 8px;
}

.ten-hero--detail {
  align-items: stretch;
}

.ten-kicker {
  margin: 0 0 10px;
  color: var(--ten-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ten-hero h1 {
  margin: 0 0 12px;
  max-width: 12ch;
  font-size: 4rem;
  line-height: 0.98;
}

.ten-hero p {
  max-width: 68ch;
  margin: 0;
  color: var(--ten-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.ten-hero-card,
.ten-hero-visual {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 220px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(196, 212, 197, 0.18);
  border-radius: 8px;
  background: rgba(7, 16, 13, 0.52);
}

.ten-hero-card strong {
  font-size: 1.05rem;
}

.ten-hero-card span,
.ten-hero-visual figcaption {
  color: var(--ten-muted);
  line-height: 1.6;
}

.ten-hero-visual img {
  width: min(220px, 100%);
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
}

.ten-panel {
  margin-top: 22px;
  padding: 24px;
  border-radius: 8px;
}

.ten-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.ten-section-heading h2,
.ten-guide-card h2 {
  margin: 0;
  font-size: 1.18rem;
}

.ten-section-heading p,
.ten-guide-card p,
.ten-item-card p {
  margin: 0;
  color: var(--ten-muted);
  line-height: 1.65;
}

.ten-essential-list,
.ten-item-grid,
.ten-how-list,
.ten-related-list {
  display: grid;
  gap: 12px;
}

.ten-essential-row {
  display: grid;
  grid-template-columns: 44px 84px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 116px;
  padding: 14px 16px;
  color: var(--ten-text);
  text-decoration: none;
  border: 1px solid rgba(196, 212, 197, 0.16);
  border-radius: 8px;
  background: rgba(7, 16, 13, 0.58);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.ten-essential-row:hover,
.ten-essential-row:focus-visible {
  border-color: rgba(89, 209, 133, 0.56);
  background: rgba(28, 48, 35, 0.72);
  transform: translateY(-2px);
}

.ten-essential-row img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.ten-essential-index {
  color: var(--ten-accent-2);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.ten-essential-copy {
  display: grid;
  gap: 5px;
}

.ten-essential-copy strong {
  font-size: 1.02rem;
}

.ten-essential-copy span,
.ten-essential-meta {
  color: var(--ten-muted);
  line-height: 1.45;
}

.ten-essential-meta {
  white-space: nowrap;
  font-size: 0.84rem;
  color: #cdebd3;
}

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

.ten-stats-grid > div {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 18px;
  border-radius: 8px;
}

.ten-stats-grid span,
.ten-item-stats dt {
  color: var(--ten-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ten-stats-grid strong {
  font-size: 1.55rem;
}

.ten-how-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ten-step;
}

.ten-how-list li {
  counter-increment: ten-step;
  position: relative;
  min-height: 54px;
  padding: 14px 16px 14px 58px;
  border: 1px solid rgba(196, 212, 197, 0.14);
  border-radius: 8px;
  background: rgba(7, 16, 13, 0.48);
  color: var(--ten-muted);
  line-height: 1.55;
}

.ten-how-list li::before {
  content: counter(ten-step);
  position: absolute;
  top: 12px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(89, 209, 133, 0.16);
  color: #d8ffe2;
  font-weight: 800;
}

.ten-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.ten-guide-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 8px;
}

.ten-item-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(196, 212, 197, 0.14);
  border-radius: 8px;
  background: rgba(7, 16, 13, 0.5);
}

.ten-item-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.ten-item-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.ten-item-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.ten-item-stats div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ten-item-stats dd {
  margin: 0;
  color: var(--ten-text);
  line-height: 1.4;
}

.ten-related-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ten-related-list a {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 112px;
  padding: 14px;
  color: var(--ten-text);
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(196, 212, 197, 0.14);
  border-radius: 8px;
  background: rgba(7, 16, 13, 0.46);
}

.ten-related-list img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

html[data-ten-essentials-motion="gsap"] [data-essential-row],
html[data-ten-essentials-motion="gsap"] [data-essential-card],
html[data-ten-essentials-motion="gsap"] .ten-hero-visual {
  will-change: transform, opacity;
}

@media (max-width: 860px) {
  .ten-hero,
  .ten-stats-grid,
  .ten-note-grid,
  .ten-related-list {
    grid-template-columns: 1fr;
  }

  .ten-essential-row {
    grid-template-columns: 34px 72px minmax(0, 1fr);
  }

  .ten-essential-row img {
    width: 72px;
    height: 72px;
  }

  .ten-essential-meta {
    grid-column: 3;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .ten-wrap {
    padding: 14px 14px 56px;
  }

  .ten-hero,
  .ten-panel {
    padding: 20px;
  }

  .ten-hero h1 {
    font-size: 2.45rem;
  }

  .ten-essential-row,
  .ten-item-card,
  .ten-item-stats {
    grid-template-columns: 1fr;
  }

  .ten-essential-row {
    justify-items: start;
  }

  .ten-essential-meta {
    grid-column: auto;
  }
}
