:root {
  --ink: #14171c;
  --ink-2: #1e232b;
  --paper: #f2efe7;
  --paper-2: #e7e1d2;
  --stamp: #b8432b;
  --stamp-dark: #96351f;
  --green: #4f7a5b;
  --muted: #8b93a0;
  --ink-text: #20242b;
  --line: rgba(242, 239, 231, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Work Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

.display {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.nav-name {
  white-space: nowrap;
}

.nav-mono-tag {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--paper);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-back,
.nav-page {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--muted);
}

.nav-cta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--stamp);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow.center {
  justify-content: center;
}

.eyebrow.dark {
  color: var(--stamp-dark);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.hero {
  padding: 40px 0 100px;
}

.page-hero {
  padding: 60px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
  margin-bottom: 22px;
}

.page-hero h1 {
  max-width: 720px;
}

.accent {
  color: var(--stamp);
}

.hero .sub,
.page-hero p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 34px;
}

.page-hero p {
  font-size: 16.5px;
  margin-bottom: 0;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.5px;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  background: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--stamp);
  color: var(--paper);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 67, 43, 0.35);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--paper);
}

.btn-on-paper {
  border: 1px solid rgba(32, 36, 43, 0.25);
  color: var(--ink-text);
}

.tag-wrap {
  display: flex;
  justify-content: center;
}

.tag {
  position: relative;
  width: 290px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.tag svg {
  width: 100%;
  display: block;
}

.tag-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px 0 0 22px;
}

.tag-number {
  font-family: "Archivo Black", sans-serif;
  font-size: 34px;
  color: var(--ink);
  line-height: 1;
}

.tag-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: var(--stamp-dark);
  margin-top: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: #6b6455;
  margin-top: 4px;
}

.tag-string {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  width: 2px;
  height: 40px;
  background: linear-gradient(var(--muted), transparent);
}

.paper-section,
.flex-section,
.how-section {
  background: var(--paper);
  color: var(--ink-text);
  padding: 90px 0;
}

.flex-section,
.how-section {
  padding: 100px 0;
}

.section-head {
  max-width: 560px;
  margin-bottom: 50px;
}

.section-head h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
}

.ledger {
  border-top: 1px solid rgba(32, 36, 43, 0.15);
}

.ledger-head,
.ledger-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.ledger-head {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8371;
  padding-bottom: 14px;
}

.ledger-row {
  padding: 22px 0;
  border-bottom: 1px solid rgba(32, 36, 43, 0.15);
}

.ledger-mark {
  font-family: "IBM Plex Mono", monospace;
  color: var(--stamp);
  font-size: 15px;
}

.ledger-before {
  font-size: 15px;
  color: #6b6455;
}

.ledger-before::before {
  content: "✕ ";
  color: var(--stamp);
}

.ledger-after {
  font-size: 15px;
  font-weight: 600;
}

.ledger-after::before {
  content: "✓ ";
  color: var(--green);
}

.demo-section {
  padding: 100px 0;
}

.demo-section .section-head h2 {
  color: var(--paper);
}

.demo-frame {
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-2);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a4150;
}

.browser-url {
  margin-left: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  background: var(--ink);
  padding: 6px 14px;
  border-radius: 6px;
  flex: 1;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-body {
  padding: 60px 40px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 67, 43, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(79, 122, 91, 0.08), transparent 40%);
}

.demo-body h3 {
  font-family: "Archivo Black", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.demo-body p {
  color: var(--muted);
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto 26px;
  line-height: 1.6;
}

.demo-mock-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 520px;
  margin: 0 auto 30px;
}

.demo-mock-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 10px;
}

.demo-mock-card .n {
  font-family: "IBM Plex Mono", monospace;
  color: var(--green);
  font-size: 18px;
  font-weight: 600;
}

