/* AQROSS — site styles
   Brand colours are fixed (they are the logo's own). Page chrome follows them. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --ink: #0c0d0f;
  --ink-2: #1a1b1e;
  --paper: #fafaf7;
  --paper-2: #f1f0ea;
  --marigold: #f0a202;
  --marigold-deep: #b87a00;
  --muted: #5f6166;
  --muted-on-ink: #a3a5aa;
  --line: #dcdcd6;
  --line-on-ink: #2c2d31;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--marigold); color: var(--ink); padding: 8px 14px; border-radius: 6px; font-weight: 600;
}
.skip:focus { left: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.05; text-wrap: balance; }
h1 { font-weight: 640; font-variation-settings: "wdth" 104; font-size: clamp(42px, 7vw, 84px); letter-spacing: -0.02em; }
h2 { font-weight: 620; font-variation-settings: "wdth" 104; font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.015em; }
h3 { font-weight: 620; font-variation-settings: "wdth" 104; font-size: 22px; letter-spacing: -0.005em; line-height: 1.2; }
p { margin: 0; }
.eyebrow {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 112;
  font-weight: 560;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--marigold); color: var(--ink); }
.btn-gold:hover { background: #ffb31a; }
.btn-ghost { border: 1.5px solid currentColor; color: inherit; opacity: .9; }
.btn-ghost:hover { opacity: 1; }
.btn-ink { background: var(--ink); color: var(--paper); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  color: var(--paper);
  border-bottom: 1px solid var(--line-on-ink);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; text-decoration: none; }
.brand img { height: 18px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--muted-on-ink); font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--paper); }
.site-nav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
@media (max-width: 760px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px; align-items: center;
  padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 120px);
}
.hero .eyebrow { color: var(--marigold); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--marigold); }
.hero .lede { color: var(--muted-on-ink); margin-top: 26px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted-on-ink); }

/* phone mock */
.phone {
  justify-self: center;
  width: min(330px, 100%);
  aspect-ratio: 9 / 18.5;
  background: #000;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 0 0 1.5px #2f3035, 0 40px 80px -20px rgba(0,0,0,.6), 0 0 120px -30px rgba(240,162,2,.35);
  position: relative;
}
.screen {
  height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #23252a 0%, #16171a 100%);
  display: flex; flex-direction: column; position: relative;
}
.screen .status { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 12px; font-weight: 600; color: #e8e8e4; }
.viewfinder { flex: 1; display: grid; place-items: center; position: relative; padding: 24px 34px 0; }
.qr-card { background: #fff; color: var(--ink); padding: 14px; border-radius: 10px; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.qr-card .qr { width: 100%; height: auto; }
.qr-card .merchant { margin-top: 8px; font-size: 11px; font-weight: 600; text-align: center; letter-spacing: .04em; color: #333; }
.corners { position: absolute; inset: 10px 22px -6px; pointer-events: none; }
.corners span { position: absolute; width: 28px; height: 28px; border: 3px solid var(--marigold); }
.corners span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.corners span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.corners span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.corners span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.scanline {
  position: absolute; left: 30px; right: 30px; height: 2px; top: 30%;
  background: var(--marigold); box-shadow: 0 0 14px 2px rgba(240,162,2,.7);
  animation: scan 2.8s ease-in-out infinite alternate;
}
@keyframes scan { from { top: 12%; } to { top: 80%; } }
@media (prefers-reduced-motion: reduce) { .scanline { animation: none; } }
.sheet { margin: 26px 10px 10px; background: var(--paper); color: var(--ink); border-radius: 26px; padding: 18px 18px 16px; }
.sheet .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sheet .label { font-size: 12px; color: var(--muted); }
.sheet .amount { font-family: var(--font-display); font-weight: 640; font-variation-settings: "wdth" 104; font-size: 30px; letter-spacing: -0.01em; }
.sheet .conv { font-size: 13px; color: var(--muted); }
.sheet .pay {
  margin-top: 12px; height: 44px; border-radius: 999px; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600;
}
.sheet .pay i { width: 8px; height: 8px; background: var(--marigold); display: inline-block; }

/* ---------- strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.strip .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 32px; }
.strip .stat { display: flex; gap: 14px; align-items: flex-start; }
.strip .stat svg { flex: none; width: 22px; height: 22px; margin-top: 3px; }
.strip strong { display: block; font-family: var(--font-display); font-variation-settings: "wdth" 104; font-weight: 620; font-size: 18px; line-height: 1.3; }
.strip span { color: var(--muted); font-size: 15px; }

/* ---------- sections ---------- */
section.block { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 19px; max-width: 58ch; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 14px; align-content: start;
}
.step .num { display: flex; align-items: center; gap: 12px; }
.step .num svg { width: 28px; height: 28px; }
.step .num b { font-family: var(--font-display); font-variation-settings: "wdth" 112; font-weight: 560; letter-spacing: .14em; font-size: 13px; color: var(--muted); }
.step p { color: var(--muted); }

/* groups */
.groups { background: var(--ink); color: var(--paper); }
.groups .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.groups .eyebrow { color: var(--marigold); }
.groups .section-head { margin-bottom: 0; }
.groups .section-head p { color: var(--muted-on-ink); }
.feature-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: 14px 1fr; gap: 16px; align-items: start; }
.feature-list li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; background: var(--marigold); }
.feature-list strong { font-weight: 600; }
.feature-list span { color: var(--muted-on-ink); }

.pot { background: var(--ink-2); border: 1px solid var(--line-on-ink); border-radius: 22px; padding: 28px; display: grid; gap: 22px; }
.pot-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pot-head .t { font-family: var(--font-display); font-variation-settings: "wdth" 104; font-weight: 620; font-size: 20px; }
.pot-head .b { font-family: var(--font-display); font-variation-settings: "wdth" 104; font-weight: 640; font-size: 34px; }
.pot-head .b small { font-size: 15px; color: var(--muted-on-ink); font-weight: 500; }
.bar { height: 10px; border-radius: 99px; background: #2c2d31; overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; }
.members { display: grid; gap: 12px; }
.member { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; font-size: 15px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--ink); }
.member .s { color: var(--muted-on-ink); font-size: 13px; }
.member .v { font-variant-numeric: tabular-nums; font-weight: 600; }
.feed { border-top: 1px solid var(--line-on-ink); padding-top: 18px; display: grid; gap: 10px; font-size: 14px; }
.feed div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted-on-ink); }
.feed b { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.trust-item { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.trust-item p { color: var(--muted); }

/* faq */
.faq { background: var(--paper-2); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.faq .section-head { margin-bottom: 0; align-content: start; }
.faq-list { display: grid; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-display); font-variation-settings: "wdth" 104; font-weight: 600; font-size: 19px; line-height: 1.3;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 40px 24px 0; color: var(--muted); max-width: 62ch; }

/* cta */
.cta { background: var(--marigold); color: var(--ink); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: clamp(64px, 8vw, 104px); }
.cta p { margin-top: 14px; font-size: 19px; max-width: 52ch; color: #3a2a00; }
.cta .eyebrow { color: #5a4100; margin-bottom: 14px; }

/* footer */
.site-footer { background: var(--ink); color: var(--muted-on-ink); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 28px; padding-block: 48px; }
.site-footer .top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer img { height: 16px; width: auto; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.site-footer .legal { border-top: 1px solid var(--line-on-ink); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .groups .wrap, .faq .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: 64px; }
  .steps, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .strip .wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cta .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 640px) and (max-width: 960px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .hero .ctas .btn { flex: 1 1 100%; }
  .phone { width: min(290px, 100%); }
}
