/* MINNGR landing page. Dark, warm, editorial. No build step. */

@font-face { font-family: "Inter"; src: url("fonts/inter-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("fonts/pinyon-script-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --gold: #F4B863;
  --gold-light: #FFD68A;
  --gold-dark: #D89A42;
  --bg: #0D1117;
  --ink: #090c11;
  --surface: #131920;
  --card: #1A202C;
  --text: #EDE9E1;
  --text-secondary: #B7BEC8;
  --text-muted: #7F8A99;
  --border: #2C3440;
  --max-width: 1160px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --script: "Pinyon Script", "Brush Script MT", cursive;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
em { font-style: italic; color: var(--gold); }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: 8px;
}

.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 40px), 780px); }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #1a1209; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(3.6rem, 9vw, 7rem); }
h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h3 { font-size: 1.7rem; line-height: 1.15; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--text-secondary); margin-top: 18px; }
.script-line {
  font-family: var(--script);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--gold);
  line-height: 1.1;
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #1a1209; }
.button-primary:hover { background: linear-gradient(180deg, #ffe0a6, var(--gold-light)); }
.button-primary:disabled { opacity: 0.7; cursor: progress; transform: none; }
.button-outline { border-color: rgba(244, 184, 99, 0.6); color: var(--gold-light); background: transparent; }
.button-outline:hover { background: rgba(244, 184, 99, 0.1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word { color: var(--text); font-weight: 700; letter-spacing: 0.34em; font-size: 0.9rem; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); }
.header-cta { min-height: 42px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero-sky {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 28% 8%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 22%, rgba(255,214,138,0.7), transparent 60%),
    radial-gradient(1px 1px at 63% 10%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 78% 26%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 12%, rgba(255,214,138,0.6), transparent 60%),
    radial-gradient(1px 1px at 8% 44%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 54% 40%, rgba(255,255,255,0.35), transparent 60%),
    radial-gradient(ellipse 80% 55% at 70% 108%, rgba(216, 154, 66, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 45% at 18% 0%, rgba(40, 60, 90, 0.35), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 600px; }
.hero h1 em { display: block; }
.hero-sub { font-size: 1.15rem; color: var(--text-secondary); margin: 22px 0 28px; max-width: 34em; }

.hero-form {
  display: flex; gap: 8px; align-items: center;
  max-width: 520px; padding: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.final .hero-form { margin-inline: auto; }
.hero-form input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px;
  background: transparent; border: 0; color: var(--text);
  font: 400 1rem var(--sans);
}
.hero-form input::placeholder { color: var(--text-muted); }
.hero-form input:focus-visible { outline: none; }
.hero-form:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(244, 184, 99, 0.16); }
.form-status { min-height: 1.6em; margin: 12px 4px 0; font-size: 0.95rem; color: var(--gold-light); }
.form-status.error { color: #ff9b9b; }
.center .form-status { text-align: center; }
.beta-note { margin: 6px 4px 0; font-size: 0.88rem; color: var(--text-muted); }

/* The tap scene */
.tap-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.04; margin-inline: auto; }
.frame {
  position: absolute; left: 0; top: 6%; width: 66%; height: 68%;
  padding: 12px; border-radius: 6px;
  background: linear-gradient(145deg, #2a2118, #120d08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 214, 138, 0.18);
  transform: rotate(-3deg);
}
.mat { height: 100%; padding: 16px 16px 0; background: #ece4d4; border-radius: 2px; display: flex; flex-direction: column; box-shadow: inset 0 0 20px rgba(0,0,0,0.12); }
.photo { position: relative; flex: 1; overflow: hidden; background: linear-gradient(180deg, #2a3350 0%, #7a6a86 45%, #e0a070 100%); }
.photo img, .memory-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo img { object-position: 50% 62%; }
.mat-foot { height: 54px; display: flex; align-items: center; justify-content: space-between; }
.mat-note { font-family: var(--script); font-size: 1.5rem; color: #5a4a35; }
.tag {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold-dark));
  color: #2a1c08; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  animation: tag-glow 10s ease-in-out infinite;
}
.tag svg { width: 26px; height: 22px; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 9 / 18.4;
  padding: 7px; border-radius: 34px;
  background: linear-gradient(160deg, #2b323d, #0d1015);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: phone-move 10s cubic-bezier(.45,.05,.2,1) infinite;
  z-index: 3;
}
.phone-screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: #0b0f15; }
.screen { position: absolute; inset: 0; }
.screen.lock {
  display: flex; flex-direction: column; align-items: center; padding-top: 14%;
  background: radial-gradient(circle at 50% 100%, #3a2a18, #0b0f15 70%);
  animation: lock-fade 10s linear infinite;
}
.lock-time { font-size: clamp(2rem, 6vw, 2.9rem); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.lock-date { font-size: 0.7rem; color: var(--text-secondary); margin-top: 4px; }
.banner {
  position: absolute; left: 7%; right: 7%; top: 38%;
  display: flex; gap: 8px; align-items: center;
  padding: 9px 10px; border-radius: 14px;
  background: rgba(40, 46, 58, 0.92); border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.62rem; line-height: 1.35; color: var(--text-secondary);
  animation: banner-in 10s ease infinite;
}
.banner strong { color: var(--text); letter-spacing: 0.1em; }
.banner-mark { width: 26px; height: 22px; flex: none; color: var(--gold); }
.screen.memory { animation: memory-fade 10s linear infinite; background: #0f141b; }

.memory-cover { position: relative; height: 58%; overflow: hidden; background: linear-gradient(180deg, #2a3350 0%, #7a6a86 45%, #e0a070 100%); }
.memory-cover.tall { height: 52%; }
.memory-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.62)); }
.memory-titles { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; flex-direction: column; gap: 3px; }
.chip { align-self: flex-start; background: var(--gold); color: #1a1209; font-size: 0.5rem; font-weight: 800; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 999px; }
.memory-name { font-family: var(--serif); font-size: clamp(1.2rem, 3.2vw, 1.6rem); font-weight: 600; line-height: 1; color: #fff; }
.memory-place { font-size: 0.58rem; color: rgba(255,255,255,0.8); }
.memory-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 0.6rem; color: var(--text-secondary); }
.memory-by { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 0.58rem; }
.memory-by i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #d6b08a, #7a5a40); }
.memory-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,0.05); color: var(--text); }
.memory-row b { width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-size: 0.5rem; background: var(--gold); color: #1a1209; }

.ripple {
  position: absolute; left: 56%; top: 61%; width: 30%; aspect-ratio: 1;
  margin: -15% 0 0 -15%; border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0; z-index: 2; pointer-events: none;
  animation: ripple 10s ease-out infinite;
}
.ripple.r2 { animation-delay: 0.22s; }
.ripple.r3 { animation-delay: 0.44s; }

@keyframes phone-move {
  0%   { opacity: 0; transform: translate(24%, 26%) rotate(9deg); }
  11%  { opacity: 1; transform: translate(-4%, -3%) rotate(-3deg); }
  14%  { transform: translate(-6%, -4%) rotate(-3deg); }
  90%  { opacity: 1; transform: translate(-6%, -4%) rotate(-3deg); }
  98%  { opacity: 0; transform: translate(14%, 20%) rotate(6deg); }
  100% { opacity: 0; transform: translate(24%, 26%) rotate(9deg); }
}
@keyframes ripple {
  0%, 12% { opacity: 0; transform: scale(0.3); }
  14% { opacity: 0.85; transform: scale(0.4); }
  32% { opacity: 0; transform: scale(3.2); }
  100% { opacity: 0; transform: scale(3.2); }
}
@keyframes tag-glow {
  0%, 10%, 24%, 100% { box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); }
  15% { box-shadow: 0 0 0 6px rgba(255, 214, 138, 0.35), 0 0 28px rgba(255, 214, 138, 0.85); }
}
@keyframes banner-in {
  0%, 17% { opacity: 0; transform: translateY(-14px) scale(0.96); }
  21%, 31% { opacity: 1; transform: none; }
  35%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes lock-fade {
  0%, 33% { opacity: 1; }
  38%, 94% { opacity: 0; }
  98%, 100% { opacity: 1; }
}
@keyframes memory-fade {
  0%, 33% { opacity: 0; }
  38%, 94% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-alt { background: linear-gradient(180deg, var(--surface), #0f141a); border-block: 1px solid rgba(255,255,255,0.04); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:not(.script-line) { margin-top: 20px; color: var(--text-secondary); font-size: 1.1rem; }

/* triptych of phones */
.triptych { display: grid; grid-template-columns: 1fr; gap: 40px; justify-items: center; }
.device { margin: 0; text-align: center; }
.device figcaption { margin-top: 22px; font-family: var(--serif); font-size: 1.5rem; color: var(--text-secondary); }
.phone.small { position: relative; right: auto; bottom: auto; width: 250px; aspect-ratio: 9 / 18.4; animation: none; margin-inline: auto; }
.phone.small .screen.on { background: #0f141b; overflow: hidden; }
.screen-title { font-family: var(--serif); font-size: 1.15rem; color: #fff; text-align: center; padding: 22px 0 10px; }
.stat-row { display: flex; justify-content: space-around; padding: 8px 0; border-radius: 10px; background: rgba(255,255,255,0.05); font-size: 0.55rem; }
.stat-row span { display: flex; flex-direction: column; align-items: center; color: var(--text-muted); }
.stat-row b { color: var(--text); font-size: 0.85rem; }
.memory-line { line-height: 1.45; text-align: left; }
.day-card { display: flex; align-items: center; gap: 9px; margin: 0 10px 8px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,0.05); text-align: left; }
.day-card b { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 0.65rem; background: var(--gold); color: #1a1209; }
.day-card span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.day-card strong { font-size: 0.68rem; color: var(--text); font-weight: 600; }
.day-card small { font-size: 0.55rem; color: var(--text-muted); }
.thumb { width: 42px; height: 34px; border-radius: 7px; flex: none; object-fit: cover; background: #2a3350; }
.map { margin: 0 10px 10px; height: 46%; border-radius: 12px; overflow: hidden; background: #cfe0e6; }
.map svg { width: 100%; height: 100%; display: block; }
.map .coast { fill: #e7e0cc; }
.map .route { fill: none; stroke: #b9792a; stroke-width: 3; stroke-dasharray: 6 5; stroke-linecap: round; }
.map .pin { fill: #1b222c; stroke: #fff; stroke-width: 3; }
.mosaic { margin: 0 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mosaic img { width: 100%; aspect-ratio: 1; border-radius: 7px; object-fit: cover; display: block; background: #2a3350; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: none; }
.step { position: relative; padding: 34px 30px; border-radius: 22px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.step-no { font-family: var(--serif); font-size: 4.2rem; line-height: 0.8; color: var(--gold); opacity: 0.9; display: block; margin-bottom: 22px; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--text-secondary); margin: 0; }

/* keepsakes */
.keepsakes { display: grid; grid-template-columns: 1fr; gap: 18px; }
.keepsake { padding: 30px; border-radius: 22px; background: linear-gradient(180deg, var(--card), #151b25); border: 1px solid var(--border); transition: transform 0.3s ease, border-color 0.3s ease; }
.keepsake:hover { transform: translateY(-4px); border-color: rgba(244, 184, 99, 0.5); }
.keepsake svg { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.keepsake h3 { font-size: 1.6rem; margin-bottom: 8px; }
.keepsake p { margin: 0; color: var(--text-secondary); }

/* promise */
.promise-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.values { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values li { padding: 8px 18px; border: 1px solid rgba(244,184,99,0.5); border-radius: 999px; color: var(--gold-light); font-size: 0.9rem; letter-spacing: 0.04em; }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.privacy-list li { padding: 22px 24px 22px 56px; position: relative; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); color: var(--text-secondary); }
.privacy-list li::before { content: ""; position: absolute; left: 22px; top: 27px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold-dark)); }
.privacy-list strong { color: var(--text); }

/* founder */
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.founder-photo { margin: 0; max-width: 380px; margin-inline: auto; position: relative; }
.founder-photo img { width: 100%; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.founder-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(244,184,99,0.5); border-radius: 6px; z-index: -1; }
.founder-note h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
.founder-note p { color: var(--text-secondary); }
.signoff { display: flex; flex-direction: column; margin-top: 8px; }
.signature { font-family: var(--script); font-size: 2.4rem; color: var(--gold); line-height: 1.1; }
.rules-title { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin: 36px 0 14px; }
.rules { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--text-secondary); font-size: 0.98rem; }
.rules li::marker { color: var(--gold); font-family: var(--serif); font-size: 1.1em; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,0.025); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--serif); font-size: 1.4rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; font-family: var(--sans); font-weight: 300; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--text-secondary); }

/* final */
.final { position: relative; padding: clamp(80px, 11vw, 150px) 0; text-align: center; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 12, 17, 0.92) 0%, rgba(9, 12, 17, 0.62) 45%, rgba(9, 12, 17, 0.88) 100%),
    radial-gradient(ellipse 70% 80% at 50% 110%, rgba(216, 154, 66, 0.3), transparent 70%),
    url("img/photos/final-aurora.jpg") center / cover no-repeat,
    var(--ink); }
.final .container { position: relative; }
.final-mark { width: 104px; height: 104px; color: var(--gold); margin-bottom: 24px; filter: drop-shadow(0 0 18px rgba(244,184,99,0.5)); }
.final h2 { margin-bottom: 14px; }
.final .lead { margin-bottom: 30px; }

/* footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 36px 0; background: var(--ink); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); margin: 0; }
.footer-meta { margin: 0; font-size: 0.88rem; color: var(--text-muted); }
.footer-meta a { text-decoration: underline; text-underline-offset: 3px; }
.credits { margin: 22px auto 0; font-size: 0.78rem; line-height: 1.7; color: var(--text-muted); }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- The page people reach by tapping a tag (/s/<token>) ---------- */
.share .hero-copy { max-width: 560px; }
.share h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.sharer { position: relative; width: 84px; height: 84px; margin-bottom: 22px; }
.sharer[hidden] { display: none; }
.sharer-avatar, .sharer-initial {
  width: 84px; height: 84px; border-radius: 50%; display: block;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(244, 184, 99, 0.85), 0 14px 34px rgba(0, 0, 0, 0.5);
}
.sharer-avatar { object-fit: cover; }
.sharer-avatar[hidden], .sharer-initial[hidden] { display: none; }
.sharer-initial { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold-dark)); color: #2a1c08; font: 600 2.2rem var(--serif); }
.sharer-avatar:not([hidden]) ~ .sharer-initial { display: none; }
.share-actions { display: flex; flex-direction: column; gap: 12px; max-width: 380px; margin: 30px 0 18px; }
.share-actions .button { min-height: 54px; font-size: 1rem; }
.button-ghost { color: var(--text-secondary); background: transparent; border-color: rgba(255, 255, 255, 0.14); }
.button-ghost:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.share-visual { position: relative; width: min(100%, 440px); margin-inline: auto; }
.share-frame { position: relative; width: 100%; height: auto; left: auto; top: auto; aspect-ratio: 4 / 5; }
.share-photo { background: linear-gradient(180deg, #232c48 0%, #6b5c80 48%, #e09a68 100%); display: grid; place-items: center; }
.share-glow { position: absolute; left: 50%; top: 62%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 226, 170, 0.75), rgba(255, 190, 110, 0.25) 45%, transparent 70%); }
.share-seal { position: relative; width: 38%; aspect-ratio: 1; color: rgba(255, 244, 222, 0.92); filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35)); }
.share-frame .mat-note { max-width: calc(100% - 56px); font-size: 1.45rem; line-height: 1.1; overflow-wrap: anywhere; }
.share-meta { margin: 22px 0 0; text-align: center; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-secondary); }
.share-meta [hidden] { display: none; }
.share-page .site-footer { margin-top: 0; }
@media (min-width: 900px) {
  .share .hero-grid { grid-template-columns: 1fr 0.8fr; }
}

/* reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2), .js .keepsakes .reveal:nth-child(2), .js .triptych .reveal:nth-child(2) { transition-delay: 0.12s; }
.js .steps .reveal:nth-child(3), .js .keepsakes .reveal:nth-child(3), .js .triptych .reveal:nth-child(3) { transition-delay: 0.24s; }
.js .keepsakes .reveal:nth-child(4) { transition-delay: 0.36s; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .keepsakes { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .triptych { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .device.raised { margin-top: -36px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .keepsakes { grid-template-columns: repeat(4, 1fr); }
  .promise-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .founder-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
  .founder-photo { margin-inline: 0; }
}
@media (max-width: 820px) {
  .site-nav { display: none; }
}
@media (max-width: 520px) {
  .hero-form { flex-direction: column; border-radius: 22px; padding: 10px; }
  .hero-form input { width: 100%; text-align: center; }
  .hero-form .button { width: 100%; }
  .header-cta { padding: 0 16px; }
  .brand-word { letter-spacing: 0.24em; }
}

/* ---------- Reduced motion: show the finished picture, keep still ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .phone, .ripple, .tag, .banner, .screen.lock, .screen.memory { animation: none !important; }
  .phone { opacity: 1; transform: translate(-6%, -4%) rotate(-3deg); }
  .ripple, .banner, .screen.lock { display: none; }
  .screen.memory { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}
