:root{
  --bg:#F4F2EE;
  --text:#1F1F1D;
  --meta:#5A5A57;
  --line: rgba(31,31,29,0.12);
  --max: 62ch;
}

*{box-sizing:border-box;}

html,body{height:100%;}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: "Source Serif 4", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0.1px;
}

a{ color:inherit; text-decoration:none; }

a:hover{ text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

a:focus{ outline:2px solid rgba(31,31,29,0.22); outline-offset:3px; }

.wrap{
  max-width: calc(var(--max) + 10rem);
  margin: 0 auto;
  padding: 5.5rem 2rem 6rem;
}

.measure{ max-width: var(--max); }

.meta{ color: var(--meta); }

hr{
  border:0;
  height:1px;
  background: var(--line);
  margin: 2.4rem 0;
}

/* Entry */
.entry{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
}

.entryPage .wrap{
  padding-top: 0;
  padding-bottom: 0;
}

.entry .stack{ display:grid; gap: 2rem; }

.entry .lead{
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0.2px;
  white-space: pre-line;
}

.fade-in{ opacity:0; transition: opacity 450ms ease; }
.fade-in.on{ opacity:1; }

/* Quiet overlay fades (opacity only) */
#veil{
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  pointer-events:none;
  transition: opacity 550ms ease;
  z-index: 50;
}
#veil.on{ opacity:1; pointer-events:auto; }

/* Plate */
.plateBody{
  opacity: 1;
}

.plateBody.reveal{
  opacity: 0;
  transition: opacity 800ms ease;
}

.plateBody.reveal.is-visible{
  opacity: 1;
}

@media (prefers-reduced-motion: reduce){
  .plateBody.reveal{ opacity: 1; transition: none; }
}

.plateTitle{
  margin:0 0 1.8rem;
  letter-spacing: 0.12em;
  font-size: 15px; /* +~15% */
  color: var(--meta);
}

.section{
  margin: 0 0 2rem;
  white-space: pre-line;
}

.signature{
  margin-top: 2.8rem;
  color: rgba(31,31,29,0.62);
}

.continueWrap{
  margin-top: 3.2rem;
}

/* Plate navigation hierarchy */
#navWrap{
  display: grid;
  gap: 0.7rem;
}

.navPrimary{
  color: var(--text);
  font-size: 16px;
}

.navSecondary{
  color: rgba(31,31,29,0.48);
  font-size: 16px;
}

.footerLink{
  color: rgba(31,31,29,0.34);
  font-size: 15px;
}

.continueBtn{
  display:inline-block;
  padding: 0.4rem 0;
}

/* Explore */
.list{ list-style:none; padding:0; margin:0; display:grid; gap:1rem; }
.list li{ padding: 0.2rem 0; }

/* Support/Payment */
.h1{ margin:0 0 1.2rem; font-size: 20px; letter-spacing: 0.08em; color: var(--meta); }

/* Supporting Memory: de-commercialized layout */
.supportTitle{ color: rgba(31,31,29,0.52); }
.supportSubtitle{ margin: -0.6rem 0 2.2rem; color: rgba(31,31,29,0.40); font-size: 14px; }

.levels{ display: grid; gap: 1.7rem; margin: 0 0 2.4rem; }
.level{ display: grid; gap: 0.4rem; }
.levelName{ font-size: 18px; color: var(--text); }
.levelPrice{ font-size: 16px; color: rgba(31,31,29,0.55); }
.levelNote{ font-size: 14px; color: rgba(31,31,29,0.45); }
.singleGesture{ margin-top: 0.5rem; }

.supportNav{ display: grid; gap: 0.7rem; margin-top: 2.2rem; }

.formRow{ display:grid; gap:0.8rem; margin-top: 1.2rem; }
label{ color: var(--meta); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
input, select{
  font-family: inherit;
  font-size: 18px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

button{
  font-family: inherit;
  font-size: 18px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor:pointer;
}
button:disabled{ opacity:0.5; cursor:not-allowed; }

.small{ font-size: 14px; color: var(--meta); }

.footerMeta{
  margin-top: 5.0rem;
  padding-top: 0;
}

/* Last plate: allow more quiet space between navigation and footer. */
.lastPlate .footerMeta{
  margin-top: 6.2rem;
}

@media (max-width: 560px){
  body{ font-size: 17px; }
  .wrap{ padding: 4.8rem 1.4rem 5rem; }
  .entry .lead{ font-size: 24px; }
}
