:root {
  color-scheme: dark;
  --bg: #09080c;
  --surface: #121018;
  --surface-raised: #1a1721;
  --violet: #9d5cff;
  --violet-deep: #6e30bd;
  --steel: #c5c8d0;
  --steel-muted: #9297a3;
  --white: #f7f5fa;
  --line: #373340;
  --focus: #d5b8ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -15%, rgb(117 55 178 / 22%), transparent 38rem),
    linear-gradient(180deg, #0d0b11 0%, var(--bg) 70%);
}

a {
  color: inherit;
}

.page {
  width: min(100% - 2rem, 42rem);
  margin-inline: auto;
  padding-block: clamp(2rem, 7vw, 5rem) 2rem;
}

.profile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(155deg, rgb(27 23 35 / 96%), rgb(15 13 19 / 98%));
  box-shadow: 0 1.75rem 5rem rgb(0 0 0 / 35%);
}

.profile__header,
.vcard {
  padding: clamp(1.5rem, 5vw, 3rem);
}

.profile__header {
  border-top: 0.28rem solid var(--violet);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--steel-muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  text-wrap: balance;
}

h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 11vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  color: var(--steel);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  letter-spacing: -0.025em;
}

.intro {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: var(--steel);
  font-size: clamp(1rem, 3vw, 1.13rem);
  line-height: 1.7;
}

.actions {
  display: grid;
  gap: 0.75rem;
  padding: 0 clamp(1.5rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem);
}

.action {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border: 1px solid #55505f;
  border-radius: 0.85rem;
  color: var(--white);
  background: var(--surface-raised);
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.action:hover {
  border-color: var(--steel-muted);
  background: #24202d;
}

.action:active {
  transform: translateY(1px);
}

.action:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.18rem;
}

.action--primary {
  border-color: #aa72f6;
  background: linear-gradient(135deg, var(--violet-deep), #8a44d7);
}

.action--primary:hover {
  border-color: #c99cff;
  background: linear-gradient(135deg, #7d3bc8, #9c58e9);
}

.vcard {
  border-top: 1px solid var(--line);
  background: rgb(7 6 9 / 32%);
}

.section-heading {
  margin-bottom: 1.25rem;
}

.action--download {
  width: 100%;
  border-color: var(--steel-muted);
  color: #111015;
  background: linear-gradient(135deg, #e0e1e5, #aeb3bd);
}

.action--download:hover {
  border-color: var(--white);
  background: linear-gradient(135deg, #f2f2f4, #c2c6ce);
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: clamp(1rem, 5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

.qr-code {
  width: min(100%, 22rem);
  padding: 0.4rem;
  border-radius: 0.5rem;
  background: #fff;
  line-height: 0;
}

.qr-code svg {
  display: block;
  width: 100%;
  height: auto;
}

.qr-card figcaption {
  max-width: 30rem;
  color: var(--steel);
  font-size: 0.94rem;
  line-height: 1.55;
  text-align: center;
}

.privacy-note {
  width: min(100% - 2rem, 42rem);
  margin-inline: auto;
  padding: 0 0 2rem;
  color: var(--steel-muted);
  font-size: 0.78rem;
  text-align: center;
}

.privacy-note p {
  margin: 0;
}

@media (min-width: 38rem) {
  .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action--primary {
    grid-column: 1 / -1;
  }
}

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

