/* League Stove — coming soon. Sand page, a dark door with embers inside. Written by hand. */

:root {
  --sand: #f5efe6;
  --sand-deep: #eae0d1;
  --ink: #1c1712;
  --muted: #7a6b5a;
  --line: #e6dccd;
  --door: #221a14;
  --door-line: rgba(255, 255, 255, .10);
  --ember: #d9611f;
  --ember-light: #f0a04b;
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
}

a { color: #a34a12; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 8px; }

.wrap { max-width: 900px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 22px 0 clamp(24px, 4vw, 40px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 790; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand b {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(160deg, var(--ember), var(--ember-light));
  display: grid; place-items: center;
  color: #fff; font-size: .7rem; font-weight: 800;
}
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--muted); font-size: .86rem; }
.top nav a:hover, .top nav a.active { color: #a34a12; }

/* hero */
.hero { max-width: 40rem; margin-bottom: clamp(24px, 4vw, 36px); }
.chip {
  display: inline-block; margin: 0 0 18px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--sand-deep); color: #8a4310;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  line-height: 1.05; letter-spacing: -.042em; font-weight: 800;
}
h1 span { color: var(--ember); }
.lede { margin: 0; color: #4a3d31; }

/* the dark door */
.door {
  position: relative;
  background: var(--door);
  color: #f2e9df;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(28, 23, 18, .22);
  margin-bottom: clamp(24px, 4vw, 36px);
}
.door::after {
  content: "";
  position: absolute; left: 50%; bottom: -120px;
  width: 70%; height: 240px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 100%, rgba(217, 97, 31, .55), transparent 68%);
  pointer-events: none;
}
.door > * { position: relative; z-index: 1; }
.door h2 {
  margin: 0 0 4px;
  font-size: 1.1rem; font-weight: 760; letter-spacing: -.02em; color: #f6efe6;
}
.door .hint { margin: 0 0 22px; color: rgba(242, 233, 223, .68); font-size: .9rem; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(242, 233, 223, .6);
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: .96rem;
  color: #f6efe6;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--door-line);
  border-radius: 10px;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember-light);
  box-shadow: 0 0 0 4px rgba(240, 160, 75, .18);
}
.field .invalid { border-color: #e2705f; background: rgba(226, 112, 95, .12); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 32px;
  font: inherit; font-size: .94rem; font-weight: 760;
  color: #201206;
  background: linear-gradient(140deg, var(--ember-light), var(--ember));
  border: 0; border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(217, 97, 31, .32);
  transition: transform .18s, filter .18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 12px 0 0; min-height: 1.2em; font-size: .87rem; }
.status.ok { color: var(--ember-light); }
.status.err { color: #f0937f; }

/* facts */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.facts > div {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.facts dt {
  color: var(--muted);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 5px;
}
.facts dd { margin: 0; font-weight: 670; font-size: .93rem; word-break: break-word; }

/* footer */
.base {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 20px 0 40px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .82rem;
}
.base nav { display: flex; gap: 20px; }
.base a { color: var(--muted); }
.base a:hover { color: #a34a12; }
.base p { margin: 0; }

/* legal */
.doc { max-width: 800px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px) 44px; }
.doc .sheet {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4.2vw, 42px);
}
.doc h1 { margin: 16px 0 10px; font-size: clamp(1.8rem, 4.4vw, 2.4rem); }
.stamp {
  display: inline-block; margin: 0 0 26px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--sand-deep); color: #8a4310; font-size: .76rem;
}
.doc h2 {
  margin: 28px 0 8px;
  font-size: 1.03rem; font-weight: 770; letter-spacing: -.015em;
  text-transform: none; color: var(--ink);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #4a3d31; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: .5em; }
.doc-actions {
  margin-top: 34px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.soft { background: var(--sand-deep); color: #8a4310; box-shadow: none; }
.soft:hover { background: #e3d6c3; box-shadow: none; }

@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .base { flex-direction: column; }
}
