:root {
  color-scheme: light;
  --blue: #087bff;
  --link: #0065d9;
  --ink: #17283f;
  --muted: #657286;
  --paper: #fbfcfe;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.page-width {
  width: min(calc(100% - 6rem), 60rem);
  margin-inline: auto;
}

header { padding-block: 2.5rem; }

.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .12em;
}

.mark {
  width: 1.875rem;
  height: 1.875rem;
  display: grid;
  place-items: center;
  border-radius: .6rem;
  background: var(--blue);
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.04em;
}

main {
  display: flex;
  align-items: center;
  padding-block: 4rem 6rem;
}

section { width: 100%; max-width: 42rem; }

h1 {
  margin: 0;
  font-size: clamp(2.625rem, 6.2vw, 4.75rem);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.intro {
  max-width: 26rem;
  margin: 1.15rem 0 .2rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.company-note { margin-top: 1.8rem; }

.company-note p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.email {
  display: inline-block;
  max-width: 100%;
  min-height: 2.75rem;
  padding-block: .35rem;
  color: var(--link);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.015em;
  text-decoration-line: underline;
  text-decoration-color: #b0d4ff;
  text-decoration-thickness: 1px;
  text-underline-offset: .4em;
  overflow-wrap: anywhere;
  transition: color .16s ease, text-decoration-color .16s ease;
}

.email:hover {
  color: #004fae;
  text-decoration-color: currentColor;
}

.email:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
  border-radius: 2px;
}

footer { padding-block: 1.5rem 2.25rem; }

footer p {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .4em;
}

::selection { background: #dcecff; color: var(--ink); }

@media (max-width: 600px) {
  .page-width { width: calc(100% - 3rem); }
  header { padding-block: 2rem; }
  main { padding-block: 3.5rem 4.5rem; }
  h1 { max-width: 9ch; }
  .intro { margin-top: 1rem; font-size: 1rem; margin-bottom: .15rem; }
  .company-note { margin-top: 1.6rem; }
  .email { font-size: 1rem; }
  footer { padding-bottom: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .email { transition: none; }
}
