/* Field on the left, text on the right; one column under 760px. Dark only, on purpose. */
:root {
  color-scheme: dark;
  --bg: #07101C;
  --text: #FFEEEF;
  --muted: #8A8FA0;
  --glint: #A1F68F;
  --line: #323E50;
  --f-display: "Tenor Sans", "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--glint); outline-offset: 3px; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  padding-inline: max(16px, 5vw, env(safe-area-inset-left, 0px));
  padding-block: max(48px, env(safe-area-inset-top, 0px)) max(40px, env(safe-area-inset-bottom, 0px));
  max-width: 1440px;
  margin-inline: auto;
}

.stage { position: relative; aspect-ratio: 1; width: min(100%, 620px); justify-self: center; }
.stage > * { position: absolute; inset: 0; width: 100%; height: 100%; }
#field-sign { inset: 34%; width: auto; height: auto; }
#field-sign svg { width: 100%; height: 100%; display: block; }

.text { min-width: 0; }
h1 {
  font: 400 clamp(34px, 5.2vw, 68px)/1.08 var(--f-display);
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.body { display: grid; gap: 18px; max-width: 34em; opacity: .9; }
.close { margin-top: 40px; font: 400 20px/1.3 var(--f-display); color: var(--glint); }

.own { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.own summary { cursor: pointer; list-style: none; display: inline-block; letter-spacing: .12em; padding-block: 6px; }
.own summary::-webkit-details-marker { display: none; }
.own[open] summary { color: var(--text); }
.own ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.own a { text-decoration: none; border-bottom: 1px solid var(--line); }
.own a:hover { border-color: var(--glint); }

@media (max-width: 760px) {
  .page { grid-template-columns: minmax(0, 1fr); align-items: start; padding-block: max(32px, env(safe-area-inset-top, 0px)) max(32px, env(safe-area-inset-bottom, 0px)); }
  .stage { width: min(100%, 420px); }
  body { font-size: 16px; }
}
