/* HangarX home page: the "Vardiya Sonu" look of the app (night ink, glass cards with a hairline, ONE warm horizon light, signal green for
   what is ready, Unbounded for titles, JetBrains Mono for the small tracked labels). Colours are the app's own (src/game/theme.ts);
   every text/surface pair is one of the AA pairs in replica/design/tokens.json. Fonts are served from this site, not from a CDN. */

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/unbounded-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/unbounded-latin-700-normal.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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-500-normal.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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-600-normal.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;
  --ink: #070a12;
  --ink-2: #090e1b;
  --sheet: #0c1224;
  --card: #0f1628;
  --chip: #161f36;
  --hair: rgba(255, 255, 255, 0.09);
  --hair-2: rgba(255, 255, 255, 0.17);
  --text: #f4f6fb;
  --muted: #9aa5bf;
  --faint: #8392b0;
  --go: #3cf2b0;
  --amber: #ffb347;
  --info: #6aa9ff;
  --horizon: linear-gradient(100deg, #ffb347 0%, #ff6b5e 45%, #e23d8a 78%, #5b3fd6 100%);
  --horizon-button: linear-gradient(100deg, #ffb347 0%, #ff6b5e 55%, #e23d8a 100%);
  --horizon-ink: #1b0a10;
  --font-display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scrollbar-color: #26304a transparent;
}

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

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

a {
  color: inherit;
}

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

::selection {
  background: rgba(255, 179, 71, 0.3);
}

/* one language at a time: every text exists twice, <span lang="tr"> and <span lang="en"> */
html[data-lang='tr'] [lang='en'],
html[data-lang='en'] [lang='tr'] {
  display: none !important;
}

.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}

.label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

/* ---- Header ---- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hair);
}

.top-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.brand svg {
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.lang {
  display: inline-flex;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
}

.lang button {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 11px;
  cursor: pointer;
}

.lang button[aria-pressed='true'] {
  background: var(--chip);
  color: var(--text);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 16px;
  padding: 15px 24px;
  border: 1px solid var(--hair-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), filter 0.15s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--chip);
}

.btn-horizon {
  border: 0;
  background: var(--horizon-button);
  color: var(--horizon-ink);
  box-shadow: 0 16px 34px -14px rgba(255, 107, 94, 0.75);
}

.btn-horizon:hover {
  background: var(--horizon-button);
  filter: brightness(1.07);
}

.btn small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  line-height: 1.1;
}

.btn span.t {
  text-align: left;
  line-height: 1.2;
}

.btn svg {
  flex-shrink: 0;
}

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

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

.hero {
  position: relative;
  isolation: isolate;
  padding: 84px 0 96px;
  overflow: hidden;
}

.hero::before {
  /* the owner's hangar picture: door, sky and engine, dimmed into the night */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url(hangar.webp) center 58% / cover no-repeat;
  filter: saturate(0.95) blur(1px);
  opacity: 0.85;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(900px 480px at 78% 108%, rgba(255, 107, 94, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(7, 10, 18, 0.4) 0%, rgba(7, 10, 18, 0.62) 60%, var(--ink) 100%),
    linear-gradient(90deg, rgba(7, 10, 18, 0.9) 0%, rgba(7, 10, 18, 0.5) 52%, rgba(7, 10, 18, 0.12) 100%);
}

.hero-in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 54px);
}

.hero h1 em {
  font-style: normal;
  background: var(--horizon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: #d5dbeb;
  font-size: clamp(17px, 1.6vw, 19.5px);
  max-width: 560px;
  margin: 26px 0 34px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--go);
  margin-right: 9px;
  vertical-align: middle;
}

/* ---- Phones ---- */

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(160deg, #1b2540, #0b1020);
  border: 1px solid var(--hair-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 70px -20px rgba(255, 107, 94, 0.25);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 31px;
  background: var(--ink);
}

.stack {
  position: relative;
  height: 560px;
  display: flex;
  justify-content: center;
}

.stack .phone {
  position: absolute;
  width: 262px;
}

.stack .p1 {
  left: 6%;
  top: 56px;
  transform: rotate(-5deg);
}

.stack .p2 {
  right: 4%;
  top: 0;
  transform: rotate(4deg);
  z-index: 2;
}

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

section {
  padding: 96px 0;
}

.head {
  max-width: 720px;
  margin-bottom: 52px;
}

.head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}

