/* dm-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/dm-sans-v17-latin-300.eot'); /* IE9 Compat Modes */
  src: url('fonts/dm-sans-v17-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/dm-sans-v17-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/dm-sans-v17-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/dm-sans-v17-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/dm-sans-v17-latin-300.svg#DMSans') format('svg'); /* Legacy iOS */
}
/* dm-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/dm-sans-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/dm-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/dm-sans-v17-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/dm-sans-v17-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/dm-sans-v17-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/dm-sans-v17-latin-regular.svg#DMSans') format('svg'); /* Legacy iOS */
}

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

:root {
  --bg: #eff5f5;
  --text: #1a1a18;
  --muted: #888880;
  --accent: #2a2a28;
  --line: #d8d5cf;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── MAIN PAGE ── */

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.stage {
  text-align: center;
  max-width: 560px;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.4rem;
}

h1 em {
  font-style: italic;
  color: var(--muted);
}

.divider {
  width: 36px;
  height: 1px;
  background: var(--line);
  margin: 1.8rem auto;
}

.sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.4rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn-download:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-download svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── FOOTER ── */

footer {
  padding: 1.2rem 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 2rem;
}

footer a {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
}

footer a:hover {
  color: var(--text);
}

/* ── LEGAL PAGES ── */

.legal-wrap {
  flex: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.legal-wrap .back {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2.5rem;
}

.legal-wrap .back:hover { color: var(--text); }

.legal-wrap h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 2rem;
  text-align: left;
}

.legal-wrap h2 {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0.6rem;
}

.legal-wrap p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

.legal-wrap p + p { margin-top: 0.8rem; }

/* ── RESPONSIVE ── */

@media (max-width: 480px) {
  footer { gap: 1.4rem; }
}
