/* Inter and Figtree, SIL Open Font License 1.1. Self-hosted so the site does not call Google. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/figtree-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: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/figtree-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;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/figtree-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: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/figtree-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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/inter-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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/inter-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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/inter-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;
}

/* Mindmatico — one page. Paper, ink, ring, dot and line. */

:root {
  --ink: #0d1117;
  --ink-80: #1a1f27;
  --ink-70: #262c35;
  --gray: #808080;
  --line: #e3e5e9;
  --paper: #fafafa;
  --muted: #5c6370;
  --muted-dark: #9aa0a8;
  --line-dark: rgba(250, 250, 250, 0.12);

  --sitaro: #1565ff;
  --bookaro: #d8211b;
  --portwise: #f28a1f;

  --font: "Inter", system-ui, sans-serif;
  --font-mark: "Figtree", "Inter", sans-serif;

  --container: 1240px;
  --gutter: max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --header-h: 84px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sat));
  /* iPhone draws the band around the Dynamic Island and under the address bar from this color. */
  background-color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-loading {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
address {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 400;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- shared type ---------- */

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
}

.label__num {
  color: var(--ink);
  letter-spacing: 0.1em;
}

.dot {
  display: inline-block;
  width: 0.17em;
  height: 0.17em;
  margin-left: 0.05em;
  border-radius: 50%;
  background: var(--c, var(--gray));
}

.section {
  padding-block: clamp(6rem, 4rem + 8vw, 10rem);
  background-color: var(--paper);
}

.section-head {
  margin-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: end;
}

.section-title {
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-lead {
  max-width: 34ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  color: var(--muted);
}

/* ---------- reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.1s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- loader ---------- */

.loader {
  display: none;
}

.js .loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition:
    clip-path 0.9s var(--ease-io),
    visibility 0s linear 0.9s;
  clip-path: inset(0 0 0 0);
}

.loader__ring {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
}

.loader__ring circle {
  fill: none;
  stroke: var(--gray);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.9s var(--ease-io) forwards;
}

body.is-ready .loader {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}

body.is-settled .loader {
  display: none;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- cursor & progress ---------- */

.cursor {
  display: none;
}

.has-cursor .cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 350;
  display: block;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.has-cursor .cursor.is-visible {
  opacity: 1;
}

.cursor__ring {
  position: absolute;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  transition:
    transform 0.4s var(--ease),
    background-color 0.3s var(--ease);
}

.cursor.is-hover .cursor__ring {
  transform: scale(1.9);
  background: var(--paper);
}

.progress {
  position: fixed;
  top: var(--sat);
  right: 0;
  left: 0;
  z-index: 320;
  height: 2px;
  background: var(--gray);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- logo ---------- */

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  line-height: 1;
}

.logo__word {
  font-family: var(--font-mark);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.logo__o,
.footer__o {
  margin-left: 0.05em;
  color: var(--gray);
}

.logo__tag {
  margin-top: 0.4rem;
  font-family: var(--font-mark);
  font-size: 0.46875rem;
  font-weight: 600;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  padding-top: var(--sat);
  color: var(--ink);
  background-color: var(--paper);
  border-bottom: 1px solid transparent;
  transition:
    transform 0.6s var(--ease),
    color 0.4s var(--ease),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.header.on-dark {
  color: var(--paper);
  background-color: var(--ink);
}

.header.is-scrolled {
  background-color: var(--paper);
  border-bottom-color: var(--line);
}

.header.is-scrolled.on-dark {
  background-color: var(--ink);
  border-bottom-color: var(--line-dark);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  width: min(100% - 2 * var(--gutter), var(--container));
  height: var(--header-h);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.nav {
  display: flex;
  gap: 2.25rem;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding-block: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__mail {
  justify-self: end;
  font-size: 0.9375rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 290;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + var(--sat) + 2rem) var(--gutter) calc(2.5rem + var(--sab));
  background-color: var(--paper);
  clip-path: circle(0% at calc(100% - 3rem) calc(var(--sat) + 2.6rem));
  visibility: hidden;
  transition:
    clip-path 0.8s var(--ease-io),
    visibility 0s linear 0.8s;
}

.menu.is-shown {
  display: flex;
}

.menu.is-open {
  clip-path: circle(150% at calc(100% - 3rem) calc(var(--sat) + 2.6rem));
  visibility: visible;
  transition: clip-path 0.8s var(--ease-io);
}

.menu nav {
  display: flex;
  flex-direction: column;
}

.menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.menu nav a span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.menu__mail {
  font-size: 1.125rem;
  font-weight: 500;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: calc(100svh + var(--sab));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__ring-static {
  position: absolute;
  width: min(72vh, 720px);
  aspect-ratio: 1;
  right: -8vh;
  top: 50%;
  border: clamp(56px, 9vh, 110px) solid var(--ink-80);
  border-radius: 50%;
  transform: translateY(-50%);
}

.js .hero__ring-static {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + var(--sat) + 3rem);
  padding-bottom: 3rem;
  pointer-events: none;
}

.hero__inner a {
  pointer-events: auto;
}

.hero__title {
  margin-top: 1.5rem;
  max-width: 11ch;
  font-size: clamp(3rem, 1rem + 7vw, 7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero__title .dot {
  background: var(--gray);
}

.hero__lead {
  margin-top: 2rem;
  max-width: 30rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--muted-dark);
}

.hero__actions {
  margin-top: 2.5rem;
}

.hero__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: calc(1.5rem + var(--sab));
  border-top: 1px solid var(--line-dark);
}

.hero__products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
}

.hero__products li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero__products em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.hero__pdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
}

.hero__scroll i {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: var(--line-dark);
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  animation: scroll-line 2s var(--ease-io) infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* split words */

.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  vertical-align: top;
}

.js .hero__title .w__i {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(0.15s + var(--i) * 0.08s);
}

.js .hero__title .dot {
  transform: scale(0);
  transition: transform 0.7s var(--ease) 0.6s;
}

.js .hero__label,
.js .hero__lead,
.js .hero__actions,
.js .hero__bar {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}

.js .hero__lead { transition-delay: 0.45s; }
.js .hero__actions { transition-delay: 0.55s; }
.js .hero__bar { transition-delay: 0.7s; }

.is-ready .hero__title .w__i,
.is-ready .hero__title .dot,
.is-ready .hero__label,
.is-ready .hero__lead,
.is-ready .hero__actions,
.is-ready .hero__bar {
  opacity: 1;
  transform: none;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 1.75rem;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  isolation: isolate;
}

[data-magnetic] {
  transition: transform 0.6s var(--ease);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--gray);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}

.btn--light:hover {
  color: var(--paper);
}

.btn--light:hover::before {
  transform: none;
}

.btn__arrow {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateY(3px);
}

/* ---------- studio ---------- */

.scrub {
  margin-top: 2rem;
  max-width: 22ch;
  font-size: clamp(2rem, 1rem + 3.4vw, 4.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.js .scrub .w__i {
  display: inline-block;
  opacity: 0.14;
  transition: opacity 0.4s var(--ease);
}

.js .scrub .w__i.is-lit {
  opacity: 1;
}

.steps {
  margin-top: clamp(4rem, 3rem + 4vw, 7rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 2rem 2rem 0 0;
}

.step + .step {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) calc(0.3s + var(--d, 0) * 0.15s);
}

.step.is-in::before {
  transform: scaleX(1);
}

.step__num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray);
}

.step h3 {
  margin-top: 2.5rem;
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.step p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* ---------- products ---------- */

.products {
  padding-top: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.cards > li {
  display: flex;
}

.card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 30rem;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition:
    transform 0.6s var(--ease),
    border-color 0.4s var(--ease);
  will-change: transform;
}

.card:hover {
  border-color: #cfd3da;
  transition:
    transform 0.15s linear,
    border-color 0.4s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(13, 17, 23, 0.05),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  transform: scaleX(1);
}

.card__orb {
  position: absolute;
  top: -9rem;
  right: -9rem;
  width: 18rem;
  height: 18rem;
  border: 2.75rem solid var(--paper);
  border-radius: 50%;
  transition:
    transform 0.9s var(--ease),
    border-color 0.6s var(--ease);
}

.card:hover .card__orb {
  transform: scale(1.12);
  border-color: var(--line);
}

.card__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.status i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--gray);
}

.status--soon i {
  border-color: var(--c);
}

.status--live {
  color: var(--ink);
}

.status--live i {
  border: 0;
  background: var(--c);
}

.status--live i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c);
  animation: ping 2.2s var(--ease) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  80%, 100% { transform: scale(3.2); opacity: 0; }
}

