@font-face {
  font-family: Manrope;
  src: url('./fonts/manrope.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #202823;
  --muted: #516158;
  --forest: #163d2a;
  --dark: #112d20;
  --lime: #c6f782;
  --line: #e0e6df;
  --mist: #f2f5f0;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); font-size: 16px; line-height: 1.55; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #498442; outline-offset: 4px; }
.skip { position: fixed; top: 10px; left: 10px; transform: translateY(-150%); background: white; padding: 12px; z-index: 5; }
.skip:focus { transform: none; }
.wrap { width: min(1190px, calc(100% - 80px)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-row { min-height: 73px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 750; }
.nav-actions { justify-content: flex-end; }
.nav-social { display: inline-grid; place-items: center; min-width: 28px; min-height: 36px; }
.brand { display: inline-flex; align-items: center; width: fit-content; font-size: 27px; letter-spacing: -.085em; font-weight: 800; color: var(--forest); line-height: 1; }
.brand:hover { text-decoration: none; }
.brand img { margin-right: 9px; }
.brand span, h1 span { color: #418c55; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; border: 1px solid transparent; border-radius: 999px; padding: 0 19px; font-size: 14px; font-weight: 800; white-space: nowrap; transition: background .15s, border-color .15s; }
.button:hover { text-decoration: none; }
.button-dark { background: var(--forest); color: #e1ffaa; }
.button-dark:hover { background: #235b3e; }
.button-outline { background: #fff; color: var(--forest); border-color: #cbd8ce; }
.button-outline:hover { background: #eef7e7; border-color: #aac1a9; }
.nav-actions .button { min-height: 41px; padding-inline: 15px; }
.button-lime { background: var(--lime); color: var(--dark); }
.button-lime:hover { background: #d6ffa0; }
.button-light { background: transparent; color: #f0f8ed; border-color: #769381; }
.button-light:hover { background: #2c5140; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; }
h1 { font-size: clamp(55px, 7vw, 102px); letter-spacing: -.079em; line-height: .98; }
h2 { font-size: clamp(35px, 5vw, 62px); letter-spacing: -.068em; line-height: 1.06; }
h3 { font-size: 20px; line-height: 1.23; letter-spacing: -.035em; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; width: fit-content; border-radius: 6px; padding: 5px 10px; background: #e4facd; color: #245231; font-size: 12px; font-weight: 800; }
.eyebrow i, .receipt i, .wallet-label i { display: inline-block; width: 7px; height: 7px; background: #4e9852; border-radius: 50%; }
.hero { padding-top: 68px; overflow: hidden; }
.hero-copy { text-align: center; }
.hero h1 { margin: 17px 0; }
.hero-copy > p:not(.eyebrow) { max-width: 490px; margin: 0 auto; color: var(--muted); font-size: clamp(16px, 1.55vw, 19px); }
.actions { display: flex; gap: 9px; flex-wrap: wrap; }
.hero-actions { justify-content: center; margin-top: 23px; }
.token { display: inline-flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 100%; margin-top: 16px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 99px; background: #f6f8f4; }
.ticker { padding: 2px 7px; border-radius: 99px; background: var(--forest); color: var(--lime); font-size: 11px; font-weight: 800; }
#token-state { color: var(--muted); font: 12px var(--mono); overflow-wrap: anywhere; }
.mini-button { border: 1px solid #bccbbd; border-radius: 7px; padding: 5px 8px; background: #fff; color: var(--forest); font-size: 12px; font-weight: 800; }
.gallery { margin: 23px auto 0; width: min(1320px, 100%); }
.photo-fan { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: clamp(8px, 1.4vw, 19px); padding: 12px clamp(27px, 4.4vw, 62px) 17px; }
.photo { position: relative; overflow: hidden; aspect-ratio: .77; min-width: 0; border-radius: 17px; background: #426449; box-shadow: 0 12px 28px #152a221f; isolation: isolate; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 48%, #12251cde 100%); }
.photo > div { position: absolute; inset: auto 12px 12px; z-index: 1; color: white; }
.photo strong { display: block; font-size: clamp(12px, 1.4vw, 19px); line-height: 1.15; letter-spacing: -.045em; }
.photo span { display: inline-block; margin-bottom: 6px; padding: 3px 5px; border-radius: 4px; background: #f1f9e9; color: var(--forest); font-size: clamp(7px, .65vw, 10px); font-weight: 800; }
.photo-garden { transform: translateY(57px) rotate(-11deg); }
.photo-garden img { object-position: 46% 47%; }
.photo-cleanup { transform: translateY(21px) rotate(-6deg); }
.photo-cleanup img { object-position: 55% center; }
.photo-food { z-index: 1; }
.photo-food img { object-position: 54% center; }
.photo-shelter { transform: translateY(21px) rotate(6deg); }
.photo-shelter img { object-position: 51% center; }
.photo-relief { transform: translateY(57px) rotate(11deg); }
.photo-relief img { object-position: 51% center; }
.gallery figcaption { margin: 52px 24px 0; text-align: center; color: var(--muted); font-size: 12px; }
.centered { text-align: center; }
.about { padding-block: 86px 91px; }
.about h2 { margin: 15px auto; max-width: 900px; }
.section-lead { max-width: 630px; margin: 0 auto; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.text-link { display: inline-block; margin-top: 18px; color: var(--forest); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.how { padding-block: 80px; background: var(--mist); border-radius: 42px 42px 42px 42px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(27px, 6vw, 87px); align-items: center; }
.how h2, .wallet-layout h2, .section-heading h2 { margin-top: 14px; }
.receipt-stage { display: grid; place-items: center; min-height: 403px; padding: 29px; border-radius: 23px; background: radial-gradient(ellipse at 70% 100%, #a5e875, transparent 60%), #c9f68a; }
.receipt { width: min(100%, 348px); border-radius: 19px; background: #fff; box-shadow: 0 16px 42px #27553631; padding: 20px; }
.receipt-header { display: flex; gap: 9px; align-items: center; line-height: 1.25; }
.receipt-header span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.receipt-footer { font-size: 11px; color: var(--muted); }
.steps { padding: 0; margin: 15px 0 19px; list-style: none; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 14px 0; border-bottom: 1px solid #d9e2d8; }
.steps li:last-child { border-bottom: 0; }
.steps li > span { display: grid; place-items: center; align-self: start; width: 32px; height: 32px; border: 1px solid #a6bca9; border-radius: 50%; color: var(--forest); font-weight: 800; font-size: 13px; }
.steps p, .section-heading > p { color: var(--muted); margin-top: 5px; }
.section { padding-block: 89px; }
.section-heading { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 26px; }
.section-heading > p { max-width: 290px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.guide-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #f7f9f6; }
.guide-photo { position: relative; aspect-ratio: 1.65; background: #467055; }
.guide-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.guide-grid article:first-child img { object-position: center 53%; }
.guide-photo span { position: absolute; top: 11px; left: 11px; padding: 4px 8px; border-radius: 5px; background: #edf8e8; color: var(--forest); font-size: 11px; font-weight: 800; }
.guide-copy { padding: 16px; }
.guide-copy > p, .guide-copy details p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.guide-copy details { margin-top: 10px; }
.guide-copy summary { width: fit-content; color: var(--forest); font-size: 13px; font-weight: 800; cursor: pointer; }
.wallet-section { padding-block: 82px; background: var(--dark); color: #f4f9f0; }
.wallet-layout > div:first-child > p:not(.eyebrow) { max-width: 420px; margin-top: 15px; color: #d0dfd2; }
.wallet-layout .actions { margin-top: 20px; }
.wallet-tools { display: grid; gap: 11px; min-width: 0; }
.wallet-card { background: #1c3d2d; border: 1px solid #395b49; border-radius: 15px; padding: 17px; }
.wallet-card .button { min-height: 40px; padding-inline: 12px; font-size: 12px; }
.wallet-label { margin-bottom: 7px; font-size: 10px; letter-spacing: .13em; font-weight: 800; color: #e0eddf; }
.wallet-label i { background: var(--lime); margin-right: 4px; }
.address, .recipient code { display: block; overflow-wrap: anywhere; margin: 9px 0 10px; border: 1px solid #496b57; border-radius: 7px; background: #132e21; color: #e5f6df; padding: 9px; font: 13px var(--mono); }
.wallet-card > p { color: #d0dfd2; margin: 5px 0 9px; font-size: 13px; }
.signature-row { display: flex; gap: 7px; }
.signature-row input { min-width: 0; width: 100%; padding: 7px 8px; border: 1px solid #72917e; border-radius: 7px; background: #132e21; color: #fff; font-size: 13px; }
.signature-row input::placeholder { color: #bfcec3; }
.signature-row :focus-visible { outline-color: var(--lime); }
.wallet-card .error { color: #ffd7ae; }
.questions { max-width: 760px; margin: 26px auto 0; border-top: 1px solid var(--line); }
.faq h2 { margin-top: 12px; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 15px 0; list-style: none; cursor: pointer; font-weight: 800; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; flex-shrink: 0; color: #3a7550; font-size: 20px; font-weight: 600; }
.questions details[open] summary::after { content: '−'; }
.questions details p { color: var(--muted); margin-bottom: 13px; }
.closing { padding-block: 56px; background: #dcf6bb; }
.closing .eyebrow { background: #fff9; }
.closing h2 { margin-top: 10px; }
.closing p:not(.eyebrow) { margin: 10px 0 16px; color: #304b38; }
footer { padding-top: 42px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 15px; }
.footer-grid > div { display: grid; justify-items: start; align-content: start; gap: 6px; }
.footer-grid h3 { color: var(--ink); font-size: 15px; margin-bottom: 3px; }
.footer-grid p { margin-top: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; border-top: 1px solid var(--line); padding-block: 15px; font-size: 13px; }
.credits h1 { margin: 24px 0 12px; font-size: clamp(42px, 7vw, 72px); }
.credits li a { text-decoration: underline; text-underline-offset: 3px; }
dialog { border: 0; border-radius: 19px; color: var(--ink); background: #fff; padding: 0; width: min(460px, calc(100% - 24px)); max-height: calc(100% - 30px); box-shadow: 0 22px 75px #0c211f60; }
dialog::backdrop { background: #12281db0; }
.dialog-inner { position: relative; padding: 24px; }
.dialog-inner .kicker { color: #376843; font-size: 11px; font-weight: 800; letter-spacing: .09em; margin-bottom: 6px; }
.dialog-inner h2 { font-size: 40px; margin-bottom: 8px; }
.dialog-inner > p:not(.kicker) { color: var(--muted); margin-bottom: 14px; }
.close { position: absolute; top: 14px; right: 14px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink); width: 35px; height: 35px; font-size: 24px; line-height: 1; }
#amount-form label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 5px; }
.amount-field { display: flex; align-items: center; gap: 7px; border: 1px solid #afbfa8; border-radius: 8px; padding: 0 10px; }
.amount-field:focus-within { outline: 2px solid #5f813e; }
.amount-field input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font-size: 22px; padding: 8px 0; outline: none; }
.amount-field span { font: 750 12px var(--mono); color: var(--muted); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.presets button { border: 1px solid #aebda5; background: transparent; border-radius: 6px; color: var(--ink); padding: 5px 8px; font-size: 12px; font-weight: 800; }
.presets button[aria-pressed=true] { background: #eaf6d8; border-color: #678d4b; }
.error { color: #a32a23; font-size: 13px; margin: 7px 0; }
.error:empty { display: none; }
#amount-form .full { margin-top: 10px; }
.full { width: 100%; justify-content: space-between; }
.review-amount { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #edf3e4; border-radius: 8px; padding: 8px 10px; margin-bottom: 9px; }
.recipient { margin-bottom: 9px; }
.recipient > span { font: 750 10px var(--mono); letter-spacing: .11em; }
.recipient code { margin: 4px 0; background: #edf3e4; color: var(--ink); border-color: var(--line); }
.dialog-help { color: var(--muted); font-size: 13px; margin: 8px 0; }
#toast { position: fixed; bottom: 15px; left: 50%; transform: translateX(-50%); border-radius: 7px; padding: 8px 12px; background: var(--ink); color: white; opacity: 0; pointer-events: none; z-index: 3; font-size: 13px; text-align: center; width: max-content; max-width: calc(100% - 30px); }
#toast.visible { opacity: 1; }
.dialog-inner #toast { position: static; transform: none; margin-top: 6px; display: none; }
.dialog-inner #toast.visible { display: block; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  nav { gap: 12px; font-size: 13px; }
  .nav-row { gap: 10px; }
  .section, .about { padding-block: 65px; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 70px; }
  .wrap { width: calc(100% - 32px); }
  .nav-row { min-height: 57px; grid-template-columns: 1fr auto; }
  .main-nav, .wallet-nav { display: none; }
  .nav-actions { gap: 6px; }
  .nav-social + .button { padding-inline: 9px; font-size: 12px; }
  .brand { font-size: 25px; }
  .brand img { width: 30px; height: 30px; }
  .hero { padding-top: 43px; }
  h1 { font-size: clamp(49px, 10.9vw, 78px); }
  .hero h1 { margin-block: 12px; }
  .hero-actions { margin-top: 16px; }
  .gallery { margin-top: 16px; }
  .photo-fan { grid-template-columns: repeat(5, clamp(139px, 38vw, 209px)); gap: 8px; padding: 3px 16px 13px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; }
  .photo { transform: none; scroll-snap-align: start; border-radius: 12px; }
  .photo span { font-size: 8px; }
  .photo strong { font-size: 14px; }
  .gallery figcaption { margin-top: 7px; }
  .section, .about, .how, .wallet-section { padding-block: 45px; }
  .how { border-radius: 24px; }
  .split, .guide-grid { grid-template-columns: 1fr; gap: 15px; }
  .receipt-stage { order: 1; min-height: 290px; padding: 16px; margin-top: 7px; }
  .section-heading { display: block; margin-bottom: 16px; }
  .section-heading > p { max-width: none; margin-top: 8px; }
  .guide-photo { aspect-ratio: 2.1; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 15px; }
}
@media (max-width: 355px) {
  .hero-actions .button { min-height: 44px; padding-inline: 9px; font-size: 12px; }
  .signature-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Campaign workspace and creator-fee overview */
.brand { color: #1b6d38; }
.hero-copy > p.launch-note { margin-top: 13px; font-size: 12px; }
.pipeline { display: grid; gap: 7px; margin: 15px 0 12px; padding: 0; list-style: none; counter-reset: pipeline; }
.pipeline li { display: flex; align-items: center; gap: 9px; border-radius: 8px; padding: 7px 8px; background: #f0f7ed; font-size: 13px; font-weight: 750; }
.pipeline li::before { counter-increment: pipeline; content: counter(pipeline); display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: #d9efd0; color: var(--forest); font-size: 11px; font-weight: 800; }
.launch { width: min(1060px, calc(100% - 64px)); padding-block: 56px; }
.launch-intro { display: grid; grid-template-columns: 1fr minmax(190px, 260px); align-items: center; gap: 30px; }
.launch-intro h1 { margin-block: 12px; font-size: clamp(42px, 6.5vw, 74px); }
.launch-intro p:not(.eyebrow) { max-width: 550px; color: var(--muted); }
.launch-emblem { display: grid; place-items: center; min-height: 195px; border: 1px solid #cee8c9; border-radius: 21px; background: radial-gradient(circle at 75% 25%, #edfad8, transparent 65%), #d3efcd; }
.launch-emblem img { width: 112px; height: 112px; filter: drop-shadow(0 12px 16px #22593222); }
.launch-notice { margin-top: 22px; padding: 11px 13px; border: 1px solid #cfe5c8; border-radius: 9px; background: #f0f8ec; color: var(--forest); font-size: 13px; }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr); gap: 27px; align-items: start; margin-top: 26px; }
.launch-form fieldset { min-width: 0; border: 0; border-bottom: 1px solid var(--line); margin: 0 0 17px; padding: 0 0 17px; }
.launch-form legend { margin: 0 0 9px; padding: 0; font-size: 20px; letter-spacing: -.04em; font-weight: 800; }
.launch-form legend span { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-right: 4px; border-radius: 50%; background: #e1f5d9; color: var(--forest); font-size: 13px; vertical-align: 2px; }
.launch-form label { display: block; margin: 6px 0 4px; font-size: 13px; font-weight: 800; }
.launch-form small { font-weight: 500; color: var(--muted); }
.launch-form input, .launch-form textarea { display: block; width: 100%; min-width: 0; border: 1px solid #b9cbb9; border-radius: 8px; background: #fff; color: var(--ink); padding: 9px; font: inherit; }
.launch-form textarea { resize: vertical; }
.launch-form [aria-invalid=true] { border-color: #a32a23; }
.launch-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(88px, .38fr); gap: 8px; }
.field-help { color: var(--muted); font-size: 13px; margin: 4px 0; }
.campaign-link { margin-top: 6px; }
.upload-box { border: 1px dashed #b3c7b2; padding: 8px; border-radius: 8px; background: #f7faf6; }
.upload-box input { border: 0; padding: 0; background: transparent; font-size: 13px; }
.upload-box ::file-selector-button { padding: 5px 8px; border: 1px solid #b7cbb4; border-radius: 6px; background: white; color: var(--forest); font: inherit; cursor: pointer; }
.launch-preview { position: sticky; top: 90px; border: 1px solid var(--line); border-radius: 15px; background: #f9fbf8; padding: 16px; }
.coin-card-title { display: flex; align-items: center; gap: 10px; margin: 11px 0; overflow-wrap: anywhere; }
.coin-card-title h2 { font-size: 21px; letter-spacing: -.045em; }
.coin-card-title p { color: var(--muted); font-size: 12px; font-weight: 800; }
.coin-art { flex: 0 0 52px; height: 52px; border-radius: 10px; overflow: hidden; background: #e8f8e7; }
.coin-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-description { overflow-wrap: anywhere; color: var(--muted); font-size: 13px; white-space: pre-line; }
.preview-data { margin: 10px 0; font-size: 13px; }
.preview-data div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.preview-data dt { color: var(--muted); }
.preview-data dd { margin: 0; text-align: right; font-weight: 800; overflow-wrap: anywhere; }
.review-campaign { color: var(--forest); text-decoration: underline; }
.review-notice { margin: 10px 0; }
.form-status { min-height: 18px; margin-top: 6px; color: var(--forest); font-size: 13px; }
.form-status:empty { display: none; }
.launch button:disabled, #draft-review button:disabled { cursor: wait; opacity: .65; }
.launch-footer { padding-top: 0; }
@media (max-width: 740px) {
  .launch { width: calc(100% - 32px); padding-block: 34px; }
  .launch-intro { grid-template-columns: 1fr; }
  .launch-emblem { display: none; }
  .launch-grid { grid-template-columns: 1fr; gap: 12px; }
  .launch-preview { position: static; }
}
