/* Adept AI landing (EN /, TR /tr/). Built by src/build.mjs; hero map in assets/js/map.js. */

/* Sora (SIL Open Font License), self-hosted variable font, weights 400-700. */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --night: #0b1b26;
  --night-2: #0f2331;
  --sea: #13293a;
  --line: rgba(154, 211, 203, 0.14);
  --line-strong: rgba(154, 211, 203, 0.3);
  --text: #eaf4f2;
  --muted: #9fb6bd;
  --mint: #9ad3cb;
  --teal: #2e8c8c;
  --gold: #f2b33d;
  --gold-ink: #2a1d05;
  --berry: #e05a8a;
  --radius: 18px;
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 96px);
  --max: none;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p {
  margin: 0;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

.eyebrow {
  color: var(--mint);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}
.logo img {
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-lang {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(242, 179, 61, 0.25);
}
.btn.is-small {
  padding: 9px 16px;
  font-size: 14px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s;
}
.burger[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(46, 140, 140, 0.22), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, rgba(154, 211, 203, 0.07), transparent 70%),
    var(--night);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 120px;
  background: linear-gradient(transparent, var(--night));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter) 72px;
  min-height: min(820px, calc(100vh - 82px));
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.lead {
  max-width: 34em;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  padding: 10px 18px 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(19, 41, 58, 0.6);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.store:hover {
  transform: translateY(-1px);
  border-color: var(--mint);
}
.store.is-gold {
  border-color: transparent;
  background: var(--gold);
  color: var(--gold-ink);
}
.store.is-gold:hover {
  box-shadow: 0 10px 28px rgba(242, 179, 61, 0.28);
}
.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.store-text small {
  font-size: 11px;
  opacity: 0.8;
}
.store-text strong {
  font-size: 17px;
  font-weight: 600;
}
.store-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Demo: topic picker + map */

.hero-demo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.try {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.try-label {
  width: 100%;
  color: var(--muted);
  font-size: 13px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 27, 38, 0.6);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chip:hover {
  border-color: var(--mint);
}
.chip[aria-pressed="true"] {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--night);
  font-weight: 600;
}

.topic-form {
  display: flex;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 27, 38, 0.7);
  overflow: hidden;
  transition: border-color 0.2s;
}
.topic-form:focus-within {
  border-color: var(--mint);
}
.topic-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  font-size: 14px;
  outline: none;
}
.topic-form input::placeholder {
  color: #6f8a93;
}
.topic-form button {
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.map {
  margin: 0;
}
.map-stage {
  position: relative;
  height: clamp(460px, 66vh, 680px);
}
/* Wide screens: map.js moves the canvas and labels here so the scene fills the hero. */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s;
}
.is-3d .map-canvas {
  opacity: 1;
}
.is-pending .map-list {
  visibility: hidden;
}
.map-note {
  color: var(--muted);
  font-size: 12px;
}
.map-note strong {
  color: var(--text);
  font-weight: 600;
}

/* Route list: plain vertical route without WebGL */
.map-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}
.stop {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.stop-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--sea);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.stop.is-done .stop-n {
  background: var(--gold);
  color: var(--gold-ink);
}
.stop.is-current .stop-n {
  background: var(--mint);
  color: var(--night);
}
.stop.is-locked .stop-t {
  color: var(--muted);
}
.stop-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(242, 179, 61, 0.16);
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

/* Labels pinned to 3D stops */
.is-3d .map-list {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  pointer-events: none;
}
.is-3d .stop {
  position: absolute;
  left: 0;
  top: 0;
  gap: 6px;
  max-width: 230px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(11, 27, 38, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12.5px;
  line-height: 1.3;
  white-space: nowrap;
  translate: 24px -50%;
  will-change: transform;
}
.is-3d .stop.is-left {
  translate: calc(-100% - 24px) -50%;
}
.is-3d .stop-n {
  display: none;
}
.is-3d .stop-t {
  overflow: hidden;
  text-overflow: ellipsis;
}
.is-3d .stop.is-done {
  border-color: rgba(242, 179, 61, 0.28);
}
.is-3d .stop.is-current {
  border-color: var(--mint);
  background: rgba(19, 41, 58, 0.9);
  font-weight: 600;
}
.is-3d .stop.is-locked {
  opacity: 0.72;
}
.is-3d .map-list.is-in .stop {
  animation: label-in 0.5s var(--d, 0s) both;
}
@keyframes label-in {
  from {
    opacity: 0;
  }
}
.is-3d .map-list.is-in .stop.is-locked {
  animation-name: label-in-dim;
}
@keyframes label-in-dim {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.72;
  }
}

/* ---------- Sections ---------- */

main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter) 0;
}

.heading {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.heading h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3.8vw, 46px);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 41, 58, 0.85), rgba(15, 35, 49, 0.85));
  padding: clamp(20px, 3vw, 28px);
}

