/* MODeep site: the app's own ground (pure black, graphite panels), white type in Plus Jakarta Sans, the white ribbon
   mark. One bright thing per screen: the white button. No lines between things: space and a step of graphite separate them. Everything is local: the site's CSP allows nothing else. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  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 {
  --bg: #000;
  --panel: #0d0d0f;
  --panel-2: #161619;
  --panel-3: #1f1f23;
  --text: #f5f5f7;
  --text-2: #a1a1a8;
  --text-3: #6e6e76;
  /* Letters Plus Jakarta Sans lacks (Cyrillic, Greek, Arabic, CJK) come from the system. */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', system-ui, Roboto, sans-serif;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

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

a {
  color: var(--text);
  text-decoration-color: var(--text-3);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--text);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

p {
  margin: 0;
}

kbd {
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--panel-3);
  color: var(--text);
  font: inherit;
  font-size: 0.88em;
  white-space: nowrap;
}

/* The second half of a headline steps back: the first carries the claim. */
.grad {
  color: var(--text-3);
}

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

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: var(--r-s);
  background: var(--text);
  color: var(--bg);
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(760px, calc(100% - 48px));
}

/* ---- Buttons. The names stay (topic pages use them): mint = the main one, now white; glass and line = quiet. ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  font: 500 1rem var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn--small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.btn--big {
  min-height: 52px;
  padding: 0 26px;
}

.btn--mint {
  background: var(--text);
  color: var(--bg);
  /* Dark letters on white read lighter than light on dark: one step heavier evens them out. */
  font-weight: 600;
}

.btn--mint:hover {
  background: #fff;
}

.btn--glass {
  background: var(--panel-2);
  color: var(--text);
}

.btn--glass:hover {
  background: var(--panel-3);
}

.btn--line {
  background: transparent;
  color: var(--text-2);
}

.btn--line:hover {
  color: var(--text);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Menu bar: clear over the hero, black glass once the page moves. ---- */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  transition: background-color 0.3s var(--ease);
}

.bar.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}

.bar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  height: 68px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: auto;
}

.brand--small {
  font-size: 0.95rem;
}

.brand--small img {
  width: 28px;
}

.brand small {
  margin-inline-start: 6px;
  color: var(--text-3);
  font-weight: 400;
  font-size: 0.85rem;
}

.bar__nav {
  display: flex;
  gap: 28px;
}