.demo-mock-card .l {
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
  font-size: 10px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.swap-cards {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.mini-tag {
  width: 130px;
  background: #fff;
  border: 1px solid rgba(32, 36, 43, 0.15);
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(32, 36, 43, 0.08);
}

.mini-tag .emoji {
  font-size: 26px;
  margin-bottom: 8px;
}

.mini-tag .t {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #6b6455;
}

.swap-arrow {
  font-family: "IBM Plex Mono", monospace;
  color: var(--stamp);
  font-size: 20px;
}

.flex-copy h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 18px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
}

.flex-copy p {
  color: #5c5647;
  line-height: 1.7;
  font-size: 15.5px;
  margin-bottom: 16px;
}

.case-section {
  padding: 100px 0;
}

.case-section .section-head h2 {
  color: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.receipt {
  width: 100%;
  max-width: none;
  background: var(--paper);
  color: var(--ink-text);
  padding: 38px 32px 30px;
  position: relative;
  clip-path: polygon(
    0% 1.5%,
    3% 0%,
    6% 1.5%,
    9% 0%,
    12% 1.5%,
    15% 0%,
    18% 1.5%,
    21% 0%,
    24% 1.5%,
    27% 0%,
    30% 1.5%,
    33% 0%,
    36% 1.5%,
    39% 0%,
    42% 1.5%,
    45% 0%,
    48% 1.5%,
    51% 0%,
    54% 1.5%,
    57% 0%,
    60% 1.5%,
    63% 0%,
    66% 1.5%,
    69% 0%,
    72% 1.5%,
    75% 0%,
    78% 1.5%,
    81% 0%,
    84% 1.5%,
    87% 0%,
    90% 1.5%,
    93% 0%,
    96% 1.5%,
    99% 0%,
    100% 1.5%,
    100% 98.5%,
    97% 100%,
    94% 98.5%,
    91% 100%,
    88% 98.5%,
    85% 100%,
    82% 98.5%,
    79% 100%,
    76% 98.5%,
    73% 100%,
    70% 98.5%,
    67% 100%,
    64% 98.5%,
    61% 100%,
    58% 98.5%,
    55% 100%,
    52% 98.5%,
    49% 100%,
    46% 98.5%,
    43% 100%,
    40% 98.5%,
    37% 100%,
    34% 98.5%,
    31% 100%,
    28% 98.5%,
    25% 100%,
    22% 98.5%,
    19% 100%,
    16% 98.5%,
    13% 100%,
    10% 98.5%,
    7% 100%,
    4% 98.5%,
    1% 100%,
    0% 98.5%
  );
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.receipt-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--stamp-dark);
  text-align: center;
  margin-bottom: 4px;
}

.receipt-title {
  font-family: "Archivo Black", sans-serif;
  text-align: center;
  font-size: 19px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.receipt-divider {
  border-top: 1px dashed rgba(32, 36, 43, 0.3);
  margin: 18px 0;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  padding: 6px 0;
}

.receipt-row .k {
  color: #6b6455;
}

.receipt-row .v {
  font-weight: 600;
  text-align: right;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  font-weight: 700;
  margin-top: 14px;
  color: var(--stamp-dark);
}

.receipt-note {
  font-size: 13px;
  color: #6b6455;
  line-height: 1.6;
  margin-top: 20px;
}

.shot {
  margin: 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shot-media {
  position: relative;
  background: #11141a;
}

.shot-media img {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.zoom-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(20, 23, 28, 0.82);
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.zoom-btn:hover {
  background: var(--stamp);
}

.shot figcaption,
.shot-legal {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.shot figcaption {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.shot-legal {
  margin-top: 18px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 9, 12, 0.92);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--paper);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

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

.how-step {
  padding-top: 20px;
  border-top: 2px solid var(--stamp);
}

.how-num {
  font-family: "IBM Plex Mono", monospace;
  color: var(--stamp);
  font-size: 13px;
  margin-bottom: 12px;
}

.how-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.how-step p {
  font-size: 14.5px;
  color: #6b6455;
  line-height: 1.6;
}

.how-addon {
  margin: 40px 0 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: #6b6455;
}

.how-addon a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--stamp-dark);
  margin-left: 6px;
}

.price-section {
  padding: 100px 0;
}

.price-section .section-head h2 {
  color: var(--paper);
}

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

.price-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 22px 26px;
  background: var(--ink-2);
}

.price-card.featured {
  border-color: var(--stamp);
  box-shadow: 0 16px 40px rgba(184, 67, 43, 0.18);
}

.price-kind {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--stamp);
  margin-bottom: 14px;
}

.price-amount {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1;
  margin-bottom: 14px;
}

.price-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.price-note {
  margin-top: 28px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.footer {
  padding: 110px 0 60px;
  text-align: center;
}

.footer h2 {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  line-height: 1.1;
}

.footer p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 36px;
  font-size: 15.5px;
  line-height: 1.6;
}

.footer-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-status {
  min-height: 1.4em;
  margin-top: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--green);
}

.footer-bottom {
  margin-top: 90px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.feat {
  padding: 80px 0;
}

.feat.on-paper {
  background: var(--paper);
  color: var(--ink-text);
}

.feat-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.feat-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--stamp);
  margin-bottom: 14px;
}

.on-paper .feat-num {
  color: var(--stamp-dark);
}

.feat h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 14px;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
}

.lede {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.on-paper .lede {
  color: #5c5647;
}

.detail-list {
  display: flex;
  flex-direction: column;
}

.detail-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.on-paper .detail-row {
  border-top: 1px solid rgba(32, 36, 43, 0.15);
}

.detail-row:last-child {
  border-bottom: 1px solid var(--line);
}

.on-paper .detail-row:last-child {
  border-bottom: 1px solid rgba(32, 36, 43, 0.15);
}

.detail-mark {
  font-family: "IBM Plex Mono", monospace;
  color: var(--green);
  font-size: 14px;
}

.detail-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.detail-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.on-paper .detail-desc {
  color: #6b6455;
}

.stat-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 22px;
}

.on-paper .stat-tag {
  background: #fff;
  border-color: rgba(32, 36, 43, 0.15);
}

.stat-tag .v {
  font-family: "IBM Plex Mono", monospace;
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
}

.stat-tag .l {
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 760px) {
  .hide-sm {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 16px 18px;
  }

  .nav-brand {
    flex: 1 1 auto;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-page,
  .nav-back {
    font-size: 12px;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .tag-wrap {
    order: -1;
    margin-bottom: 10px;
  }

  .tag {
    width: 220px;
  }

  .ledger-head {
    display: none;
  }

  .ledger-row {
    grid-template-columns: 32px 1fr;
    align-items: start;
    gap: 12px 16px;
  }

  .ledger-after {
    grid-column: 2;
    margin-top: 2px;
  }

  .flex-grid,
  .feat-grid,
  .how-grid,
  .price-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .shot-media img {
    height: 220px;
  }

  .feat-grid {
    gap: 26px;
  }

  .demo-mock-rows {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .demo-body {
    padding: 40px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
