@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --night: #11181b;
  --night-raised: #182124;
  --paper: #f1efe7;
  --ink: #222924;
  --white: #f7f7ed;
  --lime: #c3dc76;
  --lime-hover: #daed9b;
  --rust: #b54532;
  --rust-hover: #a13828;
  --muted: #c0c8c1;
  --dark-muted: #4f584e;
  --hairline: #3e4845;
  --paper-line: #cbd0c1;
  --edge: clamp(1.125rem, 6vw, 6rem);
  --section-gap: clamp(4rem, 7.5vw, 7rem);
  --header-height: 4.5rem;
  --max-width: 82rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  background: var(--night);
  color: var(--white);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body, h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 800; letter-spacing: -.065em; line-height: 1.03; }
h2 { font-size: clamp(2.5rem, 4.7vw, 4.7rem); }
::selection { background: var(--lime); color: var(--night); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.wrap {
  width: min(calc(100% - var(--edge) * 2), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: .75rem auto auto .75rem;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.masthead {
  position: sticky;
  z-index: 3;
  top: 0;
  border-bottom: 1px solid var(--hairline);
  background: var(--night);
}

.masthead-inner {
  min-height: calc(var(--header-height) - 1px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.4rem;
  align-items: center;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .55rem;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.055em;
  text-decoration: none;
}

.wordmark img { width: 1.35rem; }
.wordmark-domain { color: var(--muted); }

nav { display: flex; gap: clamp(.85rem, 2.7vw, 2.35rem); }

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
  transition: color .18s;
}

nav a:hover { color: var(--white); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: .7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: .18rem;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}

.button-quiet {
  justify-self: end;
  min-height: 2.65rem;
  border-color: #768369;
  white-space: nowrap;
}

.button-quiet:hover { background: var(--night-raised); border-color: var(--lime); }
.button-primary { background: var(--lime); color: var(--night); }
.button-primary:hover { background: var(--lime-hover); }
.button-primary:focus-visible { outline-color: var(--lime); }
.button-studio { background: var(--rust); color: #fff; }
.button-studio:hover { background: var(--rust-hover); }

.cover {
  display: grid;
  isolation: isolate;
  position: relative;
  background: var(--night);
}

.cover-art, .cover::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cover-art {
  z-index: -2;
  object-fit: cover;
  object-position: 68% center;
  image-rendering: pixelated;
}

.cover::before {
  z-index: -1;
  content: "";
}

.hero {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  background: radial-gradient(ellipse at 75% 42%, #273a36, #10171a 68%);
}

.hero::before {
  background: linear-gradient(90deg, #0b1115ed 0%, #0b1115dc 27%, #0b111580 49%, #0b111500 76%),
    linear-gradient(0deg, #0c1317e8 0%, #0c131780 17%, #0c131700 37%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(2.1rem, 5.3vh, 4rem);
  padding-block: clamp(2rem, 8vh, 6rem) clamp(1rem, 3vh, 1.7rem);
}

.hero-copy {
  margin-block: auto;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.6rem, 7.8vw, 8rem); text-wrap: initial; }
h1 em { color: var(--lime); font-style: normal; }

.lede {
  max-width: 37ch;
  margin-top: 1.35rem;
  color: var(--white);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.hero-actions, .services-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.3rem;
  margin-top: clamp(1.45rem, 3vw, 2rem);
}

.text-link {
  width: fit-content;
  padding-block: .55rem;
  color: var(--white);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: #8a9588;
  text-underline-offset: .32em;
  transition: text-decoration-color .18s;
}

.text-link:hover { text-decoration-color: currentColor; }

.offer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .7rem clamp(1rem, 3vw, 2rem);
  padding-top: .85rem;
  border-top: 1px solid #9fac9b70;
}

.offer-amount {
  color: var(--lime);
  font-size: clamp(2.65rem, 4.2vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: 1.13;
  font-variant-numeric: tabular-nums;
}

.offer-amount span { margin-left: .08em; font-size: .63em; }
.offer p { color: var(--muted); font-size: .85rem; }
.offer p strong { color: var(--white); font-size: 1rem; }

.section { padding-block: var(--section-gap); }
.section-light { color-scheme: light; background: var(--paper); color: var(--ink); }

.section-head {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1.25rem 3rem;
  align-items: end;
  margin-bottom: clamp(1.75rem, 4.5vw, 3.4rem);
}

.section-head p { max-width: 34ch; color: var(--dark-muted); }
.section-head h2 { max-width: 14ch; text-wrap: initial; }

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--paper-line);
}

.case {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: .65rem;
  min-width: 0;
  padding: clamp(1.45rem, 3vw, 2.65rem) clamp(1.15rem, 3vw, 2.65rem);
}

.case:first-child { padding-left: 0; }
.case + .case { border-left: 1px solid var(--paper-line); }
.case h3 { font-size: clamp(1.4rem, 2.25vw, 2rem); line-height: 1.13; letter-spacing: -.04em; }
.case p { color: var(--dark-muted); }
.case .case-option { color: #435b1f; font-weight: 800; font-size: .86rem; }

.dark-link { color: #3d5322; text-decoration-color: #64724f; }
.catalog-link { display: inline-block; margin-top: 1.15rem; }

.order-section {
  background: var(--night-raised);
  padding-block: clamp(3.75rem, 6.25vw, 6rem);
}

.order-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(1.8rem, 5vw, 5rem);
  align-items: center;
}

.order-copy h2 { max-width: 12ch; text-wrap: initial; }
.order-copy .button { margin-top: 1.45rem; }

.order-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: order;
  color: var(--white);
  border-top: 1px solid var(--hairline);
}

.order-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-block: .95rem;
  border-bottom: 1px solid var(--hairline);
  counter-increment: order;
}

.order-steps li::before {
  color: var(--lime);
  font-size: .85rem;
  font-weight: 800;
  content: counter(order, decimal-leading-zero);
}

.story-section { min-height: 100svh; display: flex; align-items: center; }
.story-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.story-copy { display: grid; gap: 1.2rem; }
.story-copy h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); }
.story-copy p { color: var(--dark-muted); }
.story-copy .story-lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--ink); }
.story-copy .eyebrow { color: inherit; }
.story-copy .text-link { justify-self: start; }
.rish-section { background: #14282c; }
.rish-section .story-copy p { color: #b7c9c5; }
.rish-section .story-copy .story-lede { color: var(--white); }

.transfer-visual {
  width: 100%;
  margin: 0 0 .35rem;
  overflow: hidden;
  border-radius: .18rem;
  background: var(--night-raised);
  color: var(--white);
}

.transfer-visual canvas {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.transfer-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: .65rem clamp(.85rem, 3vw, 1.75rem);
  border-top: 1px solid var(--hairline);
  font-size: .8rem;
  font-weight: 750;
}

.transfer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem 1.1rem;
}

.services {
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  background: radial-gradient(ellipse at 80% 54%, #452d2b, #12161b 64%);
}

.services::before {
  background: linear-gradient(90deg, #111419f7 0%, #111419ed 30%, #111419ac 48%, #11141922 77%),
    linear-gradient(0deg, #11141983, transparent 32%);
}

.services-inner {
  padding-block: clamp(3rem, 8vh, 6.5rem);
}

.services-brand {
  display: block;
  width: fit-content;
  margin-bottom: 1.35rem;
}

.services-brand img { width: 5.85rem; }
.services h2 { font-size: clamp(2.8rem, 6.1vw, 6.1rem); text-wrap: initial; }

.services-list {
  max-width: 35rem;
  margin-top: 1.6rem;
  border-top: 1px solid #b1b6b168;
}

.services-list > div {
  display: grid;
  grid-template-columns: minmax(7.4rem, .72fr) 1.28fr;
  gap: .8rem 1.25rem;
  align-items: baseline;
  padding-block: .8rem;
  border-bottom: 1px solid #b1b6b168;
}

.services-list dt { font-weight: 800; }
.services-list dd { color: #d5d9d2; font-size: .9rem; }

.faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(1.45rem, 5vw, 5rem);
}

.faq-grid h2 { max-width: 9ch; text-wrap: initial; }
.faq-list { border-top: 1px solid var(--paper-line); }
.faq-list details { border-bottom: 1px solid var(--paper-line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.05rem;
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #435b1f; }

.faq-list summary::after {
  flex: 0 0 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(#354a19, #354a19) center / .62rem 1.5px no-repeat,
    linear-gradient(#354a19, #354a19) center / 1.5px .62rem no-repeat #dde7c6;
  content: "";
}

.faq-list details[open] summary::after {
  background: linear-gradient(#354a19, #354a19) center / .62rem 1.5px no-repeat #dde7c6;
}

.faq-list details p { max-width: 56ch; padding: 0 1.5rem 1.15rem 0; color: var(--dark-muted); }
.faq-list details[open] p { animation: rise .23s ease-out both; }

.footer { border-top: .2rem solid var(--rust); }
.footer-inner { display: flex; justify-content: space-between; gap: .75rem 1rem; align-items: center; min-height: 5rem; }
.footer p { color: var(--muted); font-size: .88rem; }
.footer p a { font-weight: 800; text-underline-offset: .22em; }

.reveal.is-entering { animation: rise .5s ease-out both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(.65rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 56rem) {
  :root { --header-height: 6rem; }
  .masthead-inner { grid-template-columns: 1fr auto; grid-template-rows: 3.35rem 2.6rem; gap: 0 .75rem; }
  .masthead-inner nav { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 44rem) {
  .section-head, .order-grid, .story-layout, .faq-grid { grid-template-columns: 1fr; }
  .section-head { gap: .75rem; }
  .use-cases { grid-template-columns: 1fr; }
  .case, .case:first-child { padding-inline: 0; }
  .case + .case { border-left: 0; border-top: 1px solid var(--paper-line); }
  .faq-grid h2 { max-width: none; }
  .hero-art, .services-art { object-position: 74% center; }
  .hero::before {
    background: linear-gradient(180deg, #0b1115e3 0%, #0b1115ad 40%, #0b11154d 69%, #0b1115ed 100%);
  }
  .services::before {
    background: linear-gradient(90deg, #111419eb, #111419c9),
      linear-gradient(0deg, #111419a6, transparent 60%);
  }
  .services-list > div { gap: .3rem; grid-template-columns: 1fr; }
}

@media (max-width: 32rem) {
  h1 { font-size: clamp(2.8rem, 12vw, 4.3rem); }
  nav { justify-content: space-between; gap: .5rem; }
  nav a { font-size: .78rem; }
  .wordmark { font-size: 1.04rem; gap: .42rem; }
  .wordmark img { width: 1.14rem; }
  .button-quiet { min-height: 2.45rem; padding-inline: .7rem; font-size: .75rem; }
  .hero-inner { gap: 2.65rem; }
  .offer { grid-template-columns: auto 1fr; }
  .offer .text-link { grid-column: 2; margin-top: -.55rem; padding-block: .15rem; }
  .offer-amount { align-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.story-caption { min-height: 4.5rem; align-items: center; }
.story-caption > span { max-width: 28ch; }
.story-caption button {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: .4rem .7rem;
  border: 1px solid var(--hairline);
  border-radius: .18rem;
  background: transparent;
  color: var(--lime);
  font: inherit;
  cursor: pointer;
}
.story-caption button:hover { background: #2b3935; }
@media (max-width: 32rem) {
  .story-caption { flex-wrap: wrap; }
}
