/* ========== Reset & Design Tokens ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --yd-bg: #0A0E18;
  --yd-panel: #111A2E;
  --yd-panel-2: #16203A;
  --yd-accent: #C6FF4A;
  --yd-accent-alt: #FF6B1A;
  --yd-line: #22D3EE;
  --yd-deco-a: #A855F7;
  --yd-deco-b: #FBBF24;
  --yd-text: #F4F7FC;
  --yd-muted: #9AA7BC;
  --yd-danger: #FF4D4F;

  --yd-font: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  --yd-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --yd-rad: 20px;
  --yd-rad-sm: 12px;
  --yd-pill: 999px;

  --yd-ct: 1200px;
  --yd-pad: clamp(1rem, 3vw, 2rem);
  --yd-space: clamp(3rem, 6vw, 5rem);

  --yd-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --yd-speed: 0.28s;
}

html {
  background: var(--yd-bg);
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--yd-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--yd-text);
  background-color: var(--yd-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 85% -10%, rgba(168, 85, 247, 0.10), transparent),
    radial-gradient(ellipse 60% 40% at 5% 110%, rgba(34, 211, 238, 0.08), transparent);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--yd-line);
  text-decoration: none;
}

a:hover {
  color: var(--yd-accent);
}

ul, ol {
  list-style: none;
}

main {
  display: block;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, h4 {
  font-family: var(--yd-font);
  font-weight: 800;
  line-height: 1.25;
  color: var(--yd-text);
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-style: italic;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
}

p {
  margin-bottom: 1em;
}

strong {
  color: var(--yd-text);
}

::selection {
  background: rgba(198, 255, 74, 0.28);
  color: var(--yd-text);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--yd-line);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--yd-bg);
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(34, 211, 238, 0.3);
  border: 2px solid var(--yd-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 211, 238, 0.5);
}

#main-content {
  scroll-margin-top: 110px;
}

/* ========== Skip Link & Progress ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 300;
  padding: 10px 20px;
  background: var(--yd-accent);
  color: #0A0E18;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(198, 255, 74, 0.4);
  transition: top 0.2s var(--yd-ease);
}

.skip-link:focus {
  top: 10px;
}

.yd-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  z-index: 300;
  background: linear-gradient(90deg, var(--yd-accent) 0%, var(--yd-line) 60%, var(--yd-accent-alt) 100%);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  pointer-events: none;
}

/* ========== Header ========== */
.yd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 24, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(34, 211, 238, 0.18);
}

.yd-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.9) 0%, rgba(34, 211, 238, 0.7) 30%, transparent 70%);
  pointer-events: none;
}

.yd-header__inner {
  position: relative;
  max-width: var(--yd-ct);
  margin-inline: auto;
  padding-inline: var(--yd-pad);
}

.yd-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
}

.yd-header__tele {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  font-family: var(--yd-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--yd-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.yd-header__tele::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: var(--yd-accent);
  box-shadow: 0 0 10px rgba(198, 255, 74, 0.7);
  animation: yd-pulse 2s ease-in-out infinite;
}

.yd-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  color: var(--yd-text);
  text-decoration: none;
}

.yd-brand:hover {
  color: var(--yd-text);
}

.yd-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px 20px 14px 20px;
  background: linear-gradient(145deg, var(--yd-accent) 0%, var(--yd-deco-b) 100%);
  color: #08121F;
  font-family: var(--yd-mono);
  font-weight: 800;
  font-style: italic;
  font-size: 19px;
  line-height: 1;
  transform: skewX(-8deg);
  box-shadow: inset 0 -4px 10px rgba(255, 107, 26, 0.45), 0 6px 22px rgba(198, 255, 74, 0.22);
  flex-shrink: 0;
}

.yd-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.yd-brand__name {
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--yd-text);
  background: linear-gradient(110deg, var(--yd-text) 55%, var(--yd-line) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: skewX(-4deg);
  white-space: nowrap;
}

.yd-brand__sub {
  font-family: var(--yd-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yd-line);
  white-space: nowrap;
}

.yd-header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
}

.yd-header__cta {
  flex-shrink: 0;
}

.yd-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--yd-rad-sm);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.12);
  color: var(--yd-line);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s var(--yd-ease), border-color 0.2s var(--yd-ease);
}

.yd-nav-toggle:hover {
  background: rgba(34, 211, 238, 0.22);
  border-color: rgba(34, 211, 238, 0.5);
}

.yd-nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 14px;
}

.yd-nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.25s var(--yd-ease), transform 0.25s var(--yd-ease), opacity 0.2s var(--yd-ease);
}

