/*
  Composer template for src/t/composer/index.html.
  Tokens follow helper/themes/Composer and composer.trade: a #ecedee canvas
  with a 240px hairline grid, white paper cards with a 1px border and 6px
  radius, black pill CTAs, and a Carbon footer. The hero copies the site's
  block field: 500×200 cells in signal blue / hot pink (hard-light) and pulse
  green / solar yellow (multiply) that repaint the black headline where they
  cross it, with the block-ani width loop. Below the hero the page uses only
  colours and colour pairs that appear on composer.trade: black, white and
  the site's greys, the site's confetti hues as small accents, a Signal Blue
  section with white text, a Carbon footer, a Cotton Candy marker behind
  black text, and black or white at the site's own alphas. Neue Haas
  Grotesk has no free Cyrillic, so Inter Tight (variable) stands in; Inter
  carries the body text.
*/

@font-face {
  font-family: "Inter Tight";
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-cyrillic-var.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Tight";
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --concrete: #ecedee;
  --paper: #fff;
  --ink: #000;
  --line: #e5e7eb;
  --rule: #bec6cc;
  --carbon: #101516;
  --hover: rgba(0, 0, 0, 0.1);
  --blue: #1871da;
  --green: #1ec072;
  --pink: #f6609f;
  --yellow: #ffbb38;
  --candy: #ffb4ed;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.16) 0.5px, transparent 0.5px) 0 0 / 240px 240px,
    linear-gradient(to right, rgba(0, 0, 0, 0.16) 0.5px, transparent 0.5px) 0 0 / 240px 240px,
    var(--concrete);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
code {
  font: 500 0.85em/1.4 ui-monospace, "SFMono-Regular", monospace;
  background: var(--concrete);
  padding: 1px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.01em; margin-bottom: 20px; }
h3 { font-size: 26px; line-height: 1.2; margin-bottom: 12px; }
.hl { background: var(--candy); padding: 0 0.1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-block;
  font: 600 14px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-left: 22px;
  position: relative;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 12px;
  height: 12px;
  background: var(--ink);
}
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: #fff; }

.logo-mark {
  width: 26px;
  height: 26px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("/assets/logo/logo-ink.svg") center / contain no-repeat;
  mask: url("/assets/logo/logo-ink.svg") center / contain no-repeat;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 18px/1 var(--display);
  text-decoration: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font: 600 16px/1.2 var(--display);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s;
}
.pill span { display: inline-block; transition: transform 0.2s; }
.pill:hover span { transform: translateX(4px); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-white { background: #fff; color: var(--ink); }
.pill-white:hover { background: #eee; }
.more { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ink); }
.more:hover { border-color: rgba(0, 0, 0, 0.5); }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--concrete);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav-links { display: flex; gap: 4px; font: 500 15px/1 var(--display); letter-spacing: 0.01em; }
.nav-links a { text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: background-color 0.2s; }
.brand, .nav-links a, .nav .pill { white-space: nowrap; }
.nav-links a:hover { background: var(--hover); }
.nav .pill { padding: 9px 16px; font-size: 15px; }

/* Hero. The blocks paint after the headline in the same stacking context
   (no z-index, transform or opacity on .blocks), so mix-blend-mode mixes
   them with the black letters; the lead and the CTA sit above them. */
.hero { position: relative; height: clamp(640px, 90vh, 896px); overflow: hidden; }
.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 56px;
}
.hero-text .wrap { width: 100%; position: relative; top: 30px; }
.hero h1 { font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.h1-small { font-size: clamp(28px, 4.4vw, 64px); }
.giga { display: inline-block; font-size: clamp(56px, 12vw, 176px); line-height: 1; margin-left: -0.04em; }
.lead {
  position: relative;
  z-index: 2;
  width: 56%;
  max-width: 740px;
  margin: 28px 0 44px;
  font: 400 clamp(20px, 2.3vw, 30px)/1.2 var(--display);
  letter-spacing: 0.01em;
}
.cta-ring {
  position: relative;
  z-index: 2;
  display: inline-flex;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 36px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 500 clamp(24px, 2.6vw, 36px)/1 var(--display);
  text-decoration: none;
}
.cta-arrows { display: flex; }
.cta-arrows svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transition: opacity 0.5s cubic-bezier(0.25, 0.25, 0.08, 1.08), transform 0.5s cubic-bezier(0.25, 0.25, 0.08, 1.08);
}
.cta-arrows svg:first-child { opacity: 0; }
.cta:hover .cta-arrows svg:first-child { opacity: 1; transform: translateX(100%); }
.cta:hover .cta-arrows svg:last-child { opacity: 0; transform: translateX(100%); }

.blocks { position: relative; height: 100%; pointer-events: none; --k: 100px; }
.blocks-in { position: relative; top: -70px; left: -400px; width: calc(25 * var(--k)); height: calc(7 * var(--k)); }
.blocks i { display: block; }
.bl-top { width: calc(5 * var(--k)); height: var(--k); }
.bl-line { display: flex; gap: calc(var(--k) / 2); height: calc(var(--k) / 2); }
.bl-even { justify-content: flex-end; }
.bl-s { flex: none; width: calc(var(--k) / 2); height: calc(var(--k) / 2); }
.bl-grid { display: flex; height: calc(6 * var(--k)); }
.bl-col { display: flex; flex-direction: column; }
.bl { flex: none; width: calc(5 * var(--k)); height: calc(2 * var(--k)); }
.bl-3 { display: flex; flex-direction: column; align-items: flex-start; }
.bl-4 { display: flex; justify-content: flex-end; align-items: flex-end; }
.bl-5 { display: flex; flex-wrap: wrap; align-content: flex-start; }
.bl-6 { display: flex; flex-direction: column; align-items: flex-end; }
.h1x { height: var(--k); width: 100%; flex: none; }
.w-half { width: 50%; }
.bl-3 .b { align-self: flex-end; }
.bl-right { float: right; }
.q { width: 25%; height: calc(var(--k) / 2); }
.blocks .p { --bg: var(--pink); background-color: var(--pink); mix-blend-mode: hard-light; }
.blocks .b { --bg: var(--blue); background-color: var(--blue); mix-blend-mode: hard-light; }
.blocks .g { --bg: var(--green); background-color: var(--green); mix-blend-mode: multiply; }
.blocks .y { --bg: var(--yellow); background-color: var(--yellow); mix-blend-mode: multiply; }
.blocks .dots {
  background:
    linear-gradient(90deg, var(--bg) 20px, transparent 1%) center / 21px 21px,
    linear-gradient(var(--bg) 20px, transparent 1%) center / 21px 21px,
    #000;
}
.run { animation: block-ani 5s cubic-bezier(0, 0.9, 0.4, 1) infinite; }
.run-half { animation: block-ani-half 5s cubic-bezier(0, 0.9, 0.4, 1) infinite; }
.run-2 { animation-delay: 0.5s; }
.run-3 { animation-delay: 1s; }
.run-4 { animation-delay: 1.5s; }
@keyframes block-ani { 50%, to { width: 100%; } 70%, 80% { width: 0; } }
@keyframes block-ani-half { 50%, to { width: 50%; } 70%, 80% { width: 0; } }

.facts { background: var(--paper); border-bottom: 1px solid var(--rule); }
.facts-grid { display: flex; justify-content: center; align-items: stretch; gap: 48px; padding-top: 48px; padding-bottom: 48px; }
.fact { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 300px; }
.fact + .fact { border-left: 2px dotted rgba(0, 0, 0, 0.25); padding-left: 48px; }
.fact b { font: 600 36px/1 var(--display); margin-bottom: 10px; }
.fact span { color: rgba(0, 0, 0, 0.6); font: 400 18px/1.35 var(--display); letter-spacing: 0.02em; }
.split { background: var(--paper); padding: 100px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p { font-size: 18px; margin: 0 0 28px; }
.cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cats li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font: 500 18px/1.3 var(--display);
}
.cats i { width: 14px; height: 14px; flex: none; }
.cats li:nth-child(4n+1) i { background: var(--blue); }
.cats li:nth-child(4n+2) i { background: var(--green); }
.cats li:nth-child(4n+3) i { background: var(--pink); }
.cats li:nth-child(4n) i { background: var(--yellow); }

.duo { padding: 88px 0; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--paper);
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 36px;
}
.card p { margin: 0 0 22px; }
.check { width: 36px; height: 36px; margin-bottom: 22px; }

