[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #08102a;
  background: white;
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.main-nav a.active {
  position: relative;
  color: white;
}

.main-nav a.active::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, #7296ff, #9d6cff);
  box-shadow: 0 0 14px rgba(112, 129, 255, 0.65);
}

.roadmap-page { padding-top: 22px; }

.roadmap-update {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0 38px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.roadmap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(350px, 0.8fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  min-height: 270px;
  padding: 35px 0 66px;
}

.roadmap-hero > * { min-width: 0; }

.roadmap-hero h1 {
  margin: 0;
  font-size: clamp(58px, 5.8vw, 78px);
  font-weight: 800;
  line-height: 0.88;
}

.roadmap-title-line,
.roadmap-brand-line { display: block; }

.roadmap-title-line {
  color: var(--text);
  white-space: nowrap;
}

.roadmap-hero h1 .roadmap-brand-line {
  margin-top: 0.08em;
  color: transparent;
  background: linear-gradient(100deg, #6f96ff 8%, #9664ff 82%);
  background-clip: text;
  -webkit-background-clip: text;
}

.roadmap-hero-copy {
  padding-bottom: 4px;
}

.roadmap-hero-copy > p {
  max-width: 480px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.48;
}

.roadmap-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roadmap-filters {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(152, 163, 218, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.roadmap-filters button {
  min-height: 36px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.roadmap-filters button:hover { color: white; }

.roadmap-filters button[aria-pressed="true"] {
  color: white;
  background: linear-gradient(145deg, rgba(93, 119, 223, 0.33), rgba(93, 69, 176, 0.25));
  box-shadow: inset 0 0 0 1px rgba(144, 161, 235, 0.14), 0 7px 16px rgba(0, 0, 0, 0.2);
}

.roadmap-toolbar > p {
  margin: 0;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.roadmap-phase {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  padding: 42px 0 48px;
  border-bottom: 1px solid var(--line);
}

.roadmap-phase-label { padding-top: 9px; }

.phase-number {
  display: block;
  margin-bottom: 18px;
  color: #7189d9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.roadmap-phase-label h2 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 16px;
  font-size: 31px;
  line-height: 1;
}

.roadmap-phase-label h2::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #6689ff;
  box-shadow: 0 0 15px rgba(74, 113, 255, 0.85);
  transform: translateY(-50%);
}

.roadmap-phase.next .roadmap-phase-label h2::before { background: #8b5cff; }
.roadmap-phase.discussion .roadmap-phase-label h2::before { background: #8790b4; box-shadow: none; }

.roadmap-phase-label p {
  margin: 0;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.55;
}

.roadmap-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-phase.next .roadmap-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.roadmap-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(18, 25, 54, 0.88), rgba(10, 14, 34, 0.88));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.roadmap-card.featured {
  min-height: 450px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 25px;
}

.roadmap-card.featured:first-child {
  background:
    radial-gradient(circle at 76% 4%, rgba(74, 95, 212, 0.2), transparent 50%),
    linear-gradient(150deg, rgba(18, 25, 59, 0.98), rgba(10, 14, 35, 0.92));
}

.roadmap-card.compact {
  min-height: 280px;
  padding: 22px;
  border-radius: 21px;
}

.roadmap-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  color: #aab2d2;
  font-size: 9px;
  font-weight: 700;
}

.roadmap-status {
  padding: 6px 8px;
  border-radius: 7px;
  color: #b8c7ff;
  background: rgba(76, 103, 206, 0.15);
}

.roadmap-status.testing {
  color: #c9bcff;
  background: rgba(119, 74, 221, 0.17);
}

.roadmap-card h3 {
  margin-bottom: 14px;
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 0.98;
}

.roadmap-card.compact h3 { font-size: 21px; line-height: 1.05; }

.roadmap-summary {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.roadmap-card.compact .roadmap-summary { min-height: 62px; font-size: 12px; }

.roadmap-preview {
  display: grid;
  min-height: 118px;
  margin: 24px 0 20px;
  padding: 18px;
  border: 1px solid rgba(136, 152, 226, 0.15);
  border-radius: 17px;
  background: rgba(4, 8, 23, 0.62);
}

.preview-kicker {
  color: #798bc9;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.android-release {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.android-release .preview-kicker { grid-column: 1 / -1; align-self: start; }

.preview-value { font-size: 18px; }

.preview-state {
  max-width: 120px;
  color: #86e6c5;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.judge-flow { align-content: space-between; }

.judge-flow-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  align-items: center;
}

.judge-flow-track span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(136, 151, 226, 0.18);
  border-radius: 12px;
  color: #c8d0ef;
  background: rgba(24, 31, 68, 0.62);
  font-size: 9px;
  font-weight: 800;
}

.judge-flow-track span:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  right: -10px;
  content: "→";
  color: #8b69ff;
}

.roadmap-platform {
  margin-top: auto;
  color: #929ab9;
  font-size: 10px;
  line-height: 1.4;
}

.roadmap-details {
  margin-top: 16px;
  border-top: 1px solid rgba(152, 163, 218, 0.12);
}

.roadmap-details summary {
  position: relative;
  padding: 15px 22px 7px 0;
  color: #cdd5ff;
  font-size: 10px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.roadmap-details summary::-webkit-details-marker { display: none; }

.roadmap-details summary::after {
  position: absolute;
  right: 2px;
  content: "+";
  color: #8ba5ff;
  font-size: 16px;
}

.roadmap-details[open] summary::after { content: "−"; }

.roadmap-details p {
  margin: 7px 0 0;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.55;
}

.roadmap-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 16px;
}

.roadmap-link {
  color: #9fb3ff;
  font-size: 10px;
  font-weight: 800;
}

.roadmap-link:hover { color: white; }

.roadmap-ideas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.roadmap-idea {
  display: grid;
  align-content: space-between;
  min-height: 108px;
  padding: 17px;
  border: 1px dashed rgba(155, 166, 219, 0.18);
  border-radius: 17px;
  color: #d9ddef;
  background: rgba(255, 255, 255, 0.018);
}

.roadmap-idea:hover { border-color: rgba(133, 151, 234, 0.38); background: rgba(255, 255, 255, 0.035); }
.roadmap-idea strong { font-size: 12px; line-height: 1.35; }
.roadmap-idea small { margin-top: 14px; color: var(--quiet); font-size: 9px; }
.feedback-idea strong { color: #a9baff; }

.available-section { padding: 53px 0 56px; border-bottom: 1px solid var(--line); }

.available-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.available-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 43px); }

.available-heading small {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--quiet);
  font-size: 10px;
}

.available-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(65, 216, 168, 0.75);
}

.available-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.available-card {
  display: grid;
  align-content: start;
  min-height: 185px;
  padding: 20px;
  border: 1px solid rgba(97, 198, 165, 0.16);
  border-radius: 20px;
  background: rgba(7, 19, 25, 0.44);
}

.available-meta {
  margin-bottom: 20px;
  color: #73d8b6;
  font-size: 9px;
  font-weight: 800;
}

.available-card h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.05; }
.available-card p { margin-bottom: 18px; color: var(--quiet); font-size: 11px; line-height: 1.5; }
.available-card .roadmap-link { margin-top: auto; color: #83d7ba; }

.roadmap-feedback {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 245px;
  margin: 58px 0 20px;
  padding: clamp(29px, 5vw, 48px);
  border: 1px solid rgba(118, 126, 230, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 45%, rgba(107, 61, 241, 0.38), transparent 37%),
    linear-gradient(140deg, rgba(26, 35, 86, 0.9), rgba(19, 15, 60, 0.9));
  overflow: hidden;
}

.roadmap-feedback > * { position: relative; z-index: 1; }
.roadmap-feedback h2 { margin-bottom: 12px; font-size: clamp(31px, 4.4vw, 49px); line-height: 0.98; }
.roadmap-feedback p:last-child { max-width: 640px; margin: 0; color: #b2b8d1; font-size: 13px; line-height: 1.55; }
.roadmap-feedback .button { flex: 0 0 auto; }

.roadmap-policy {
  max-width: 1020px;
  margin: 0;
  padding: 20px 0 58px;
  color: var(--quiet);
  font-size: 10px;
  line-height: 1.55;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(126, 158, 255, 0.95);
  outline-offset: 4px;
}

@media (max-width: 1060px) {
  .roadmap-phase { grid-template-columns: 150px minmax(0, 1fr); }
  .roadmap-phase.next .roadmap-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-phase.next .roadmap-card:last-child { grid-column: 1 / -1; }
  .roadmap-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .roadmap-hero { grid-template-columns: 1fr; gap: 28px; align-items: start; padding-top: 24px; }
  .roadmap-hero-copy { max-width: 560px; }
  .roadmap-phase { grid-template-columns: 1fr; gap: 24px; }
  .roadmap-phase-label { max-width: 560px; }
  .roadmap-card-grid { grid-template-columns: 1fr; }
  .roadmap-phase.next .roadmap-card-grid { grid-template-columns: 1fr; }
  .roadmap-phase.next .roadmap-card:last-child { grid-column: auto; }
  .available-grid { grid-template-columns: 1fr; }
  .available-card { min-height: 155px; }
  .roadmap-feedback { align-items: start; flex-direction: column; }
}

@media (max-width: 700px) {
  .roadmap-page { padding-top: 15px; }
  .roadmap-update { padding-bottom: 17px; }
  .roadmap-update span:first-child { display: none; }
  .roadmap-update { justify-content: flex-end; }
  .roadmap-hero { min-height: auto; padding: 24px 0 39px; }
  .roadmap-hero h1 { font-size: clamp(37px, 10.2vw, 40px); line-height: 0.9; }
  .roadmap-hero-copy > p { margin-bottom: 22px; font-size: 15px; }
  .roadmap-hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .roadmap-hero .button { min-height: 49px; padding-inline: 12px; font-size: 11px; }
  .roadmap-toolbar { align-items: stretch; flex-direction: column; gap: 13px; padding: 15px 0; }
  .roadmap-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .roadmap-filters button { min-width: 0; padding-inline: 7px; font-size: 10px; }
  .roadmap-toolbar > p { font-size: 9px; text-align: left; }
  .roadmap-phase { gap: 19px; padding: 31px 0 35px; }
  .phase-number { margin-bottom: 13px; }
  .roadmap-phase-label h2 { font-size: 28px; }
  .roadmap-phase-label p { max-width: 280px; font-size: 11px; }
  .roadmap-card.featured { min-height: 0; padding: 21px; border-radius: 21px; }
  .roadmap-card.compact { min-height: 0; padding: 19px; }
  .roadmap-card h3 { font-size: 27px; }
  .roadmap-card.compact h3 { font-size: 20px; }
  .roadmap-card.compact .roadmap-summary { min-height: 0; }
  .roadmap-preview { min-height: 110px; margin-block: 20px 17px; }
  .roadmap-ideas { grid-template-columns: 1fr; gap: 8px; }
  .roadmap-idea { min-height: 87px; }
  .available-section { padding: 38px 0 41px; }
  .available-heading { align-items: start; flex-direction: column; gap: 9px; }
  .available-heading h2 { font-size: 32px; }
  .roadmap-feedback { min-height: 0; margin-top: 40px; padding: 27px 22px; border-radius: 24px; }
  .roadmap-feedback h2 { font-size: 34px; }
  .roadmap-feedback .button { width: 100%; }
  .roadmap-policy { padding-bottom: 42px; font-size: 9px; }
}

@media (max-width: 390px) {
  .roadmap-hero .hero-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}
