:root {
  --bg-cream: #f8f3ea;
  --bg-warm: #efe4d2;
  --text-main: #3f2f3a;
  --text-soft: #5f4b5b;
  --accent: #8a5a74;
  --accent-deep: #6d3d58;
  --card-bg: rgba(255, 255, 255, 0.6);
  --card-border: rgba(109, 61, 88, 0.18);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background-color: var(--bg-cream);
}

body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-cream);
  background: radial-gradient(circle at 10% 10%, var(--bg-warm) 0%, var(--bg-cream) 55%, #f5efe4 100%);
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 24px;
  position: relative;
  overflow-x: hidden;
}

.aurora {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.aurora-one {
  top: -140px;
  left: -180px;
  background: #caa8ba;
}

.aurora-two {
  bottom: -180px;
  right: -130px;
  background: #d5c3a6;
}

.container {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  margin-inline: auto;
  text-align: center;
  padding: 36px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 45px rgba(74, 39, 57, 0.12);
}

.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: 0.74rem;
  color: var(--accent-deep);
  font-weight: 700;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  font-weight: 600;
  color: #46313f;
}

.lead {
  width: min(640px, 100%);
  margin: 18px auto 0;
  font-size: clamp(1.03rem, 2.6vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.65;
}

.book-note {
  margin: 28px auto 0;
  width: min(620px, 100%);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 18px 8px 20px;
}

h2 {
  font-size: clamp(1.6rem, 5.2vw, 2.2rem);
  color: var(--accent-deep);
}

.book-note p {
  margin: 8px 0 0;
  line-height: 1.6;
  color: var(--text-soft);
}

.social-wrap {
  margin-top: 26px;
}

.social-title {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-weight: 600;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  align-items: center;
  text-decoration: none;
  color: var(--accent-deep);
  border: 1px solid rgba(109, 61, 88, 0.35);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  background: #fff;
  border-color: var(--accent);
}

.social-link:focus-visible {
  outline: 3px solid rgba(138, 90, 116, 0.35);
  outline-offset: 2px;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  body {
    padding: 16px;
  }

  .container {
    padding: 26px 16px;
    border-radius: 18px;
  }

  .lead {
    line-height: 1.55;
  }

  .social-link {
    width: 44px;
  }
}

/* iPhone Safari: avoid fixed blurred blobs causing top/bottom tint mismatch near browser chrome */
@media (max-width: 767px) and (hover: none) and (pointer: coarse) {
  body {
    background: linear-gradient(180deg, #f6efe4 0%, #f8f3ea 100%);
  }

  .aurora {
    display: none;
  }
}
