:root {
  --bg: #000000;
  --bg-raised: #000000;
  --surface: #000000;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.32);
  --text: #f5f5f5;
  --soft: #d4d4d4;
  --muted: #a3a3a3;
  --cyan: #8be9fd;
  --ink: #000000;
  --coral: #ff986f;
  --serif: "IBM Plex Serif", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000000;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cyan);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #ffffff;
  color: #000000;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  z-index: 10;
}

.skip:focus {
  top: 1rem;
}

.shell {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #000000;
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

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

.wordmark span {
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
}

.lede {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--soft);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid transparent;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.button-primary {
  background: #ffffff;
  color: #000000;
}

.button-primary:hover {
  color: #000000;
  background: #e8e8e8;
  transform: translateY(-2px);
}

.button-quiet {
  border-color: var(--line-strong);
  color: var(--text);
}

.button-quiet:hover {
  border-color: var(--cyan);
  color: var(--text);
  transform: translateY(-2px);
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.app-icon {
  width: clamp(88px, 14vw, 128px);
  height: auto;
  border-radius: 28%;
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature h2,
.section h2,
.page-title {
  margin: 0.35rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.feature p,
.prose p {
  color: var(--soft);
}

.feature .summary {
  max-width: 38rem;
  margin: 0.8rem 0 0;
}

.text-link {
  display: inline-flex;
  margin-top: 0.4rem;
  color: var(--cyan);
  font-weight: 500;
  text-decoration: none;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: clamp(3rem, 7vw, 5.5rem) 0 1rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.principle {
  background: var(--bg-raised);
  padding: 1.4rem 1.35rem 1.5rem;
}

.principle strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(3rem, 8vw, 6rem);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--soft);
}

.page {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem;
}

.page-intro {
  max-width: 40rem;
}

.page-intro p {
  color: var(--soft);
  font-size: 1.15rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: 2.5rem;
}

.phone {
  background: #000000;
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  padding: 1.15rem 1rem 1.25rem;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.balance-label {
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.balance {
  margin: 0.15rem 0 0.9rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.metric {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.75rem 0.8rem;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.metric strong {
  font-weight: 500;
}

.metric.spent strong {
  color: var(--coral);
}

.metric.income strong {
  color: var(--cyan);
}

.txns {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.txns li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.glyph {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: #111111;
}

.txns small {
  display: block;
  color: var(--muted);
}

.amount {
  font-variant-numeric: tabular-nums;
}

.caption {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.stack {
  display: grid;
  gap: 1.5rem;
}

.panel {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.asks {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.asks li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem 1rem 1rem;
}

.asks q {
  display: block;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.asks p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.note {
  margin-top: 0.5rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: #000000;
  border: 1px solid var(--line);
}

.note p {
  margin: 0.35rem 0 0;
}

.callout {
  margin: 1.5rem 0 2rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.callout p {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2.2rem 0 0.5rem;
  font-size: 1.85rem;
}

.prose ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  color: var(--soft);
}

.prose li + li {
  margin-top: 0.35rem;
}

@media (max-width: 800px) {
  .principles,
  .product-layout,
  .feature {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-header,
.hero > *,
.feature,
.principle,
.page-intro > *,
.phone,
.stack > *,
.asks li,
.prose > .eyebrow,
.prose > h1,
.prose > .callout {
  animation: enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero > *:nth-child(1) {
  animation-delay: 0.08s;
}
.hero > *:nth-child(2) {
  animation-delay: 0.18s;
}
.hero > *:nth-child(3) {
  animation-delay: 0.3s;
}
.hero > *:nth-child(4) {
  animation-delay: 0.42s;
}

.feature {
  animation-delay: 0.52s;
  transition: border-color 0.25s ease;
}

.feature:hover {
  border-color: var(--line-strong);
}

.app-icon {
  transition: transform 0.35s ease;
}

.feature:hover .app-icon {
  transform: scale(1.05);
}

.principle:nth-child(1) {
  animation-delay: 0.62s;
}
.principle:nth-child(2) {
  animation-delay: 0.74s;
}
.principle:nth-child(3) {
  animation-delay: 0.86s;
}

.page-intro > *:nth-child(1) {
  animation-delay: 0.06s;
}
.page-intro > *:nth-child(2) {
  animation-delay: 0.16s;
}
.page-intro > *:nth-child(3) {
  animation-delay: 0.28s;
}

.phone {
  animation-delay: 0.34s;
}

.stack > *:nth-child(1) {
  animation-delay: 0.42s;
}
.stack > *:nth-child(2) {
  animation-delay: 0.54s;
}
.stack > *:nth-child(3) {
  animation-delay: 0.66s;
}

.asks li:nth-child(1) {
  animation-delay: 0.5s;
}
.asks li:nth-child(2) {
  animation-delay: 0.6s;
}
.asks li:nth-child(3) {
  animation-delay: 0.7s;
}
.asks li:nth-child(4) {
  animation-delay: 0.8s;
}

.prose > h1 {
  animation-delay: 0.12s;
}
.prose > .callout {
  animation-delay: 0.24s;
}

.text-link {
  transition: color 0.2s ease;
}

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

  .site-header,
  .hero > *,
  .feature,
  .principle,
  .page-intro > *,
  .phone,
  .stack > *,
  .asks li,
  .prose > .eyebrow,
  .prose > h1,
  .prose > .callout,
  .app-icon,
  .button {
    animation: none;
    transition: none;
  }
}
