:root {
  --bg: #e8e4e0;
  --fg: #1a1818;
  --muted: rgba(26, 24, 24, 0.55);
  --accent: #6b4f4f;
  --line: rgba(26, 24, 24, 0.18);
  --card: #f3f0ec;
}
html[data-mode="dark"] {
  --bg: #1a1818;
  --fg: #e8e4e0;
  --muted: rgba(232, 228, 224, 0.55);
  --accent: #d9c6c6;
  --line: rgba(232, 228, 224, 0.14);
  --card: #232020;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Onest', ui-sans-serif, system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  transition: background 0.35s ease, color 0.35s ease;
}
.pnav, .pfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px max(18px, env(safe-area-inset-right)) 16px max(18px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.pfoot {
  border-top: 1px solid var(--line);
  border-bottom: none;
  font-size: 13px;
  color: var(--muted);
}
.pbrand {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
  font-size: 17px;
}
.pnav__links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.pnav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.pnav__links a:hover { background: var(--card); color: var(--fg); }
.pmain {
  flex: 1;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 16px;
  padding: 24px max(18px, env(safe-area-inset-right)) 32px max(18px, env(safe-area-inset-left));
}
.pkick {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  font-size: clamp(40px, 9vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.pmain p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}
.pbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}
.pbtn:hover { transform: translateY(-2px); background: var(--card); }
.pbtn--dark { background: var(--fg); color: var(--bg); border-color: transparent; }
.pactions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pfoot a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 640px) { .pnav__links { display: none; } }
