:root {
  --accent: #0a5cff;
  --accent-dark: #0847c4;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #0e1116;
  --muted: #5b626e;
  --faint: #697080;
  --line: rgba(14, 17, 22, 0.08);
  --line-strong: rgba(14, 17, 22, 0.16);
  --dark: #0b0d12;
  --dark-ink: #f4f4f7;
  --dark-muted: #a0a6b1;
  --dark-faint: #8b91a0;
  --ok: #0a7a41;
  --shell: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --sans: "Zalando Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --notch-sm: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
  --notch: polygon(11px 0, 100% 0, 100% 100%, 0 100%, 0 11px);
  --notch-lg: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mono {
  font-family: var(--mono);
  font-weight: 400;
}

.dot { color: var(--accent); }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 10px 16px;
  transition: top 0.15s ease;
}
.skip:focus { top: 12px; color: #fff; }

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-word { font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--faint);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 26px);
  font-size: 14px;
}
.nav > a:not(.btn) {
  color: var(--muted);
  padding: 6px 0;
}
.nav > a:not(.btn):hover { color: var(--ink); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 9px;
  background: none;
  border: 1px solid rgba(14, 17, 22, 0.2);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  padding: 10px 14px;
  min-height: 44px;
  cursor: pointer;
  clip-path: var(--notch-sm);
}
.menu-btn:hover { border-color: rgba(14, 17, 22, 0.45); }
.menu-btn-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 15px;
}
.menu-btn-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  padding: 13px 26px;
  min-height: 44px;
  border: 0;
  cursor: pointer;
  clip-path: var(--notch);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(14, 17, 22, 0.2);
  padding: 12px 25px;
}
.btn-ghost:hover { border-color: rgba(14, 17, 22, 0.45); color: var(--ink); }
.btn-outline {
  color: var(--dark-ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 27px;
}
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-sm { font-size: 14px; padding: 10px 18px; clip-path: var(--notch-sm); }
.btn-xs {
  font-size: 12.5px;
  padding: 8px 14px;
  min-height: 38px;
  clip-path: var(--notch-sm);
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0 0;
}
.cta-row.center { justify-content: center; }

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

.eyebrow,
.section-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
}
.eyebrow { margin-bottom: 30px; }

.kicker,
.label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}
.label { font-size: 10.5px; }

.rule {
  flex: 1;
  height: 1px;
  min-width: 0;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.eyebrow .rule { max-width: 180px; }

h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  margin: 0 0 40px;
  max-width: 24ch;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p { text-wrap: pretty; }

.block { padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 104px); }
.band { border-top: 1px solid var(--line); background: var(--surface); }

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

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(44px, 7vw, 84px);
  padding-bottom: clamp(52px, 8vw, 88px);
}

.lede {
  margin: 24px 0 0;
  max-width: 48ch;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.6;
  color: var(--muted);
}

.footnote {
  margin: 20px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* ---------- live queue ---------- */

.queue-wrap { position: relative; min-width: 0; }

.queue {
  border: 1px solid rgba(14, 17, 22, 0.12);
  background: var(--surface);
  clip-path: var(--notch-lg);
  box-shadow: 0 24px 60px -32px rgba(14, 17, 22, 0.25);
}

.queue-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.queue-count { display: inline-flex; align-items: center; gap: 8px; }
.queue-count .mono {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--ok);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}

.queue-rows { margin: 0; padding: 0; list-style: none; }

.qrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(14, 17, 22, 0.06);
}
.qid { font-size: 11px; color: var(--faint); flex: none; }
.qtask {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip {
  flex: none;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.chip-done { color: var(--ok); background: rgba(10, 122, 65, 0.1); }
.chip-run { color: #0d51e0; background: rgba(10, 92, 255, 0.09); }

.queue-esc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg);
}
.diamond {
  width: 8px;
  height: 8px;
  flex: none;
  background: #8a5a10;
  transform: rotate(45deg);
}
.esc-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-tag {
  position: absolute;
  top: -9px;
  right: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
}

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

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  padding-top: 26px;
  padding-bottom: 26px;
}
.strip-label { flex: none; }

