@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --forest: #0b2e22;
  --forest-2: #10402f;
  --forest-3: #175a42;
  --sage: #e7efe9;
  --sage-2: #d3e2d8;
  --paper: #f8f6f0;
  --ink: #142019;
  --ink-2: #44554b;
  --gold: #c9a24a;
  --gold-2: #e3c378;
  --line: rgba(20, 32, 25, 0.12);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 46, 34, .06), 0 10px 30px rgba(11, 46, 34, .08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest-3); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--gold); margin-bottom: .9rem; display: block; }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 46, 34, .92); backdrop-filter: saturate(140%) blur(10px); color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: "Fraunces", serif; font-size: 1.2rem; font-weight: 600; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 10px; padding: 8px 12px; font: inherit; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--forest); flex-direction: column; align-items: flex-start; padding: 16px 20px 22px; gap: 14px; }
  .nav.open { display: flex; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font: 600 .98rem "Inter", sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--gold); color: var(--forest); box-shadow: 0 6px 20px rgba(201, 162, 74, .35); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-3); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }

/* hero */
.hero { position: relative; color: #fff; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--forest); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 34, 25, .9) 0%, rgba(8, 34, 25, .62) 45%, rgba(8, 34, 25, .1) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero-copy { max-width: 640px; }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.86); max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-coin { position: absolute; right: 6%; bottom: 10%; width: 210px; z-index: 2; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-3deg); } }
@media (max-width: 860px) { .hero-coin { width: 110px; right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .hero-coin { animation: none; } html { scroll-behavior: auto; } }

/* sections */
section { padding: 96px 0; }
.section-sage { background: var(--sage); }
.section-dark { background: var(--forest); color: #fff; }
.section-dark .muted { color: rgba(255,255,255,.72); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3, .g2 { grid-template-columns: 1fr; } section { padding: 68px 0; } }

.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sage); display: grid; place-items: center; margin-bottom: 18px; color: var(--forest-3); }
.section-dark .card { background: var(--forest-2); box-shadow: none; border: 1px solid rgba(255,255,255,.08); }
.section-dark .card .icon { background: rgba(201,162,74,.16); color: var(--gold-2); }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.facts div { background: #fff; padding: 22px 24px; }
.facts b { display: block; font-family: "Fraunces", serif; font-size: 1.55rem; font-weight: 600; color: var(--forest); }
.facts span { font-size: .85rem; color: var(--ink-2); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.lift { margin-top: -54px; position: relative; z-index: 5; }

/* tokenomics */
.tokenomics { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .tokenomics { grid-template-columns: 1fr; } }
.donut { width: 100%; max-width: 380px; margin: 0 auto; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
th { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-2); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: middle; }
.table-scroll { overflow-x: auto; }

/* contract box */
.contract { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.contract code { font-size: .9rem; word-break: break-all; background: var(--sage); padding: 6px 10px; border-radius: 8px; }

/* shop */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 500 .92rem "Inter"; cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product .thumb { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sage); }
.product.service .thumb { aspect-ratio: 16 / 10; }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product:hover .thumb img { transform: scale(1.04); }
.product .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product .tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--forest-3); font-weight: 600; }
.product h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.product p { font-size: .93rem; color: var(--ink-2); flex: 1; }
.product .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.price { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.25rem; color: var(--forest); display: flex; align-items: center; gap: 6px; }
.price img { width: 22px; height: 22px; }

/* dialog */
dialog { border: none; border-radius: 22px; padding: 0; width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(5, 20, 14, .6); backdrop-filter: blur(3px); }
.dlg { display: grid; grid-template-columns: 300px 1fr; }
.dlg .media { background: var(--sage); }
.dlg .media img { width: 100%; height: 100%; object-fit: cover; }
.dlg .content { padding: 28px; position: relative; }
.dlg .close { position: absolute; top: 12px; right: 12px; background: var(--sage); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.dlg ul { padding-left: 18px; color: var(--ink-2); font-size: .93rem; }
@media (max-width: 700px) { .dlg { grid-template-columns: 1fr; } .dlg .media { max-height: 220px; overflow: hidden; } }

/* forms */
.form { display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 5px; }
.form input, .form textarea { width: 100%; font: inherit; font-size: .97rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form .two { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.notice { border-radius: 12px; padding: 14px 16px; font-size: .93rem; }
.notice.ok { background: #e3f3e8; color: #14532d; }
.notice.err { background: #fde8e6; color: #7f1d1d; }
.notice.info { background: #fdf6e3; color: #6b4f12; }
.steps { counter-reset: s; display: grid; gap: 16px; }
.steps li { list-style: none; counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--forest); font-weight: 700; display: grid; place-items: center; }
.steps { padding: 0; margin: 0; }

/* faq */
details { background: #fff; border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow); }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 12px 0 0; color: var(--ink-2); }

/* page hero (subpages) */
.page-hero { background: var(--forest); color: #fff; padding: 72px 0 60px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 680px; font-size: 1.1rem; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* footer */
footer { background: #071f17; color: rgba(255,255,255,.7); padding: 56px 0 36px; font-size: .9rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer a { color: rgba(255,255,255,.85); text-decoration: none; display: block; margin: 6px 0; }
footer a:hover { color: #fff; }
footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .8rem; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }

.wallet-pill { font-size: .85rem; background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.2); cursor: pointer; font-family: inherit; }
.hidden { display: none !important; }
