:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --panel: #141414;
  --line: #2a2a2a;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #00f2ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

main {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.logo {
  display: block;
  margin: 0 auto 24px;
  border-radius: 16px;
}

h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

p { margin: 0 0 12px; color: var(--muted); }

.eyebrow {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
}

.button.quiet {
  width: auto;
  display: inline-block;
  min-height: 44px;
  padding: 8px 16px;
  background: none;
  color: var(--accent);
}

.button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.hint {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.hint:empty { display: none; }

#copy-result { margin-top: 12px; }

[hidden] { display: none !important; }