.steps { padding: 0 0 100px; }
.steps-title { max-width: 760px; margin-bottom: 44px; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.art { display: block; margin: -12px -12px 26px; width: calc(100% + 24px); height: auto; border-radius: 4px; }
.art text, .art-daily text { font-family: var(--body); }
.art-daily { display: block; width: 100%; height: auto; }
.stores { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.stores li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.stores b { flex: 1 1 190px; font-family: var(--display); font-weight: 600; }
.stores a { font-weight: 700; font-size: 15px; text-decoration: none; }
.stores a:hover { text-decoration: underline; }

.split-daily { padding: 100px 0; }

.dark { background: var(--blue); color: #fff; padding: 100px 0; }
.dark-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.dark p { font-size: 18px; margin: 0 0 30px; color: rgba(255, 255, 255, 0.8); }
.shield { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 360px; aspect-ratio: 1; justify-self: end; width: 100%; }
.shield i:nth-child(1) { background: #fff; }
.shield i:nth-child(2) { background: transparent; }
.shield i:nth-child(3) { background: var(--candy); }
.shield i:nth-child(4) { background: transparent; }
.shield i:nth-child(5) { background: var(--yellow); }
.shield i:nth-child(6) { background: #fff; }
.shield i:nth-child(7) { background: var(--candy); }
.shield i:nth-child(8) { background: #fff; }
.shield i:nth-child(9) { background: transparent; }

.faq { background: var(--paper); padding: 100px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.faq p { font-size: 18px; margin: 0 0 28px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font: 600 21px/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font: 400 30px/1 var(--display);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 17px; margin: -6px 0 22px; color: rgba(0, 0, 0, 0.7); }

.finale { padding: 110px 0; text-align: center; }
.finale h2 { font-size: clamp(40px, 6vw, 88px); margin-bottom: 36px; }

footer { background: var(--carbon); color: #fff; padding: 56px 0 44px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 32px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { color: rgba(255, 255, 255, 0.4); font-size: 15px; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 22px; }

/* Below the full nav width the five links move to a second, swipeable row, so
   the menu stays reachable without JavaScript. */
@media (max-width: 1100px) {
  html { scroll-padding-top: 116px; }
  .nav-row { flex-wrap: wrap; height: auto; padding-top: 12px; row-gap: 0; }
  .nav-links { order: 3; flex: 0 0 100%; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
}
@media (max-width: 991px) {
  .blocks-in { top: -157px; left: -44px; }
  .lead { width: 100%; }
}
@media (max-width: 900px) {
  .split-grid, .dark-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .shield { justify-self: start; max-width: 240px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .brand { font-size: 16px; }
  .nav .pill { padding: 9px 14px; font-size: 14px; }
  .blocks-in { top: -125px; left: -54px; }
  .duo-grid, .steps-grid { grid-template-columns: 1fr; }
  .facts-grid { flex-direction: column; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
  .fact + .fact { border-left: 0; padding-left: 0; border-top: 2px dotted rgba(0, 0, 0, 0.25); padding-top: 24px; }
  .fact b { font-size: 28px; }
  .fact span { font-size: 16px; }
  .split, .duo, .split-daily, .dark, .faq { padding: 64px 0; }
  .steps { padding-bottom: 64px; }
  .card { padding: 26px 22px; }
  .art { margin: -6px -6px 20px; width: calc(100% + 12px); }
  .finale { padding: 72px 0; }
}
@media (max-width: 400px) {
  h2 { font-size: 30px; }
}
@media (max-width: 479px) {
  .hero { height: 600px; }
  .hero-text { justify-content: flex-end; padding: 0 0 48px; }
  .hero-text .wrap { top: 0; }
  .blocks { --k: 50px; }
  .blocks-in { top: -31%; left: -532px; }
  .lead { margin: 20px 0 28px; }
  .cta-ring { display: flex; border: 0; }
  .cta { width: 100%; justify-content: space-between; }
}
/* On phones the logo mark alone stands for the brand, so the header keeps the
   store link. */
@media (max-width: 480px) {
  .nav .brand-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .run, .run-half { animation: none; }
  .cta-arrows svg, .pill span { transition: none; }
}
