/* Fabricard landing pages - shared styles.
   Reuses the host app's obsidian + gold design tokens and Inter font.
   Used by the SEO landing pages under /mtg-proxy-printer/, /de/mtg-proxy-drucken/, etc.
   These pages are normal scrollable documents (the tool app itself uses overflow:hidden). */

@font-face { font-family:'Inter'; src:url('/fonts/inter/inter-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('/fonts/inter/inter-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('/fonts/inter/inter-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('/fonts/inter/inter-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }

:root {
  --bg-app: #0C0D13;
  --bg-sidebar: #111318;
  --bg-section: #181B24;
  --bg-input: #1C2030;
  --border: #272D42;
  --border-light: #1E2336;
  --accent: #C8A951;
  --accent-hover: #DFBF68;
  --accent-dim: rgba(200,169,81,0.12);
  --text-primary: #EBECF0;
  --text-secondary: #8B92A8;
  --text-muted: #6B7490;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  /* Subtle, fixed Ur-Dragon backdrop dimmed by a dark gradient so text stays readable. */
  background-color: var(--bg-app);
  background-image:
    linear-gradient(180deg, rgba(12,13,19,0.82) 0%, rgba(12,13,19,0.93) 60%, rgba(12,13,19,0.985) 100%),
    url('/The_Ur-Dragon.webp');
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

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

/* Header */
.lp-header {
  border-bottom: 1px solid var(--border);
  background: rgba(17,19,24,0.8);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(6px);
}
.lp-header .lp-wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.lp-brand { font-weight: 700; font-size: 18px; color: var(--text-primary); letter-spacing: -0.01em; }
.lp-brand:hover { text-decoration: none; }
.lp-brand b { color: var(--accent); }
.lp-nav a { color: var(--text-secondary); font-size: 14px; margin-left: 18px; }
.lp-nav a:hover { color: var(--text-primary); }

/* Hero */
.lp-hero { padding: 56px 0 36px; }
.lp-hero h1 { font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.lp-hero p { font-size: 18px; color: var(--text-secondary); max-width: 680px; }
.lp-hero .lp-sub { font-size: 15px; color: var(--text-muted); margin-top: 12px; }

/* Buttons */
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.lp-btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.lp-btn-primary { background: var(--accent); color: #1a1606; border: 1px solid var(--accent); }
.lp-btn-primary:hover { background: var(--accent-hover); color: #1a1606; text-decoration: none; }
.lp-btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.lp-btn-secondary:hover { background: var(--bg-input); color: var(--text-primary); text-decoration: none; }

/* Sections */
.lp-section { padding: 30px 0; border-top: 1px solid var(--border-light); }
.lp-section h2 { font-size: 22px; font-weight: 600; margin-bottom: 18px; letter-spacing: -0.01em; }

/* Steps */
.lp-steps { display: grid; gap: 14px; counter-reset: step; }
.lp-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px;
}
.lp-step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.lp-step h3 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.lp-step p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* Feature grid */
.lp-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lp-feature {
  background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px;
}
.lp-feature h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.lp-feature p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* FAQ */
.lp-faq details {
  background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 18px; margin-bottom: 10px;
}
.lp-faq summary {
  font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; color: var(--text-primary);
  display: flex; justify-content: space-between; gap: 12px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.lp-faq details[open] summary::after { content: "-"; }
.lp-faq details p { font-size: 14px; color: var(--text-secondary); margin-top: 10px; }

/* Related links */
.lp-related { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-related a {
  font-size: 14px; padding: 8px 14px; border-radius: var(--radius-md);
  background: var(--bg-input); border: 1px solid var(--border); color: var(--text-secondary);
}
.lp-related a:hover { color: var(--text-primary); background: var(--bg-section); text-decoration: none; }

/* Footer */
.lp-footer { border-top: 1px solid var(--border); padding: 28px 0 48px; margin-top: 24px; }
.lp-footer p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.lp-footer-links a { color: var(--text-secondary); }
.lp-disclaimer { font-size: 12px; color: var(--text-muted); margin-top: 16px; line-height: 1.5; }

@media (max-width: 640px) {
  body { font-size: 15px; }
  .lp-hero { padding: 36px 0 24px; }
  .lp-hero h1 { font-size: 27px; }
  .lp-hero p { font-size: 16px; }
  .lp-features { grid-template-columns: 1fr; }
  .lp-nav a { margin-left: 12px; }
}