.bar__nav a {
  color: var(--text-2);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.bar__nav a:hover,
.bar__nav a[aria-current] {
  color: var(--text);
}

.bar__actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

/* ---- Hero ---- */
.hero {
  padding: 150px 0 0;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__mark {
  width: clamp(120px, 16vw, 168px);
  margin-bottom: 44px;
}

.hero__title {
  max-width: 13em;
  font-weight: 600;
  font-size: clamp(2.7rem, 7.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 34em;
  margin-top: 26px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.hero__note {
  margin-top: 22px;
  color: var(--text-3);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0;
}

/* The app's windows, side by side on a track; one shows at a time and the next slides in from the side. */
.reel {
  position: relative;
  margin-top: 84px;
  /* The track runs past both edges; 2px keeps the windows' hairline edge in view. */
  overflow: hidden;
  padding: 2px;
}

.reel__track {
  display: flex;
  gap: 32px;
  transition: transform 1.1s var(--ease);
}

.reel__slide {
  flex: 0 0 100%;
}

.reel__slide img {
  width: 100%;
  border-radius: var(--r-l);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 120px rgba(255, 255, 255, 0.05);
}

.reel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.reel__dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--panel-3);
  transition:
    width 0.4s var(--ease),
    background-color 0.4s var(--ease);
}

.reel__dots i.is-on {
  width: 22px;
  background: var(--text-2);
}

/* The hero arrives once, in order: mark, words, buttons, the app. */
@media (prefers-reduced-motion: no-preference) {
  .hero__mark {
    animation: rise 1.1s var(--ease) both;
  }

  .hero__title {
    animation: rise 1.1s 0.08s var(--ease) both;
  }

  .hero__lead {
    animation: rise 1.1s 0.16s var(--ease) both;
  }

  .hero__inner .hero__actions {
    animation: rise 1.1s 0.24s var(--ease) both;
  }

  .reel {
    animation: rise 1.3s 0.3s var(--ease) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* ---- Sections ---- */
.section {
  padding: 120px 0;
}

.head {
  max-width: 40em;
  margin-bottom: 56px;
}

.head p {
  margin-top: 20px;
  color: var(--text-2);
  font-size: 1.12rem;
}

/* ---- Three things, side by side, no boxes. ---- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trio li {
  display: grid;
  align-content: start;
  gap: 10px;
}

.trio b {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.trio span {
  color: var(--text-2);
}

/* ---- Download: one graphite panel, centred. ---- */
.get {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 88px 32px 64px;
  border-radius: var(--r-l);
  background: var(--panel);
  text-align: center;
}

.get__mark {
  width: 84px;
  margin-bottom: 32px;
}

.get__meta {
  margin-top: 16px;
  color: var(--text-2);
}

.get .hero__actions {
  margin-top: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 880px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: start;
}

.steps li {
  display: grid;
  gap: 6px;
}

.steps b {
  font-weight: 600;
}

.steps b::before {
  margin-inline-end: 10px;
  color: var(--text-3);
  counter-increment: step;
  content: counter(step);
}

.steps span {
  color: var(--text-2);
  font-size: 0.94rem;
}

/* ---- Questions: rows on graphite steps, no rules. ---- */
.faq {
  display: grid;
  gap: 8px;
}

.faq details {
  border-radius: var(--r-m);
  background: var(--panel);
  transition: background-color 0.2s var(--ease);
}

.faq details[open],
.faq details:hover {
  background: var(--panel-2);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  flex: none;
  color: var(--text-3);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  content: '+';
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--text-2);
}

/* Topic pages put the questions under their own heading. */
.page__block.faq {
  gap: 8px;
}

.page__block.faq > h2 {
  margin-bottom: 20px;
}

/* ---- Footer ---- */
.foot {
  padding: 56px 0 64px;
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.foot nav a {
  color: var(--text-3);
  font-size: 0.88rem;
  text-decoration: none;
}

.foot nav a:hover {
  color: var(--text);
}

/* The language menu: the current language; the others in a panel that opens upward. */
.langs {
  position: relative;
}

.langs summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 0.88rem;
  cursor: pointer;
  list-style: none;
}

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

.langs summary:hover,
.langs[open] summary {
  color: var(--text);
}

.langs summary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.langs nav.langs__list {
  position: absolute;
  bottom: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 2px;
  padding: 8px;
  border-radius: var(--r-m);
  background: var(--panel-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.langs nav.langs__list a {
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 0.92rem;
  text-decoration: none;
}

.langs nav.langs__list a:hover {
  background: var(--panel-3);
  color: var(--text);
}

.langs nav.langs__list a[aria-current] {
  color: var(--text);
  font-weight: 600;
}

/* ---- Topic and privacy pages (scripts/site-pages.mjs, website/gizlilik) ---- */
.page {
  padding: 132px 0 100px;
}

.crumbs {
  display: flex;
  gap: 10px;
  color: var(--text-3);
  font-size: 0.85rem;
}

.crumbs a {
  color: var(--text-2);
  text-decoration: none;
}

.page__head {
  padding: 36px 0 0;
}

.page__head h1 {
  max-width: 16em;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.045em;
}

.page__lead {
  max-width: 36em;
  margin-top: 22px;
  color: var(--text-2);
  font-size: 1.18rem;
}

.page__head .hero__actions {
  justify-content: flex-start;
}

.page__block {
  display: grid;
  padding-top: 96px;
}

.page__block > h2,
.section__title {
  margin-bottom: 32px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.page__steps,
.page__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Six make two rows of three on a wide screen, never four and two. */
.page__list:has(> li:nth-child(6):last-child) {
  grid-template-columns: repeat(auto-fit, minmax(max(260px, calc((100% - 16px) / 3)), 1fr));
}

.page__steps {
  counter-reset: step;
}

.page__steps li,
.page__list li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 26px 28px;
  border-radius: var(--r-m);
  background: var(--panel);
}

.page__steps li::before {
  color: var(--text-3);
  font-weight: 600;
  counter-increment: step;
  content: counter(step);
}

.page__steps strong,
.page__list strong {
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.page__steps span,
.page__list span,
.page__text {
  color: var(--text-2);
}

.page__text {
  max-width: 44em;
  font-size: 1.06rem;
}

.page__text + .page__text {
  margin-top: 14px;
}

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

.page__more a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 0.94rem;
  text-decoration: none;
}

.page__more a:hover {
  background: var(--panel-3);
  color: var(--text);
}

/* On phones and Macs the web version leads. */
[data-platform='other'] .hero__actions .btn--glass {
  order: -1;
}

/* Tablet */
@media (max-width: 960px) {
  .bar__nav {
    display: none;
  }

  .bar__inner {
    grid-template-columns: 1fr auto;
  }

  .section {
    padding: 110px 0;
  }

  .trio,
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Phone */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap,
  .wrap--narrow,
  .bar__inner {
    width: calc(100% - 32px);
  }

  .bar__inner {
    height: 60px;
  }

  .hide-sm {
    display: none;
  }

  .hero {
    padding-top: 116px;
  }

  .hero__mark {
    margin-bottom: 32px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .reel {
    margin-top: 56px;
  }

  .reel__slide img {
    border-radius: var(--r-m);
  }

  .section {
    padding: 88px 0;
  }


  .get {
    padding: 64px 20px 44px;
    border-radius: var(--r-m);
  }

  .page {
    padding-top: 96px;
  }

  .page__block {
    padding-top: 72px;
  }
}

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