/* Feylm web: brand tokens from AGENTS.md §37. No build step. */
:root {
  --violet: #6E5AE6;
  --coral: #F2645A;
  --bg: #181622;
  --text: #F6F3EE;
  --muted: rgba(246, 243, 238, 0.72);
  --line: rgba(246, 243, 238, 0.14);
  --surface: rgba(246, 243, 238, 0.05);
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--text); text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--coral); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 1; }

.site-header, .site-footer, main {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-header .brand img { display: block; width: 132px; height: auto; }
.site-header .lang { font-size: 0.9375rem; }

main { flex: 1; padding-top: 16px; padding-bottom: 48px; }

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; margin: 0.25em 0 0.5em; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2em 0 0.5em; }
h3 { font-size: 1.075rem; margin: 1.5em 0 0.4em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }

.hero { text-align: center; padding-top: 24px; }
.hero .monogram { width: 140px; height: auto; margin: 0 auto 8px; display: block; }
.hero h1 { margin-top: 0; }

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--violet);
  background: rgba(110, 90, 230, 0.16);
  font-weight: 600;
}

.button {
  display: inline-block;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--violet);
  color: var(--text);
  /* 19.2px bold counts as large text: warm white on violet clears WCAG 3:1. */
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { filter: brightness(0.9); }

.draft {
  border: 1px solid var(--coral);
  border-left-width: 6px;
  background: rgba(242, 100, 90, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 24px;
}
.draft strong { color: var(--coral); }

.pending { color: var(--coral); font-weight: 700; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 0 16px;
}

.steps { padding-left: 1.4em; }
.path { font-weight: 600; }

.features { list-style: none; padding: 0; display: grid; gap: 12px; text-align: left; }
.features li { margin: 0; }

.open { text-align: center; padding-top: 32px; }
.open .lang-block + .lang-block { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 32px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.site-footer p { margin: 0 0 6px; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.95em; background: var(--surface); padding: 1px 6px; border-radius: 6px; }
