:root {
  --b1: rgb(176, 212, 213);
  --b2: rgb(117, 167, 167);
  --b3: rgb(101, 138, 137);
  --b4: rgb(81, 105, 103);
  --b5: rgb(62, 68, 70);
  --b6: rgb(41, 39, 40);
  --white: #ffffff;
  --ink: rgb(45, 49, 51);
  --ink-soft: rgb(70, 76, 78);
  --font: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --b1: rgb(41, 39, 40);
    --b2: rgb(62, 67, 69);
    --b3: rgb(80, 105, 102);
    --b4: rgb(101, 136, 135);
    --b5: rgb(117, 167, 167);
    --b6: rgb(176, 212, 213);
    --ink: rgb(170, 203, 204);
    --ink-soft: rgb(140, 176, 177);
  }
}

@font-face { font-family: "Satoshi"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/Satoshi-Regular.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/Satoshi-Bold.woff2") format("woff2"); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(45deg, var(--b6) -145%, var(--b1) 65%, var(--b1) 100%);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.logostack {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(480px, calc(100% - 24px));
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px 0 24px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: transparent;
  background-image: linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: rgba(255, 255, 255, 0.65) 0 1px 0 0;
}
.logostack__logo { width: 26px; height: 26px; flex: none; display: block; }
.logostack__name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--b6); }
.logostack__brand { display: flex; align-items: center; gap: 10px; }
.logostack__cta { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--ink); background: var(--ink); color: var(--b1); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 160ms ease, border-color 160ms ease; }
.logostack__cta:hover { background: var(--b6); border-color: var(--b6); }

.page { display: flex; justify-content: center; padding: 128px 32px 40px; }
.column { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 8px; }

.card { display: flex; flex-direction: column; background: var(--b1); border: 1px solid var(--b3); border-radius: 48px; overflow: hidden; }

.hero-line { display: flex; align-items: baseline; justify-content: center; gap: 0; margin: 0; min-height: 44px; }
.hero-pay { color: var(--b3); }
.hero-pay, .typewriter, .typewriter__text { font-weight: 700; font-size: 36px; line-height: 44px; letter-spacing: 0; }
.typewriter { display: inline-flex; align-items: baseline; white-space: pre; color: var(--ink); }
.typewriter__text { color: var(--ink); }
.typewriter__cursor { color: var(--b2); font-weight: 400; margin-left: 1px; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero { align-items: center; text-align: center; gap: 20px; padding: 36px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; color: var(--b3); border: 1px solid var(--b3); border-radius: 99px; padding: 7px 14px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--b3); }
.hero-sub { margin: 0; max-width: 36ch; font-size: 16px; line-height: 26px; color: var(--ink-soft); }
.btn.btn--primary { width: auto; min-width: 200px; padding: 0 32px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); border-color: var(--ink); color: var(--b1); font-weight: 600; }
.btn.btn--primary:hover { background: var(--b6); border-color: var(--b6); color: var(--b1); }
.btn.btn--solid { display: flex; align-items: center; justify-content: center; text-decoration: none; background: var(--ink); border-color: var(--ink); color: var(--b1); font-weight: 600; }
.btn.btn--solid:hover { background: var(--b6); border-color: var(--b6); color: var(--b1); }
#contact { scroll-margin-top: 112px; }

.p { margin: 0; font-weight: 400; font-size: 16px; line-height: 28px; letter-spacing: 0.5px; color: var(--ink); }
.h { margin: 0; font-weight: 700; font-size: 36px; line-height: 44px; letter-spacing: 0; color: var(--ink); }

.hero-image { width: 100%; height: 480px; border-radius: 40px; background-image: url("assets/hero.png"); background-size: cover; background-position: center; background-repeat: no-repeat; }

.features { padding: 36px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.feature { display: flex; align-items: flex-start; gap: 16px; }
.feature__icon { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--b3); color: var(--ink); }
.feature__icon svg { width: 22px; height: 22px; }
.feature__text { display: flex; flex-direction: column; gap: 3px; padding-top: 2px; }
.feature__title { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.feature__desc { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-soft); }

.contact { gap: 24px; padding: 36px; border-color: var(--b4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.contact-head { display: flex; flex-direction: column; gap: 16px; }

.btn {
  width: 100%;
  height: 56px;
  border: 1px solid var(--b3);
  border-radius: 28px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.btn:hover { border-color: var(--b5); background: color-mix(in srgb, var(--b3) 10%, transparent); }
.btn:active { transform: translateY(0.5px); }
.btn:disabled { cursor: default; opacity: 0.7; }

a:focus-visible, .btn:focus-visible, .logostack__cta:focus-visible { outline: 2px solid var(--b5); outline-offset: 2px; }

.footer { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px 8px; text-align: center; }
.footer a { color: var(--ink-soft); text-decoration: none; font-size: 14px; transition: color 160ms ease; }
.footer a:hover { color: var(--ink); }
.footer__links { display: flex; gap: 22px; }
.footer__copy { margin: 0; font-size: 13px; color: var(--ink-soft); }

.reveal { opacity: 0; transform: translateY(12px); animation: rise 560ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.column .reveal:nth-child(1) { animation-delay: 60ms; }
.column .reveal:nth-child(2) { animation-delay: 140ms; }
.column .reveal:nth-child(3) { animation-delay: 220ms; }
.column .reveal:nth-child(4) { animation-delay: 300ms; }
.column .reveal:nth-child(5) { animation-delay: 380ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (min-width: 768px) {
  .logostack { width: min(640px, calc(100% - 24px)); }
  .column { max-width: 640px; }
}

@media (max-width: 520px) {
  .page { padding: 116px 14px 64px; }
  .card { border-radius: 36px; }
  .card[style]:not(.card--image) { padding: 28px !important; }
  .hero { padding: 28px; }
  .features { padding: 28px; }
  .contact { padding: 28px; }
  .hero-pay, .typewriter, .typewriter__text, .h { font-size: 30px; line-height: 38px; }
  .hero-line { min-height: 38px; }
  .hero-image { height: auto; aspect-ratio: 1 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter__cursor { animation: none; }
  .reveal { opacity: 1; transform: none; animation: none; }
}