.head p {
  color: var(--muted);
  margin: 18px 0 0;
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: rgba(16, 22, 40, 0.78);
  border: 1px solid var(--hair);
  border-radius: 24px;
  padding: 30px 28px 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--hair-2);
}

.card .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--chip);
  border: 1px solid var(--hair-2);
  color: var(--amber);
  margin-bottom: 22px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* modules */

.modules {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%);
  border-block: 1px solid var(--hair);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 22, 40, 0.78);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 10px 16px 10px 10px;
  font-size: 15px;
  font-weight: 600;
}

.chips b {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--horizon-ink);
  background: var(--amber);
  border-radius: 8px;
  padding: 4px 8px;
}

/* game */

.game {
  position: relative;
  isolation: isolate;
}

.game::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(700px 420px at 12% 0%, rgba(60, 242, 176, 0.1), transparent 70%),
    radial-gradient(800px 460px at 92% 100%, rgba(226, 61, 138, 0.12), transparent 70%);
}

.game-in {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.game h2 {
  font-size: clamp(32px, 4.4vw, 56px);
}

.game h2 em {
  font-style: normal;
  color: var(--go);
}

.game .sub {
  color: #d5dbeb;
  font-size: 18px;
  margin: 22px 0 28px;
}

.feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feats li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--muted);
  font-size: 16px;
}

.feats li b {
  color: var(--text);
  font-weight: 700;
}

.feats svg {
  margin-top: 2px;
  color: var(--go);
}

.reel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 26px;
  margin: 0 -4px;
  scrollbar-width: thin;
}

.reel figure {
  flex: 0 0 218px;
  margin: 0;
  scroll-snap-align: start;
}

.reel figcaption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.reel .phone {
  border-radius: 32px;
  padding: 7px;
}

.reel .phone img {
  border-radius: 26px;
}

.note {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin: 6px 0 0;
}

/* download */

.get {
  padding: 24px 0 110px;
}

.get-in {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: rgba(16, 22, 40, 0.78);
  border: 1px solid var(--hair-2);
  border-radius: 32px;
  padding: 72px 28px 76px;
}

.get-in::before {
  /* the horizon: the one warm light of this section, on its lower edge */
  content: '';
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 90%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 107, 94, 0.5), rgba(226, 61, 138, 0.22) 55%, transparent 75%);
}

.get-in::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--horizon);
}

.get h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.get p {
  color: #d5dbeb;
  margin: 18px auto 34px;
  max-width: 520px;
}

.get .cta {
  justify-content: center;
}

/* ---- Footer ---- */

