:root {
  color-scheme: dark;
  --green: #224b1f;
  --tan: #d3b797;
  --text: #f1f0e9;
  --line: rgba(0, 0, 0, 0.2);
  --font-body: "DM Mono", ui-monospace, Menlo, monospace;
  --font-display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(13px, 0.95vw, 16px);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  font: 400 1rem/1.35 var(--font-body);
  color: var(--text);
  background: #1a1a1a;
}
a { color: inherit; text-decoration: none; }
a:active { opacity: 0.7; }
a:focus-visible { outline: 2px solid var(--tan); outline-offset: 4px; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
b { font-weight: 500; }
.underline { text-decoration: underline; text-underline-offset: 3px; }
.backdrop { position: fixed; inset: 0; z-index: -1; }
.backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.panel-wrap {
  position: relative;
  z-index: 2;
  width: clamp(360px, 34vw, 510px);
  max-width: 100%;
  padding: 1.2rem;
}
.panel { background: var(--green); padding: 1rem; border: 1px solid var(--line); border-radius: 0.8rem; }
h1 { margin: 0; font: 300 4.5rem/1 var(--font-display); }
.tagline { margin: 1.2em 0 0; }
hr { border: 0; height: 1px; background: var(--line); margin: 0.9rem 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
.row p { margin: 0; }
.action { text-align: right; }
.action a { display: inline-block; padding: 0.5rem 0; margin-top: -0.5rem; }
.buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.button { display: flex; align-items: center; justify-content: center; min-height: 44px; text-align: center; font-weight: 500; padding: 0.6rem 1rem; border: 1px solid var(--line); border-radius: 0.6rem; }
.button:hover, .socials a:hover { background: rgba(255, 255, 255, 0.08); }
.stage { position: relative; flex: 1; min-height: 190px; }
.logo { position: absolute; left: 50%; bottom: max(1.2rem, env(safe-area-inset-bottom)); transform: translateX(-50%); width: clamp(100px, 14vh, 180px); height: auto; }
.socials {
  position: absolute;
  right: max(1.2rem, env(safe-area-inset-right));
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.4rem;
  background: var(--green);
  color: var(--tan);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}
.socials a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 0.4rem; }
.socials svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
@media (max-width: 900px) {
  :root { font-size: 14px; }
  .panel-wrap { width: min(100%, 540px); padding: max(1rem, env(safe-area-inset-top)) 1rem 1rem; }
  .socials { flex-direction: row; right: 1rem; left: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); width: fit-content; margin-inline: auto; }
  .logo { bottom: calc(82px + env(safe-area-inset-bottom)); width: 100px; }
  .stage { min-height: 210px; }
}
@media (max-width: 360px) {
  :root { font-size: 13px; }
  .panel-wrap { padding-inline: 0.75rem; }
  h1 { font-size: 4rem; }
  .row { gap: 0.6rem; }
}
