:root {
  color-scheme: light;
  --background: #fbfbf8;
  --text: #171717;
  --muted: #595959;
  --line: #d9d7ce;
  --accent: #f2e85c;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    var(--background);
  background-size: 36px 36px;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
  line-height: 1.8;
}

.site-shell {
  width: min(100% - 40px, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 112px) 0;
}

.hero {
  display: grid;
  gap: 20px;
  padding: 0 0 clamp(56px, 12vh, 112px);
  border-bottom: 1px solid var(--line);
}

.domain {
  width: fit-content;
  margin: 0;
  padding: 2px 8px;
  color: var(--text);
  background: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.12em;
  font-size: clamp(3.25rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: inline-block;
  white-space: nowrap;
}

.lead {
  max-width: 680px;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 650;
  line-height: 1.55;
}

.lead span {
  display: block;
}

.note {
  display: grid;
  gap: 22px;
  max-width: 720px;
  padding: clamp(48px, 9vh, 88px) 0 0;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
}

.note p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 28px, var(--max-width));
    padding-top: 40px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(2.7rem, 11vw, 4.8rem);
  }
}
