@font-face {
  font-family: "YS Text";
  src: url("./assets/ys-text-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "YS Text";
  src: url("./assets/ys-text-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "YS Text";
  src: url("./assets/ys-text-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #121214;
  --surface: #1d1d20;
  --surface-2: #242428;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --ink: rgba(0, 0, 0, 0.88);
  --green: #baf78d;
  --green-bright: #98ef60;
  --pink: #ff6f9e;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: only light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "YS Text", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  overflow: clip;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 72px;
  padding: 12px 24px;
  background: rgba(18, 18, 20, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand img,
.footer-brand img {
  width: 84px;
  height: 28px;
}

.partner-badge {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.header-nav a {
  padding: 9px 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  border-radius: 999px;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.header-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.cta:focus-visible,
.site-header a:focus-visible,
summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.cta-arrow {
  font-size: 18px;
}

.header-cta {
  justify-self: end;
  min-height: 44px;
  padding: 0 18px;
  background: #fff;
  color: #171717;
  border-radius: 14px;
  box-shadow: none;
}

.header-cta:hover {
  color: #fff;
}

.hero-shell {
  padding: 8px;
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--green);
  border-radius: 24px;
}

.hero-picture,
.hero-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-picture img {
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 58%;
  max-width: 720px;
  min-height: 560px;
  padding: 44px 40px 36px;
  color: #171717;
}

.eyebrow,
.kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(0, 0, 0, 0.64);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(50px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: #171717;
}

.hero-subtitle {
  max-width: 610px;
  margin: auto 0 20px;
  color: rgba(0, 0, 0, 0.68);
  font-size: clamp(23px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.06;
}

.hero-note {
  margin: 12px 0 0;
  color: rgba(0, 0, 0, 0.64);
  font-size: 13px;
}

.section {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.faq-title h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 5.4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 21px;
}

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

.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 610px;
  overflow: hidden;
  border-radius: 28px;
}

.showcase-copy {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: 32px;
}

.showcase-copy h3 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.showcase-copy p {
  max-width: 330px;
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  opacity: 0.62;
}

.number-pill {
  display: inline-flex;
  padding: 8px 12px;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border-radius: 999px;
}

.showcase-card > img {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  width: 100%;
  max-height: 440px;
  margin-top: auto;
  object-fit: contain;
  object-position: center bottom;
}

.showcase-light {
  color: #171717;
  background: #ffd6e2;
}

.showcase-dark {
  color: rgba(255, 255, 255, 0.92);
  background: #005540;
}

.showcase-light .showcase-copy p {
  color: rgba(0, 0, 0, 0.68);
  opacity: 1;
}

.showcase-dark .showcase-copy p {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.showcase-dark .number-pill {
  background: var(--green-bright);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 28px;
}

.benefit-item {
  min-height: 240px;
  padding: 30px;
  background: var(--surface);
}

.benefit-item img {
  margin-bottom: 40px;
}

.benefit-item h3 {
  margin: 0 0 9px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.benefit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.payment-section {
  padding-top: 48px;
}

.payment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.payment-copy {
  display: grid;
  gap: 16px;
}

.payment-copy article {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: var(--surface);
  border-radius: 28px;
}

.payment-copy h3 {
  margin: 3px 0 10px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.payment-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.4;
}

.mini-icon {
  display: grid;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.mini-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.terminal-card {
  display: grid;
  min-height: 530px;
  overflow: hidden;
  place-items: end center;
  background: #caf7a8;
  border-radius: 28px;
}

.terminal-card img {
  width: 100%;
}

.steps-section {
  padding: 8px;
}

.steps-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 28px;
  width: 100%;
  padding: clamp(32px, 7vw, 86px);
  color: #171717;
  background: #f5f5f5;
  border-radius: 28px;
}

.kicker-dark {
  color: rgba(0, 0, 0, 0.48);
}

.steps-copy h2,
.app-copy h2,
.closing-card h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.steps-copy > p:not(.kicker) {
  max-width: 500px;
  margin: 20px 0 28px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 19px;
  line-height: 1.4;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(0, 0, 0, 0.13);
}

.steps-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}

.steps-list img {
  width: 34px;
  height: 34px;
}

.steps-list h3 {
  margin: 0 0 6px;
  font-size: 23px;
  font-weight: 500;
}

.steps-list p {
  margin: 0;
  color: rgba(0, 0, 0, 0.55);
  font-size: 17px;
}

.app-section {
  padding-top: 96px;
}

.app-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
  overflow: hidden;
  color: #171717;
  background: var(--green);
  border-radius: 28px;
}

.app-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 50px;
}

.app-copy .kicker {
  color: rgba(0, 0, 0, 0.48);
}

.app-copy > p:not(.kicker) {
  margin: 20px 0 28px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 19px;
  line-height: 1.4;
}

.app-image {
  align-self: end;
  width: 100%;
}

.faq-section {
  padding: 40px 0 96px;
}

.faq-inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.faq-title {
  position: sticky;
  top: 112px;
  align-self: start;
}

.faq-title h2 {
  font-size: clamp(38px, 4.2vw, 50px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary img {
  flex: 0 0 14px;
  width: 14px;
  filter: invert(1);
  transition: transform 180ms ease;
}

details[open] summary img {
  transform: rotate(180deg);
}

details > p {
  max-width: 610px;
  margin: -4px 44px 24px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.52;
}

.closing-section {
  padding: 8px 8px 64px;
}

.closing-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(34px, 6vw, 72px);
  color: #171717;
  background: #ffcfda;
  border-radius: 28px;
}

.closing-card h2 {
  max-width: 780px;
}

.closing-card .cta {
  flex: 0 0 auto;
}

footer {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 54px;
}

.footer-top {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer-top > p,
.risk p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.5;
}

.risk {
  padding-top: 28px;
}

.risk strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.05;
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
  }

  .hero-content {
    width: 62%;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
    min-height: 0;
  }

  .benefit-item img {
    grid-row: span 2;
    margin: 0;
  }

  .steps-inner,
  .faq-inner {
    grid-template-columns: 1fr;
  }

  .faq-title {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 60px;
    padding: 10px 14px;
  }

  .partner-badge,
  .header-cta {
    display: none;
  }

  .hero-shell {
    padding: 4px;
  }

  .hero {
    min-height: 740px;
    border-radius: 20px;
  }

  .hero-picture {
    top: auto;
    height: 64%;
  }

  .hero-picture img {
    object-position: center bottom;
  }

  .hero-content {
    width: 100%;
    min-height: 740px;
    padding: 28px 20px 22px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero-subtitle {
    width: 68%;
    margin-top: 22px;
    font-size: 20px;
  }

  .hero-content .cta,
  .hero-note {
    display: none;
  }

  .section {
    width: min(100% - 24px, 980px);
    padding: 64px 0;
  }

  .section-heading h2,
  .faq-title h2,
  .steps-copy h2,
  .app-copy h2,
  .closing-card h2 {
    font-size: 40px;
  }

  .section-heading > p:last-child {
    font-size: 18px;
  }

  .showcase-grid,
  .payment-layout,
  .app-card {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    min-height: 580px;
  }

  .showcase-copy {
    padding: 26px;
  }

  .payment-copy article {
    padding: 22px;
  }

  .terminal-card {
    min-height: 420px;
  }

  .steps-section {
    padding: 4px;
  }

  .steps-inner {
    padding: 38px 22px;
    border-radius: 22px;
  }

  .app-card {
    min-height: 690px;
  }

  .app-copy {
    padding: 32px 26px 0;
  }

  .app-image {
    width: 92%;
    margin: 0 auto;
  }

  .faq-section {
    padding-bottom: 64px;
  }

  .faq-inner {
    width: min(100% - 24px, 980px);
    gap: 30px;
  }

  summary {
    padding: 20px 0;
    font-size: 19px;
  }

  .closing-section {
    padding: 4px 4px 92px;
  }

  .closing-card {
    flex-direction: column;
    align-items: stretch;
    padding: 34px 22px;
    border-radius: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  footer {
    padding-bottom: 100px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 60;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
    padding: 6px;
    background: rgba(18, 18, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    backdrop-filter: blur(16px);
  }

  .mobile-cta .cta {
    width: 100%;
    background: #fff;
    color: #171717;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
