:root {
  --ink: #14171f;
  --muted: #687080;
  --line: rgba(21, 28, 42, 0.12);
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --brand: #c82127;
  --brand-dark: #991a20;
  --brand-soft: rgba(200, 33, 39, 0.1);
  --shadow: 0 24px 70px rgba(22, 30, 46, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eef1f5;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(200, 33, 39, 0.13), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #eef1f5 100%);
}

a {
  color: inherit;
}

.qr-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 14px;
}

.qr-card {
  width: min(100%, 410px);
  padding: 30px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  margin-bottom: 16px;
  text-decoration: none;
}

.logo-link img {
  width: min(260px, 82vw);
  height: auto;
  display: block;
}

.kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: 0;
}

.intro {
  margin: 10px auto 24px;
  max-width: 28ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.action-list {
  display: grid;
  gap: 12px;
}

.action {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(21, 28, 42, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.action:focus-visible {
  outline: 3px solid rgba(200, 33, 39, 0.28);
  outline-offset: 3px;
}

.action:hover {
  border-color: rgba(200, 33, 39, 0.34);
  box-shadow: 0 14px 30px rgba(21, 28, 42, 0.1);
  transform: translateY(-1px);
}

.action.primary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 16px 34px rgba(200, 33, 39, 0.28);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand);
  background: var(--brand-soft);
}

.primary .icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action strong,
.action small {
  display: block;
}

.action strong {
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0;
}

.action small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.primary small {
  color: rgba(255, 255, 255, 0.78);
}

address {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

@media (max-width: 360px) {
  .qr-card {
    padding-inline: 14px;
    border-radius: 20px;
  }

  .action {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding-inline: 12px;
  }

  .icon {
    width: 44px;
    height: 44px;
  }
}
