/* BIYACOIN site — mobile first, no framework. Brand: deep green, gold, cream. */
/**/
:root {
  --green: #0f3d2e;
  --green-deep: #0a2c21;
  --green-soft: #17503c;
  --gold: #e8b53a;
  --cream: #f5e6c4;
  --cream-dim: #cdbf9f;
  --radius: 14px;
  --font-head: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

h1,
h2,
.tagline {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

h2 {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

p {
  margin: 0 0 1rem;
}

/* Layout: one narrow column with a 16px gutter. */
.wrap {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 2rem 0;
}

section + section {
  border-top: 1px solid var(--green-soft);
}

/* Hero */
.hero {
  text-align: center;
  padding-top: 2rem;
}

.hero .logo {
  margin: 0 auto 1rem;
  width: 10rem;
  height: auto;
}

.hero h1 {
  color: var(--cream);
  font-size: 2.6rem;
  letter-spacing: 0.01em;
}

.ticker {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin: 0.25rem 0 0.75rem;
}

.tagline {
  color: var(--cream);
  font-size: 1.5rem;
}

.sub {
  color: var(--cream-dim);
  margin-top: 0.75rem;
}

.banner {
  margin: 0 auto;
  border-radius: var(--radius);
}

/* Contract address box */
.ca-box {
  background: var(--green-deep);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem;
}

.ca-label {
  color: var(--cream-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}

.ca-value {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-all;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.ca-box[data-state="pending"] .ca-value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green);
  font-family: var(--font-head);
  font-size: 1.1rem;
  cursor: pointer;
}

.btn:disabled {
  background: var(--green-soft);
  color: var(--cream-dim);
  cursor: not-allowed;
}

.ca-status {
  margin: 0.5rem 0 0;
  min-height: 1.5rem;
  color: var(--cream-dim);
  font-size: 0.9rem;
}

/* Scam warning */
.warning {
  background: var(--green-deep);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem;
}

.warning p:last-child {
  margin-bottom: 0;
}

/* Lists */
.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.links a {
  display: block;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.links a:hover {
  background: var(--gold);
  color: var(--green);
}

.steps {
  margin: 0;
  padding-left: 1.4rem;
}

.steps li {
  margin-bottom: 0.6rem;
}

/* Disclosure page */
dl.facts {
  margin: 0;
}

dl.facts dt {
  color: var(--gold);
  font-family: var(--font-head);
  margin-top: 1rem;
}

dl.facts dd {
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
}

/* Footer */
footer {
  border-top: 1px solid var(--green-soft);
  padding: 1.5rem 0 2.5rem;
  color: var(--cream-dim);
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 0.5rem;
}

/* Wider screens: just a bit more breathing room. */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.4rem;
  }

  .tagline {
    font-size: 1.9rem;
  }

  .links {
    grid-template-columns: repeat(2, 1fr);
  }
}
