:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --panel: #ffffff;
  --ink: #171717;
  --muted: #646a73;
  --line: #ded8ce;
  --accent: #0f766e;
  --accent-strong: #0b5e57;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

.generator-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

.generator-shell {
  align-items: center;
  display: grid;
  gap: 28px;
  justify-items: center;
  min-height: 100vh;
  padding: 24px;
}

.generator-logo {
  display: block;
  max-width: min(240px, 70vw);
  width: 100%;
}

.generator-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  max-width: 720px;
  padding: clamp(20px, 5vw, 34px);
  width: min(100%, 720px);
}

.generated-url {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: block;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.5;
  min-height: 58px;
  overflow-wrap: anywhere;
  padding: 16px;
}

.generated-url:not(:empty) {
  color: var(--ink);
}

.generate-copy-button {
  appearance: none;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 56px;
  padding: 0 22px;
  transition: background 160ms ease, transform 160ms ease;
}

.generate-copy-button:hover {
  background: var(--accent-strong);
}

.generate-copy-button:active {
  transform: translateY(1px);
}