.card__index {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray);
}

.card__name {
  position: relative;
  margin-top: auto;
  padding-top: 4rem;
  font-size: clamp(2.5rem, 1.8rem + 1.8vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.card__name .dot {
  transition: transform 0.6s var(--ease);
  transform-origin: center;
}

.card:hover .card__name .dot {
  transform: scale(1.5);
}

.card__kicker {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
}

.card__desc {
  margin-top: 1.25rem;
  max-width: 26ch;
  color: var(--muted);
}

.card__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.card__link {
  display: inline-flex;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--c);
}

.card__link span {
  transition: transform 0.4s var(--ease);
}

.card__link:hover span {
  transform: translate(2px, -2px);
}

.card__note {
  font-weight: 500;
}

.card__by {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
  white-space: nowrap;
}

/* ---------- approach ---------- */

.rules {
  border-top: 1px solid var(--line);
}

.rule {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 0.7fr);
  align-items: baseline;
  gap: 1.5rem;
  padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.rule__num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray);
  transition: color 0.4s var(--ease);
}

.rule__word {
  font-size: clamp(2.5rem, 1.4rem + 4vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  transition:
    transform 0.6s var(--ease),
    color 0.4s var(--ease);
}

.rule__text {
  font-size: 1.0625rem;
  color: var(--muted);
}

.rule .dot {
  transition: background-color 0.4s var(--ease);
}

.rule:hover .rule__word {
  transform: translateX(1rem);
}

.rule:hover .rule__num {
  color: var(--ink);
}

.rule:hover .dot {
  background: var(--ink);
}

/* ---------- footer ---------- */

.footer {
  overflow: hidden;
  padding-top: clamp(4.5rem, 3rem + 5vw, 7rem);
  padding-bottom: var(--sab);
  background: var(--ink);
  color: var(--paper);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 1.0625rem;
}

.footer__col .label {
  margin-bottom: 0.75rem;
}

.footer__link {
  position: relative;
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.footer__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__mark {
  margin-top: clamp(4rem, 3rem + 5vw, 7rem);
  font-family: var(--font-mark);
  font-size: clamp(3.5rem, 15.4vw, 14rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.footer__o {
  display: inline-block;
}

.js .footer__o {
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 1s var(--ease) 0.5s,
    transform 1.2s var(--ease) 0.5s;
}

.js .footer__mark.is-in .footer__o {
  opacity: 1;
  transform: none;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: var(--muted-dark);
}

/* ---------- responsive ---------- */

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

  .card {
    min-height: 24rem;
  }

  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .rule {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .rule__text {
    grid-column: 2;
  }
}

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

  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__scroll {
    display: none;
  }

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

  .step,
  .step + .step {
    padding: 1.75rem 0 2rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .step:first-child {
    border-top: 0;
  }

  .step::before {
    top: -1px;
  }

  .step h3 {
    margin-top: 1.25rem;
  }

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

@media (max-width: 560px) {
  .hero__products {
    flex-direction: column;
  }

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

  .card {
    padding: 1.5rem;
  }

  .card__foot {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .loader {
    display: none;
  }
}

/* ---------- news ---------- */

.news__form {
  max-width: 58rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.news__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.25rem;
}

.news__row input {
  flex: 1 1 18rem;
  min-width: 0;
  padding: 0.35rem 0 0.65rem;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.news__row input::placeholder {
  color: #c4c7cd;
}

.news__row button {
  min-height: 3.5rem;
  padding: 0.95rem 1.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
}

.news__row button:disabled {
  cursor: default;
  opacity: 0.45;
}

.news__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 38rem;
  margin-top: 1.15rem;
  color: var(--gray);
  font-size: 0.8125rem;
  line-height: 1.45;
  cursor: pointer;
}

.news__check input {
  flex: 0 0 auto;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.18rem;
  accent-color: var(--gray);
}

.news__fine {
  margin-top: 0.35rem;
  margin-left: 1.3rem;
  color: var(--gray);
  font-size: 0.75rem;
}

.news__fine a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.news__status {
  min-height: 1.4rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.news__status.is-error {
  color: var(--bookaro);
}

.news__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- legal ---------- */

.legal {
  padding: calc(var(--header-h) + clamp(3rem, 6vw, 5.5rem)) 0 clamp(4rem, 8vw, 7rem);
}

.legal__wrap {
  width: min(100% - 2 * var(--gutter), 760px);
  margin-inline: auto;
}

.legal h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 1.4rem + 4vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.legal__meta {
  margin-top: 1.25rem;
  color: var(--gray);
  font-size: 0.875rem;
}

.legal h2 {
  margin-top: 2.75rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal p,
.legal ul,
.legal .legal__table {
  margin-top: 0.85rem;
}

.legal ul {
  padding: 0;
}

.legal li {
  position: relative;
  margin-top: 0.4rem;
  padding-left: 1rem;
}

.legal li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--gray);
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal__table {
  width: 100%;
  overflow-x: auto;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  padding: 0.75rem 0.7rem 0.75rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal td {
  color: var(--ink);
}

.legal .consent__btn {
  flex: 0 1 auto;
  margin-top: 0.4rem;
}

/* ---------- footer legal ---------- */

.footer__bottom {
  flex-wrap: wrap;
  align-items: center;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
}

button.footer__link {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}

/* ---------- consent ---------- */

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

.consent {
  position: fixed;
  z-index: 280;
  right: var(--gutter);
  bottom: calc(1rem + var(--sab));
  left: var(--gutter);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.consent[hidden] {
  display: none !important;
}

.consent__panel {
  pointer-events: auto;
  width: min(100%, 820px);
  padding: 1.2rem 1.2rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(13, 17, 23, 0.14);
}

.consent__panel p {
  max-width: 62ch;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.consent__panel a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.consent__btn {
  flex: 1 1 11rem;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.consent__btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.consent-modal {
  position: fixed;
  z-index: 460;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: calc(1rem + var(--sat)) 1rem calc(1rem + var(--sab));
  background: rgba(13, 17, 23, 0.46);
}

.consent-modal[hidden] {
  display: none !important;
}

.consent-modal__panel {
  width: min(100%, 560px);
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: 1.35rem 1.35rem 1.2rem;
  background: var(--paper);
  color: var(--ink);
}

.consent-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.consent-modal__head h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.consent-modal__close {
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
}

.consent-modal__lead {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.consent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.consent-row h3 {
  font-size: 1rem;
  font-weight: 600;
}

.consent-row p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.consent-switch {
  position: relative;
  width: 2.85rem;
  height: 1.65rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
}

.consent-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--ink);
}

.consent-switch[aria-checked="true"] {
  background: var(--ink);
}

.consent-switch[aria-checked="true"]::after {
  background: var(--paper);
  transform: translateX(1.15rem);
}

.consent-switch:disabled {
  cursor: default;
  opacity: 0.55;
}

.consent-modal__status {
  margin-top: 0.9rem;
  color: var(--gray);
  font-size: 0.8125rem;
}

.consent-modal__status code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

@media (max-width: 1180px) {
  .nav {
    gap: 1.15rem;
  }

  .nav a {
    font-size: 0.875rem;
  }
}

@media (max-width: 800px) {
  .news__row button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .consent {
    right: 0.75rem;
    left: 0.75rem;
  }

  .consent__btn {
    flex-basis: 100%;
  }
}
