/* ArcTip — marketing site
   Visual language deliberately mirrors arc.io's institutional register:
   white ground, one navy band, a single amber accent, tight-tracked light-weight display type.
   Single committed theme — no light/dark toggle, by design. */

@font-face {
  font-family: "Space Grotesk";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/space-grotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("fonts/space-grotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/dm-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("fonts/dm-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("fonts/dm-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/space-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("fonts/space-mono-700.woff2") format("woff2");
}

:root {
  --paper: #FFFFFF;
  --ink: #0A0A0A;
  --slate-600: #41464C;
  --slate-400: #676E7C;
  --mist-200: #DCE3E9;
  --mist-100: #EEF2F5;
  --navy-900: #14264A;
  --navy-800: #1B3158;
  --navy-700: #274270;
  --gold-500: #C9832A;
  --gold-600: #A4691D;
  /* Dark enough to clear WCAG AA (5.3:1) on the --mist-100 panels;
     --gold-600 lands at 4.0:1 there and fails. */
  --gold-700: #8C5818;
  --gold-100: #FBEBD2;
  --line: rgba(10, 10, 10, 0.12);
  --line-on-navy: rgba(255, 255, 255, 0.16);

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", Menlo, Consolas, monospace;

  --container: 1140px;
  --section-pad: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }
/* `hidden` must win over any component that sets its own display. Without this,
   .btn's `display: inline-flex` outranks the user-agent [hidden] rule and every
   button marked hidden stays on screen. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 400; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
p a, .lead a, .hint a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--line);
}
p a:hover, .lead a:hover, .hint a:hover { text-decoration-color: currentColor; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Eyebrow — bracketed mono label, the one recurring structural device */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: "{ "; }
.eyebrow::after { content: " }"; }
.on-navy .eyebrow { color: var(--gold-500); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.05rem;
}
.brand-arc {
  font-family: var(--font-mono);
  color: var(--gold-600);
  letter-spacing: 0.04em;
}
.brand-sep { color: var(--mist-200); }
.brand-tip {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--slate-600);
}
.nav-links a:hover { color: var(--ink); }

/* Buttons — square-ish radius, solid ink, matches the reference's plain fintech buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: #2b2b2b; }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--slate-400); }
.on-navy .btn-primary {
  background: var(--paper);
  color: var(--navy-900);
}
.on-navy .btn-primary:hover { background: var(--mist-100); }
.on-navy .btn-outline {
  border-color: var(--line-on-navy);
  color: var(--paper);
}
.on-navy .btn-outline:hover { border-color: rgba(255,255,255,0.4); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* Hero — navy band, light-weight tight-tracked display type, mirrors arc.io's register */
.hero {
  background: var(--navy-900);
  color: var(--paper);
  padding: var(--section-pad) 0 calc(var(--section-pad) * 0.8);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-transform: uppercase;
  max-width: 16ch;
}
.hero .lead {
  margin-top: 24px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #B9C3D6;
  max-width: 46ch;
}
.hero .cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Spec strip — plain hairline row, no receipt/ticket cosplay */
.spec-strip {
  margin-top: 64px;
  border-top: 1px solid var(--line-on-navy);
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.spec-strip dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7E8CA8;
}
.spec-strip dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

/* Sections */
.section { padding: var(--section-pad) 0; }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.01em;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* How it works — flat spec-sheet list, not chunky step badges */
.steps {
  display: flex;
  flex-direction: column;
}
.step {
  display: grid;
  grid-template-columns: 56px 220px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: none; }
.step .idx {
  font-family: var(--font-mono);
  color: var(--gold-600);
  font-size: 0.9rem;
}
.step h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.step p { color: var(--slate-600); font-size: 0.95rem; }

/* Transaction record — restrained ledger card, replaces the tip-jar receipt gimmick */
.tx-card {
  margin-top: 40px;
  max-width: 460px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.tx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--mist-100);
  border-bottom: 1px solid var(--line);
}
.tx-head .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}
.tx-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #2E7D4F;
}
.tx-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #2E7D4F; }
.tx-body { padding: 20px; }
.tx-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.tx-row:last-child { border-bottom: none; }
.tx-row .k { color: var(--slate-400); }
.tx-row .v { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tx-row .amount { font-size: 1.1rem; font-weight: 700; }

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pricing-card {
  padding: 32px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
}
.pricing-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Roadmap */
.roadmap { border-top: 1px solid var(--line); }
.phase {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.phase .when {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold-600);
  text-transform: uppercase;
}
.phase h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
}
.phase p {
  margin-top: 8px;
  font-size: 0.98rem;
  color: var(--slate-600);
  max-width: 60ch;
}

/* Closing band */
.cta-band {
  background: var(--navy-900);
  color: var(--paper);
  padding: var(--section-pad) 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0 auto;
}
.cta-band p {
  margin: 18px auto 0;
  max-width: 46ch;
  color: #B9C3D6;
  font-size: 1.02rem;
}
.cta-band .cta-row { justify-content: center; margin-top: 30px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .fine {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--slate-400);
  max-width: 56ch;
}
.site-footer .social a {
  font-size: 0.88rem;
  color: var(--slate-600);
}
.site-footer .social a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 6px; }
  .step { grid-template-columns: 32px 1fr; }
  .step p { grid-column: 2; }
}
@media (max-width: 640px) {
  /* Don't drop the nav on mobile — wrap it under the brand instead, so the
     sections stay reachable without building a hamburger menu for three links. */
  .nav .wrap { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
  .nav-links {
    order: 3;
    width: 100%;
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .nav-links a { font-size: 0.86rem; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
}

/* App screens — claim a handle, send a tip */
.app-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 4vw, 40px) 100px;
}
.app-shell .eyebrow { display: block; }
.app-shell h1 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: -0.01em;
}
.app-shell .lead {
  margin-top: 12px;
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.6;
}

