@font-face {
  font-family: "Sharewell Glacial";
  src: url("/fonts/GlacialIndifference.woff") format("woff");
  font-display: swap;
}

:root {
  --ink: #29262f;
  --muted: #68616b;
  --paper: #fffaf3;
  --paper-deep: #f5eadf;
  --rose: #ed5963;
  --rose-dark: #c94551;
  --title-red: #c94750;
  --teal: #2f7472;
  --line: rgba(75, 61, 67, 0.16);
  --shadow: 0 24px 70px rgba(92, 68, 62, 0.12);
  --display: "DM Serif Text", Georgia, serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  --body: "Sharewell Glacial", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --marketing-sans: var(--body);
  --coral: var(--rose);
  --coral-dark: var(--rose-dark);
  --ink-soft: var(--muted);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(237, 89, 99, 0.08), transparent 28rem),
    radial-gradient(circle at 8% 32%, rgba(47, 116, 114, 0.07), transparent 26rem),
    var(--paper);
  font-family: var(--body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("/images/generated/card-paper-texture.webp");
  background-size: 480px;
  opacity: 0.13;
  pointer-events: none;
  content: "";
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.home-shell {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
}

.mock-header {
  position: relative;
  z-index: 10;
  display: flow-root;
  overflow: visible;
  font-family: var(--marketing-sans);
}

.mock-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: -160px;
  left: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(255, 255, 255, 0.62) 0 12%, transparent 30%),
    radial-gradient(ellipse at 72% 18%, rgba(255, 255, 255, 0.72) 0 12%, transparent 31%),
    radial-gradient(ellipse at 88% 34%, rgba(255, 255, 255, 0.58) 0 10%, transparent 28%),
    radial-gradient(ellipse at 13% 28%, rgba(255, 255, 255, 0.5) 0 9%, transparent 26%),
    linear-gradient(180deg, #d8eeef 0%, #eef8f5 100%),
    linear-gradient(90deg, rgba(47, 42, 40, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 42, 40, 0.02) 1px, transparent 1px);
  background-size: 100% 560px, auto, auto, auto, 100% 100%, 44px 44px, 44px 44px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.72) 66%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.72) 66%, transparent 100%);
  pointer-events: none;
}

.mock-nav {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 64px;
  gap: 24px;
  margin-top: 24px;
  padding: 0;
}

.mock-brand {
  display: grid;
  width: fit-content;
  justify-items: center;
  gap: 4px;
}

.mock-logo {
  display: inline-flex;
  width: 198px;
  align-items: center;
}

.mock-logo img {
  display: block;
  width: 198px;
  height: auto;
}

.mock-tagline {
  margin: 0;
  color: var(--coral-dark);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.mock-nav-links,
.mock-auth,
.mock-footer-links,
.mock-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.mock-nav-links {
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.mock-auth {
  justify-content: flex-end;
  gap: 10px;
}

.mock-nav a,
.mock-footer a {
  text-decoration: none;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.mock-nav-links a:hover,
.mock-auth a:hover,
.mock-footer a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.mock-auth a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.mock-auth .mock-signup {
  border: 1px solid var(--coral);
  color: #fffdf7;
  background: var(--coral);
}

.mock-auth .mock-signup:hover {
  border-color: #d94f58;
  color: #fffdf7;
  background: #d94f58;
}

.user-dropdown {
  position: relative;
  z-index: 20;
}

.dropdown-trigger {
  display: inline-flex;
  min-height: 42px;
  max-width: min(320px, 32vw);
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.82);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.dropdown-trigger #userName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-arrow {
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-top: 7px solid currentcolor;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  transition: transform 180ms ease;
}

.dropdown-arrow.arrow-up {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(75, 51, 38, 0.13);
}

.dropdown-menu.show {
  display: grid;
}

.dropdown-item {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-item:hover {
  color: var(--coral);
  background: rgba(231, 90, 98, 0.08);
}

.site-shell {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.9);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto auto;
  align-items: center;
  min-height: 86px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand img {
  width: 146px;
  height: auto;
}

.nav-links,
.nav-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav-links a,
.nav-actions a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-actions a:not(.button):hover,
.footer-links a:hover {
  color: var(--rose-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 0 rgba(41, 38, 47, 0.12);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--rose-dark);
  box-shadow: 0 10px 0 rgba(201, 69, 81, 0.13);
  transform: translateY(-2px);
}

.button:active {
  box-shadow: 0 4px 0 rgba(41, 38, 47, 0.12);
  transform: translateY(1px);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.button.secondary:hover {
  color: #fff;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  min-height: 670px;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  color: var(--rose-dark);
  font-family: var(--hand);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.025em;
}

.eyebrow::before,
.section-label::before {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--title-red);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.1rem, 6.4vw, 5.7rem);
  line-height: 0.98;
}

.guide-page h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 5.8vw, 5.3rem);
}

