/* Celestum website: the "Witch's cottage" look from the app. */
:root {
  --bg-top: #13180f;
  --bg-bottom: #2b2318;
  --panel: rgba(37, 41, 29, 0.86);
  --border: rgba(212, 163, 90, 0.22);
  --gold: #d4a35a;
  --on-gold: #1b170e;
  --text: #ede3cf;
  --soft: #b8ab8c;
  --muted: #857a61;
  --leaf: #9db073;
}

* { box-sizing: border-box; }

html { background: var(--bg-top); }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at top right, rgba(232, 169, 78, 0.12), transparent 55%), linear-gradient(var(--bg-top), var(--bg-bottom));
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--gold); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: 'IM Fell English', serif; font-size: 24px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
nav a { margin-left: 16px; text-decoration: none; font-weight: 700; font-size: 15px; }

h1, h2, h3 { font-family: 'IM Fell English', serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(36px, 7vw, 54px); margin: 24px 0 12px; }
h2 { font-size: 28px; margin: 40px 0 10px; color: var(--gold); }
h3 { font-size: 21px; margin: 24px 0 6px; }

.lead { font-size: 20px; color: var(--soft); max-width: 560px; }

.hero { text-align: center; padding: 30px 0 10px; }
.hero .lead { margin: 0 auto; }
.cards { display: flex; justify-content: center; gap: 14px; margin: 34px 0 10px; }
.cards img { width: min(28vw, 150px); border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); }
.cards img:nth-child(1) { transform: rotate(-6deg) translateY(10px); }
.cards img:nth-child(3) { transform: rotate(6deg) translateY(10px); }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0; }
.soon { display: inline-block; padding: 12px 22px; border-radius: 26px; border: 1px solid var(--border); background: var(--panel); color: var(--soft); font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 18px 0; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.panel h3 { margin-top: 0; }
.panel p { margin: 0; color: var(--soft); }

.doc .panel { margin: 14px 0; }
.doc ul { padding-left: 20px; margin: 8px 0; }
.doc li { margin: 4px 0; }
.small { font-size: 14px; color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 12px 0 12px 46px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 10px;
  width: 32px; height: 32px; border-radius: 16px;
  background: var(--gold); color: var(--on-gold);
  font-weight: 700; text-align: center; line-height: 32px;
}

footer { margin: 60px 0 0; padding: 24px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer a { margin-right: 16px; }

@media (max-width: 520px) {
  nav a { margin-left: 10px; font-size: 14px; }
  .brand span { display: none; }
}

details.owner { margin-top: 10px; }
details.owner summary { cursor: pointer; color: var(--gold); font-weight: 700; font-size: 15px; list-style: none; }
details.owner summary::-webkit-details-marker { display: none; }
details.owner summary::before { content: '▸'; display: inline-block; margin-right: 6px; transition: transform 0.2s; }
details.owner[open] summary::before { transform: rotate(90deg); }
details.owner p { margin: 6px 0 0 18px; color: var(--soft); }
