/* Guide pages (rydn.io/guides/, /de/guides/), generated by scripts/build_website.py. Same tokens as index.html. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #08090d; --surface: #0f1116; --surface-2: #171a20;
  --border: rgba(255,255,255,0.07); --border-hi: rgba(255,255,255,0.13);
  --accent: #28d98a; --text: #dde4f5; --muted: rgba(221,228,245,0.62); --muted-2: rgba(221,228,245,0.32);
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }

.g-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem; background: rgba(8,9,13,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.g-logo { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.05em; color: var(--text); text-decoration: none; }
.g-logo em { font-style: normal; color: var(--accent); }
.g-nav-links { display: flex; align-items: center; gap: 1.25rem; }
.g-link, .g-lang { font-size: 0.88rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.g-link:hover, .g-lang:hover { color: var(--text); }
.g-lang { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; }
.g-cta { background: var(--accent); color: #0a1a10; font-weight: 700; font-size: 0.88rem; text-decoration: none;
  padding: 0.55rem 1.1rem; border-radius: 8px; white-space: nowrap; }
.g-cta:hover { opacity: 0.88; }

.g-main { padding: 4rem 1.5rem 5rem; }
.g-article, .g-index { max-width: 720px; margin: 0 auto; }
.g-kicker { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 1.1rem; }
.g-lead { font-size: 1.15rem; line-height: 1.65; color: var(--muted); margin-bottom: 2.5rem; }
.g-article h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; margin: 2.6rem 0 0.9rem; }
.g-article p, .g-article li { font-size: 1.02rem; line-height: 1.75; color: rgba(221,228,245,0.82); }
.g-article p { margin-bottom: 1rem; }
.g-article ul, .g-article ol { margin: 0 0 1.2rem 1.3rem; }
.g-article li { margin-bottom: 0.45rem; padding-left: 0.2rem; }
.g-article strong { color: var(--text); }

.table-wrap { overflow-x: auto; margin: 1.4rem 0 1.2rem; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); background: var(--surface); }
tr:last-child td { border-bottom: none; }
td { color: rgba(221,228,245,0.85); }
.zdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.5rem; vertical-align: 1px; }

.g-app { margin: 3rem 0 2rem; padding: 1.5rem; border-radius: 16px; background: var(--surface); border: 1px solid rgba(40,217,138,0.25); }
.g-app-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; }
.g-app p { margin-bottom: 1.2rem; }
.g-app img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--border); }

.g-cta-box { text-align: center; padding: 2.5rem 1.5rem; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); }
.g-cta-box h2 { margin-top: 0 !important; }
.g-cta-box p { color: var(--muted); }
.g-cta-big { display: inline-block; margin-top: 0.8rem; padding: 0.85rem 2rem; font-size: 1rem; border-radius: 10px; }

.g-cards { display: grid; gap: 1rem; }
.g-card { display: block; padding: 1.6rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: border-color 0.2s, transform 0.2s; }
.g-card:hover { border-color: rgba(40,217,138,0.35); transform: translateY(-2px); }
.g-card h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.g-card p { color: var(--muted); line-height: 1.6; margin-bottom: 0.9rem; }
.g-card span { color: var(--accent); font-weight: 700; font-size: 0.9rem; }

.g-footer { border-top: 1px solid var(--border); padding: 2.25rem 2.5rem; }
.g-footer-inner { max-width: 1060px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.g-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.g-footer-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; }
.g-footer-links a:hover { color: var(--text); }
.g-copy { font-size: 0.82rem; color: var(--muted-2); width: 100%; }

@media (max-width: 640px) {
  .g-nav { padding: 0.9rem 1.2rem; }
  .g-nav-links { gap: 0.8rem; }
  .g-link { display: none; }
  .g-main { padding: 2.5rem 1.2rem 4rem; }
  .g-footer { padding: 2rem 1.2rem; }
}