/* How it works */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
/* The route that links the three steps, like stops on the map */
.steps::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
  opacity: 0.55;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 44px clamp(20px, 2.2vw, 32px) clamp(20px, 2.2vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19, 41, 58, 0.7), rgba(11, 27, 38, 0.35));
  transition: border-color 0.25s;
}
.step:hover {
  border-color: var(--line-strong);
}
.step .card {
  margin-top: auto;
  background: rgba(11, 27, 38, 0.7);
}
.step-copy h3 {
  font-size: clamp(21px, 1.7vw, 26px);
}
.step-copy p {
  margin-top: 10px;
  color: var(--muted);
}
.step-n {
  position: absolute;
  top: -22px;
  left: clamp(20px, 2.2vw, 32px);
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
}

.setup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.setup-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 27, 38, 0.6);
  font-size: 14px;
}
.setup-row span {
  color: var(--muted);
}
.setup-or {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.setup-pdf {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  font-size: 14px;
}
.pdf-badge {
  padding: 2px 7px;
  border-radius: 6px;
  background: #c2416f; /* darker berry: 4.9:1 with white text */
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.setup-btn {
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.quiz {
}
.quiz-label {
  color: var(--mint);
  font-size: 12px;
  font-weight: 600;
}
.quiz-q {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.quiz-opts {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(11, 27, 38, 0.6);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.opt:hover {
  border-color: var(--mint);
}
.opt-text {
  font-size: 15px;
}
.opt-key {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--sea);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.quiz.is-answered .opt {
  cursor: default;
}
.quiz.is-answered .opt:not(.is-right):not(.is-wrong) {
  opacity: 0.5;
}
.opt.is-right {
  border-color: var(--mint);
  background: rgba(154, 211, 203, 0.14);
}
.opt.is-right .opt-key {
  background: var(--mint);
  color: var(--night);
}
.opt.is-wrong {
  border-color: var(--berry);
  background: rgba(224, 90, 138, 0.12);
}
.opt.is-wrong .opt-key {
  background: var(--berry);
  color: #fff;
}
.quiz-feedback {
  min-height: 0;
  font-size: 14px;
}
.quiz-feedback:not(:empty) {
  margin-top: 16px;
}
.quiz-feedback.is-right {
  color: var(--mint);
}
.quiz-feedback.is-wrong {
  color: #f3b7cb;
}

.review {
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.review-head span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}
.games {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.games li {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 27, 38, 0.6);
  font-size: 14px;
  animation: game-cycle 10s infinite;
}
.games li:nth-child(2) { animation-delay: 2s; }
.games li:nth-child(3) { animation-delay: 4s; }
.games li:nth-child(4) { animation-delay: 6s; }
.games li:nth-child(5) { animation-delay: 8s; }
@keyframes game-cycle {
  0%, 18% {
    border-color: var(--mint);
    background: rgba(154, 211, 203, 0.12);
  }
  22%, 100% {
    border-color: var(--line);
    background: rgba(11, 27, 38, 0.6);
  }
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 41, 58, 0.5);
  transition: border-color 0.25s, transform 0.25s;
}
.feature:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.feature h3 {
  margin-top: 18px;
  font-size: 18px;
}
.feature p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.hex {
  width: 36px;
  height: 40px;
}
.hex path {
  fill: rgba(154, 211, 203, 0.1);
  stroke: var(--mint);
  stroke-width: 1.5;
}
.hex text {
  fill: var(--mint);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--line);
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary h3 {
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.qa-icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.qa-icon::before,
.qa-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transition: transform 0.2s;
}
.qa-icon::after {
  transform: rotate(90deg);
}
.qa[open] .qa-icon::after {
  transform: rotate(0);
}
.qa p {
  max-width: 44em;
  padding-bottom: 22px;
  color: var(--muted);
}

/* CTA */
.cta {
  padding-bottom: clamp(72px, 10vw, 120px) !important;
}
.cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(46, 140, 140, 0.3), transparent 70%),
    var(--night-2);
  text-align: center;
}
.cta-icon {
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(46, 140, 140, 0.35);
}
.cta-panel h2 {
  margin-top: 24px;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 700;
}
.cta-panel h2 span {
  color: var(--mint);
}
.cta-panel .stores {
  justify-content: center;
  margin-top: 28px;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.foot-brand .logo {
  color: var(--text);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: var(--text);
}
.copy {
  width: 100%;
}

/* ---------- Responsive ---------- */

/* /learn/ pages */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}
.crumbs a {
  color: var(--mint);
}
.crumbs a:hover {
  text-decoration: underline;
}
.heading-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}
.lessons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lesson {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 41, 58, 0.5);
}
.lesson .hex {
  flex: none;
}
.lesson:nth-child(-n + 3) .hex path {
  fill: rgba(242, 179, 61, 0.16);
  stroke: var(--gold);
}
.lesson:nth-child(-n + 3) .hex text {
  fill: var(--gold);
}
.lesson h3 {
  font-size: 18px;
}
.lesson p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.learn-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}
.try-q {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.try-q .heading {
  margin-bottom: 0;
}
.try-q .quiz {
  max-width: 560px;
}
.feature-grid.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tip {
  padding: 20px 24px 20px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 4px 14px 14px 4px;
  background: rgba(242, 179, 61, 0.05);
}
.tip h3 {
  font-size: 17px;
}
.tip p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topic-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 41, 58, 0.5);
  transition: border-color 0.25s, transform 0.25s;
}
.topic-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.topic-meta {
  color: var(--mint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topic-card h3 {
  margin-top: 10px;
  font-size: 22px;
}
.topic-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.topic-go {
  margin-top: auto;
  padding-top: 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
}
.more-link {
  margin-top: 22px;
}
.more-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 28px;
}
.more-features .more-link {
  margin: 0;
}
.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--mint);
  border-radius: 999px;
  color: var(--mint);
  font-weight: 700;
}
.more-btn:hover {
  background: var(--mint);
  color: #0b1720;
}
.more-link a {
  color: var(--mint);
  font-weight: 600;
}
.more-link a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .lessons,
  .tips,
  .try-q {
    grid-template-columns: 1fr;
  }
  .feature-grid.is-3,
  .topic-grid {
    grid-template-columns: 1fr;
  }
}

