:root {
  color-scheme: light;
  --background: #eaeaea;
  --ink: #121212;
  /* Figma's 1440px frame, with readable minimum sizes on small screens. */
  --header-height: clamp(40px, 5.556vw, 80px);
  --identity-height: clamp(96px, 13.889vw, 200px);
  --section-gap: clamp(20px, 3.333vw, 48px);
  --content-gap: clamp(64px, 19.583vw, 282px);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--background);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; }
.copyright {
  height: var(--header-height);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1.389vw, 20px);
  padding: 0 20px;
  font-size: clamp(10px, 1.389vw, 20px);
  line-height: 1.2;
}
.copyright-symbol { font-weight: 700; }
.identity {
  height: var(--identity-height);
  display: grid;
  place-items: center;
  background: #fff;
}
h1 { margin: 0; font-size: clamp(18px, 1.667vw, 24px); line-height: 1.2; font-weight: 700; }
.navigation {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(10px, 1.667vw, 24px);
  margin-top: var(--section-gap);
  padding: 0 16px;
  font-size: clamp(16px, 1.667vw, 24px);
  line-height: 1.2;
}
button { font: inherit; color: inherit; }
.greeting {
  margin: var(--content-gap) 16px 32px;
  text-align: center;
  font-size: clamp(18px, 1.667vw, 24px);
  line-height: 1.2;
}
.navigation button, .navigation a {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-underline-offset: 5px;
  color: inherit;
  text-decoration: none;
}
.navigation button:hover, .navigation a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
dialog {
  width: min(440px, calc(100% - 40px));
  padding: 28px;
  border: 0;
  background: #fff;
  color: var(--ink);
}
dialog::backdrop { background: rgb(18 18 18 / 24%); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
h2 { margin: 0; font-size: 24px; }
.close { border: 0; padding: 0 4px; background: transparent; font-size: 28px; cursor: pointer; }
dialog p { margin: 24px 0 0; font-size: 16px; line-height: 1.6; }
@media (max-width: 340px) {
  .copyright { padding-inline: 12px; font-size: 9px; }
  .navigation { padding-inline: 12px; }
}
