:root {
  color-scheme: dark;
  --background: #101817;
  --foreground: #f0f0e7;
  --muted: #a2ada5;
  --accent: #c7e996;
  --line: #354039;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.8px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px #c7e9960a;
}

main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 100px 0 120px;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(60px, 8.4vw, 126px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.065em;
}

h1 span { display: block; }

p {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
  letter-spacing: -.02em;
}

/* Decorative construction mark. No animation or JavaScript is needed. */
.mark {
  position: relative;
  width: clamp(150px, 22vw, 320px);
  aspect-ratio: 1;
}

.outline {
  position: absolute;
  border: 1px solid var(--line);
}

.outer { inset: 0; }
.inner { inset: 18%; }

.square {
  position: absolute;
  inset: 36%;
  background: var(--accent);
}

.cross {
  position: absolute;
  left: 50%;
  top: -12%;
  height: 124%;
  width: 1px;
  background: var(--line);
}

.horizontal { transform: rotate(90deg); }

footer {
  height: 68px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.measure {
  height: 5px;
  width: 48px;
  background: var(--accent);
}

@media (max-width: 900px) {
  main {
    grid-template-columns: 1fr;
    gap: 72px;
    padding: 88px 0;
  }
  .mark {
    width: 150px;
    justify-self: end;
    margin: 0 18px 8px 0;
  }
}

@media (max-width: 420px) {
  header { padding: 26px 0; }
  h1 { font-size: clamp(45px, 13.5vw, 60px); }
  main { padding: 76px 0; gap: 64px; }
}
