/* Bilgi Yolu tanıtım sitesi: ortak stil. Renkler uygulamanın src/ui/theme.ts paletinden. */
:root {
  --bg: #14112B;
  --bg-band: #1A1638;
  --panel: #211C45;
  --panel-border: #342D66;
  --line: #2A2456;
  --road: #3A3283;
  --text: #F4F1FF;
  --soft: #C9C2EC;
  --muted: #A49CCB;
  --accent: #FFC94A;
  --accent-hover: #FFD97A;
  --good: #3DDC97;
  --step: #2F2A66;
  --wrap: 1160px;
  --head: Rubik, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 16px; color: var(--bg); }

/* Header */
.site-header { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.brand__name { font-family: var(--head); font-weight: 700; font-size: 20px; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 500; }
.menu a:not(.btn) { color: var(--soft); text-decoration: none; }
.menu a:not(.btn):hover, .menu a[aria-current="page"] { color: var(--text); }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600; padding: 10px 18px; border-radius: 12px; min-height: 44px; }
.btn:hover { color: var(--bg); background: var(--accent-hover); }
.sm-only { display: none; }
.btn--lg { font-weight: 700; padding: 14px 24px; border-radius: 14px; min-height: 52px; }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__text { flex: 1 1 420px; min-width: 0; }
.hero__board { flex: 1 1 440px; min-width: 0; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
.hero h1 { margin: 0 0 20px; font-weight: 800; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.lead { margin: 0 0 32px; font-size: 19px; color: var(--soft); max-width: 480px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

/* Board */
.board-card { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 24px; padding: 20px; }
.board-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.board-card__top strong { color: var(--text); letter-spacing: 0.12em; }
.board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; background: var(--road); padding: 8px; border-radius: 16px; }
.sq { aspect-ratio: 1; border-radius: 10px; position: relative; display: flex; align-items: center; justify-content: center; background: var(--panel); }
.sq svg { width: 40%; height: auto; max-width: 22px; }
.sq__n { position: absolute; top: 4px; left: 6px; font-size: 10px; line-height: 1; color: var(--muted); font-weight: 600; }
.sq--bonus { background: #24503F; }
.sq--trap { background: #4F2738; }
.sq--swap { background: #2F2A66; }
.sq--duel { background: #553A2C; }
.sq--finish { background: #3B3320; }
.token { width: 64%; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 12px; color: var(--bg); box-shadow: 0 0 0 3px var(--bg); }

/* Facts band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-band); }
.facts { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0 auto; }
.fact__big { font-family: var(--head); font-weight: 700; font-size: 28px; color: var(--accent); line-height: 1.3; }
.fact__small { color: var(--soft); }

/* Sections */
.section h2 { margin: 0 0 32px; font-size: 36px; font-weight: 700; line-height: 1.2; }
.section--steps { padding-top: 88px; padding-bottom: 40px; }
.section--squares { padding-top: 56px; padding-bottom: 96px; }
.section--squares h2 { margin-bottom: 8px; }
.section__lead { margin: 0 0 32px; color: var(--soft); max-width: 560px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 0; padding: 0; list-style: none; }
.grid--squares { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 20px; padding: 28px; }
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.card p { margin: 0; color: var(--soft); }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--step); color: var(--accent); font-family: var(--head); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.kind { border-radius: 20px; padding: 24px; }
.kind h3 { margin: 12px 0 4px; font-size: 20px; font-weight: 700; }
.kind p { margin: 0; }
.kind--bonus { background: #24503F; } .kind--bonus p { color: #D6F5E7; }
.kind--trap { background: #4F2738; } .kind--trap p { color: #F6DCE3; }
.kind--swap { background: #2F2A66; } .kind--swap p { color: #E2DEFF; }
.kind--duel { background: #553A2C; } .kind--duel p { color: #F7E3D6; }

/* Text pages (destek, gizlilik) */
.page { padding-top: 32px; padding-bottom: 88px; }
.prose { max-width: 760px; }
.prose h1 { margin: 0 0 12px; font-weight: 800; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.prose h2 { margin: 40px 0 10px; font-size: 22px; font-weight: 700; line-height: 1.3; }
.prose p, .prose li { color: var(--soft); }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent); }
.prose .muted { color: var(--muted); }
.prose .btn { margin: 8px 0 8px; }
.prose h2[id] { scroll-margin-top: 24px; }
.panel { margin-top: 56px; padding: 28px; background: var(--panel); border: 1px solid var(--panel-border); border-radius: 20px; }
.panel h2 { margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__in { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header { padding-top: 16px; padding-bottom: 16px; }
  .menu { gap: 4px 18px; }
  .menu .menu__anchor { display: none; }
  .menu { gap: 4px 16px; }
  .btn--head { padding: 10px 16px; }
  .btn--head .lg-only { display: none; }
  .btn--head .sm-only { display: inline; }
  .hero { padding-top: 24px; padding-bottom: 56px; gap: 40px; }
  .lead { font-size: 17px; }
  .board-card { padding: 12px; border-radius: 20px; }
  .board { gap: 4px; padding: 6px; }
  .sq { border-radius: 7px; }
  .sq__n { top: 3px; left: 4px; font-size: 9px; }
  .token { font-size: 10px; box-shadow: 0 0 0 2px var(--bg); }
  .section h2 { font-size: 30px; }
  .section--steps { padding-top: 64px; }
  .card { padding: 24px; }
  .panel { padding: 20px; }
}
