:root {
  color-scheme: dark;
  --ink: #f4ecda;
  --muted: #bbb9ba;
  --gold: #e2c48a;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  background: #101118;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; }
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 35% 48%, #55403130, transparent 45%),
    radial-gradient(ellipse at 6% 70%, #37445a52, transparent 55%),
    radial-gradient(1px 1px at 13px 24px, #e6d6ab99 70%, transparent),
    radial-gradient(1px 1px at 34px 56px, #bbc9d880 70%, transparent),
    radial-gradient(1.5px 1.5px at 68px 17px, #ded0ba78 50%, transparent);
  background-size: auto, auto, 101px 137px, 157px 173px, 263px 223px;
}
main {
  width: min(100%, 72rem);
  min-height: 100svh;
  margin: auto;
  padding: clamp(1.35rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1rem, 5vw, 5rem);
  align-items: center;
}
.system {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 53% 44%, #b28c6450, #77748619 35%, transparent 68%);
}
.orbit {
  position: absolute;
  left: 50%; top: 50%;
  border: 1px solid #bfa58039;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-33deg);
}
.outer { width: 99%; height: 75%; border-style: dashed; border-color: #c5b29330; }
.middle { width: 90%; height: 53%; }
.inner { width: 70%; height: 36%; border-color: #c4c8d93d; }
.sun {
  position: absolute;
  left: 64%; top: 24%;
  width: 17%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 44% 36%, #ffefd5 15%, #f1ce92 58%, #edb477);
  box-shadow: 0 0 .7rem #ffdda3, 0 0 3rem #e2b775ab, 0 0 6rem #d0a56870;
}
.globe {
  position: absolute;
  left: 21%; top: 33%; width: 54%; aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 102% 8%, transparent 8%, #30242e2b 30%, #11121bb0 62%, #0c111c 88%),
    repeating-linear-gradient(166deg, #a5a1a135 0%, #86797630 2.4%, #ccb59d26 4%, #74696513 5.6%, #605e6c29 8%),
    radial-gradient(circle at 78% 0, #f8cda0, #ac8f79 23%, #71707a 57%, #48505d);
  box-shadow: inset -1px 1px 2px #ffe6bdc7, 2px -3px 8px -4px #ffe9ca;
}
.moon {
  position: absolute;
  left: 9%; top: 66%; width: 6%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 76% 20%, #e4d7b9, #83828a 34%, #272a35 73%);
  box-shadow: inset -.5px .5px 1px #e9dbbc;
}
.panel { width: min(100%, 26rem); margin-inline: auto; }
h1 {
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(3.4rem, 5.9vw, 6rem);
  line-height: .98;
  letter-spacing: -.066em;
  font-weight: 400;
  margin: 0 0 1.2rem;
}
h1 i { color: var(--gold); font-weight: 400; }
.intro { margin: 0 0 1.8rem; max-width: 33ch; color: var(--muted); line-height: 1.55; }
label { display: block; font-size: .86rem; margin-bottom: .5rem; font-weight: 600; }
input, button { font: inherit; border-radius: .5rem; width: 100%; min-height: 3rem; }
input {
  color: var(--ink); border: 1px solid #777580; background: #191b23;
  padding: .78rem .94rem; font-size: 1rem;
}
input::placeholder { color: #a6a5ac; }
button {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .7rem; padding: .75rem .95rem;
  border: 1px solid #ecdaae; font-weight: 650; cursor: pointer;
  color: #282117; background: linear-gradient(105deg, #ead9b3, #d8b77c);
}
button:hover:enabled { background: #f0deba; }
button:disabled { opacity: .68; cursor: default; }
button span { font-size: 1.3em; line-height: 1; }
:focus-visible { outline: 2px solid #ffe6a8; outline-offset: 4px; }
#verification { max-width: 100%; }
#verification iframe { max-width: 100%; }
#status { margin: 1.2rem 0 .6rem; line-height: 1.5; }
#status:empty { margin: 0; }
#status[data-kind="error"] { color: #f2d3a9; }
#status[data-kind="success"] { font-size: 1.16rem; }
#contact { margin-top: .6rem; font-size: .9rem; color: var(--muted); }
#contact summary { cursor: pointer; width: fit-content; min-height: 2.75rem; padding-block: .8rem .6rem; }
#contact p { margin: .1rem 0 .25rem; line-height: 1.45; }
.contact-address {
  display: inline-block; max-width: 100%; overflow-wrap: anywhere;
  user-select: text; color: var(--gold); padding: .3rem 0 .6rem;
  text-underline-offset: .18em;
}
noscript p { line-height: 1.45; }
@media (max-width: 740px) {
  main { grid-template-columns: 1fr; gap: .5rem; align-content: center; padding-block: 1.25rem 2rem; }
  .system { width: min(100%, 24rem, 56svh); aspect-ratio: 1.45; margin-inline: auto; }
  .outer { width: 90%; height: 79%; } .middle { width: 83%; height: 57%; }
  .globe { width: 40%; left: 28%; top: 30%; }
  .sun { width: 13%; top: 18%; }
  .moon { width: 4.6%; left: 16%; }
  .panel { width: min(100%, 24rem); }
  h1 { font-size: clamp(3.3rem, 13vw, 4.5rem); margin-bottom: .8rem; }
  .intro { margin-bottom: 1.2rem; }
}
@media (max-width: 740px) and (max-height: 650px) {
  .system { width: min(85%, 36svh); }
  main { padding-block: .8rem 1rem; }
}