.card {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
}
.card + .card { margin-top: 20px; }
.card h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
}
.card .hint {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--slate-400);
}

.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--mist-100);
}
.wallet-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #2E7D4F; }

.field { margin-top: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 8px;
}
.field-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.field-row .prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--mist-100);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--slate-400);
  border-right: 1px solid var(--line);
}
.field-row input, .field-row textarea {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  outline: none;
  min-width: 0;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:not(.field-row input), .field textarea:not(.field-row textarea) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}
.field input:focus-visible, .field textarea:focus-visible, .field-row:focus-within {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
}

.amount-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.amount-btn {
  padding: 12px 0;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  background: var(--paper);
  cursor: pointer;
}
.amount-btn:hover { border-color: var(--slate-400); }
.amount-btn.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.state-msg {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.state-msg.info { background: var(--mist-100); color: var(--slate-600); }
.state-msg.error { background: #FBEAEA; color: #8A2A2A; }
.state-msg.success { background: #E9F5EE; color: #1E6B3F; }
.state-msg a { text-decoration: underline; }

.copy-row {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.copy-row .field-row { flex: 1; }
.copy-row input { font-family: var(--font-mono); font-size: 0.85rem; color: var(--slate-600); }

.share-heading {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.share-asset { margin-top: 16px; }
.share-asset canvas {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
}
/* Who actually receives the money, shown before the fan signs anything */
.payee {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.payee-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.payee-addr {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink);
  word-break: break-all;
}
.payee-link { font-size: 0.8rem; color: var(--slate-400); text-decoration: underline; }
.payee-link:hover { color: var(--ink); }

.share-note { margin-top: 14px; }
.share-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.share-actions .btn { flex: none; }

@media (max-width: 520px) {
  .share-actions .btn { flex: 1 1 auto; justify-content: center; }
}

.qr-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: center;
}
.qr-block canvas {
  width: 132px;
  height: 132px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  /* keep the modules crisp when the canvas is scaled down for display */
  image-rendering: pixelated;
}
.qr-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.qr-side .hint { margin: 0; }

@media (max-width: 520px) {
  .qr-block { flex-direction: column; align-items: flex-start; }
}

.tip-list { margin-top: 14px; display: flex; flex-direction: column; }
.tip-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.tip-row:first-child { border-top: none; }
.tip-row .who { color: var(--slate-600); }
.tip-row .amt { font-family: var(--font-mono); font-weight: 700; }

.btn-block { width: 100%; justify-content: center; margin-top: 20px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.spinner {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Circle & USDC Branding Badges */
.circle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(39, 117, 202, 0.08);
  border: 1px solid rgba(39, 117, 202, 0.25);
  color: #1A5FA4;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.circle-badge .usdc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2775CA;
  box-shadow: 0 0 8px rgba(39, 117, 202, 0.5);
}
.on-navy .circle-badge {
  background: rgba(39, 117, 202, 0.2);
  border-color: rgba(39, 117, 202, 0.4);
  color: #79B8FF;
}

/* CCTP Cross-Chain Grid */
.cctp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.cctp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cctp-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
}
/* Status tags — what is actually shipped versus what is only written.
   Both pairs clear WCAG AA at this small size (6.8:1 and 5.9:1). */
.status-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-tag.is-live {
  background: #E4F0E9;
  color: #1E5C39;
}
.status-tag.is-building {
  background: var(--gold-100);
  color: #7E4F14;
}

.cctp-card .cctp-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.cctp-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cctp-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Embeddable Widget Generator */
.widget-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.snippet-box {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy-900);
  color: #E2E8F0;
  padding: 14px;
  position: relative;
  overflow-x: auto;
}
.snippet-box code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-all;
  color: #93C5FD;
}
.snippet-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

/* Widget Embed Button Styling */
.arctip-widget-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-900);
  color: var(--paper);
  border: 1px solid var(--gold-500);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(20, 38, 74, 0.15);
}
.arctip-widget-btn:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 38, 74, 0.25);
  color: var(--paper);
}
.arctip-widget-btn .symbol {
  color: var(--gold-500);
  font-weight: 700;
}

/* Wallet choice — browser wallet or passkey */
.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}


/* Pay with — the fan's choice of wallet on the tip page */
.pay-with { margin-top: 28px; }
.pay-with h2 { margin-bottom: 0; }
/* .btn-block carries its own top margin for standalone use; inside the stack
   the flex gap does the spacing, so cancel it to keep the rhythm even. */
.wallet-options .btn-block { margin-top: 0; }

.wallet-summary {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--mist-100);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.wallet-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 7px 0;
  font-size: 0.95rem;
}
.wallet-summary-row .k { color: var(--slate-400); }
.wallet-summary-row .v {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
/* The whole promise of the paymaster, in one row — worth the accent. */
.wallet-summary-row .gas-sponsored {
  color: var(--gold-700);
  font-weight: 700;
}
.btn-link {
  margin-top: 10px;
  padding: 0;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.9rem;
  color: var(--slate-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.btn-link:hover { color: var(--ink); }

/* Message length counter. The contract caps the note at 280 *bytes*, and a
   browser maxlength counts UTF-16 units — so an accented or emoji-heavy note
   passes the field and then reverts on-chain, after the fan has signed and
   paid gas. This counts what the contract counts. */
.char-count {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-400);
  text-align: right;
}
.char-count.is-over { color: #8C1D18; font-weight: 700; }
