@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Manrope:wght@400;500;600;700&display=swap');

:root { --ink: #423a39; --muted: #80736a; --accent: #855359; --sky: #eee6dc; color-scheme: light; font-family: 'Manrope', sans-serif; color: var(--ink); background: var(--sky); }
* { box-sizing: border-box; }
body { margin: 0; }
main { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
canvas, .grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.grain { z-index: 2; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.65' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
header, footer { position: absolute; left: 4%; right: 4%; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
header { top: 34px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; letter-spacing: .22em; font-size: 17px; font-weight: 700; }
.flower { color: var(--accent); font-size: 34px; line-height: 1; }
.brand-ton { margin-left: 2px; padding: 4px 6px; border: 1px solid #9f8d8560; border-radius: 3px; font-size: 9px; letter-spacing: .1em; font-weight: 500; }
.network { display: flex; align-items: center; gap: 7px; font-size: 9px; letter-spacing: .16em; color: var(--muted); }
.network svg { width: 19px; height: 19px; }
.intro { position: absolute; z-index: 2; top: 14%; left: 0; right: 0; text-align: center; pointer-events: none; }
.eyebrow { font-size: 9px; font-weight: 600; letter-spacing: .32em; color: var(--accent); margin: 0 0 17px; }
h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(44px, 5.1vw, 78px); font-weight: 400; line-height: .98; letter-spacing: -.045em; margin: 0; }
h1 em { font-weight: 400; color: var(--accent); }
.subtitle { font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 20px; }
.seal { position: absolute; top: 44%; right: 9%; color: var(--accent); font-family: serif; font-size: 32px; border: 1px solid currentColor; padding: 3px 5px; line-height: 1.1; z-index: 2; opacity: .8; }
.seal span { position: absolute; top: 65px; left: 12px; width: 1em; word-break: break-all; line-height: 1.8; font-size: 11px; color: var(--muted); }
footer { bottom: 18px; flex-direction: column; gap: 0; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.footer-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.socials, .explorers { display: flex; align-items: center; gap: 20px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; white-space: nowrap; }
footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.contract { display: flex; width: 100%; justify-content: space-between; align-items: center; flex-wrap: wrap; column-gap: 16px; border-top: 1px solid #a9988a45; }
.contract-address { display: flex; align-items: center; gap: 2px; min-width: 0; max-width: 100%; line-height: 1.7; }
.contract-address > span { min-width: 0; }
#copy-address { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; width: 24px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
#copy-address [aria-live] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.copy-feedback { position: absolute; bottom: calc(100% - 6px); right: 0; width: 76px; height: 16px; pointer-events: none; color: var(--ink); font: 11px/16px 'Manrope', sans-serif; white-space: nowrap; }
.copy-feedback > span { position: absolute; inset: 0; text-align: right; }
#copy-address:hover { color: var(--ink); }
.contract code { font-size: 10px; letter-spacing: 0; user-select: all; overflow-wrap: anywhere; }
#hint { margin: 0; letter-spacing: .04em; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 15px; font-style: italic; }
.wind { font-family: serif; font-size: 24px; vertical-align: -2px; margin-right: 7px; }
a:focus-visible, button:focus-visible { outline: 2px solid #a55661; outline-offset: 5px; }
.site-credit { position: absolute; right: 6px; bottom: 4px; z-index: 3; padding: 4px; font-size: 9px; line-height: 1; color: var(--muted); opacity: .3; text-decoration: none; }
.site-credit:hover, .site-credit:focus-visible { opacity: 1; }
#fallback { position: absolute; bottom: 80px; left: 10%; right: 10%; text-align: center; font-size: 12px; }
@media (max-width: 600px) {
  header { top: 22px; left: 6%; right: 6%; }
  .network { font-size: 0; gap: 0; }
  .network svg { width: 24px; height: 24px; }
  .intro { top: 15%; }
  h1 { font-size: clamp(40px, 11vw, 52px); }
  .eyebrow { font-size: 8px; }
  .seal { right: 7%; top: 43%; font-size: 24px; }
  footer { left: 6%; right: 6%; bottom: 8px; font-size: 9px; }
  .footer-row, .contract { justify-content: center; flex-direction: column; }
  .contract { padding-top: 7px; }
  .contract-address { text-align: center; }
  .contract code { font-size: 9px; }
  .socials { gap: 24px; }
  #hint { font-size: 14px; }
}