.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.logos {
  display: flex;
  gap: 52px;
  margin: 0;
  padding: 0 52px 0 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px 28px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  transition: border-color 0.15s ease;
}
.card:hover { border-color: rgba(14, 17, 22, 0.25); }
.card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.glyph {
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  margin-bottom: 22px;
}
.glyph-circle { border-radius: 50%; }
.glyph-diamond { transform: rotate(45deg); }

/* ---------- steps + stats ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.step-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
}
.step-no { font-size: 13px; letter-spacing: 0.1em; color: var(--accent); }
.step-title { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.steps p:last-child { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 28px;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 36px 0 0;
  border-top: 1px solid rgba(14, 17, 22, 0.1);
}
.stats dt {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.stats dd {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- quote ---------- */

.quote-block { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.quote-block figure {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  text-wrap: balance;
}
.quote-block blockquote::before { content: "\201C"; }
.quote-block blockquote::after { content: "\201D"; }
.quote-block figcaption {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rule-short { width: 22px; height: 1px; background: rgba(14, 17, 22, 0.3); }

/* ---------- security grid ---------- */

.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(14, 17, 22, 0.1);
}
.grid-list li { padding: 24px 26px; border: 1px solid rgba(14, 17, 22, 0.06); }
.grid-list h3 { margin: 0 0 6px; font-size: 15px; }
.grid-list p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ---------- faq ---------- */

.faq {
  max-width: 800px;
  padding-top: clamp(64px, 9vw, 104px);
  padding-bottom: clamp(64px, 9vw, 104px);
}
.faq .section-mark { margin-bottom: 32px; }
.faq details { border-top: 1px solid rgba(14, 17, 22, 0.1); }
.faq details.last { border-bottom: 1px solid rgba(14, 17, 22, 0.1); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-dark); }
.faq .mark {
  flex: none;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 14px;
}
.faq .mark::before { content: "+"; }
.faq details[open] .mark::before { content: "\2212"; }
.faq details p {
  margin: 0 4px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
.faq-foot { margin: 26px 0 0; font-size: 14px; color: var(--muted); }

/* inline links inside body copy carry an underline, not colour alone */
.faq-foot a,
.closer-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 5px 1px;
}

/* ---------- closer + footer ---------- */

.closer {
  background: var(--dark);
  color: var(--dark-ink);
}
.closer-inner {
  text-align: center;
  padding-top: clamp(64px, 9vw, 104px);
  padding-bottom: clamp(64px, 9vw, 104px);
}
.closer-inner h2 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.closer-lede {
  margin: 18px auto 0;
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--dark-muted);
}
.closer-note {
  margin: 18px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--dark-faint);
}
.closer-note a { color: var(--dark-muted); }
.closer-note a:hover { color: #fff; }

.footer { padding-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 0;
}
.footer .brand { color: var(--dark-ink); }
.footer .brand-word { font-size: 18px; }
.footer .brand-tag { color: var(--dark-faint); }
.footer-blurb {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--dark-faint);
  max-width: 30ch;
}
.footer-mail {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dark-muted);
  padding: 4px 0;
}
.footer-mail:hover { color: #fff; }
.footer-grid nav { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.footer-grid nav a { color: var(--dark-muted); padding: 7px 0; }
.footer-grid nav a:hover { color: #fff; }
.col-head {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark-faint);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-base .mono {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-faint);
}
.status { display: inline-flex; align-items: center; gap: 8px; }
.status .pulse { width: 6px; height: 6px; }

/* ---------- anchors under the sticky header ---------- */

#features, #how, #security, #faq { scroll-margin-top: 84px; }

/* ---------- animation ---------- */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

[data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(24px);
}
[data-reveal] {
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav > .btn { margin-top: 16px; align-self: flex-start; }
  .topbar { position: sticky; }
  .header { position: relative; }
}

@media (max-width: 620px) {
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .queue-esc { flex-wrap: wrap; }
  .esc-text { flex-basis: 100%; white-space: normal; }
  .quote-block blockquote { text-align: left; }
  .quote-block figcaption { justify-content: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  .qrow { gap: 10px; padding: 12px 14px; }
  .queue-head { padding: 12px 14px; }
  .queue-esc { padding: 14px; }
  .live-tag { right: 14px; }
  .btn { width: 100%; }
  .nav > .btn { width: auto; }
  .footer-base { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal].is-hidden { opacity: 1; transform: none; }
}
