:root {
  color: #1c1917;
  background: #fff;
  font-family: "Outfit", "Liberation Sans", "Segoe UI", sans-serif;
  --orange: #ff6000;
  --ink: #1c1917;
  --muted: #5c534e;
  --line: #f0e4dc;
  --wash: #fffaf7;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(900px 320px at 100% -8%, rgba(255, 96, 0, 0.09), transparent 55%),
    #fff;
  padding-bottom: env(safe-area-inset-bottom);
}
button, summary { cursor: pointer; }
button, a.button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  padding: 0 18px;
  font: inherit;
  font-weight: 600;
}
button.ghost { background: #fff; color: var(--ink); border: 1px solid #f0d2c2; font-weight: 500; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.top, main { width: min(720px, 100%); margin: 0 auto; padding: 24px 20px; }
.top { padding-top: 28px; }
.brandline { display: flex; align-items: center; gap: 8px; }
.orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 96, 0, 0.4);
  animation: pulse 2.8s ease-out infinite;
}
.mark { letter-spacing: 0.16em; color: var(--orange); font-size: 12px; font-weight: 600; margin: 0; }
h1, h2, h3 { font-family: "Newsreader", "Liberation Serif", Georgia, serif; font-weight: 560; letter-spacing: -0.03em; }
h1 { font-size: clamp(40px, 11vw, 68px); line-height: 0.98; margin: 14px 0 12px; }
h2 { font-size: 28px; margin: 0 0 8px; }
h3 { font-size: 20px; margin: 18px 0 8px; }
.lead, .quiet { color: var(--muted); line-height: 1.55; }
.journey { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 18px 0 16px; list-style: none; }
.journey li {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
}
.actions, .row { display: flex; flex-wrap: wrap; gap: 8px; }
main { padding-top: 0; }
.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 12px;
  background: var(--wash);
  padding: 18px;
  animation: rise 0.45s ease both;
}
.note { border-left: 3px solid var(--orange); background: #fff; border-radius: 0 12px 12px 0; padding: 10px 12px; }
label { display: block; font-size: 13px; margin: 14px 0 6px; }
input, textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #eadfd8;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}
.token {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: pre-wrap;
  font-family: "Liberation Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.45;
}
.copy-stack { display: grid; gap: 8px; margin-top: 12px; max-width: 100%; }
.copy-stack button { width: 100%; min-height: 44px; }
.history-panel { margin-top: 12px; max-width: 100%; }
.history-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-top: 8px;
}
.history-item p { margin: 0 0 6px; overflow-wrap: anywhere; }
.history-item p:last-child { margin-bottom: 0; }
pre, .mono {
  white-space: pre-wrap;
  word-break: break-word;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  font-family: "Liberation Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.45;
}
.secret { font-family: "Liberation Mono", ui-monospace, monospace; font-size: 13px; line-height: 1.45; }
.warn { color: #9a3412; }
.pill { display: inline-block; border-radius: 999px; padding: 4px 10px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
details { margin-top: 12px; }
summary { min-height: 44px; display: flex; align-items: center; }
a { color: #9a3412; }
@media (max-width: 640px) {
  .actions, .row { display: grid; }
  .row button { width: 100%; }
}
@media (min-width: 800px) {
  .top { padding-top: 56px; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 96, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 96, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .card { animation: none; }
}
