:root {
  --ink: #191b19;
  --paper: #f6f5ed;
  --lime: #d5f891;
  --lilac: #d8c9f3;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, select, a { touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a977eb; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 18px; color: var(--ink); background: var(--lime); }
.shell { width: min(1160px, 90%); margin-inline: auto; }
.mast { color: var(--paper); background: var(--ink); border-bottom: 1px solid #41443d; }
.bar, .foot-row, .brand, nav, .hero-actions, .button, .receipt-head, .stamp, .trade, .quote dt, .release-status { display: flex; align-items: center; }
.bar, .foot-row { justify-content: space-between; gap: 16px; }
.bar { min-height: 76px; }
.brand { width: max-content; gap: 9px; font-size: 25px; line-height: 1; font-weight: 750; letter-spacing: -1.6px; }
.brand img { display: block; }
nav { gap: clamp(18px, 3vw, 38px); font-size: 14px; }
nav a:hover, .underlink:hover, .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-install { border: 1px solid #7a7f71; border-radius: 100px; padding: 7px 16px; }
.nav-install span { margin-left: 8px; color: var(--lime); }
.hero, .doc-page { background: var(--ink); color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 65px); align-items: center; padding-block: clamp(45px, 5.3vw, 83px); }
.eyebrow, .micro, .stamp, .compat, .trade, .quote, .release-status { font-family: var(--mono); }
.eyebrow { font-size: 12px; font-weight: 500; line-height: 1.6; }
.title-kicker { display: flex; gap: 10px; align-items: center; color: #d0d3c7; }
.title-kicker::before { content: ""; width: 21px; height: 2px; background: var(--lime); flex-shrink: 0; }
.headline { font-size: clamp(61px, 6.6vw, 100px); line-height: .98; letter-spacing: -.073em; font-weight: 550; margin-block: 24px; }
.headline em, .doc-intro em { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-weight: 400; color: var(--lime); letter-spacing: -.065em; }
.lead { max-width: 455px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.52; color: #c1c5b9; }
.hero-actions { flex-wrap: wrap; gap: 23px; margin-top: 29px; }
.button { width: fit-content; justify-content: center; gap: 21px; padding: 13px 21px; border: 0; border-radius: 6px; font-weight: 630; font-size: 15px; }
.button span { font-size: 18px; line-height: 1; }
.lime { background: var(--lime); color: var(--ink); }
.lime:hover { background: #e4ffac; }
.underlink, .card-link { font-size: 14px; font-weight: 590; }
.underlink span, .card-link span { margin-left: 5px; }
.compat { margin-top: 16px; color: #acb3a0; font-size: 11px; }
.compat b { color: #79816f; font-weight: 400; margin-inline: 4px; }
.demo-stage { isolation: isolate; position: relative; display: grid; place-items: center; min-width: 0; padding: 28px 28px 38px; }
.demo-stage::before {
  content: ""; position: absolute; inset: 0 -3%; z-index: -1;
  background-image: radial-gradient(#96a28e 1px, transparent 1px);
  background-size: 13px 13px; opacity: .56;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 76%);
}
.paper-shadow { width: min(100%, 365px); transform: rotate(3deg); filter: drop-shadow(9px 15px 0 #10120fc9); }
.receipt {
  --paper-edge: 7px;
  position: relative; padding: 22px 24px 28px; color: #282130;
  background-color: var(--lilac); background-image: url("grain.png");
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--paper-edge)) no-repeat,
    conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom / 14px var(--paper-edge) repeat-x;
}
.receipt-head { justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed #82758f; }
.mini-mark { display: block; width: 30px; height: 28px; font: bold 24px/1 var(--mono); }
.receipt-head h2 { font: 600 12px/1.2 var(--mono); }
.receipt-value { padding-top: 20px; }
.micro { color: #564965; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.balance { display: block; color: #211e24; font: 620 clamp(39px, 4.4vw, 63px)/1.1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.075em; }
.stamp { width: max-content; margin: 8px 0; border: 1px solid #685979; border-radius: 3px; padding: 2px 6px; font-size: 11px; font-weight: 670; line-height: 1.4; letter-spacing: .065em; }
.plot { height: 75px; margin-block: 12px; }
canvas { width: 100%; height: 100%; display: block; }
.quote { border-top: 1px dashed #82758f; border-bottom: 1px dashed #82758f; padding-block: 9px; font-size: 12px; }
.quote > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.quote dt { gap: 7px; }
.quote dd { font-weight: bold; }
.key { width: 12px; display: inline-block; border-top: 2px dashed #6f627e; }
.key.gap { border-top: 2px solid #44364b; }
.trade { gap: 7px; padding-top: 12px; font-size: 11px; }
.trade > span { flex: 1; }
.trade button { appearance: none; color: #312537; background: #eee5f8; border: 1px solid #86788d; border-radius: 4px; padding: 4px 7px; font-weight: 600; }
.trade button:hover { background: white; }
.trade button:disabled { opacity: .5; cursor: default; }
.light-section, .support-section { background: var(--paper); }
.light-section { padding-block: clamp(45px, 6vw, 82px); }
.section-title { font-size: clamp(36px, 4.2vw, 62px); font-weight: 550; letter-spacing: -.065em; line-height: 1.05; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3.3vw, 48px); margin-top: 32px; }
.steps li { counter-increment: step; border-top: 1px solid #aaafa0; padding-top: 16px; }
.steps li::before, .install-steps li::before { content: counter(step, decimal-leading-zero); font: 12px/1.4 var(--mono); color: #67695e; }
.steps h3, .install-steps h3 { font-size: 20px; line-height: 1.22; letter-spacing: -.035em; font-weight: 610; margin: 10px 0 7px; }
.steps p, .support-grid p, .install-steps p, .prose p, .permissions dd { color: #50554b; }
.support-section { padding-block: clamp(38px, 5vw, 70px); border-top: 1px solid #cdd0c1; background: #e6ebdb; }
.support-grid { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 8%; }
.support-grid > div > p { margin-top: 13px; max-width: 430px; }
.support-panel { min-width: 0; border-left: 2px solid #8a937c; padding: 9px 0 9px 22px; }
.support-panel #no-address { margin: 0; }
.selectors { display: flex; flex-wrap: wrap; gap: 12px; }
.selectors label { flex: 1; font: 12px/1.4 var(--mono); }
.selectors select { width: 100%; max-width: 100%; margin-top: 5px; padding: 7px; border: 1px solid #7e8773; border-radius: 4px; color: var(--ink); background: #f7f9f0; }
#pair { font-size: 16px; margin: 15px 0 5px; }
#address { display: block; overflow-wrap: anywhere; font: 15px/1.4 var(--mono); }
#send-note { margin-block: 7px 10px; font-size: 13px; }
.dark { display: inline-flex; color: var(--paper); background: var(--ink); padding: 8px 12px; font-size: 13px; }
#copy-status { margin-left: 6px; font-size: 12px; }
.foot { padding-block: 28px; color: var(--paper); background: var(--ink); }
.foot .brand { font-size: 20px; gap: 7px; }
.foot nav { color: #cccec5; }
.foot nav span { color: #a3a99b; font-size: 13px; }
.doc-page { min-height: calc(100svh - 158px); align-content: center; padding-block: clamp(55px, 7vw, 105px); }
.doc-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 8%; }
.doc-intro .eyebrow { color: var(--lime); }
.doc-intro h1, .prose h1 { font-size: clamp(48px, 5.8vw, 80px); line-height: 1.02; font-weight: 550; letter-spacing: -.065em; margin-block: 18px 22px; }
.release-status { padding-block: 16px; gap: 10px; align-items: baseline; margin-top: 22px; max-width: 425px; border-top: 1px solid #53574f; color: #d9d0e4; font-size: 13px; }
.release-status i { width: 8px; height: 8px; border-radius: 50%; background: #d8c9f3; flex: none; }
.doc-card { background: #e1d7ef url("grain.png"); color: var(--ink); padding: clamp(23px, 3.2vw, 44px); }
.doc-card h2, .prose h2 { font-size: 29px; line-height: 1.2; letter-spacing: -.045em; font-weight: 590; }
.install-steps { list-style: none; padding: 0; counter-reset: step; }
.install-steps li { counter-increment: step; position: relative; padding-left: 35px; margin-top: 21px; }
.install-steps li::before { position: absolute; left: 0; top: 3px; color: #5f5268; }
.install-steps p { color: #544e59; }
.card-link { display: inline-block; border-bottom: 1px solid currentColor; margin-top: 26px; }
.prose { max-width: 740px; }
.prose h1 { margin-top: 0; }
.prose .intro { font-size: 20px; color: #32372f; }
.prose p { margin-block: 12px; }
.prose h2 { margin-top: 30px; }
.prose code, .permissions dt { font-family: var(--mono); font-size: .9em; }
.permissions div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-block: 12px; border-bottom: 1px solid #cbcec1; }
@media (max-width: 820px) {
  .hero-grid { gap: 18px; grid-template-columns: 1fr .87fr; }
  .demo-stage { padding: 20px 8px 30px; }
  .receipt { padding-inline: 16px; }
  .doc-grid { gap: 5%; }
}
@media (max-width: 690px) {
  .shell { width: min(89%, 540px); }
  .bar { min-height: 64px; }
  .brand { font-size: 22px; gap: 6px; }
  .brand img { width: 27px; height: 27px; }
  nav { gap: 15px; font-size: 13px; }
  .wide-link { display: none; }
  .nav-install { padding: 5px 12px; }
  .hero-grid, .doc-grid, .support-grid, .steps { grid-template-columns: 1fr; }
  .hero-grid { gap: 24px; padding-block: 40px 23px; }
  .headline { margin-block: 16px 19px; font-size: clamp(55px, 11.5vw, 75px); }
  .title-kicker { font-size: 10.5px; }
  .lead { font-size: 17px; }
  .hero-actions { margin-top: 21px; }
  .demo-stage { padding: 13px 12px 28px; }
  .paper-shadow { width: min(96%, 345px); transform: rotate(2deg); }
  .receipt { padding: 17px 20px 24px; }
  .balance { font-size: 50px; }
  .receipt-value { padding-top: 12px; }
  .plot { height: 60px; }
  .steps { gap: 21px; }
  .steps li { padding: 13px 0 0 34px; position: relative; }
  .steps li::before { position: absolute; left: 0; top: 15px; }
  .steps h3 { margin-top: 0; }
  .support-grid { gap: 24px; }
  .doc-grid { gap: 26px; }
  .doc-page { padding-block: 42px; }
  .foot-row { flex-wrap: wrap; }
  .permissions div { grid-template-columns: 1fr; gap: 4px; }
}