/* /features/ pages */
.is-feature .hero-inner {
  min-height: 0;
  padding-top: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 104px);
}
.is-feature .hero-demo {
  align-items: center;
}
.feature-visual {
  width: 100%;
  max-width: 440px;
}
.mini-path {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.mini-path li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.mini-path em {
  margin-left: auto;
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.mini-n {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(154, 211, 203, 0.14);
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
}
.prose {
  max-width: 760px;
}
.prose p {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
}
.prose p + p {
  margin-top: 18px;
}
.notes-card {
  margin: 26px 0 0;
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
}
.notes-card figcaption {
  color: var(--mint);
  font-size: 12px;
  font-weight: 600;
}
.notes-card blockquote {
  margin: 8px 0 0;
  font-size: 15px;
}
.plan {
  max-width: 560px;
}
.plan-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.plan-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.plan-row:first-child {
  border-color: rgba(242, 179, 61, 0.5);
}
.plan-time,
.plan-dur {
  color: var(--muted);
  font-size: 13px;
}

/* /compare/ pages */
.verdict {
  display: grid;
  gap: 18px;
}
.verdict .quiz-label {
  margin: 0;
}
.verdict-col {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.verdict-col.is-adept {
  border-color: rgba(242, 179, 61, 0.45);
  background: rgba(242, 179, 61, 0.06);
}
.verdict-h {
  margin: 0 0 8px;
  font-weight: 700;
}
.verdict-col.is-adept .verdict-h {
  color: var(--gold);
}
.verdict-col ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.verdict-col li + li {
  margin-top: 4px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  font-size: 17px;
}
.compare-table thead th:nth-child(2) {
  color: var(--gold);
}
.compare-table tbody th {
  width: 22%;
  color: var(--muted);
  font-weight: 600;
}
.compare-table tbody td:nth-of-type(1) {
  background: rgba(242, 179, 61, 0.05);
}
@media (max-width: 720px) {
  .compare-table thead {
    display: none;
  }
  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: auto;
  }
  .compare-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .compare-table th,
  .compare-table td {
    padding: 4px 0;
    border: 0;
  }
  .compare-table tbody th {
    width: auto;
    margin-bottom: 6px;
    color: var(--text);
  }
  .compare-table tbody td:nth-of-type(1) {
    background: none;
  }
  .compare-table td::before {
    content: attr(data-label) ": ";
    color: var(--muted);
    font-weight: 600;
  }
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 12px;
    gap: 40px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .burger {
    display: block;
  }
  .nav-actions .btn {
    display: none;
  }
  .nav-links {
    position: absolute;
    top: 76px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(11, 27, 38, 0.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a {
    padding: 12px 14px;
    font-size: 16px;
  }
  .nav-lang {
    align-self: flex-start;
    margin: 6px 14px 8px;
  }
  .store {
    flex: 1 1 160px;
  }
  .map-stage {
    height: 440px;
  }
  .is-3d .stop {
    max-width: 140px;
    padding: 4px 8px;
    font-size: 11.5px;
    translate: 16px -50%;
  }
  .is-3d .stop.is-left {
    translate: calc(-100% - 16px) -50%;
  }
  .is-3d .stop-tag {
    display: none;
  }
  .topic-form {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@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;
  }
}