footer {
  border-top: 1px solid var(--hair);
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 14.5px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  justify-content: space-between;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.foot a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal {
  margin: 28px 0 0;
  max-width: 820px;
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.65;
}


/* ---- Narrow screens ---- */

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero-in,
  .game-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .stack {
    height: 500px;
  }

  .stack .phone {
    width: 232px;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding: 52px 0 64px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .top-in {
    gap: 14px;
  }

  .btn-sm {
    display: none;
  }

  .cta .btn {
    width: 100%;
  }

  .stack {
    height: 440px;
  }

  .stack .phone {
    width: 200px;
  }

  .stack .p1 {
    left: 0;
  }

  .stack .p2 {
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card {
    transition: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* ---- Legal documents (privacy, terms) ---- */

.doc {
  max-width: 820px;
  padding: 72px 0 96px;
}

.doc h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  margin-bottom: 14px;
}

.doc .meta {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.doc-note {
  color: var(--faint);
  font-size: 14.5px;
  margin: 0 0 40px;
}

.prose h2 {
  font-size: 21px;
  margin: 46px 0 14px;
  padding-top: 8px;
}

.prose p,
.prose li {
  color: #d5dbeb;
  font-size: 17px;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 10px;
}

.prose li::marker {
  color: var(--amber);
}

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

.prose a {
  color: var(--amber);
  text-underline-offset: 3px;
}

.prose .contact-box,
.prose .note {
  background: rgba(16, 22, 40, 0.78);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 22px 0;
  line-height: 1.75;
  color: #d5dbeb;
}

.prose .note {
  border-left: 3px solid var(--amber);
  border-radius: 0 18px 18px 0;
  font-size: 15.5px;
}

.doc-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-weight: 700;
}

.doc-links a {
  text-decoration: none;
  color: var(--text);
}

.doc-links a:hover {
  color: var(--amber);
}

.brand img {
  display: block;
  border-radius: 9px;
}

/* ---- Study sections: spotlight, trio of phones, free cards, journey, teacher's view ---- */

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.split.flip {
  grid-template-columns: 1.05fr 0.95fr;
}

.split.flip > :first-child {
  order: 2;
}

.split.wide {
  grid-template-columns: 1.3fr 0.7fr;
}

.split h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 14px;
}

.split p {
  color: var(--muted);
  margin: 0 0 18px;
}

.split + .split {
  margin-top: 88px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.pills li {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--chip);
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  padding: 7px 13px;
}

.pills li b {
  color: var(--amber);
  font-weight: 600;
}

.duo {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.duo figure,
.trio figure {
  margin: 0;
  flex: 0 1 236px;
  min-width: 0;
}

.duo figure:nth-child(2) {
  margin-top: 48px;
}

.duo figcaption,
.trio figcaption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.trio {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.trio figure:nth-child(2) {
  margin-top: 36px;
}

.duo .phone,
.trio .phone {
  border-radius: 32px;
  padding: 7px;
}

.duo .phone img,
.trio .phone img {
  border-radius: 26px;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
}

.list li b {
  color: var(--text);
}

.list svg {
  margin-top: 3px;
  color: var(--go);
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--go);
  line-height: 1;
  margin: 0 0 6px;
}

.card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--horizon-ink);
  background: var(--go);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 18px;
}

.fine {
  margin: 28px 0 0;
  color: var(--faint);
  font-size: 15px;
  max-width: 760px;
}

.fine b {
  color: var(--text);
}

/* journey */

.journey {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%);
  border-block: 1px solid var(--hair);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 34px;
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.steps::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--go), var(--amber) 55%, #e23d8a);
  opacity: 0.55;
}

.steps li {
  position: relative;
  background: rgba(16, 22, 40, 0.78);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 22px 26px 24px;
}

.steps li::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--go);
}

.steps .when {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 8px;
}

.steps h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* the teacher's view */

.teacher {
  position: relative;
  isolation: isolate;
}

.teacher::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(760px 420px at 90% 0%, rgba(255, 179, 71, 0.1), transparent 70%);
}

.pull {
  margin: 0 0 48px;
  padding: 6px 0 6px 28px;
  border-left: 4px solid var(--amber);
  max-width: 860px;
}

.pull p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}

.pull cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.principles .card h3 {
  font-size: 19px;
}

.principles .num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin: 0 0 12px;
}

@media (max-width: 960px) {
  .split,
  .split.flip,
  .split.wide {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split.flip > :first-child {
    order: 0;
  }

  .split + .split {
    margin-top: 64px;
  }

  .cards.two,
  .principles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .duo,
  .trio {
    gap: 12px;
  }

  .duo figure,
  .trio figure {
    flex-basis: 0;
    flex-grow: 1;
  }

  .split:not(.wide) .trio figure:nth-child(3) {
    display: none;
  }

  .steps {
    padding-left: 28px;
  }

  .steps li::before {
    left: -27px;
  }
}


/* a grid item may shrink below its content: the phone strips inside scroll by themselves instead of widening the page */
.hero-in > *,
.game-in > *,
.split > * {
  min-width: 0;
}

.reel {
  max-width: 100%;
}


/* buttons and small print inside the document pages (support, contact, delete account) */
.prose a.btn {
  display: inline-flex;
  margin: 8px 0 0;
  border: 0;
  background: var(--horizon-button);
  color: var(--horizon-ink);
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(255, 107, 94, 0.75);
}

.prose .small {
  font-size: 14px;
  color: var(--faint);
  margin: 10px 0 0;
}

.foot nav a {
  font-size: 14px;
}
