* {
  box-sizing: border-box;
}

:root {
  --ink: #111114;
  --soft-ink: #4a4640;
  --paper: #f4efe4;
  --paper-deep: #e7dcc6;
  --bronze: #9a7440;
  --bronze-dark: #74542b;
  --line: rgba(17, 17, 20, 0.14);
  --shadow: rgba(0, 0, 0, 0.34);
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(154, 116, 64, 0.18), transparent 34rem),
    #0d0d10;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  background:
    linear-gradient(rgba(13, 13, 16, 0.92), rgba(13, 13, 16, 0.98)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 9px
    );
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 2rem, 46rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: grid;
  align-content: center;
  gap: 1.4rem;
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background:
    linear-gradient(
      rgba(244, 239, 228, 0.97),
      rgba(231, 220, 198, 0.97)
    );
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.25rem;
  box-shadow: 0 1.25rem 4rem var(--shadow);
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(116, 84, 43, 0.32);
  transform: rotate(45deg);
  pointer-events: none;
}

.card::before {
  top: -5rem;
  left: -5rem;
}

.card::after {
  right: -5rem;
  bottom: -5rem;
}

.logo-wrap {
  width: min(15rem, 68vw);
  margin: 0 auto 1.25rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--bronze-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

h1 {
  max-width: 35rem;
  margin: 0 auto;
  font-size: clamp(1.9rem, 7vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.intro {
  max-width: 34rem;
  margin: 1rem auto 1.6rem;
  color: var(--soft-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.65;
}

.links {
  display: grid;
  gap: 0.75rem;
  max-width: 31rem;
  margin: 0 auto;
}

.button {
  position: relative;
  z-index: 1;
  min-height: 3.6rem;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(17, 17, 20, 0.19);
  border-radius: 0.7rem;

  cursor: pointer;
  transform: translateY(0) scale(1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
  will-change: transform;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--bronze);
  box-shadow: 0 0.75rem 1.5rem rgba(54, 39, 19, 0.18);
  outline: none;
}

.button:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 0.25rem 0.8rem rgba(54, 39, 19, 0.14);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--bronze), var(--bronze-dark));
  border-color: transparent;
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 0.85rem 1.8rem rgba(116, 84, 43, 0.34);
}

.button-icon {
  display: inline-block;
  transition: transform 180ms ease;
}

.button:hover .button-icon,
.button:focus-visible .button-icon {
  transform: translate(2px, -2px);
}

.small-note {
  margin: 1.4rem 0 0;
  color: #625d55;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  line-height: 1.5;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.66);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  text-align: center;
}

footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 35rem) {
  .page-shell {
    width: min(100% - 1rem, 46rem);
    padding: 0.5rem 0 1rem;
  }

  .card {
    border-radius: 0.9rem;
  }

  footer .dot {
    display: none;
  }

  footer {
    flex-direction: column;
  }
}

@media (hover: none) {
  .button:hover {
    transform: none;
    box-shadow: none;
  }
}

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