.yd-nav-toggle__bars span:nth-child(1) { top: 0; }
.yd-nav-toggle__bars span:nth-child(2) { top: 6px; }
.yd-nav-toggle__bars span:nth-child(3) { top: 12px; }

.yd-nav-toggle[aria-expanded="true"] .yd-nav-toggle__bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.yd-nav-toggle[aria-expanded="true"] .yd-nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.yd-nav-toggle[aria-expanded="true"] .yd-nav-toggle__bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* ========== Nav ========== */
.yd-nav {
  border-top: 1px dashed rgba(34, 211, 238, 0.25);
}

.yd-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding-block: 8px 12px;
}

.yd-nav__item {
  position: relative;
}

.yd-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--yd-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--yd-muted);
  white-space: nowrap;
  position: relative;
  transition: color 0.2s var(--yd-ease), background 0.2s var(--yd-ease);
}

.yd-nav__link span {
  font-family: var(--yd-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--yd-line);
}

.yd-nav__link:hover,
.yd-nav__link[aria-current="page"] {
  color: var(--yd-text);
  background: rgba(34, 211, 238, 0.12);
}

.yd-nav__link[aria-current="page"] span {
  color: var(--yd-accent);
}

.yd-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--yd-accent);
  filter: drop-shadow(0 1px 3px rgba(198, 255, 74, 0.5));
}

/* ========== Footer ========== */
.yd-footer {
  position: relative;
  margin-top: var(--yd-space);
  background: linear-gradient(180deg, var(--yd-panel) 0%, var(--yd-bg) 140%);
  border-top: 1px solid rgba(34, 211, 238, 0.2);
}

.yd-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yd-accent) 0%, var(--yd-line) 22%, transparent 40%, var(--yd-deco-a) 68%, var(--yd-deco-b) 100%);
  opacity: 0.9;
  pointer-events: none;
}

.yd-footer__inner {
  max-width: var(--yd-ct);
  margin-inline: auto;
  padding-inline: var(--yd-pad);
  padding-block: 56px 24px;
}

.yd-footer__grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 3fr;
  gap: 40px;
  align-items: start;
}

.yd-footer__brand .yd-brand {
  justify-self: start;
  margin-bottom: 16px;
}

.yd-footer__brief {
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--yd-muted);
}

.yd-footer__trust {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--yd-line);
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--yd-text);
  opacity: 0.85;
  font-style: italic;
}

.yd-footer__title {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 6px;
  font-family: var(--yd-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yd-muted);
}

.yd-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--yd-accent);
}

.yd-footer__nav-list {
  display: grid;
  gap: 10px;
}

.yd-footer__nav-link {
  font-size: 14px;
  color: var(--yd-muted);
  transition: color 0.2s var(--yd-ease);
}

.yd-footer__nav-link:hover {
  color: var(--yd-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--yd-line);
}

.yd-footer__contact-list {
  display: grid;
  gap: 12px;
}

.yd-footer__contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yd-footer__contact-label {
  font-family: var(--yd-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yd-accent);
}

.yd-footer__contact-value {
  font-size: 14px;
  color: var(--yd-muted);
  word-break: break-word;
}

.yd-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(154, 167, 188, 0.16);
  font-family: var(--yd-mono);
  font-size: 13px;
  color: var(--yd-muted);
}

.yd-footer__icp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yd-footer__icp::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--yd-accent);
}

.yd-footer__copyright {
  margin: 0;
}

/* ========== Back To Top ========== */
.yd-back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(17, 26, 46, 0.88);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--yd-line);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--yd-ease), transform 0.3s var(--yd-ease), visibility 0.3s, background 0.2s var(--yd-ease), color 0.2s var(--yd-ease);
}

.yd-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.yd-back-top:hover {
  background: var(--yd-line);
  color: var(--yd-bg);
}

/* ========== Buttons ========== */
.yd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--yd-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--yd-ease), box-shadow 0.2s var(--yd-ease), background 0.2s var(--yd-ease), color 0.2s var(--yd-ease), border-color 0.2s var(--yd-ease);
}

.yd-btn--accent {
  background: var(--yd-accent);
  color: #0A0E18;
  box-shadow: 0 4px 20px rgba(198, 255, 74, 0.25);
}

.yd-btn--accent:hover {
  color: #0A0E18;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(198, 255, 74, 0.4);
}

.yd-btn--orange {
  background: var(--yd-accent-alt);
  color: #0A0E18;
  box-shadow: 0 4px 20px rgba(255, 107, 26, 0.28);
}

