:root {
  --brand: #0a1a2f;
  --mint: #2cc7b4;
  --ink: #0a1a2f;
  --muted: #5a6b7a;
  --foam: #f4f8fa;
  --leaf: #1fb3a0;
  --silver: #c9e3f0;
  --surface: rgba(255, 255, 255, 0.84);
  --font-display: "Inter", "SF Pro Text", system-ui, sans-serif;
  --font-body: "Inter", "SF Pro Text", system-ui, sans-serif;
  --font-mono: "Roboto Mono", "SF Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  position: relative;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, #c9e3f0 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(44, 199, 180, 0.28) 0%, transparent 45%),
    linear-gradient(165deg, #f7fbfd 0%, #e8f1f6 42%, #d4e8f0 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 14px,
    rgba(10, 26, 47, 0.03) 14px,
    rgba(10, 26, 47, 0.03) 15px
  );
}

.top {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
}

.mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mark img {
  display: block;
  height: 24px;
  width: auto;
}

.one {
  color: var(--mint);
}

.hero {
  position: relative;
  min-height: calc(100svh - 4rem);
  display: grid;
  align-items: end;
  gap: 2.5rem;
  padding: 1rem 1.5rem 3.5rem;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -6%;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  background:
    radial-gradient(circle at 50% 50%, rgba(10, 26, 47, 0.06) 0%, transparent 68%),
    url("/brand/symbol-dual-flow.svg") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  transform: rotate(-8deg);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 2rem 4vw 4rem;
  }
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--brand);
}

.brand-lockup {
  display: block;
  width: min(180px, 42vw);
  height: auto;
  margin: 0;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.btn.primary {
  background: var(--mint);
  color: #ffffff;
}

.btn.ghost {
  background: transparent;
  color: var(--brand);
  box-shadow: inset 0 0 0 1.5px rgba(10, 26, 47, 0.28);
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-visual {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ledger {
  width: min(100%, 360px);
  display: grid;
  gap: 0.65rem;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--mint);
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(10, 26, 47, 0.08);
}

.ledger-row .amount,
.amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ledger-row.in {
  border-left-color: var(--muted);
}

.ledger-row.aware {
  border-left-color: var(--mint);
}

.ledger-row.settle {
  border-left-color: var(--brand);
}

.section {
  padding: 4.5rem 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--brand);
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.6;
}

.modes {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .modes {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.modes h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand);
}

.modes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.closing {
  padding-bottom: 5rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.store-badge {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 9.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  opacity: 0.72;
  pointer-events: none;
}

.store-badge-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--silver);
}

.store-badge-title {
  font-weight: 600;
  font-size: 1rem;
}

.store-note {
  margin-top: 1.25rem;
  color: var(--ink);
  line-height: 1.55;
}

.store-note code {
  font-size: 0.9em;
  background: rgba(10, 26, 47, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.foot a {
  color: var(--mint);
}

.foot-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  text-decoration: none;
}

.foot-mark img {
  display: block;
}

html.motion .brand,
html.motion .brand-lockup {
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.motion .lede,
html.motion .cta {
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

html.motion .ledger-row {
  animation: slide 750ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.motion .ledger-row:nth-child(1) {
  animation-delay: 180ms;
}

html.motion .ledger-row:nth-child(2) {
  animation-delay: 280ms;
}

html.motion .ledger-row:nth-child(3) {
  animation-delay: 380ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
