:root {
  --stone-gray: #D1D3BE;      /* background */
  --journal-magenta: #9C3A57; /* buttons */
  --owl-feathers: #E2B463;    /* accent */
  --water-blue: #009FD7;      /* brand color, not used yet */
  --ink: #000;
  --button-text: #F7F4EA;
  --shadow: 4px 4px 0 var(--ink);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--stone-gray);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--journal-magenta);
  border: 3px solid var(--owl-feathers);
}

h1 {
  margin: 16px 0 28px;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.link {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: var(--journal-magenta);
  color: var(--button-text);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}

.link:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.link:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.link:focus-visible,
.share:focus-visible,
.socials a:focus-visible { outline: 3px solid var(--owl-feathers); outline-offset: 3px; }

.socials {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  border-radius: 50%;
}

.socials a:hover { color: var(--journal-magenta); }
.socials svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .dot { fill: currentColor; stroke: none; }

.share {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--stone-gray);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.share:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.share:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.share svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 12px);
  padding: 10px 18px;
  background: var(--ink);
  color: var(--owl-feathers);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .link, .share, .toast { transition: none; }
}
