/* FIPO Miner website — Claymorphism structure on the app's dark Copper theme.
   Plain static CSS: no frameworks, no external requests.
   Dark Copper palette (matches the FIPO Miner app): near-black background,
   dark copper cards, gold accents, warm cream text. Clay cards keep their
   puffy rounded shape with layered soft shadows, adapted to dark mode:
   a subtle warm top highlight plus a deeper soft shadow below — no white
   glare, no light backgrounds anywhere. */

:root {
  --bg: #0C0A0A;
  --bg-soft: #181212;
  --card: #1E1713;
  --border: #33241B;
  --border-strong: #453324;
  --ink: #F7EFE6;
  --muted: #C2AC94;
  --gold: #E8A87C;
  --gold-deep: #9C5E28;
  --gold-light: #F5CBA7;
  --gold-soft: #2B1608;
  --btn-ink: #1E1208;
  --shadow-dark: rgba(0, 0, 0, 0.55);
  --shadow-soft: rgba(0, 0, 0, 0.35);
  --highlight: rgba(245, 203, 167, 0.14);
  --highlight-soft: rgba(245, 203, 167, 0.07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--gold); }
a:hover { color: var(--gold-light); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Clay helper: soft puffy card, dark-mode shadows */
.clay {
  background: var(--card);
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow:
    inset 2px 2px 6px var(--highlight),
    inset -2px -2px 6px rgba(0, 0, 0, 0.35),
    0 18px 36px var(--shadow-dark),
    0 4px 12px var(--shadow-soft);
}

/* Header / nav */
.topbar {
  background: var(--bg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.topbar-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.brand {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow:
    inset 1px 1px 3px var(--highlight),
    0 8px 16px var(--shadow-dark);
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
}
nav a:hover { color: var(--gold); background: var(--bg-soft); }
nav a.active {
  color: var(--btn-ink);
  background: var(--gold-light);
  box-shadow:
    inset 1px 1px 3px var(--highlight),
    0 6px 14px var(--shadow-soft);
}

/* Layout */
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}
.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 20px 32px;
  text-align: center;
}
.hero-logo {
  width: 104px;
  height: 104px;
  border-radius: 28px;
  margin-bottom: 20px;
  box-shadow:
    inset 2px 2px 6px var(--highlight),
    inset -2px -2px 6px rgba(0, 0, 0, 0.35),
    0 22px 44px var(--shadow-dark),
    0 6px 14px var(--shadow-soft);
}
.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}
.hero p.tag {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 24px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.badge {
  background: var(--card);
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow:
    inset 1px 1px 3px var(--highlight),
    0 8px 16px var(--shadow-soft);
}
.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--btn-ink);
  font-weight: 800;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 20px;
  margin: 4px;
  box-shadow:
    inset 1px 1px 3px var(--highlight),
    inset -1px -1px 3px rgba(0, 0, 0, 0.25),
    0 12px 24px var(--shadow-dark);
}
.btn:hover { color: var(--btn-ink); transform: translateY(-1px); }
.btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 2px 2px 8px rgba(0, 0, 0, 0.35),
    0 4px 10px var(--shadow-soft);
}
.btn.ghost {
  background: var(--card);
  color: var(--gold);
  border: 1px solid var(--border);
  box-shadow:
    inset 1px 1px 3px var(--highlight),
    0 12px 24px var(--shadow-soft);
}
.btn.ghost:hover { color: var(--gold-light); }

h2 {
  color: var(--ink);
  font-size: 26px;
  margin: 0 0 8px;
}
h3 { color: var(--ink); margin: 0 0 6px; }
.lead { color: var(--muted); margin: 0 0 20px; }

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow:
    inset 2px 2px 6px var(--highlight),
    inset -2px -2px 6px rgba(0, 0, 0, 0.35),
    0 18px 36px var(--shadow-dark),
    0 4px 12px var(--shadow-soft);
}
.panel.note {
  background: linear-gradient(180deg, var(--gold-soft), var(--card));
  border: 2px solid var(--gold);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow:
    inset 1px 1px 4px var(--highlight),
    0 10px 20px var(--shadow-soft);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--btn-ink);
  font-weight: 800;
  margin-bottom: 10px;
  box-shadow:
    inset 1px 1px 3px var(--highlight),
    0 6px 12px var(--shadow-soft);
}
.step p { color: var(--muted); margin: 0; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow:
    inset 1px 1px 4px var(--highlight),
    0 10px 20px var(--shadow-soft);
}
.card p { color: var(--muted); margin: 0; }

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow:
    inset 1px 1px 4px var(--highlight),
    0 14px 28px var(--shadow-soft);
}
.plan.popular {
  background: var(--card);
  border: 2px solid var(--gold);
  box-shadow:
    inset 2px 2px 6px var(--highlight),
    0 20px 40px var(--shadow-dark),
    0 4px 12px var(--shadow-soft);
}
.plan-badge {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--btn-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
  align-self: flex-start;
  box-shadow: 0 6px 12px var(--shadow-soft);
}
.plan .price {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}
.plan .per { color: var(--muted); margin-bottom: 14px; }
.plan .save { color: var(--gold); font-weight: 800; margin-bottom: 14px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); }
.plan ul li { margin-bottom: 6px; }

/* FAQ */
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow:
    inset 1px 1px 4px var(--highlight),
    0 10px 20px var(--shadow-soft);
}
summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}
details p { color: var(--muted); margin: 10px 0 0; }

/* Legal pages */
.legal h2 { margin-top: 32px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }

/* Footer */
footer {
  border-top: 2px solid var(--border-strong);
  color: var(--muted);
  font-size: 14px;
  background: var(--bg-soft);
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ink);
  margin: 0 0 14px;
}
.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 6px 12px var(--shadow-soft);
}
.footer-inner nav { margin: 0 0 12px; }
.footer-inner p { margin: 6px 0; }
.disclaimer {
  color: var(--gold);
  font-weight: 700;
}

/* Mobile */
@media (max-width: 640px) {
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 30px; }
  .hero p.tag { font-size: 17px; }
  .hero-logo { width: 88px; height: 88px; }
  nav { margin-left: 0; }
  .steps, .cards, .plans { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
}
