:root {
  --gold: #c99a00;
  --gold-bright: #e0ad00;
  --gold-soft: rgba(201, 154, 0, 0.1);
  --ink: #f4f3ed;
  --surface: #ffffff;
  --surface-2: #f7f6f1;
  --surface-3: #eeece4;
  --line: rgba(22, 37, 31, 0.1);
  --line-strong: rgba(22, 37, 31, 0.18);
  --text: #13221c;
  --muted: #5f6b66;
  --dim: #8a928e;
  --green: #177a4d;
  --font: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 4%, rgba(201, 154, 0, 0.06), transparent 28rem),
    var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.01;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.gold {
  color: var(--gold);
}

a,
button,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 252, 0.9);
  backdrop-filter: blur(22px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.logo-mark {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.nav-cta {
  padding: 9px 17px;
  border: 1px solid var(--text);
  border-radius: 7px;
  background: var(--text);
  color: #fff !important;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 710px;
  align-items: center;
  padding: 88px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fbfaf6;
}

.hero::before {
  position: absolute;
  top: -12rem;
  right: -8rem;
  width: 52rem;
  height: 52rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 0, 0.1), transparent 66%);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(22, 37, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 37, 31, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 82px;
  align-items: center;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.025em;
}

.launch-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 122, 77, 0.09);
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 25px;
  font-size: clamp(3.1rem, 5.65vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.hero-lead {
  max-width: 585px;
  margin-bottom: 35px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.75;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
  box-shadow: 0 10px 28px rgba(19, 34, 28, 0.12);
}

.btn-primary:hover {
  border-color: #284138;
  background: #284138;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(242, 185, 15, 0.36);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, auto);
  width: fit-content;
  border-top: 1px solid var(--line);
}

.hero-proof > div {
  min-width: 124px;
  padding: 18px 24px 0 0;
}

.hero-proof > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 2px;
  color: var(--text);
  font-size: 0.77rem;
  font-weight: 700;
}

.hero-proof span {
  color: var(--dim);
  font-size: 0.68rem;
}

/* Card */
.hero-card-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.card-glow {
  position: absolute;
  inset: 8% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 0, 0.16), transparent 67%);
  filter: blur(48px);
}

.card-figure {
  position: relative;
  width: 100%;
  max-width: 485px;
  margin: 0;
}

.card-tilt {
  position: relative;
  width: 100%;
  border-radius: 20px;
  transform: perspective(1000px) rotateX(2deg) rotateY(-5deg);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
  will-change: transform;
}

.card-tilt.is-interacting {
  transition: transform 70ms linear;
}

.card-shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(circle at var(--shine-x, 72%) var(--shine-y, 25%), rgba(255, 255, 255, 0.18), transparent 32%);
  opacity: 0.7;
  pointer-events: none;
  transform: translateZ(1px);
}

.card-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 35px 60px rgba(0, 0, 0, 0.55));
}

.card-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(455px, 92%);
  margin: 20px auto 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.02em;
}

.card-caption span:first-child {
  color: var(--text);
}

.card-caption i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}

/* Shared sections */
.section {
  padding: 124px 0;
}