.yd-btn--orange:hover {
  color: #0A0E18;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255, 107, 26, 0.4);
}

.yd-btn--ghost {
  background: transparent;
  color: var(--yd-text);
  border-color: rgba(34, 211, 238, 0.4);
}

.yd-btn--ghost:hover {
  color: var(--yd-text);
  border-color: var(--yd-line);
  box-shadow: inset 0 0 16px rgba(34, 211, 238, 0.12);
}

.yd-btn--sm {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 14px;
}

/* ========== Layout Primitives ========== */
.yd-container {
  width: 100%;
  max-width: var(--yd-ct);
  margin-inline: auto;
  padding-inline: var(--yd-pad);
}

.yd-section {
  padding-block: var(--yd-space);
}

.yd-section__title {
  margin-bottom: 12px;
}

.yd-section__lead {
  max-width: 60ch;
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--yd-muted);
}

.yd-grid {
  display: grid;
  gap: 24px;
}

.yd-grid--split {
  grid-template-columns: 1fr 1fr;
}

.yd-grid--triple {
  grid-template-columns: repeat(3, 1fr);
}

/* ========== Cards & Frame ========== */
.yd-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--yd-rad);
  background: linear-gradient(145deg, rgba(17, 26, 46, 0.95), rgba(17, 26, 46, 0.6));
  border: 1px solid rgba(34, 211, 238, 0.14);
  transition: transform 0.28s var(--yd-ease), border-color 0.28s var(--yd-ease), box-shadow 0.28s var(--yd-ease);
}

.yd-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yd-accent), var(--yd-line), transparent);
  opacity: 0;
  transition: opacity 0.28s var(--yd-ease);
}

.yd-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.38);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.yd-card:hover::before {
  opacity: 1;
}

.yd-frame {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: linear-gradient(145deg, rgba(17, 26, 46, 0.9), rgba(10, 14, 24, 0.35));
}

.yd-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-top: 2px solid var(--yd-accent);
  border-right: 2px solid var(--yd-accent);
  border-top-right-radius: 20px;
}

.yd-frame::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 44px;
  height: 44px;
  border-bottom: 2px solid var(--yd-line);
  border-left: 2px solid var(--yd-line);
  border-bottom-left-radius: 20px;
}

.yd-diag {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

/* ========== Metrics ========== */
.yd-metric {
  font-family: var(--yd-mono);
}

.yd-metric__value {
  display: block;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yd-text);
  font-variant-numeric: tabular-nums;
}

.yd-metric__value::after {
  content: attr(data-suffix);
  margin-left: 4px;
  font-size: 0.45em;
  font-weight: 500;
  color: var(--yd-accent);
}

.yd-metric__label {
  display: block;
  margin-top: 10px;
  font-family: var(--yd-font);
  font-size: 14px;
  color: var(--yd-muted);
}

/* ========== Image Frame ========== */
.yd-img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--yd-rad);
  border: 1px solid rgba(34, 211, 238, 0.16);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.14), transparent 45%),
    linear-gradient(315deg, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--yd-panel);
}

.yd-img-frame::before {
  content: "";
  display: block;
  padding-top: 66%;
  min-height: 200px;
}

.yd-img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(198, 255, 74, 0.035) 12px 13px);
  pointer-events: none;
}

.yd-img-frame--tall::before {
  padding-top: 120%;
  min-height: 260px;
}

.yd-img-frame--short::before {
  padding-top: 45%;
  min-height: 160px;
}

.yd-img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yd-img-frame__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: var(--yd-pill);
  background: rgba(10, 14, 24, 0.78);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--yd-text);
  font-family: var(--yd-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ========== Breadcrumbs ========== */
.yd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  padding-top: 12px;
  font-family: var(--yd-mono);
  font-size: 13px;
  color: var(--yd-muted);
}

.yd-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.yd-breadcrumbs li + li::before {
  content: "/";
  color: var(--yd-line);
  opacity: 0.55;
}

.yd-breadcrumbs a {
  color: var(--yd-line);
}

.yd-breadcrumbs a:hover {
  text-decoration: underline;
}

.yd-breadcrumbs [aria-current="page"] {
  color: var(--yd-text);
}

/* ========== Prose ========== */
.yd-prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--yd-muted);
}

.yd-prose p {
  margin-bottom: 1.2em;
}

.yd-prose h2,
.yd-prose h3,
.yd-prose h4 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  color: var(--yd-text);
}

