/*!
 * https://dimasdanz.com/pay
 * Do I need a copy-right?
 */

:root {
  color-scheme: dark;
  --bg: #0d0f12;
  --text: #e4e6eb;
  --muted: #8b919a;
  --accent: #7eb8ff;
  --accent-hover: #a8d0ff;
  --name: #c8d4e8;
  --focus: #7eb8ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell,
    "Noto Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

.page {
  display: flex;
  justify-content: center;
  min-height: 100dvh;
  padding: 2rem 1.5rem;
}

.content {
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.name {
  display: inline;
  white-space: nowrap;
  color: var(--name);
}

h4 {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
}

h4 span {
  display: inline-block;
  white-space: nowrap;
  font-weight: 400;
  font-style: italic;
  text-decoration: line-through;
  font-size: 0.8125rem;
  color: var(--muted);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgb(126 184 255 / 0.35);
  text-underline-offset: 0.15em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.contact {
  margin-bottom: 0;
}

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