.section-dark,
.section-spend,
.section-apply {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.section-head {
  max-width: 670px;
  margin-bottom: 62px;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 17px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2,
.apply-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1.08;
}

.section-sub,
.apply-intro > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.section-sub em {
  color: var(--text);
  font-style: normal;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  counter-reset: steps;
}

.step {
  position: relative;
  min-height: 245px;
  padding: 34px 38px 34px 0;
  border-top: 1px solid var(--line-strong);
}

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

.step-num {
  display: block;
  margin-bottom: 52px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.step p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* Spend */
.spend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.spend-item {
  min-height: 190px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.spend-item:nth-child(3n) {
  border-right: 0;
}

.spend-item:nth-child(n + 4) {
  border-bottom: 0;
}

.spend-item:hover {
  background: rgba(242, 185, 15, 0.035);
}

.spend-icon {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.spend-item h3 {
  margin-bottom: 6px;
  font-size: 0.94rem;
  font-weight: 600;
}

.spend-item p {
  max-width: 270px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.acceptance-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 25px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.acceptance-bar i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

/* Technology */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.tech-layer {
  min-width: 0;
  padding: 34px 30px;
}

.tech-layer + .tech-layer {
  border-left: 1px solid var(--line);
}

.tech-connector {
  display: none;
}

.tech-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 38px;
  place-items: center;
  border: 1px solid rgba(242, 185, 15, 0.24);
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.9rem;
}

.tech-layer h3 {
  margin-bottom: 10px;
  font-size: 0.96rem;
  font-weight: 600;
}

.tech-layer p {
  min-height: 138px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.72;
}

.tech-layer strong {
  color: var(--text);
  font-weight: 500;
}

.tech-code {
  display: block;
  overflow: hidden;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(19, 34, 28, 0.035);
  color: #8b700e;
  font-family: var(--mono);
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tech-diagram {
  margin-bottom: 24px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(19, 34, 28, 0.025);
}

.diagram-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 13px;
}

.diagram-node {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
  white-space: nowrap;
}

.diagram-node.gold {
  border-color: rgba(242, 185, 15, 0.3);
  color: var(--gold);
}

.diagram-node.visa {
  color: #aeb5ff;
}

.diagram-arrow {
  color: var(--dim);
  font-size: 0.8rem;
}

.diagram-note {
  color: var(--dim);
  font-size: 0.7rem;
  text-align: center;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.tech-card {
  padding: 24px 24px 0 0;
}

.tech-card + .tech-card {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.tech-card h4 {
  margin-bottom: 7px;
  font-size: 0.78rem;
  font-weight: 600;
}

.tech-card p {
  color: var(--dim);
  font-size: 0.7rem;
  line-height: 1.62;
}

/* Privacy */
.split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 100px;
  align-items: center;
}

.split h2 {
  max-width: 560px;
}

.privacy-list {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
  list-style: none;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.privacy-list .no,
.privacy-list .yes {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.63rem;
  font-weight: 700;
}

.privacy-list .no {
  background: rgba(236, 102, 102, 0.08);
  color: #d98282;
}

.privacy-list .yes {
  background: rgba(126, 227, 161, 0.08);
  color: var(--green);
}

.limits-box {
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #f8f7f2);
  box-shadow: 0 25px 60px rgba(19, 34, 28, 0.07);
}

.limits-box h3 {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.limits-box dl div {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.limits-box dt {
  color: var(--muted);
}

.limits-box dd {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.limits-note {
  margin-top: 17px;
  color: var(--dim);
  font-size: 0.66rem;
  line-height: 1.6;
}

/* Apply */
.section-apply {
  background:
    radial-gradient(circle at 16% 20%, rgba(201, 154, 0, 0.06), transparent 25rem),
    var(--surface);
}

.apply-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 92px;
  align-items: start;
}

.apply-intro {
  position: sticky;
  top: 116px;
}

.apply-intro > p {
  max-width: 430px;
  margin-bottom: 30px;
}

.apply-perks {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.apply-perks li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.apply-perks li::before {
  position: absolute;
  top: 21px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.apply-panel {
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 80px rgba(19, 34, 28, 0.08);
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field span {
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 600;
}

.form-field span em {
  color: var(--dim);
  font-style: normal;
  font-weight: 400;
}

.form-field input,
.form-field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background-color: #fbfaf7;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.78rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field select {
  appearance: none;
  padding-right: 35px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='none' stroke='%23888880' stroke-width='1.5' d='m1 1 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-field input::placeholder {
  color: #9ca39f;
}

.form-field input:focus,
.form-field select:focus {
  border-color: rgba(242, 185, 15, 0.6);
  box-shadow: 0 0 0 3px rgba(242, 185, 15, 0.07);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--dim);
  font-size: 0.66rem;
  line-height: 1.6;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--gold);
}

.form-checkbox a {
  color: #b7a15b;
  text-decoration: none;
}

.btn-full {
  width: 100%;
  margin-top: 2px;
}

.apply-success {
  padding: 48px 18px;
  text-align: center;
}

.success-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid rgba(126, 227, 161, 0.24);
  border-radius: 50%;
  background: rgba(126, 227, 161, 0.06);
  color: var(--green);
}

.apply-success h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.apply-success p {
  max-width: 360px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.78rem;
}

.success-ref {
  margin-top: 20px !important;
  color: var(--dim) !important;
}

.success-ref code {
  color: var(--gold);
  font-family: var(--mono);
}

/* Footer */
.footer {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: end;
}

.footer-brand .logo-text {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-brand p {
  margin-top: 5px;
  color: var(--dim);
  font-size: 0.7rem;
}

.footer-legal p {
  color: var(--dim);
  font-size: 0.6rem;
  line-height: 1.65;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-card-wrap {
    max-width: 580px;
  }

  .tech-stack {
    grid-template-columns: 1fr;
  }

  .tech-layer + .tech-layer {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .tech-layer p {
    min-height: auto;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .apply-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .apply-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 68px 0 82px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-proof > div {
    padding: 13px 0;
  }

  .hero-proof > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .card-caption {
    flex-direction: column;
    gap: 5px;
  }

  .section {
    padding: 86px 0;
  }

  .steps,
  .spend-grid,
  .tech-grid,
  .form-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
    padding: 28px 0;
  }

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

  .step-num {
    margin-bottom: 28px;
  }

  .spend-item,
  .spend-item:nth-child(3n),
  .spend-item:nth-child(n + 4) {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .spend-item:last-child {
    border-bottom: 0;
  }

  .acceptance-bar {
    flex-wrap: wrap;
  }

  .diagram-row {
    align-items: stretch;
    flex-direction: column;
  }

  .diagram-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .tech-card,
  .tech-card + .tech-card {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .apply-panel {
    padding: 24px 18px;
  }

  .footer-inner {
    gap: 30px;
  }
}

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

  .card-figure {
    animation: none;
  }
}
