:root {
  --white: #ffffff;
  --black: #000000;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-card: 20px;
  --radius-button: 999px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  background: var(--black);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 600;
}

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

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 96px 32px 120px;
  background:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px),
    var(--white);
  background-size: 48px 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  margin-left: calc((100vw - min(var(--max), calc(100vw - 64px))) / 2);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.inverted {
  color: var(--gray-400);
}

.hero h1 {
  margin: 0;
  font-size: 92px;
  line-height: 0.96;
  font-weight: 900;
}

.hero-copy {
  max-width: 610px;
  margin-top: 28px;
  color: var(--gray-700);
  font-size: 24px;
  line-height: 1.32;
  font-weight: 500;
}

.hero-actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--black);
  border-radius: var(--radius-button);
  font-size: 15px;
  font-weight: 700;
}

.button.primary {
  background: var(--black);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--black);
}

.button.light {
  margin-top: 8px;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.product-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.phone-shell {
  position: absolute;
  right: max(32px, calc((100vw - var(--max)) / 2));
  bottom: 56px;
  width: 330px;
  min-height: 610px;
  padding: 18px;
  border: 2px solid var(--black);
  border-radius: 36px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
  transform: rotate(2deg);
}

.phone-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 4px 22px;
  color: var(--gray-400);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.phone-top span:nth-child(2) {
  color: var(--black);
}

.phone-panel,
.goal-strip {
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  background: var(--gray-50);
}

.phone-panel {
  padding: 24px;
}

.phone-panel h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.1;
}

.micro {
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.amount {
  margin: 30px 0;
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
}

.transaction,
.goal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.transaction {
  padding: 14px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}

.action-row span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-weight: 700;
}

.action-row span:nth-child(2) {
  background: var(--black);
  color: var(--white);
}

.goal-strip {
  margin-top: 16px;
  padding: 18px;
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 96px 0;
}

.intro-band,
.black-band {
  width: 100%;
  padding: 96px max(32px, calc((100vw - var(--max)) / 2));
}

.intro-band {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.black-band {
  background: var(--black);
  color: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

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

h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
}

h3 {
  margin: 0;
}

.lead-stack {
  display: grid;
  gap: 18px;
  color: var(--gray-700);
  font-size: 20px;
  line-height: 1.45;
}

.black-band .lead-stack {
  color: var(--gray-300);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps article,
.faq-card,
.faq-list a {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  background: var(--white);
}

.steps article {
  min-height: 230px;
  padding: 28px;
}

.step-number {
  display: block;
  margin-bottom: 36px;
  color: var(--gray-400);
  font-size: 12px;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.steps p {
  color: var(--gray-600);
}

.faq-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.faq-card {
  min-height: 148px;
  padding: 22px;
}

.faq-card span,
.faq-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-card strong,
.faq-list strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.page-hero {
  width: min(920px, calc(100% - 64px));
  margin: 0 auto;
  padding: 88px 0 54px;
}

.page-hero.compact h1,
.page-hero.question h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.04;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
  color: var(--gray-600);
  font-size: 20px;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 700;
}

.faq-index {
  padding-top: 32px;
}

.faq-group {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--gray-200);
}

.faq-group h2 {
  font-size: 24px;
  line-height: 1.2;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.faq-list a {
  min-height: 118px;
  padding: 20px;
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 56px;
  align-items: start;
  padding-top: 22px;
}

.faq-article {
  font-size: 19px;
  line-height: 1.62;
}

.faq-article h2,
.faq-article h3,
.faq-article h4 {
  margin: 44px 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.faq-article p,
.faq-article ul,
.faq-article ol,
.faq-article blockquote {
  margin: 0 0 22px;
}

.faq-article ul,
.faq-article ol {
  padding-left: 24px;
}

.faq-article li + li {
  margin-top: 8px;
}

.faq-article blockquote {
  padding: 22px;
  border: 1px solid var(--black);
  border-radius: var(--radius-card);
  background: var(--black);
  color: var(--white);
  font-weight: 700;
}

.faq-article code {
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--gray-100);
  font-family: var(--font-sans);
  font-size: 0.95em;
}

.related {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  background: var(--gray-50);
}

.related a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 32px;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
}

.footer-wordmark {
  color: var(--black);
}

.site-footer p {
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .hero-content {
    margin-left: 0;
  }

  .product-scene {
    position: relative;
    min-height: 540px;
    margin-top: 42px;
    order: 2;
  }

  .hero {
    display: block;
  }

  .phone-shell {
    right: auto;
    left: 50%;
    bottom: auto;
    top: 0;
    transform: translateX(-50%) rotate(1deg);
  }

  .section-grid,
  .steps,
  .faq-preview,
  .faq-group,
  .faq-list,
  .article-wrap {
    grid-template-columns: 1fr;
  }

  .related {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    padding: 58px 20px 84px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .phone-shell {
    width: min(320px, calc(100vw - 40px));
  }

  .section,
  .page-hero {
    width: calc(100% - 40px);
  }

  .intro-band,
  .black-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding: 68px 0;
  }

  h2,
  .page-hero.compact h1,
  .page-hero.question h1 {
    font-size: 38px;
  }

  .site-footer {
    display: grid;
    padding: 34px 20px;
  }
}
