:root {
  color-scheme: light;
  --ink: oklch(22% 0.03 240);
  --muted: oklch(48% 0.025 240);
  --paper: oklch(96% 0.012 92);
  --panel: oklch(99% 0.008 92);
  --line: oklch(84% 0.03 86);
  --accent: oklch(55% 0.16 35);
  --accent-strong: oklch(46% 0.18 35);
  --shadow: oklch(35% 0.04 240 / 0.12);
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  font-family:
    ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, oklch(96% 0.018 86), oklch(91% 0.028 210)),
    var(--paper);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(oklch(70% 0.028 240 / 0.18) 1px, transparent 1px),
    linear-gradient(90deg, oklch(70% 0.028 240 / 0.18) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(120deg, black, transparent 68%);
}

.page-shell {
  position: relative;
  display: grid;
  gap: var(--space-xl);
  place-items: center;
  width: min(860px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(var(--space-2xl), 8vw, 7rem) 0;
  text-align: center;
}

.domain-panel {
  display: grid;
  gap: var(--space-xl);
  justify-items: center;
  max-width: 760px;
}

.email-link {
  margin: 0;
  font-family:
    ui-sans-serif, "Avenir Next", Avenir, "Segoe UI", Helvetica, sans-serif;
}

h1 {
  width: 100%;
  overflow: visible;
  margin: 0;
  max-width: 100%;
  font-size: clamp(
    2.5rem,
    min(10vw, calc(84vw / var(--domain-length, 11) * 1.6)),
    5.75rem
  );
  font-weight: 700;
  line-height: 0.95;
  white-space: nowrap;
}

.copy-block {
  display: grid;
  gap: var(--space-xs);
}

.lede {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-family:
    ui-sans-serif, "Avenir Next", Avenir, "Segoe UI", Helvetica, sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.lede.zh {
  color: oklch(38% 0.03 240);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
  margin-top: var(--space-sm);
}

.primary-action {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  border: 1px solid oklch(35% 0.14 35 / 0.18);
  border-radius: 0.5rem;
  background: var(--accent);
  box-shadow: 0 18px 36px var(--shadow);
  color: oklch(98% 0.012 92);
  font-family:
    ui-sans-serif, "Avenir Next", Avenir, "Segoe UI", Helvetica, sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.primary-action:hover {
  background: var(--accent-strong);
  box-shadow: 0 22px 42px var(--shadow);
  transform: translateY(-2px);
}

.primary-action:focus-visible {
  outline: 3px solid oklch(72% 0.13 70);
  outline-offset: 4px;
}

.email-link {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration-color: oklch(70% 0.08 35);
  text-underline-offset: 0.25em;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 1.25rem, 860px);
  }

  h1 {
    font-size: clamp(
      2rem,
      min(13vw, calc(88vw / var(--domain-length, 11) * 1.7)),
      4.5rem
    );
  }
}
