:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --canvas: #F8FAF8;
  --ink: #14231A;
  --muted: #708076;
  --mint: #D3F2DE;
  --sage: #99C39E;
  --forest: #506850;
  --deep: #184E42;
  --line: #E7ECE8;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #E6E8E6; }
body { min-width: 280px; margin: 0; color: var(--ink); font-size: 14px; line-height: 1.5; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #3F8F72; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: absolute; z-index: 20; top: -60px; left: 16px; padding: 10px; border-radius: 10px; background: #fff; color: var(--ink); }
.skip-link:focus { top: 8px; }
.page-shell { width: min(100%, 440px); min-height: 100vh; margin: auto; padding: 0 19px calc(35px + env(safe-area-inset-bottom)); background: var(--canvas); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.brand-light { color: #276A52; font-weight: 700; }
.brand-symbol { display: block; width: 36px; height: 36px; flex: none; }
.wallet-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; min-height: 37px; padding: 0 12px; border: 1px solid #BED6C5; border-radius: 19px; background: #FFFFFF; color: #235645; font-size: 12px; font-weight: 750; box-shadow: 0 3px 9px #214C3730; }
.wallet-button svg { width: 16px; height: 16px; }
.wallet-button.connected { background: var(--mint); }
.wallet-button:disabled { opacity: .7; }

.hero { position: relative; overflow: hidden; height: 306px; margin: 8px 0 0; border-radius: 21px; background: linear-gradient(150deg, #C5E6CF 0%, #8DBD9E 51%, #648B72 100%); box-shadow: 0 10px 22px #214D3A30; }
.hero::before { position: absolute; top: 3px; right: 25px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, #E8FAED70 0%, #D3F2DE22 57%, transparent 72%); content: ""; }
.hero-sculpture { position: absolute; top: -11px; left: 50%; width: 250px; height: auto; transform: translateX(-50%); filter: drop-shadow(0 15px 14px #315B3D55); }
.hero-overlay { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 12px 15px 13px; border: 1px solid #FFFFFF40; border-radius: 15px; background: #1A5B4DD9; color: #fff; box-shadow: 0 9px 16px #113C3280; backdrop-filter: blur(13px); }
.hero-overlay > span { color: #D6F2DF; font-size: 10px; font-weight: 650; }
.hero h1 { max-width: 310px; margin: 2px 0 3px; color: #FFFFFF; font-size: 21px; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.hero-overlay p { margin: 0; color: #DDF4E5; font-size: 11px; line-height: 1.35; }
.availability-note { display: flex; align-items: center; gap: 7px; margin: 15px 1px 0; color: #61736A; font-size: 11px; }
.tiny-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #64A986; }
.wallet-message { margin: 13px 0 0; padding: 10px 12px; border: 1px solid #C7E6D0; border-radius: 10px; background: #EDF9F0; color: #345C42; font-size: 11px; }

.section { scroll-margin-top: 16px; margin-top: 33px; }
.section-heading { display: flex; align-items: center; gap: 10px; margin: 0 2px 13px; }
.section-icon { display: none; }
.section-heading h2 { margin: 0; color: #18231C; font-size: 21px; font-weight: 800; letter-spacing: -.05em; line-height: 1.2; }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.clay-card { border: 1px solid #EBF0EC; border-radius: 20px; background: #FFFFFF; box-shadow: 0 7px 18px #38584613; }
.purchase-section { --asset: #009393; --asset-ink: #006A6A; --asset-soft: #E5F7F5; --asset-ring: #B9E8E3; --asset-shadow: #00939330; }
.purchase-section[data-asset="USDC"] { --asset: #0B53BF; --asset-ink: #104DAA; --asset-soft: #EAF2FF; --asset-ring: #BDD5FA; --asset-shadow: #0B53BF30; }
.purchase-section .section-heading h2 { color: var(--asset-ink); }
.purchase-card { position: relative; overflow: hidden; padding: 20px 18px 19px; }
.purchase-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--asset); content: ""; }
.form-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 21px; color: #233C2C; font-size: 15px; font-weight: 750; }
.preview-label { padding: 5px 9px; border-radius: 20px; background: var(--asset-soft); color: var(--asset-ink); font-size: 10px; font-weight: 700; white-space: nowrap; }
.asset-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.asset-field legend, .amount-field label { display: block; margin-bottom: 9px; color: #2B4733; font-size: 12px; font-weight: 750; }
.asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.asset-choice { position: relative; min-width: 0; }
.asset-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.asset-face { display: flex; align-items: center; gap: 8px; min-height: 66px; padding: 9px; border: 1px solid #E3EAE4; border-radius: 13px; background: #FAFCFA; }
.asset-choice input:checked + .asset-face { border: 1.5px solid var(--asset); background: var(--asset-soft); box-shadow: 0 3px 9px var(--asset-shadow); }
.asset-choice input:focus-visible + .asset-face { outline: 3px solid var(--asset); outline-offset: 2px; }
.coin { display: block; width: 32px; height: 32px; flex: none; object-fit: contain; }
.asset-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.13; }
.asset-info strong { color: #233E2C; font-size: 12px; font-weight: 800; }
.asset-choice input:checked + .asset-face .asset-info strong { color: var(--asset-ink); }
.asset-info small { margin-top: 4px; color: #76887B; font-size: 10px; }
.choice-check { display: grid; place-items: center; width: 16px; height: 16px; flex: none; margin-left: auto; border-radius: 50%; background: var(--asset); color: white; font-size: 10px; visibility: hidden; }
.asset-choice input:checked + .asset-face .choice-check { visibility: visible; }
.amount-field { margin-top: 22px; }
.amount-control { display: flex; align-items: center; height: 58px; overflow: hidden; border: 1px solid #D7E5DA; border-radius: 12px; background: #FBFDFB; }
.amount-control:focus-within { border-color: var(--asset); box-shadow: 0 0 0 3px var(--asset-ring); }
.amount-control.invalid { border-color: #AB4B52; }
.amount-control input { width: 100%; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: none; background: transparent; color: #183224; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.amount-control input::placeholder { color: #9CB6A3; }
.amount-control span { padding: 0 13px; color: var(--asset-ink); font-size: 12px; font-weight: 800; }
.field-help { min-height: 17px; margin: 7px 0 0; color: #78877C; font-size: 11px; }
.field-help.error { color: #A43E4B; }
.quote-box { margin: 21px 0 17px; padding: 10px 13px; border-radius: 12px; background: var(--asset-soft); }
.quote-box div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 31px; font-size: 12px; }
.quote-box span { color: #6C8171; }
.quote-box strong { color: var(--asset-ink); font-size: 12px; font-weight: 700; text-align: right; }
.primary-button, .sync-button, .dialog-action { width: 100%; min-height: 50px; border: 0; border-radius: 10px; background: linear-gradient(180deg, #266E5D, #124D42); color: #FFFFFF; font-size: 13px; font-weight: 750; box-shadow: 0 5px 10px #1A5B4740; }
.primary-button span { margin-left: 8px; }
.purchase-section .primary-button:not(:disabled) { background: var(--asset); box-shadow: 0 5px 10px var(--asset-shadow); }
.primary-button:disabled { background: #D9E6DC; color: #6C8471; box-shadow: none; }
.card-footnote { margin: 14px 1px 0; color: #77867B; font-size: 11px; line-height: 1.5; }

.rewards-section { margin-top: 36px; }
.rewards-card { --token: #009393; --token-ink: #006C6C; --token-soft: #E7F7F5; --token-line: #B5E2DE; --token-shadow: #00939324; position: relative; overflow: hidden; padding: 23px 21px 21px; border: 1px solid var(--token-line); background: linear-gradient(145deg, #FFFFFF 0%, #F3FBF9 100%); box-shadow: 0 9px 24px var(--token-shadow); }
.rewards-card[data-asset="USDC"] { --token: #0B53BF; --token-ink: #174D9B; --token-soft: #EAF2FF; --token-line: #C5D8F5; --token-shadow: #0B53BF24; background: linear-gradient(145deg, #FFFFFF 0%, #F2F7FF 100%); }
.rewards-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--token); content: ""; }
.reward-orb { position: absolute; top: 17px; right: 19px; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--token-line); border-radius: 13px; background: var(--token-soft); }
.reward-orb img { display: block; width: 32px; height: 32px; }
.token-selector { display: flex; gap: 8px; width: calc(100% - 55px); min-width: 0; margin: 0; padding: 0; border: 0; }
.token-selector label { position: relative; flex: 1; min-width: 0; }
.token-selector input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.token-selector label span { display: flex; align-items: center; justify-content: center; min-height: 36px; border: 1px solid #DFE9E2; border-radius: 10px; background: #F7FAF8; color: #62766A; font-size: 12px; font-weight: 750; }
.token-selector input:checked + span { border-color: var(--token); background: var(--token-soft); color: var(--token-ink); box-shadow: 0 3px 8px var(--token-shadow); }
.token-selector input:focus-visible + span { outline: 3px solid var(--token); outline-offset: 2px; }
.reward-label { display: block; margin-top: 25px; color: #5E7966; font-size: 12px; font-weight: 700; }
.reward-amount { display: block; margin-top: 2px; color: var(--token-ink); font-size: 54px; font-weight: 760; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.pending-metric { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--token-line); }
.pending-metric span { display: block; color: #5E7966; font-size: 12px; font-weight: 700; }
.pending-metric strong { display: block; margin-top: 3px; color: var(--token-ink); font-size: 38px; font-weight: 740; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.rewards-card p { max-width: 285px; margin: 18px 0 19px; color: #698474; font-size: 11px; line-height: 1.55; }
.sync-button { min-height: 47px; border: 1px solid var(--token-line); background: #009393; color:#FFFFFF; box-shadow: none; }
.contact-card { margin: 31px 0 26px; padding: 17px; border: 1px solid #E3EDE5; border-radius: 17px; background: #FFFFFF; box-shadow: 0 7px 18px #38584613; }
.contact-heading { display: flex; align-items: center; gap: 11px; }
.contact-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: none; border-radius: 12px; background: #E4F6E9; color: #277C4D; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-heading h2 { margin: 0; color: #243D2B; font-size: 15px; line-height: 1.25; }
.contact-heading p { margin: 3px 0 0; color: #708275; font-size: 11px; }
.contact-button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 45px; margin-top: 15px; border-radius: 10px; background: linear-gradient(180deg, #287259, #155840); color: #FFFFFF; font-size: 13px; font-weight: 750; text-decoration: none; box-shadow: 0 5px 10px #1A5B4740; }
.contact-button:hover { background: #155840; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 2px; color: #9AAC9E; font-size: 10px; }
.footer-brand { color: #436B4D; font-size: 11px; font-weight: 750; }

dialog { width: min(calc(100% - 30px), 420px); max-height: min(85vh, 650px); padding: 0; border: 0; border-radius: 20px; background: #FFFFFF; color: var(--ink); box-shadow: 0 25px 70px #10281870; }
dialog::backdrop { background: #10221CB0; }
.announcement-dialog { overflow: hidden; border: 1px solid #D7E7DB; }
.announcement-banner { display: flex; align-items: flex-start; justify-content: space-between; min-height: 84px; padding: 20px; background: linear-gradient(135deg, #E4F5E9, #D3F2DE); }
.announcement-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #FFFFFFB8; color: #28654D; box-shadow: 0 4px 10px #3B795026; }
.announcement-symbol svg { width: 25px; height: 25px; }
.announcement-body { padding: 20px; }
.announcement-label { color: #4C805C; font-size: 11px; font-weight: 750; }
.announcement-body h2 { margin: 6px 0 10px; color: #1E3928; font-size: 22px; line-height: 1.2; letter-spacing: -.04em; }
.announcement-body p { margin: 0; color: #587160; font-size: 13px; line-height: 1.55; }
.announcement-body .announcement-note { margin: 15px 0 21px; padding: 11px 12px; border-radius: 10px; background: #F0F8F2; color: #496C52; font-size: 11px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px 0; }
.dialog-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 11px; background: #E0F2E5; color: #3A7654; font-size: 21px; }
.dialog-close { width: 32px; height: 32px; border: 0; border-radius: 9px; background: #F0F5F1; color: #41614A; font-size: 23px; line-height: 1; }
.dialog-body { padding: 12px 20px 22px; }
.dialog-body h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.04em; }
.dialog-body > p { margin: 0 0 17px; color: #6A806F; font-size: 12px; }
.dialog-callout { margin: 17px 0; padding: 12px; border-radius: 11px; background: #EEF8F0; color: #456B4B; font-size: 11px; line-height: 1.5; }
.review-list { margin: 0; }
.review-list div { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #E8EFE9; font-size: 11px; }
.review-list dt { color: #718574; }
.review-list dd { max-width: 60%; margin: 0; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.dialog-action { box-shadow: none; }
.noscript-message { width: min(100% - 34px, 406px); margin: 16px auto; padding: 12px; border-radius: 12px; background: #F1F8F2; color: #42634A; font-size: 12px; }
@media (max-width: 350px) {
  .page-shell { padding-right: 14px; padding-left: 14px; }
  .brand { font-size: 14px; }
  .wallet-button { padding: 0 9px; }
  .hero { height: 289px; }
  .hero-sculpture { width: 229px; }
  .asset-face { gap: 5px; padding: 7px; }
  .coin { width: 32px; height: 32px; }
  .asset-info strong { font-size: 11px; }
  .asset-info small { font-size: 9px; }
}
@media (min-width: 560px) {
  .page-shell { min-height: calc(100vh - 44px); margin-top: 22px; margin-bottom: 22px; border-radius: 34px; box-shadow: 0 20px 60px #57695B2B; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