.hero-intro {
  max-width: 60ch;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions,
.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  margin: 2rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-facts li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.hero-art {
  position: relative;
  min-height: 510px;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  inset: 6% -6% -4% 9%;
  z-index: -1;
  border: 1px solid rgba(47, 116, 114, 0.2);
  border-radius: 52% 48% 43% 57% / 45% 53% 47% 55%;
  background: rgba(47, 116, 114, 0.07);
  transform: rotate(4deg);
  content: "";
}

.hero-art img {
  width: 100%;
  height: 510px;
  border-radius: 48% 52% 44% 56% / 39% 43% 57% 61%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-stamp {
  position: absolute;
  right: -1.2rem;
  bottom: 2.2rem;
  display: grid;
  width: 126px;
  min-height: 126px;
  place-items: center;
  padding: 1.2rem;
  border: 2px solid var(--rose);
  border-radius: 50%;
  color: var(--rose-dark);
  background: var(--paper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.content-section.compact {
  padding-block: clamp(3.5rem, 7vw, 5.7rem);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 7vw, 7.5rem);
}

.section-heading {
  margin-bottom: 1.3rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.section-copy {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.definition {
  padding: clamp(2rem, 5vw, 4.8rem);
  border: 1px solid var(--line);
  border-radius: 38px 12px 38px 12px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.definition p:last-child {
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  min-height: 180px;
  padding: 1.8rem 2rem;
  border-top: 1px solid var(--line);
}

.feature-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.22rem;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps {
  background: #2d3f3f;
  color: #fffaf3;
}

.steps .section-label {
  color: #f0a0a5;
}

.steps .section-copy {
  color: rgba(255, 250, 243, 0.72);
}

.steps h2,
.steps h3 {
  color: #fffaf3;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 3rem 0 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.step-list li {
  min-height: 250px;
  padding: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  counter-increment: steps;
}

.step-list li:last-child {
  border-right: 0;
}

.step-list li::before {
  display: block;
  margin-bottom: 3rem;
  color: #f0a0a5;
  font-weight: 800;
  content: "0" counter(steps);
}

.step-list h3 {
  margin-bottom: 0.65rem;
  font-size: 1.22rem;
}

.step-list p {
  color: rgba(255, 250, 243, 0.7);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.demo-card {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(201, 69, 81, 0.2);
  border-radius: 8px 44px 8px 44px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    url("/images/generated/card-paper-texture.webp");
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.demo-card::before {
  position: absolute;
  top: -13px;
  left: 12%;
  width: 96px;
  height: 28px;
  background: rgba(229, 203, 171, 0.62);
  transform: rotate(-4deg);
  content: "";
}

.demo-note {
  padding: 1.25rem 0;
  border-bottom: 1px dashed rgba(75, 61, 67, 0.23);
}

.demo-note:last-child {
  border-bottom: 0;
}

.demo-note p {
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
}

.demo-note strong {
  color: var(--teal);
  font-size: 0.9rem;
}

.occasion-card-preview {
  position: relative;
  display: grid;
  width: min(100%, 650px);
  min-height: clamp(430px, 48vw, 590px);
  align-content: center;
  justify-self: end;
  gap: 1rem;
}

.occasion-card-flipbook {
  --occasion-card-width: clamp(210px, 22vw, 300px);
  --occasion-card-height: calc(var(--occasion-card-width) * 1.415);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  width: 100%;
  min-height: var(--occasion-card-height);
  align-content: center;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.occasion-card-book {
  position: relative;
  justify-self: end;
  width: var(--occasion-card-width);
  height: var(--occasion-card-height);
  perspective: 1500px;
  perspective-origin: 48% 50%;
  transform: rotate(2deg);
  transform-style: preserve-3d;
  transition: transform 900ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.occasion-card-book:has(#colleague-card-page-1:checked),
.occasion-card-book:has(#colleague-card-page-2:checked),
.occasion-card-book:has(#colleague-card-page-3:checked) {
  transform: translateX(calc(var(--occasion-card-width) * 0.64)) rotate(2deg);
}

.occasion-card-book input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.occasion-card-pages {
  position: absolute;
  inset: 1% 0 1% 3%;
  transform: rotateX(1deg) rotateY(-3deg) rotateZ(-0.4deg);
  transform-style: preserve-3d;
}

.occasion-card-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition:
    transform 900ms cubic-bezier(0.22, 0.72, 0.2, 1),
    z-index 0ms linear 450ms;
}

.occasion-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 47, 32, 0.18);
  background-color: #fffaf2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 10px 0 18px rgba(72, 47, 32, 0.14),
    inset -1px 0 1px rgba(255, 255, 255, 0.72),
    0 22px 42px rgba(72, 47, 32, 0.16);
  backface-visibility: hidden;
}

.occasion-card-front {
  border-radius: 0 8px 8px 0;
  transform: translateZ(1px);
}

.occasion-card-back {
  border-radius: 8px 0 0 8px;
  transform: rotateY(180deg) translateZ(1px);
}

.occasion-card-face label {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.occasion-card-page-1 .occasion-card-front {
  background-image: var(--occasion-front-cover);
}

.occasion-card-page-1 .occasion-card-back {
  background-image: var(--occasion-messages-1);
}

.occasion-card-page-2 .occasion-card-front {
  background-image: var(--occasion-messages-2);
}

.occasion-card-page-2 .occasion-card-back {
  background-image: var(--occasion-messages-3);
}

.occasion-card-page-3 .occasion-card-front {
  background-image: var(--occasion-final-blank);
}

.occasion-card-page-3 .occasion-card-back {
  background-image: var(--occasion-outer-back);
}

.occasion-card-page-1 {
  z-index: 3;
}

.occasion-card-page-2 {
  z-index: 2;
}

.occasion-card-page-3 {
  z-index: 1;
}

#colleague-card-page-1:checked ~ .occasion-card-pages .occasion-card-page-1 {
  z-index: 4;
  transform: rotateY(-180deg);
}

#colleague-card-page-2:checked ~ .occasion-card-pages .occasion-card-page-2 {
  z-index: 5;
  transform: rotateY(-180deg);
}

#colleague-card-page-3:checked ~ .occasion-card-pages .occasion-card-page-3 {
  z-index: 6;
  transform: rotateY(-180deg);
}

.occasion-card-book:not(:has(#colleague-card-page-1:checked)):hover .occasion-card-page-1,
.occasion-card-book:not(:has(#colleague-card-page-1:checked)):focus-within .occasion-card-page-1 {
  transform: rotateY(-7deg) translateZ(8px);
}

.occasion-card-hint {
  display: inline-flex;
  align-items: center;
  align-self: end;
  justify-self: start;
  gap: 0.4rem;
  margin-bottom: clamp(1.1rem, 5vh, 3rem);
  color: var(--rose-dark);
  font-family: var(--hand);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-4deg);
  cursor: pointer;
  transition: opacity 240ms ease, transform 240ms ease;
}

.occasion-card-hint svg {
  width: 42px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  transform: rotate(35deg);
  transform-origin: center;
}

.occasion-card-flipbook:has(#colleague-card-page-1:checked) .occasion-card-hint {
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px) rotate(-4deg);
}

.occasion-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.9rem;
  color: var(--rose-dark);
  font-family: var(--hand);
  font-size: 1.08rem;
  line-height: 1.25;
  text-align: center;
}

.occasion-card-meta a {
  color: var(--rose-dark);
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.demo-transcript {
  grid-column: 1 / -1;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.demo-transcript-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  margin-bottom: 2rem;
}

.demo-transcript-heading h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3.3vw, 3.1rem);
  line-height: 1.05;
}

.demo-transcript-heading p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.demo-transcript-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.demo-transcript-note {
  position: relative;
  min-height: 250px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px 34px 12px 34px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 38px rgba(92, 68, 62, 0.08);
}

.demo-transcript-note img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.2rem;
  border-radius: 8px 22px 8px 22px;
  object-fit: cover;
}

.demo-transcript-note p {
  margin-bottom: 1rem;
  color: var(--ink);
}

.demo-transcript-note strong {
  display: block;
  color: var(--teal);
  font-size: 0.92rem;
  text-align: right;
}

.fictional-note,
.byline {
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-links a,
.text-link {
  color: var(--rose-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}

.resource-links a:hover,
.text-link:hover {
  color: var(--ink);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

.faq-item p {
  max-width: 70ch;
  margin-bottom: 0;
  color: var(--muted);
}

.message-category {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(1.8rem, 6vw, 5rem);
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}

.message-category:last-child {
  border-bottom: 1px solid var(--line);
}

.message-category h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.message-category-intro {
  color: var(--muted);
}

.message-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.message-list li {
  position: relative;
  padding: 1.25rem 0 1.25rem 2.4rem;
  border-top: 1px dashed var(--line);
  font-size: 1.06rem;
}

.message-list li::before {
  position: absolute;
  top: 1.27rem;
  left: 0;
  color: var(--rose-dark);
  font-weight: 800;
  content: "—";
}

.formula {
  padding: clamp(2.2rem, 6vw, 5rem);
  color: #fffaf3;
  background: var(--ink);
  border-radius: 10px 48px 10px 48px;
}

.formula .section-label {
  color: #f0a0a5;
}

.formula strong {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
}

.formula p {
  max-width: 65ch;
  margin-bottom: 0;
  color: rgba(255, 250, 243, 0.76);
}

.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px 8px 32px 8px;
  background: var(--line);
}

.do-dont section {
  padding: clamp(2rem, 5vw, 4rem);
  background: rgba(255, 255, 255, 0.72);
}

.do-dont h3 {
  font-size: 1.6rem;
}

.do-dont li {
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: clamp(4rem, 9vw, 8rem);
  padding: clamp(2.4rem, 6vw, 5rem);
  border: 1px solid rgba(201, 69, 81, 0.18);
  border-radius: 44px 12px 44px 12px;
  background: #f8dfd9;
}

.final-cta h2 {
  max-width: 18ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.final-cta p {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--line);
}

.mock-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.76);
  font-family: var(--marketing-sans);
}

.mock-footer-inner {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(260px, 1fr) auto;
  align-items: center;
  min-height: 138px;
  gap: 28px;
  padding: 28px 0;
}

.mock-footer-brand img {
  display: block;
  width: 148px;
  height: auto;
}

.mock-footer-brand p {
  max-width: 28ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mock-footer-links {
  justify-content: center;
  gap: 18px 28px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.mock-social {
  justify-content: flex-end;
  gap: 12px;
}

.mock-social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-soft);
}

.mock-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
}

.language-select {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.footer-copy {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

:focus-visible {
  outline: 3px solid rgba(47, 116, 114, 0.52);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    opacity: 0;
    animation: reveal-up 640ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 70ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 140ms;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 210ms;
  }

  .hero-copy > :nth-child(5) {
    animation-delay: 280ms;
  }

  .hero-art {
    opacity: 0;
    animation: reveal-art 760ms 120ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes reveal-up {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes reveal-art {
    from {
      opacity: 0;
      transform: translateY(16px) rotate(1.5deg);
    }
    to {
      opacity: 1;
      transform: translateY(0) rotate(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .occasion-card-book,
  .occasion-card-page,
  .occasion-card-hint {
    transition: none;
  }
}

@media (max-width: 930px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-grid,
  .demo-grid,
  .message-category {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 4.5rem;
  }

  .hero-art {
    width: min(620px, 92%);
    min-height: 400px;
    margin-left: auto;
  }

  .hero-art::before {
    inset: 5% 0 -4% 5%;
  }

  .hero-art img {
    height: 420px;
  }

  .hero-stamp {
    right: 0;
  }

  .trust-grid,
  .step-list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .step-list li:nth-child(2) {
    border-right: 0;
  }

  .step-list li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .occasion-card-preview {
    width: min(100%, 650px);
    justify-self: center;
  }

  .occasion-card-flipbook {
    --occasion-card-width: clamp(205px, 31vw, 270px);
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 2rem, 1180px);
  }

  .site-nav {
    min-height: 76px;
  }

  .brand img {
    width: 126px;
  }

  .nav-actions > a:not(.button) {
    display: none;
  }

  .nav-actions .button {
    min-height: 42px;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
  }

  h1,
  .guide-page h1 {
    font-size: clamp(2.65rem, 13vw, 3.9rem);
  }

  .hero-art {
    width: 100%;
    min-height: 320px;
  }

  .hero-art img {
    height: 340px;
  }

  .hero-stamp {
    bottom: -1.4rem;
    width: 104px;
    min-height: 104px;
    font-size: 0.66rem;
  }

  .trust-grid,
  .feature-list,
  .step-list,
  .do-dont,
  .final-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .feature-list li,
  .feature-list li:nth-child(odd) {
    min-height: 0;
    border-right: 0;
  }

  .step-list li,
  .step-list li:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .step-list li:last-child {
    border-bottom: 0;
  }

  .step-list li::before {
    margin-bottom: 1.2rem;
  }

  .final-cta {
    align-items: start;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .occasion-card-preview {
    min-height: 390px;
  }

  .occasion-card-flipbook {
    --occasion-card-width: clamp(152px, 42vw, 198px);
  }

  .occasion-card-hint {
    gap: 0.2rem;
    font-size: 0.92rem;
  }

  .occasion-card-hint svg {
    width: 34px;
    height: 25px;
  }

  .occasion-card-meta {
    font-size: 0.96rem;
  }

  .demo-transcript-heading,
  .demo-transcript-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .home-shell {
    width: min(100% - 30px, 680px);
  }

  .mock-nav {
    grid-template-columns: 1fr auto;
    min-height: 0;
    gap: 12px;
    margin-top: 22px;
    padding: 0 0 14px;
  }

  .mock-logo,
  .mock-logo img {
    width: clamp(154px, 31vw, 188px);
  }

  .mock-nav-links {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .mock-footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .mock-footer-links,
  .mock-social {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .mock-auth a:first-child {
    display: none;
  }

  .mock-auth a {
    min-height: 40px;
    padding: 0 12px;
  }

  .dropdown-trigger {
    min-height: 40px;
    max-width: 44vw;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .mock-tagline {
    font-size: 0.58rem;
  }

  .mock-nav-links {
    gap: 20px;
    font-size: 0.82rem;
  }
}
