@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Mono:wght@300;400;500&display=swap');

:root {
  --gold: #C49A1A; --gold-light: #E2B84A; --gold-dim: #8A6A08;
  --teal: #1A9B78; --teal-light: #2FC79B; --teal-dim: #0A4035;
  --bg: #0B0B09; --bg2: #111110; --bg3: #191917; --bg4: #222220;
  --border: #2E2E28; --border-hi: #4A4A40;
  --text: #EAE6DA; --text-dim: #C0BCB0; --text-muted: #888480;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 1.6rem 2.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo { text-decoration: none; }
.logo-title { font-size: 1.9rem; font-weight: 300; letter-spacing: 0.12em; color: var(--gold); line-height: 1; }
.logo-sub { font-family: 'DM Mono', monospace; font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.22em; text-transform: uppercase; margin-top: 0.25rem; }

nav.top { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.btn {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  border: 1px solid var(--border-hi);
  background: var(--bg2);
  color: var(--text-dim);
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  cursor: pointer;
}

.btn:hover { border-color: var(--gold-dim); color: var(--gold-light); }
.btn-gold { background: linear-gradient(135deg, var(--gold-dim), var(--gold)); border: none; color: var(--bg); }
.btn-gold:hover { filter: brightness(1.15); color: var(--bg); }
.btn-big { font-size: 0.95rem; padding: 0.95rem 2rem; }

main { flex: 1; width: 100%; max-width: 1060px; margin: 0 auto; padding: 2.5rem 2.5rem 4rem; }

.hero { text-align: center; padding: 2.5rem 0 2rem; }
.hero h1 { font-size: 2.9rem; font-weight: 300; line-height: 1.2; color: var(--text); }
.hero h1 b { color: var(--gold-light); font-weight: 400; }
.hero .sub { font-size: 1.25rem; color: var(--text-dim); font-style: italic; max-width: 640px; margin: 1rem auto 1.8rem; }

.trust {
  display: flex; justify-content: center; gap: 1.6rem; flex-wrap: wrap;
  font-family: 'DM Mono', monospace; font-size: 0.76rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-top: 1.4rem;
}
.trust span::before { content: '\2713\00a0'; color: var(--teal-light); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin: 2.2rem 0; }

.card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 3px;
  padding: 1.4rem 1.5rem; text-decoration: none; display: block; transition: all 0.2s;
}
.card:hover { border-color: var(--gold-dim); background: var(--bg3); transform: translateY(-2px); }
.card h3 { color: var(--gold-light); font-weight: 400; font-size: 1.25rem; margin-bottom: 0.4rem; }
.card p { color: var(--text-dim); font-size: 1.02rem; }
.card .go { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-light); margin-top: 0.7rem; display: inline-block; }

h2 { font-size: 1.9rem; font-weight: 300; color: var(--gold-light); margin: 2.4rem 0 0.8rem; }
h3 { font-size: 1.25rem; font-weight: 400; color: var(--text); margin: 1.6rem 0 0.5rem; }
p { margin-bottom: 0.9rem; color: var(--text-dim); }
ul, ol { margin: 0 0 1rem 1.3rem; color: var(--text-dim); }
li { margin-bottom: 0.45rem; }
a { color: var(--teal-light); }
b, strong { color: var(--text); }

.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps > li { counter-increment: step; position: relative; padding-left: 2.4rem; margin-bottom: 0.8rem; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.1rem;
  width: 1.7rem; height: 1.7rem;
  border: 1px solid var(--gold-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace; font-size: 0.76rem; color: var(--gold-light);
}

details {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 3px;
  padding: 0.9rem 1.2rem; margin-bottom: 0.7rem;
}
details summary { cursor: pointer; font-size: 1.12rem; color: var(--text); font-weight: 400; }
details p { margin: 0.7rem 0 0; }

.cta-band {
  text-align: center; margin: 2.6rem 0 0.6rem; padding: 2rem;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 3px;
}
.cta-band .hint { font-family: 'DM Mono', monospace; font-size: 0.74rem; color: var(--text-muted); letter-spacing: 0.08em; margin-top: 0.8rem; }

footer {
  border-top: 1px solid var(--border);
  padding: 1.6rem 2.5rem 2.2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: 'DM Mono', monospace; font-size: 0.74rem; letter-spacing: 0.08em; color: var(--text-muted);
}
footer a { color: var(--text-muted); text-decoration: none; margin-right: 1.1rem; }
footer a:hover { color: var(--gold-light); }

@media (max-width: 700px) {
  header, footer { padding-left: 1.1rem; padding-right: 1.1rem; }
  main { padding: 1.6rem 1.1rem 3rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero .sub { font-size: 1.1rem; }
}

/* ---------- HERO DROP ZONE ----------
   Replaces a plain "open the editor" button: dropping a file here parks it
   and opens the editor with it already loaded, saving a step. Clicking does
   the same via the file picker, so it still behaves like the button did. */
.dropzone {
  position: relative;
  border: 1px dashed var(--border-hi);
  border-radius: 4px;
  background: var(--bg2);
  padding: 2.4rem 1.6rem;
  max-width: 640px;
  margin: 0 auto;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.dropzone:hover { border-color: var(--gold-dim); background: var(--bg3); transform: translateY(-2px); }
.dropzone.drag-over { border-color: var(--teal); background: var(--teal-dim); }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz-icon { font-size: 2rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.dz-title { font-size: 1.5rem; font-weight: 300; color: var(--text); }
.dz-sub {
  font-family: 'DM Mono', monospace; font-size: 0.76rem; letter-spacing: 0.08em;
  color: var(--text-muted); margin-top: 0.55rem;
}
.dz-busy { color: var(--gold-light); }
.dz-alt { margin-top: 0.9rem; font-family: 'DM Mono', monospace; font-size: 0.76rem; letter-spacing: 0.08em; }
.dz-alt a { color: var(--text-muted); text-decoration: none; }
.dz-alt a:hover { color: var(--gold-light); }

@media (max-width: 700px) {
  .dropzone { padding: 1.8rem 1rem; }
  .dz-title { font-size: 1.25rem; }
}