.yd-prose h2:first-child,
.yd-prose h3:first-child,
.yd-prose h4:first-child {
  margin-top: 0;
}

.yd-prose a {
  color: var(--yd-line);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.yd-prose strong {
  color: var(--yd-text);
}

.yd-prose ul,
.yd-prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.5em;
}

.yd-prose ul {
  list-style: square;
}

.yd-prose ol {
  list-style: decimal;
}

.yd-prose li {
  margin-bottom: 0.5em;
}

.yd-prose code {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.16);
  color: var(--yd-line);
  font-family: var(--yd-mono);
  font-size: 0.88em;
}

.yd-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--yd-accent);
  color: var(--yd-text);
  font-style: italic;
}

/* ========== Utilities ========== */
.yd-mono {
  font-family: var(--yd-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.yd-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--yd-pill);
  border: 1px solid var(--yd-line);
  background: rgba(34, 211, 238, 0.1);
  color: var(--yd-line);
  font-family: var(--yd-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.yd-tag--orange {
  border-color: rgba(255, 107, 26, 0.4);
  background: rgba(255, 107, 26, 0.12);
  color: var(--yd-accent-alt);
}

.yd-tag--gold {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
  color: var(--yd-deco-b);
}

.yd-tag--purple {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.12);
  color: var(--yd-deco-a);
}

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

/* ========== Tabs ========== */
.yd-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(154, 167, 188, 0.18);
}

.yd-tabs__btn {
  appearance: none;
  padding: 12px 20px;
  border: none;
  border-radius: 12px 12px 0 0;
  background: transparent;
  color: var(--yd-muted);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: color 0.2s var(--yd-ease), background 0.2s var(--yd-ease);
}

.yd-tabs__btn::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--yd-accent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s var(--yd-ease), transform 0.2s var(--yd-ease);
}

.yd-tabs__btn:hover {
  color: var(--yd-text);
  background: rgba(34, 211, 238, 0.06);
}

.yd-tabs__btn.is-active {
  color: var(--yd-text);
  background: rgba(34, 211, 238, 0.1);
}

.yd-tabs__btn.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.yd-tabs__panel:not([hidden]) {
  animation: yd-fade-in 0.3s var(--yd-ease);
}

/* ========== Accordion ========== */
.yd-accordion__item {
  border-bottom: 1px solid rgba(154, 167, 188, 0.18);
}

.yd-accordion__item:first-child {
  border-top: 1px solid rgba(154, 167, 188, 0.18);
}

.yd-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  color: var(--yd-text);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--yd-ease);
}

.yd-accordion__trigger:hover {
  color: var(--yd-accent);
}

.yd-accordion__trigger::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--yd-line);
  font-family: var(--yd-mono);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.25s var(--yd-ease), background 0.2s var(--yd-ease), color 0.2s var(--yd-ease);
}

.yd-accordion__trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
  background: var(--yd-line);
  color: var(--yd-bg);
}

.yd-accordion__content {
  padding: 0 4px 22px;
  color: var(--yd-muted);
}

.yd-accordion__content:not([hidden]) {
  animation: yd-fade-in 0.25s var(--yd-ease);
}

/* ========== Reveal ========== */
.yd-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--yd-ease), transform 0.55s var(--yd-ease);
}

.yd-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ========== Keyframes ========== */
@keyframes yd-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes yd-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .yd-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .yd-grid--triple {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .yd-header__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 10px;
  }

  .yd-header__tele {
    display: none;
  }

  .yd-nav-toggle {
    display: inline-flex;
  }

  .yd-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    background: linear-gradient(180deg, var(--yd-panel) 0%, var(--yd-bg) 100%);
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    border-bottom: 1px solid rgba(34, 211, 238, 0.12);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s var(--yd-ease), transform 0.28s var(--yd-ease), visibility 0.28s;
  }

  .yd-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .yd-nav__list {
    flex-direction: column;
    gap: 2px;
    padding: 14px;
  }

  .yd-nav__link {
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
  }

  .yd-nav__link[aria-current="page"]::before {
    display: none;
  }

  .yd-grid--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .yd-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .yd-footer__inner {
    padding-top: 40px;
  }

  .yd-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .yd-grid--triple {
    grid-template-columns: 1fr;
  }

  .yd-back-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 480px) {
  .yd-brand__sub {
    display: none;
  }

  .yd-brand__name {
    font-size: 20px;
  }

  .yd-header__cta {
    padding-inline: 14px;
  }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .yd-reveal {
    opacity: 1;
    transform: none;
  }

  .yd-scroll-progress {
    display: none;
  }
}
