/* PhotoUpload website. One sheet for every public page: tokens, layout, components and story scenes.
   Motion uses transform and opacity only, driven by --p (0 to 1) from site.js, and is switched off
   for anyone who prefers reduced motion. */

:root {
  --ink: #16241f;
  --ink-soft: #3d4b45;
  --muted: #66746e;
  --paper: #f6f3ec;
  --cream: #fbf8f1;
  --white: #ffffff;
  --line: #e4ded1;
  --forest: #0f322a;
  --forest-2: #123c33;
  --brand: #1d6150;
  --brand-tint: #e3efe8;
  --gold: #c49a5f;
  --gold-soft: #ead9bd;
  --rose: #e9a9a0;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(15, 50, 42, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.site img, .site video { max-width: 100%; display: block; }
.site h1, .site h2, .site h3, .site p { margin: 0; }
.site h1, .site h2, .site h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
.site em { font-style: italic; color: var(--gold); }
.site a { color: var(--brand); }
.site a.site-btn, .site a.site-brand, .site .site-nav a { color: inherit; }
.site a.site-btn:not(.site-btn-ghost):not(.site-btn-dark) { color: var(--forest); }
.site a.site-btn-dark { color: var(--white); }
.site-wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.site-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.site-skip:focus { left: 12px; }
.site :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.site-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--gold); color: var(--forest); font: 600 16px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; box-shadow: 0 10px 24px -12px rgba(196, 154, 95, .9); }
.site-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(196, 154, 95, 1); color: var(--forest); }
.site-btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.site-btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.site-btn-ghost:hover { background: rgba(255, 255, 255, .08); color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.site-btn-dark { background: var(--forest-2); color: var(--white); box-shadow: 0 10px 24px -12px rgba(15, 50, 42, .8); }
.site-btn-dark:hover { color: var(--white); background: var(--forest); }
.site-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink); transition: background .3s, box-shadow .3s, color .3s; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.site-header.is-scrolled { background: rgba(246, 243, 236, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-dark-top .site-header:not(.is-scrolled) { color: var(--white); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 18px; white-space: nowrap; }
.site-brand img { width: 31px; height: 26px; }
.site-header.is-scrolled .site-brand img, body.site:not(.site-dark-top) .site-header .site-brand img { filter: brightness(0) saturate(100%) invert(19%) sepia(35%) saturate(800%) hue-rotate(118deg); }
.site-brand > span > span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: inherit; text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; transition: opacity .2s; }
.site-nav a:hover, .site-nav a[aria-current] { opacity: 1; }
.site-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); }
.site-nav-actions { display: flex; align-items: center; gap: 16px; }
.site-nav-actions .site-btn { opacity: 1; }
.site-link { font-weight: 600 !important; }
.site-menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; }
.site-menu-toggle span:not(.site-sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.site-menu-toggle span:first-child { top: 17px; }
.site-menu-toggle span:nth-child(2) { top: 25px; }
.site-menu-open .site-menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.site-menu-open .site-menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
/* Phone menu: a full-screen sheet with each page and a line about it, then signing in and starting */
.site-nav small, .site-header-signin, .site-menu-personal { display: none; }
@media (max-width: 960px) {
  .site-menu-toggle { display: block; z-index: 2; margin-right: -10px; }
  .site-brand { position: relative; z-index: 2; }
  .site .site-header-signin { display: block; position: relative; z-index: 2; margin-left: auto; padding: 10px 6px; font-weight: 600; font-size: 15px; color: inherit; text-decoration: none; }
  .site-menu-open .site-header-signin { opacity: 0; pointer-events: none; }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px; padding: calc(88px + env(safe-area-inset-top)) var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; background: radial-gradient(120% 70% at 100% 0%, #1e5546 0%, var(--forest) 60%, #0b2721 100%); color: var(--white); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(.06s + var(--i) * .05s); }
  .site-nav li a { display: grid; gap: 3px; padding: 16px 30px 16px 0; position: relative; opacity: 1; }
  .site-nav li a::after { content: '→'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 20px; }
  .site-nav li b { font: 500 26px/1.15 var(--display); }
  .site-nav li small { display: block; font-size: 14px; color: rgba(255, 255, 255, .62); }
  .site-nav a[aria-current] { box-shadow: none; }
  .site-nav a[aria-current] b { color: var(--gold); }
  .site-nav-actions { flex-direction: column; align-items: stretch; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease) .32s, transform .45s var(--ease) .32s; }
  .site-nav-actions .site-btn { min-height: 54px; font-size: 16px; }
  .site-nav-actions .site-link { order: 2; display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); font: 600 16px/1 var(--body); }
  .site-nav-actions .site-btn { order: 1; }
  .site-menu-personal { display: block; order: 3; text-align: center; font-size: 14px !important; color: rgba(255, 255, 255, .7) !important; padding: 6px; }
  .site-menu-open .site-nav { opacity: 1; visibility: visible; }
  .site-menu-open .site-nav li, .site-menu-open .site-nav-actions { opacity: 1; transform: none; }
  .site-menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
  .site-menu-open .site-header .site-brand img { filter: none; }
  .site-menu-open { overflow: hidden; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { .site-nav li, .site-nav-actions { transition: none; } }

/* Type helpers */
.site-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.site-eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.site-dark .site-eyebrow { color: var(--gold); }
.site-h2 { font-size: clamp(32px, 3.8vw, 50px); }
.site-lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); max-width: 36em; }
.site-dark { background: var(--forest); color: var(--white); }
.site-dark .site-lede { color: rgba(255, 255, 255, .78); }
.site-section { padding: clamp(64px, 8vw, 104px) 0; }
.site-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.site-head-center { text-align: center; margin-inline: auto; justify-items: center; }

/* Reveals */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 104px 0 64px; background: radial-gradient(120% 90% at 85% 10%, #1e5546 0%, var(--forest) 55%, #0b2721 100%); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 26px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(42px, 4.8vw, 66px); line-height: .98; }
.hero .site-lede { color: rgba(255, 255, 255, .8); }
.hero-live { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .85); }
.hero-live i { width: 8px; height: 8px; border-radius: 50%; background: #5ee0a0; box-shadow: 0 0 0 0 rgba(94, 224, 160, .7); animation: site-pulse 2s infinite; }
@keyframes site-pulse { 70% { box-shadow: 0 0 0 10px rgba(94, 224, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 224, 160, 0); } }
.hero-wall { position: relative; height: min(78svh, 720px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotate(-7deg) translateX(4%); -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.hero-col { display: grid; gap: 14px; align-content: start; animation: site-rise 46s linear infinite; }
.hero-col:nth-child(2) { animation-duration: 36s; animation-direction: reverse; margin-top: -40%; }
.hero-col:nth-child(3) { animation-duration: 54s; margin-top: -15%; }
.hero-col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
@keyframes site-rise { to { transform: translateY(-50%); } }
.hero-glow { position: absolute; inset: auto -10% -30% 40%; height: 70%; background: radial-gradient(closest-side, rgba(196, 154, 95, .35), transparent); filter: blur(30px); z-index: -1; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 13px; color: rgba(255, 255, 255, .6); letter-spacing: .12em; text-transform: uppercase; display: grid; justify-items: center; gap: 8px; }
.hero-scroll::after { content: ''; width: 1.5px; height: 34px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); animation: site-drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes site-drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 860px) {
  .hero { padding-top: 104px; align-items: start; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-wall { height: 340px; margin: 10px -12% 0; transform: rotate(-7deg); grid-template-columns: repeat(4, 1fr); }
  .hero-col:nth-child(4) { display: grid; }
  .hero-scroll { display: none; }
}
@media (min-width: 861px) { .hero-col:nth-child(4) { display: none; } }

/* Scenes: a tall section with a sticky stage. --p runs 0 to 1 across it. */
.scene { position: relative; --p: 0; }
/* Sticks just below the fixed 72px header, so no part of the stage hides under it. */
.scene-stage { position: sticky; top: 72px; height: calc(100svh - 72px); display: grid; align-items: center; overflow: hidden; }
.reduced-motion .scene { height: auto !important; }
.reduced-motion .scene-stage { position: relative; height: auto; padding: 100px 0; }

/* Chapter 1: the QR moment */
.moment { height: 360vh; background: var(--paper); }
.moment-grid { display: grid; grid-template-columns: 1fr minmax(280px, 380px) 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.moment-steps { position: relative; min-height: 300px; }
.moment-step { position: absolute; inset: 0; display: grid; align-content: center; gap: 16px; opacity: 0; transform: translateY(-14px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.moment[data-step="0"] .moment-step:nth-child(1), .moment[data-step="1"] .moment-step:nth-child(2), .moment[data-step="2"] .moment-step:nth-child(3) { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s var(--ease) .22s, transform .6s var(--ease) .22s; }
.moment-step h2 { font-size: clamp(30px, 3.2vw, 44px); }
.moment-num { font: 500 15px/1 var(--body); color: var(--brand); letter-spacing: .1em; }
.moment-progress { display: flex; gap: 8px; margin-top: 8px; }
.moment-progress i { height: 3px; flex: 1; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.moment-progress i::after { content: ''; position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(clamp(0, (var(--p) * 3 - var(--n)), 1)); }
.moment-phone { width: min(100%, calc((100svh - 150px) * 9 / 18.5)); justify-self: center; }
.phone { position: relative; width: 100%; aspect-ratio: 9 / 18.6; border-radius: 46px; background: #0d0f0e; padding: 12px; box-shadow: var(--shadow), 0 0 0 2px #2a2d2b inset; }
.phone::before { content: ''; position: absolute; top: 22px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 5; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--cream); }
.phone-view { position: absolute; inset: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.moment:not([data-step="0"]) .view-scan, .moment:not([data-step="1"]) .view-upload, .moment:not([data-step="2"]) .view-sent { opacity: 0; transform: scale(.96); pointer-events: none; }
.reduced-motion .moment .view-scan, .reduced-motion .moment .view-upload { display: none; }
.view-scan { background: #1d1f1e; }
.view-scan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(.55); transform: scale(1.1); }
.scan-card { position: absolute; left: 50%; top: 52%; width: 62%; aspect-ratio: 3 / 4; transform: translate(-50%, -50%) rotate(-3deg); background: var(--cream); border-radius: 12px; padding: 14px; display: grid; gap: 8px; justify-items: center; align-content: center; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); text-align: center; }
.scan-card b { font: 500 16px/1.1 var(--display); color: var(--forest); }
.scan-card small { font-size: 10px; color: var(--muted); }
.scan-qr { width: 78%; aspect-ratio: 1; }
.scan-frame { position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 1; transform: translate(-50%, -54%); border-radius: 22px; }
.scan-frame::before, .scan-frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 3px solid transparent; border-image: linear-gradient(#fff, #fff) 1; -webkit-mask: linear-gradient(#000 0 0) top left / 24% 24% no-repeat, linear-gradient(#000 0 0) top right / 24% 24% no-repeat, linear-gradient(#000 0 0) bottom left / 24% 24% no-repeat, linear-gradient(#000 0 0) bottom right / 24% 24% no-repeat; mask: linear-gradient(#000 0 0) top left / 24% 24% no-repeat, linear-gradient(#000 0 0) top right / 24% 24% no-repeat, linear-gradient(#000 0 0) bottom left / 24% 24% no-repeat, linear-gradient(#000 0 0) bottom right / 24% 24% no-repeat; }
.scan-line { position: absolute; left: 16%; right: 16%; top: 30%; height: 2px; background: #5ee0a0; box-shadow: 0 0 16px 2px rgba(94, 224, 160, .8); animation: site-scan 2.4s var(--ease) infinite alternate; }
@keyframes site-scan { to { top: 70%; } }
.scan-pill { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--forest); }
.phone-screen { container-type: inline-size; }
.view-upload, .view-sent { display: flex; flex-direction: column; background: var(--white); }
.g-top { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 15cqw 5cqw 3cqw; }
.g-logo { width: 9cqw; aspect-ratio: 1; border-radius: 2.6cqw; background: var(--forest-2) url('../images/photoupload-mark-white.png') center / 62% no-repeat; }
.g-pill { padding: 1.8cqw 4cqw; border-radius: 99px; background: #3d6b5b; color: var(--white); font-size: 3.6cqw; font-weight: 600; }
.g-cover { position: relative; flex: 1 1 auto; min-height: 22cqw; overflow: hidden; display: grid; align-content: end; padding: 4cqw 5cqw; color: var(--white); }
.g-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.g-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0, 0, 0, .55)); }
.g-cover b, .g-cover small { position: relative; z-index: 1; }
.g-cover b { font: 600 7.4cqw/1.02 var(--display); }
.g-cover small { font-size: 2.8cqw; letter-spacing: .08em; text-transform: uppercase; margin-top: 1.4cqw; opacity: .9; }
.g-sheet { flex: none; position: relative; margin-top: -4cqw; z-index: 2; display: grid; gap: 3cqw; padding: 3cqw 5cqw 6cqw; border-radius: 6cqw 6cqw 0 0; background: var(--white); box-shadow: 0 -8px 20px -12px rgba(0, 0, 0, .35); }
.g-grip { justify-self: center; width: 10cqw; height: 1cqw; border-radius: 1cqw; background: #d4d8d6; }
.g-title { font: 600 5.6cqw/1.1 var(--display); color: var(--ink); text-align: center; }
.g-sub { font-size: 3.4cqw; color: var(--muted); text-align: center; margin-top: -2cqw; }
.g-field { display: grid; gap: 1cqw; padding: 2.4cqw 3.4cqw; border-radius: 3cqw; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 3.8cqw; color: var(--ink); }
.g-field small { font-size: 2.8cqw; font-weight: 600; color: var(--muted); }
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.upload-tile { position: relative; aspect-ratio: 1; border-radius: 2.4cqw; overflow: hidden; }
.upload-tile img { width: 100%; height: 100%; object-fit: cover; }
.upload-tile::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: 7%; height: 1.2cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .55); }
.upload-tile i { position: absolute; left: 6%; bottom: 7%; height: 1.2cqw; z-index: 1; border-radius: 1cqw; background: #5ee0a0; width: calc(88% * clamp(0, (var(--p) * 3 - 1) * 1.6 - var(--k) * .12, 1)); }
.app-button { padding: 3.4cqw; border-radius: 999px; background: #3d6b5b; color: var(--white); font-weight: 600; font-size: 3.8cqw; text-align: center; }
.app-button-soft { background: var(--brand-tint); color: var(--forest); }
.sent-heart { justify-self: center; width: 13cqw; height: 13cqw; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 6.5cqw; animation: site-beat 1.6s var(--ease) infinite; }
.sent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4cqw; }
.sent-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2cqw; }
@keyframes site-beat { 50% { transform: scale(1.08); } }
.moment-gallery { justify-self: start; width: min(100%, 360px); padding: 16px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow), 0 0 0 1px var(--line); display: grid; gap: 12px;
  transform: translateY(calc((1 - clamp(0, var(--p) * 4, 1)) * 30px)); opacity: clamp(.35, var(--p) * 3, 1); }
.mg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mg-head b { font: 500 18px/1.1 var(--display); color: var(--forest); }
.mg-head span { font-size: 12px; color: var(--muted); }
.mg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mg-grid > span { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.mg-grid img { width: 100%; height: 100%; object-fit: cover; }
.mg-new img { --t: clamp(0, (var(--p) - .62) * 4.5 - var(--k) * .2, 1); opacity: var(--t); transform: translateX(calc((1 - var(--t)) * -220%)) rotate(calc((1 - var(--t)) * -12deg)) scale(calc(.7 + var(--t) * .3)); }
.mg-new::after { content: ''; }
.reduced-motion .mg-new img { --t: 1; }
@media (max-width: 860px) {
  .moment { height: 330vh; }
  /* The stage already starts below the 72px header, so only a little room above. */
  .moment-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; height: 100%; padding: 20px 0 28px; align-content: start; }
  .moment-steps { min-height: 112px; text-align: center; }
  .moment-step { justify-items: center; }
  .moment-step p { display: none; }
  .moment-step h2 { font-size: 30px; }
  .moment-phone { width: min(270px, 68vw, calc((100svh - 380px) * 9 / 18.5)); margin: 0 auto; align-self: start; }
  .scan-pill { font-size: 11px; padding: 7px 12px; }
  .phone { border-radius: 36px; padding: 9px; }
  .phone-screen { border-radius: 28px; }
  .moment-gallery { display: none; }
  .reduced-motion .moment-grid { height: auto; }
}

/* Chapter 2: the live screen */
.screen-scene { height: 240vh; background: var(--forest); color: var(--white); }
.screen-layout { display: grid; gap: clamp(20px, 3vw, 36px); justify-items: center; text-align: center; }
.screen-layout .site-head { margin-bottom: 0; }
.tv { width: min(1000px, 100%, calc((100svh - 300px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 18px; background: #050806; padding: clamp(8px, 1.2vw, 14px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); position: relative; }
.tv::after { content: ''; position: absolute; left: 50%; bottom: -26px; width: 24%; height: 26px; transform: translateX(-50%); background: linear-gradient(#1a1f1d, #0b0d0c); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.tv-screen { height: 100%; border-radius: 8px; overflow: hidden; background: #000; position: relative; }
.screen-counter { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; color: rgba(255, 255, 255, .7); }
.screen-counter b { font: 500 30px/1 var(--display); color: var(--gold); }
.screen-link { margin: 4px 0 0; } .screen-link .site-link-arrow { color: var(--gold); }
@media (max-width: 700px) {
  .screen-scene { height: 300vh; }
  /* Sits at the top of the space under the header rather than in its middle. */
  .screen-scene .scene-stage { align-items: start; }
  .screen-layout { gap: 16px; padding-top: 22px; }
  .screen-layout .site-h2 { font-size: 34px; }
  .tv { width: min(100%, calc((100svh - 230px) * 3 / 4)); aspect-ratio: 3 / 4; border-radius: 26px; padding: 8px; }
  .tv::after { display: none; }
  .tv-screen { border-radius: 18px; }
  .screen-counter { font-size: 13px; }
}

/* Hearts rise from photos on the wall as you scroll through the big screen scene (site.js). */
.wall-photo .site-heart { position: absolute; left: var(--x, 50%); bottom: 12%; z-index: 2; width: clamp(12px, 7cqw, 22px); aspect-ratio: 24 / 22; color: #ff6f96; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); opacity: 0; animation: site-heart-rise var(--t, 2.6s) cubic-bezier(.22, .61, .36, 1) var(--d, 0s) both; }
.wall-photo .site-heart svg { display: block; width: 100%; height: 100%; fill: currentColor; }
@keyframes site-heart-rise {
  0% { opacity: 0; transform: translate(-50%, 0) scale(.5); }
  15% { opacity: .95; transform: translate(-50%, calc(var(--rise, 80px) * -.12)) scale(1); }
  50% { transform: translate(calc(-50% + var(--drift, 0px)), calc(var(--rise, 80px) * -.55)) scale(1); }
  72% { opacity: .8; }
  100% { opacity: 0; transform: translate(calc(-50% - var(--drift, 0px) * .4), calc(var(--rise, 80px) * -1)) scale(.9); }
}

/* The story wall, as it looks on the real live screen */
.wall { --cols: 5; --gap: clamp(3px, .5vw, 6px); position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); padding: var(--gap); }
.wall-col { overflow: hidden; container-type: inline-size; }
.wall-track { display: grid; gap: var(--gap); animation: site-wall calc(38s + var(--c) * 5s) linear infinite; animation-delay: calc(var(--c) * -7s); will-change: transform; }
@keyframes site-wall { to { transform: translateY(calc(-50% - var(--gap) / 2)); } }
.wall-tile { margin: 0; border-radius: 6px; overflow: hidden; background: var(--white); }
.wall-photo { position: relative; display: block; padding-top: var(--r); background: #0d2a23; }
.wall-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall-photo b { position: absolute; left: 5cqw; bottom: 5cqw; padding: .35em .6em; border-radius: .4em; background: rgba(14, 38, 31, .82); color: var(--white); font: 700 6.4cqw/1 var(--body); }
.wall-tile figcaption { padding: .45em .6em .55em; color: var(--ink); font-size: 6cqw; line-height: 1.3; text-align: left; }
.wall-tile figcaption small { display: block; font-size: .85em; font-style: italic; color: var(--muted); }
.wall-note { position: relative; display: grid; align-content: center; gap: .5em; min-height: 62cqw; padding: 11cqw 10cqw; background: color-mix(in srgb, #1d4a3e 55%, #151413); color: #f7f0e3; text-align: left; }
.wall-note p { position: relative; margin: 0; font: 400 6.4cqw/1.3 var(--display); }
.wall-note b { position: relative; color: #d8b67c; font: 700 5cqw/1.2 var(--body); }
.wall-note-mark { position: absolute; top: -.08em; right: .1em; color: rgba(216, 182, 124, .34); font: 400 28cqw/1 var(--display); }
.wall-small { --cols: 4; --gap: 3px; }
.reduced-motion .wall-track { animation: none; }
@media (prefers-reduced-motion: reduce) { .wall-track { animation: none; } }
@media (max-width: 700px) { .wall { --cols: 3; } .wall-col:nth-child(n+4) { display: none; } }

/* Chapter 3: the keepsake */
.keep-scene { height: 260vh; background: var(--cream); }
.keep-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.keep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; --e: clamp(0, var(--p) * 1.6, 1); }
.keep-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5);
  transform: translate(calc(var(--dx) * var(--spread, 1) * (1 - var(--e))), calc(var(--dy) * var(--spread, 1) * (1 - var(--e)))) rotate(calc(var(--r) * (1 - var(--e)))) scale(calc(1 + (1 - var(--e)) * .15)); }
.keep-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; margin-top: 8px; }
.keep-stats div { display: grid; gap: 2px; }
.keep-stats b { font: 500 clamp(30px, 4vw, 44px)/1 var(--display); color: var(--forest); }
.keep-stats span { font-size: 14px; color: var(--muted); }
.keep-perks { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.keep-perks li { display: flex; gap: 10px; align-items: baseline; }
.keep-perks li::before { content: '✓'; color: var(--brand); font-weight: 700; }
@media (max-width: 860px) {
  .keep-scene { height: 220vh; }
  /* Starts just under the header (like "Fill the room") rather than sitting low in the screen. */
  html:not(.reduced-motion) .keep-scene .scene-stage { align-items: start; }
  .keep-layout { grid-template-columns: 1fr; padding-top: 28px; }
  .keep-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; --spread: .35; }
  .keep-perks { display: none; }
}
.reduced-motion .keep-grid { --e: 1; }

/* Chapter 4: photographers */
.pro-scene { height: 340vh; background: var(--paper); }
.pro-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.pro-steps { position: relative; min-height: 320px; }
.pro-step { position: absolute; inset: 0; display: grid; align-content: center; gap: 16px; opacity: 0; transform: translateY(-14px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.pro-scene[data-step="0"] .pro-step:nth-child(1), .pro-scene[data-step="1"] .pro-step:nth-child(2), .pro-scene[data-step="2"] .pro-step:nth-child(3) { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s var(--ease) .22s, transform .6s var(--ease) .22s; }
.pro-step h2 { font-size: clamp(30px, 3.2vw, 44px); }
.browser { border-radius: 16px; background: var(--white); box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #faf8f3; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3ddd0; }
.browser-bar span { margin-left: 12px; flex: 1; padding: 5px 12px; border-radius: 8px; background: var(--white); font-size: 12px; color: var(--muted); }
.browser-body { padding: 18px; display: grid; gap: 14px; }
.browser-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.browser-head b { font: 500 20px/1.1 var(--display); }
.pick-count { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-weight: 600; transition: opacity .4s; }
.pro-scene[data-step="0"] .pick-count { opacity: 0; }
.pro-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pro-tile { position: relative; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; }
.pro-tile img { width: 100%; height: 100%; object-fit: cover; }
.pro-tile .pro-wm { position: absolute; inset: 0; transition: opacity .8s var(--ease); }
.pro-scene[data-step="2"] .pro-wm { opacity: 0; }
.pro-heart { position: absolute; right: 7px; top: 7px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--white); font-size: 15px; font-weight: 700; opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease), transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--k) * 120ms); }
.pro-scene:not([data-step="0"]) .pro-tile.is-picked .pro-heart { opacity: 1; transform: none; }
.pro-scene[data-step="2"] .pro-tile:not(.is-picked) { display: none; }
.pro-scene[data-step="2"] .pro-tiles { grid-template-columns: repeat(2, 1fr); }
.pro-deliver { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--forest-2); color: var(--white); font-size: 14px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); }
.pro-deliver b { padding: 8px 14px; border-radius: 999px; background: var(--gold); color: var(--forest); font-size: 13px; }
.pro-scene[data-step="2"] .pro-deliver { opacity: 1; transform: none; }
.pro-send { padding: 12px; border-radius: 12px; text-align: center; font-weight: 600; font-size: 14px; background: var(--brand-tint); color: var(--brand); transition: opacity .4s; }
.pro-scene[data-step="1"] .pro-send { background: var(--brand); color: var(--white); animation: site-glow 1.8s infinite; }
@keyframes site-glow { 0% { box-shadow: 0 0 0 0 rgba(29, 97, 80, .45); } 70% { box-shadow: 0 0 0 12px rgba(29, 97, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 97, 80, 0); } }
.pro-scene[data-step="2"] .pro-send { display: none; }
@media (max-width: 860px) {
  .pro-scene { height: 320vh; }
  .pro-grid { grid-template-columns: 1fr; gap: 14px; height: 100%; padding: 18px 0 24px; align-content: start; }
  .pro-steps { min-height: 170px; text-align: center; }
  .pro-step { justify-items: center; }
  .pro-step p { font-size: 15px; }
  .pro-step .site-actions { display: none; }
  .pro-step h2 { font-size: 28px; }
  .pro-tiles { gap: 5px; }
  .browser-body { padding: 12px; gap: 10px; }
  .reduced-motion .pro-grid { height: auto; }
}

/* Chapter 5: pricing like a phone bill */
.bill { background: var(--forest); color: var(--white); overflow: hidden; }
.bill-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.bill-chart { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: clamp(8px, 1.6vw, 18px); height: 320px; padding: 0 4px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.bill-bar { position: relative; height: calc(var(--h) * 1%); border-radius: 10px 10px 4px 4px; background: linear-gradient(var(--gold), #a87d45); transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 110ms); }
.bill-chart.is-in .bill-bar, .reduced-motion .bill-bar { transform: none; }
.bill-bar b { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); font: 500 clamp(13px, 1.4vw, 17px)/1 var(--display); white-space: nowrap; }
.bill-bar small { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); font-size: 12px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.bill-bar span { position: absolute; inset: auto 0 8px; text-align: center; font-size: 11px; color: rgba(15, 50, 42, .75); font-weight: 600; }
.bill-points { display: grid; gap: 16px; margin: 6px 0 0; padding: 0; list-style: none; }
.bill-points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.bill-points li > i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(196, 154, 95, .18); color: var(--gold); font-style: normal; font-weight: 700; }
.bill-points b { display: block; font-weight: 600; }
.bill-points span { color: rgba(255, 255, 255, .72); font-size: 15px; }
.bill-calc { margin-top: 70px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 14px; }
.bill-calc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bill-calc-top span { color: rgba(255, 255, 255, .72); font-size: 15px; }
.bill-calc-top b { font: 500 40px/1 var(--display); color: var(--gold); }
.bill-calc-top small { font: 400 15px var(--body); color: rgba(255, 255, 255, .6); }
.bill-calc input[type=range] { width: 100%; accent-color: var(--gold); }
.bill-calc-scale { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .55); }
@media (max-width: 860px) { .bill-grid { grid-template-columns: 1fr; } .bill-chart { height: 240px; } }

/* Two ways to start */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.way { position: relative; display: grid; gap: 16px; align-content: start; padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(15, 50, 42, .35); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.way:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -40px rgba(15, 50, 42, .5); }
.way h3 { font-size: clamp(28px, 3vw, 40px); }
.way-tag { font-size: 13px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; }
.way-price { font: 500 22px/1.2 var(--display); color: var(--forest); }
.way ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-soft); }
.way li { display: flex; gap: 10px; }
.way li::before { content: '✓'; color: var(--brand); font-weight: 700; }
.way-dark { background: var(--forest-2); color: var(--white); }
.way-dark .way-tag { color: var(--gold); }
.way-dark .way-price { color: var(--white); }
.way-dark ul { color: rgba(255, 255, 255, .78); }
.way-dark li::before { color: var(--gold); }
.way .site-actions { margin-top: 8px; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* Closing call to action with a moving photo ribbon */
.finale { position: relative; padding: clamp(72px, 8vw, 112px) 0; background: var(--paper); text-align: center; overflow: hidden; }
.finale h2 { font-size: clamp(36px, 4.6vw, 60px); max-width: 14em; margin: 0 auto; }
.finale .site-actions { justify-content: center; margin-top: 30px; }
.ribbon { display: flex; gap: 14px; width: max-content; margin-top: 56px; animation: site-slide 60s linear infinite; }
.ribbon img { width: clamp(140px, 18vw, 220px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.ribbon img:nth-child(even) { transform: translateY(24px) rotate(2deg); }
.ribbon img:nth-child(odd) { transform: rotate(-2deg); }
@keyframes site-slide { to { transform: translateX(-50%); } }

/* Footer */
.site-footer { background: #0b2721; color: rgba(255, 255, 255, .72); padding: 70px 0 34px; font-size: 15px; }
.site-footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer .site-brand { color: var(--white); margin-bottom: 14px; }
.site-footer h2 { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .site-footer-bottom { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }
@media (max-width: 860px) { .site-footer-top { grid-template-columns: 1fr 1fr; } .site-footer-brand { grid-column: 1 / -1; } }

/* Reduced motion: no continuous movement */
@media (prefers-reduced-motion: reduce) {
  .hero-col, .ribbon, .scan-line, .hero-live i, .sent-heart, .hero-scroll::after, .pro-send { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Reduced motion: scenes become ordinary sections, every step readable in order. */
.reduced-motion .moment-steps, .reduced-motion .pro-steps { min-height: 0; display: grid; gap: 34px; }
.reduced-motion .moment-step, .reduced-motion .pro-step { position: static; opacity: 1; transform: none; }
.reduced-motion .moment-step p, .reduced-motion .pro-step p { display: block; }

/* Mobile: the start button stays to hand after the hero, out of the way at the end */
.site-mobile-cta { display: none; }
@media (max-width: 760px) {
  body.site { font-size: 16px; }
  .site-mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(15, 50, 42, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .45s var(--ease); }
  .site-mobile-cta .site-btn { flex: 1; min-height: 46px; padding: 0 14px; font-size: 15px; }
  .site.site a.site-mobile-cta-ghost, .site-mobile-cta .site-btn-ghost { flex: 0 0 auto; color: var(--white); }
  body.site-cta-on .site-mobile-cta { transform: none; }
  .site-menu-open .site-mobile-cta { display: none; }
  .hero-copy { gap: 20px; }
  .hero .site-actions { display: grid; grid-template-columns: 1fr; }
  .hero .site-btn { width: 100%; }
  .site-section { padding: 72px 0; }
  .way { border-radius: 22px; }
  .finale h2 { font-size: 40px; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 140px 0 90px; background: radial-gradient(110% 90% at 90% 0%, #1e5546 0%, var(--forest) 55%, #0b2721 100%); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.page-hero h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1; }
.page-hero .site-lede { color: rgba(255, 255, 255, .8); }
.page-hero-copy { display: grid; gap: 24px; }
.page-hero-visual { position: relative; min-height: 420px; }
@media (max-width: 860px) {
  .page-hero { padding: 108px 0 64px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-visual { min-height: 320px; }
  .page-hero .site-actions { display: grid; }
  .page-hero .site-btn { width: 100%; }
}

/* A fanned stack of photos behind a card */
.fan { position: absolute; inset: 0; }
.fan img { position: absolute; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7); left: 27%; top: 6%; transform-origin: 50% 110%; animation: site-fan 1.4s var(--ease) both; animation-delay: calc(.2s + var(--k) * .12s); }
.fan img:nth-child(1) { --rot: -22deg; --k: 0; }
.fan img:nth-child(2) { --rot: -9deg; --k: 1; }
.fan img:nth-child(3) { --rot: 6deg; --k: 2; }
.fan img:nth-child(4) { --rot: 19deg; --k: 3; }
@keyframes site-fan { from { transform: rotate(0) translateY(30px); opacity: 0; } to { transform: rotate(var(--rot)); opacity: 1; } }
.fan-card { position: absolute; left: 50%; bottom: 0; width: min(250px, 62%); transform: translateX(-50%) rotate(-3deg); padding: 20px; border-radius: 18px; background: var(--cream); color: var(--forest); text-align: center; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); display: grid; gap: 10px; justify-items: center; animation: site-pop 1s var(--ease) .8s both; }
.fan-card b { font: 500 22px/1.1 var(--display); }
.fan-card small { font-size: 12px; color: var(--muted); }
.fan-card svg { width: 64%; color: var(--forest); }
@keyframes site-pop { from { transform: translateX(-50%) rotate(-3deg) translateY(40px) scale(.9); opacity: 0; } }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 var(--line); display: grid; gap: 10px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 24px 40px -30px rgba(15, 50, 42, .5); }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 22px; }
.feature p { color: var(--ink-soft); font-size: 15.5px; }
.site-dark .feature { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.site-dark .feature p { color: rgba(255, 255, 255, .72); }
.site-dark .feature-icon { background: rgba(196, 154, 95, .16); color: var(--gold); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; gap: 12px; } .feature { padding: 20px; grid-template-columns: 46px 1fr; column-gap: 14px; } .feature-icon { grid-row: span 2; } .feature h3 { font-size: 19px; align-self: end; } }

/* Plan cards */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 26px; border-radius: 24px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 26px 50px -40px rgba(15, 50, 42, .4); }
.plan.is-featured { background: var(--forest-2); color: var(--white); box-shadow: 0 30px 60px -30px rgba(15, 50, 42, .8); }
.plan-badge { position: absolute; top: -12px; left: 26px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--forest); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 26px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 6px; font: 500 44px/1 var(--display); }
.plan-price small { font: 400 14px var(--body); color: var(--muted); white-space: nowrap; }
.plan.is-featured .plan-price small { color: rgba(255, 255, 255, .65); }
.plan-limits { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-limits span { padding: 6px 10px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.plan.is-featured .plan-limits span { background: rgba(255, 255, 255, .1); color: var(--white); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-soft); align-content: start; }
.plan.is-featured ul { color: rgba(255, 255, 255, .8); }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: '✓'; color: var(--brand); font-weight: 700; }
.plan.is-featured li::before { color: var(--gold); }
.plan .site-btn { width: 100%; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq-item { border-radius: 16px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--body); color: var(--brand); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 22px; color: var(--ink-soft); }

/* A banner that points to another product or page */
.crosslink { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: linear-gradient(120deg, var(--forest-2), #1e5546); color: var(--white); }
.crosslink h2 { font-size: clamp(28px, 3.4vw, 42px); }
.crosslink p { color: rgba(255, 255, 255, .78); margin-top: 8px; }
@media (max-width: 760px) { .crosslink { grid-template-columns: 1fr; } .crosslink .site-btn { width: 100%; } }
.site-section-tight { padding: clamp(50px, 7vw, 90px) 0; }
.site-cream { background: var(--cream); }

/* Phones: plan cards swipe sideways */
@media (max-width: 760px) {
  .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 16px var(--gutter) 24px; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 84%; scroll-snap-align: center; }
  .plans .plan[data-reveal] { opacity: 1; transform: none; }
}

/* Client Gallery hero browser and the two workflows */
.hero-browser { position: absolute; inset: 0; display: grid; align-items: center; }
.hero-browser .browser { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); color: var(--ink); }
.hero-browser-cover { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 7; }
.hero-browser-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-browser-cover span { position: absolute; inset: auto 0 0; padding: 18px 16px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: var(--white); display: grid; }
.hero-browser-cover b { font: 500 22px/1.1 var(--display); }
.hero-browser-cover small { font-size: 12px; opacity: .85; }
.workflows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.workflow { display: grid; gap: 16px; align-content: start; padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(15, 50, 42, .35); }
.workflow h3 { font-size: clamp(26px, 3vw, 36px); }
.workflow-dark { background: var(--forest-2); color: var(--white); }
.workflow-dark .way-tag { color: var(--gold); }
.workflow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: step; }
.workflow-steps li { position: relative; display: grid; gap: 2px; padding: 12px 0 12px 52px; counter-increment: step; }
.workflow-steps li::before { content: counter(step); position: absolute; left: 0; top: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-weight: 700; }
.workflow-steps li:not(:last-child)::after { content: ''; position: absolute; left: 16.5px; top: 50px; bottom: -8px; width: 1.5px; background: var(--line); }
.workflow-dark .workflow-steps li::before { background: rgba(196, 154, 95, .18); color: var(--gold); }
.workflow-dark .workflow-steps li::after { background: rgba(255, 255, 255, .14); }
.workflow-steps span { color: var(--ink-soft); font-size: 15px; }
.workflow-dark .workflow-steps span { color: rgba(255, 255, 255, .72); }
.site a.site-link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.site a.site-link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.site a.site-link-arrow:hover::after { transform: translateX(4px); }
.workflow-dark a.site-link-arrow { color: var(--gold); }
@media (max-width: 760px) { .workflows { grid-template-columns: 1fr; } .hero-browser { position: relative; } .hero-browser .browser { transform: none; } }

/* Live screen page */
.live-hero { padding-bottom: 70px; }
.live-hero-layout { display: grid; gap: clamp(30px, 5vw, 56px); justify-items: center; text-align: center; }
.live-hero h1 { font-size: clamp(38px, 4.8vw, 62px); }
.live-hero .site-actions { justify-content: center; }
.tv-loop { width: min(1000px, 100%); }
.layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.layout-card { display: grid; gap: 10px; align-content: start; padding: 18px 18px 24px; border-radius: 24px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 26px 50px -40px rgba(15, 50, 42, .4); }
.layout-card h3 { font-size: 24px; margin-top: 8px; }
.layout-card p { color: var(--ink-soft); font-size: 15.5px; }
.layout-visual { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #0d1a16; }
.layout-wall { background: #123a30; }
@keyframes site-drift { to { transform: translateY(-8%) scale(1.08); } }
.layout-single span { position: absolute; inset: 0; opacity: 0; animation: site-single 9s infinite; animation-delay: calc(var(--k) * 3s); }
.layout-single img { width: 100%; height: 100%; object-fit: cover; animation: site-kb 9s linear infinite; animation-delay: calc(var(--k) * 3s); }
@keyframes site-single { 0%, 33% { opacity: 1; } 38%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes site-kb { from { transform: scale(1); } to { transform: scale(1.18) translate(-3%, -2%); } }
.layout-poster { display: grid; place-items: center; background: linear-gradient(135deg, #1e5546, var(--forest)); }
.layout-poster .fan-card { position: static; transform: rotate(-3deg); width: 46%; padding: 12px; gap: 6px; animation: none; }
.layout-poster .fan-card b { font-size: 14px; }
.layout-poster .fan-card small { font-size: 9px; }
.connect { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.connect-visual { position: relative; padding: 0 40px 40px 0; }
.connect-tv { width: 86%; }
.connect-screen { display: grid !important; grid-template: none !important; place-content: center; text-align: center; gap: 8px; background: #0e1714 !important; color: var(--white); }
.connect-screen span { font-size: clamp(11px, 1.2vw, 15px); color: rgba(255, 255, 255, .6); }
.connect-screen b { font: 500 clamp(30px, 3.8vw, 52px)/1 var(--display); letter-spacing: .08em; color: var(--gold); }
.connect-screen small { font-size: clamp(10px, 1vw, 13px); color: rgba(255, 255, 255, .7); }
.connect-phone { position: absolute; right: 0; bottom: -10px; width: 26%; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7); }
.connect-app { position: absolute; inset: 0; padding: 40px 10px 10px; display: grid; align-content: start; gap: 12px; }
.app-title { font: 500 20px/1.1 var(--display); color: var(--forest); text-align: center; }
.connect-app .app-title { font-size: 15px; }
.connect-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.connect-code i { font-style: normal; display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 5px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font: 600 13px/1 var(--body); color: var(--forest); opacity: 0; transition: opacity .2s; transition-delay: calc(.6s + var(--k) * .22s); }
.connect-visual.is-in .connect-code i { opacity: 1; }
.connect-app .app-button { font-size: 11px; padding: 8px; }
.connect-ok { font-size: 10px; color: var(--brand); font-weight: 600; text-align: center; opacity: 0; transition: opacity .4s 2.3s; }
.connect-visual.is-in .connect-ok { opacity: 1; }
@media (max-width: 860px) { .layouts { grid-template-columns: 1fr; } .connect { grid-template-columns: 1fr; } .connect-visual { padding: 0 20px 30px 0; } }
@media (prefers-reduced-motion: reduce) { .layout-single span, .layout-single img { animation: none !important; opacity: 1; } .layout-single span:not(:first-child) { display: none; } }
@media (max-width: 700px) {
  .tv.connect-tv { width: 92%; aspect-ratio: 16 / 10; border-radius: 16px; }
  .connect-screen b { font-size: 30px; white-space: nowrap; }
  .connect-phone { width: 31%; right: -6px; bottom: -34px; border-radius: 26px; padding: 6px; }
  .connect-phone .phone-screen { border-radius: 21px; }
  .connect-phone::before { top: 12px; height: 12px; }
  .connect-app .app-title { font-size: 12px; }
  .connect-code i { font-size: 10px; border-radius: 3px; }
  .connect-app { padding-top: 34px; gap: 8px; }
}
.plan-price s { font-size: 22px; color: var(--muted); }
.plan.is-featured .plan-price s { color: rgba(255, 255, 255, .55); }
.site .plans-offer { width: fit-content; margin: 0 auto 26px; padding: 10px 18px; border-radius: 999px; background: var(--gold-soft); color: var(--forest); font-weight: 600; font-size: 15px; }

/* Pricing page */
.pricing-hero { padding-bottom: 80px; }
.pricing-hero h1 { font-size: clamp(40px, 5vw, 66px); }
.price-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.site .price-switch a { padding: 12px 20px; border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .25s; }
.site .price-switch a:hover { background: rgba(255, 255, 255, .1); }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.included { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.included li { display: flex; gap: 10px; font-size: 15.5px; }
.included li::before { content: '✓'; color: var(--brand); font-weight: 700; }
.addon { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.addon span { color: var(--ink-soft); font-size: 15px; }
.addon-offer { background: var(--gold-soft); box-shadow: none; }
.price-list { border-radius: 24px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(15, 50, 42, .35); overflow: hidden; }
.price-list-head { display: flex; justify-content: space-between; padding: 16px 22px; background: var(--forest-2); color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.price-list ol { list-style: none; margin: 0; padding: 6px 0; }
.price-list li { display: flex; justify-content: space-between; padding: 10px 22px; font-size: 15.5px; }
.price-list li:nth-child(even) { background: var(--cream); }
.price-list li b { font-weight: 600; color: var(--forest); }
.price-list p { padding: 12px 22px 18px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } .included { grid-template-columns: 1fr; } .price-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .site .price-switch a { padding: 12px 8px; text-align: center; } .price-list li { padding: 9px 18px; } }

/* Content pages: short hero, breadcrumbs and a readable article column */
.page-hero-short { padding: 130px 0 70px; }
.page-hero-short h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.04; }
.article-hero { display: grid; gap: 20px; max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.site .crumbs a { color: var(--gold); text-decoration: none; font-weight: 600; }
.article-meta { color: rgba(255, 255, 255, .7); font-size: 15px; }
.prose { max-width: 740px; margin: 0 auto; padding: clamp(50px, 8vw, 90px) 0 clamp(30px, 5vw, 50px); font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.prose > section + section { margin-top: clamp(44px, 6vw, 64px); }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); color: var(--ink); margin: 0 0 16px; line-height: 1.12; }
.prose h3 { font: 600 20px/1.3 var(--body); color: var(--ink); margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); }
.site .prose a:not(.site-btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose .guide-route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.prose .guide-route-grid article { padding: 20px; border-radius: 18px; background: var(--white); box-shadow: 0 1px 0 var(--line); font-size: 16px; line-height: 1.55; }
.prose .guide-route-grid article strong { display: block; margin-bottom: 6px; font-size: 17px; }
.prose .guide-route-grid article p { margin: 0; }
/* Tutorials: numbered steps, each with what to do and a screenshot of where. */
.prose .guide-steps { list-style: none; padding: 0; margin: 28px 0; counter-reset: guide-step; display: grid; gap: 34px; }
.prose .guide-steps > li { counter-increment: guide-step; position: relative; padding-left: 52px; margin: 0; }
.prose .guide-steps > li::before { content: counter(guide-step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--white); font-size: 16px; font-weight: 700; }
.prose .guide-steps > li > h3 { margin: 4px 0 8px; font-size: 21px; }
.prose .guide-steps > li > p { margin: 0 0 10px; }
.prose .guide-steps .guide-shot { margin: 16px 0 0; }
@media (max-width: 700px) { .prose .guide-steps > li { padding-left: 0; padding-top: 46px; } }
.prose .guide-tip-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.prose .guide-tip-list li { position: relative; padding-left: 34px; margin: 0; }
.prose .guide-tip-list li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 13px; font-weight: 700; }
.prose .guide-inline-note, .prose .guide-challenge-card { margin: 26px 0; padding: 22px 24px; border-radius: 18px; background: var(--brand-tint); font-size: 17px; }
.prose .guide-challenge-card { background: var(--gold-soft); }
.prose .guide-challenge-card strong { display: block; margin-bottom: 6px; }
.prose .guide-inline-note p, .prose .guide-challenge-card p { margin: 0; }
.prose .guide-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: 18px; box-shadow: 0 1px 0 var(--line); background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--cream); font-weight: 600; }
.prose figure { margin: 28px 0; }
.prose figure img { width: 100%; height: auto; border-radius: 18px; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.article-author { display: flex; gap: 16px; align-items: center; margin-top: 44px; padding: 20px; border-radius: 18px; background: var(--white); box-shadow: 0 1px 0 var(--line); font-size: 16px; }
.article-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.article-author p { margin: 2px 0 0; }
@media (max-width: 700px) { .prose { font-size: 17px; } .prose .guide-route-grid { grid-template-columns: 1fr; } .page-hero-short { padding: 110px 0 50px; } }

/* Help */
.help-search { display: flex; align-items: center; gap: 8px; width: min(720px, 100%); margin-top: 8px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.help-search svg { width: 22px; height: 22px; flex: none; color: var(--muted); }
.help-search input { flex: 1; min-width: 0; border: 0; background: none; font: 500 17px var(--body); color: var(--ink); padding: 12px 4px; outline: none; }
.help-search select { border: 0; border-left: 1px solid var(--line); background: none; font: 500 15px var(--body); color: var(--ink-soft); padding: 10px 8px; max-width: 150px; }
.help-search:focus-within { box-shadow: 0 0 0 3px var(--gold), 0 24px 50px -24px rgba(0, 0, 0, .6); }
.help-status { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.site .help-reset { color: var(--brand); font-weight: 600; }
.help-empty { text-align: center; padding: 40px 0; display: grid; gap: 12px; justify-items: center; }
.help-empty h2 { font-size: 32px; }
.help-group + .help-group { margin-top: clamp(50px, 7vw, 80px); }
.help-group-title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 24px; }
.help-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.site .help-guide { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 20px; background: var(--white); box-shadow: 0 1px 0 var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.help-guide:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 20px 40px -26px rgba(15, 50, 42, .5); }
.help-guide span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.help-guide b { font: 500 21px/1.2 var(--display); }
.help-guide small { color: var(--ink-soft); font-size: 15px; }
.help-topic + .help-topic { margin-top: 34px; }
.help-topic h3 { font: 600 14px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.help-topic .faq { max-width: none; }
.help-answer.prose { padding: 0 22px 20px; font-size: 16px; max-width: none; margin: 0; }
.help-answer.prose p { padding: 0; }
.help-answer-lead { color: var(--ink); font-weight: 500; }
.help-copy { font-size: 14px; }
.faq-item[hidden], .help-group[hidden], .help-topic[hidden], .help-guide[hidden], .help-empty[hidden] { display: none; }
.page-hero .site-eyebrow { color: var(--gold); }
.help-group-title + .help-topic { margin-top: 0; }
@media (max-width: 700px) {
  .help-search { flex-wrap: wrap; border-radius: 22px; padding: 10px 12px; }
  .help-search input { flex-basis: calc(100% - 40px); }
  .help-search select { flex: 1; border-left: 0; border-top: 1px solid var(--line); max-width: none; }
  .help-search .site-btn { min-height: 44px; }
}

/* Contact and forms */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
.contact-ways { display: grid; gap: 4px; }
.contact-way { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.contact-way span { color: var(--ink-soft); }
.site .contact-way a { color: var(--brand); font-weight: 600; text-decoration: none; }
.contact-social { display: flex; gap: 16px; }
.contact-card { padding: clamp(22px, 4vw, 40px); border-radius: 24px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(15, 50, 42, .35); display: grid; gap: 18px; }
.contact-card h2 { font-size: clamp(26px, 3vw, 34px); }
.site-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.site-form .site-btn { justify-self: start; }
.site-field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.site-field small { font-weight: 400; color: var(--muted); }
.site-field-full { grid-column: 1 / -1; }
.site-field input, .site-field select, .site-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); font: 400 16px var(--body); color: var(--ink); }
.site-field textarea { resize: vertical; }
.site-field :focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.notice { padding: 14px 16px; border-radius: 12px; font-size: 15px; background: var(--brand-tint); color: var(--forest); }
.notice-error { background: #fbe4e1; color: #8a2a1d; }
@media (max-width: 760px) { .contact, .site-form { grid-template-columns: 1fr; } .contact-card { order: -1; } .site-form .site-btn { justify-self: stretch; } }

/* About */
.founder { position: relative; margin: 0; justify-self: center; width: min(420px, 100%); }
.founder img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); }
.founder figcaption { position: absolute; left: -18px; bottom: 28px; display: grid; padding: 14px 18px; border-radius: 16px; background: var(--white); color: var(--muted); font-size: 14px; box-shadow: var(--shadow); }
.founder figcaption b { font: 500 22px/1.1 var(--display); color: var(--forest); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.chapter-flip .chapter-photo { order: 2; }
.chapter-photo { position: relative; }
.chapter-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.chapter-photo span { position: absolute; top: -26px; left: -10px; font: italic 500 clamp(80px, 10vw, 140px)/1 var(--display); color: var(--gold); text-shadow: 0 10px 30px rgba(15, 50, 42, .2); }
.chapter-flip .chapter-photo span { left: auto; right: -10px; }
.chapter-copy { display: grid; gap: 18px; }
.chapter-copy p { font-size: 18px; color: var(--ink-soft); }
.chapter:nth-of-type(even) { background: var(--cream); }
.about-still { max-width: 34em; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); }
.about-still b { color: var(--gold); }
@media (max-width: 760px) { .chapter-grid { grid-template-columns: 1fr; } .chapter-flip .chapter-photo { order: 0; } .chapter-photo img { aspect-ratio: 4 / 3; } .founder figcaption { left: 12px; } }

/* Install */
.install-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.install-status { color: rgba(255, 255, 255, .8); min-height: 1.5em; }
.install-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.install-ways h2 { font-size: clamp(26px, 3vw, 34px); }
@media (max-width: 760px) { .install-ways { grid-template-columns: 1fr; } }

/* 404 */
.lost { padding-top: 150px; min-height: 80svh; display: grid; align-items: center; }
.lost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.lost-copy { display: grid; gap: 20px; }
.lost h1 { font-size: clamp(38px, 4.6vw, 58px); }
.error-camera { width: min(100%, 460px); overflow: visible; filter: drop-shadow(0 24px 35px rgba(7, 50, 40, .17)); }
.error-camera-shadow { fill: #0c30271a; }
.error-camera-body { fill: var(--brand); }
.error-camera-top { fill: #175a49; }
.error-camera-ring { fill: #f4e9c8; stroke: var(--gold); stroke-width: 12; }
.error-camera-lens { fill: #163f36; stroke: #0f3029; stroke-width: 8; }
.error-lens-cap { fill: #17231f; stroke: #07110e; stroke-width: 8; transform-origin: 263px 262px; animation: site-cap 5.5s ease-in-out infinite; }
.error-cap-grip { fill: none; stroke: #48534f; stroke-width: 9; stroke-linecap: round; opacity: .7; }
.error-cap-tether { fill: none; stroke: #17231f; stroke-width: 8; stroke-linecap: round; }
.error-cap-tag { fill: var(--gold); stroke: #fff8e7; stroke-width: 5; }
.error-cap-text { fill: #173d33; font: 900 16px var(--body); }
.error-flash { fill: #f8f1d9; stroke: var(--gold); stroke-width: 5; }
@keyframes site-cap { 50% { transform: rotate(-8deg) translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .error-lens-cap { animation: none; } }
@media (max-width: 760px) { .lost { padding-top: 110px; } .lost-grid { grid-template-columns: 1fr; } .lost-art { order: -1; justify-self: center; width: 70%; } }

/* Legal documents */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.site .legal-tabs a { padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.site .legal-tabs a[aria-current="page"] { background: var(--gold); color: var(--forest); box-shadow: none; }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
.legal-contents { position: sticky; top: 92px; display: grid; gap: 16px; padding-top: clamp(50px, 8vw, 90px); font-size: 14px; }
.legal-contents summary { font-weight: 700; cursor: pointer; margin-bottom: 8px; }
.legal-contents nav { display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.site .legal-contents a { padding: 6px 0; color: var(--ink-soft); text-decoration: none; }
.site .legal-contents a:hover { color: var(--brand); }
.legal-doc { max-width: 780px; margin: 0; font-size: 16.5px; }
.legal-doc h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 44px; scroll-margin-top: 90px; }
.legal-doc .legal-table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 14px; box-shadow: 0 1px 0 var(--line); background: var(--white); }
.legal-doc .button { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--forest-2); color: var(--white); font-weight: 600; border: 0; cursor: pointer; text-decoration: none; }
.legal-doc .button-secondary { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px currentColor; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-contents { position: static; padding-top: 30px; } .legal-contents details:not([open]) + * { margin-top: 0; } }
@media print { .site-header, .site-footer, .legal-contents, .site-mobile-cta, .page-hero .legal-tabs { display: none !important; } .page-hero { background: none; color: #000; padding: 0; } }

/* Occasion pages */
.hero-note { font-size: 14px; color: rgba(255, 255, 255, .65); }
.occasion-steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.occasion-steps .workflow-steps li { font-size: 17px; }
.occasion-steps .workflow-steps span { color: var(--ink-soft); }
@media (max-width: 760px) { .occasion-steps { grid-template-columns: 1fr; } }

/* Real page captures inside the device frames */
.shot { position: absolute; left: 0; right: 0; bottom: 0; top: 6.5%; width: 100%; height: 93.5%; object-fit: cover; object-position: 50% 0; }
.view-upload .shot-late { opacity: clamp(0, (var(--p) * 3 - 1.45) * 5, 1); transition: opacity .3s; }
.view-upload, .view-sent { background: var(--white); }

/* Guest Upload Gallery page */
.guest-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 4vw, 48px); max-width: 980px; margin: 0 auto; }
.guest-dots { display: none; }
.guest-view { margin: 0; display: grid; gap: 18px; justify-items: center; text-align: center; }
.guest-view .phone { width: min(260px, 100%); }
.guest-view .phone-screen { background: var(--white); }
.guest-view figcaption { display: grid; gap: 4px; max-width: 260px; }
.guest-view figcaption b { font: 500 22px/1.15 var(--display); }
.guest-view figcaption span { color: var(--ink-soft); font-size: 15.5px; }
.posters { overflow: hidden; margin-top: 10px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.posters-track { display: flex; gap: 18px; width: max-content; animation: site-posters 60s linear infinite; }
@keyframes site-posters { to { transform: translateX(calc(-50% - 9px)); } }
.poster { position: relative; width: clamp(260px, 30vw, 420px); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; flex: none; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-qr { position: absolute; left: 50%; top: 61%; width: 15%; transform: translate(-50%, -50%); color: #16241f; }
.after { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.after-card { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 22px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 26px 50px -40px rgba(15, 50, 42, .4); }
.after-card h3 { font-size: 24px; }
.after-card p { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .posters-track { animation: none; } }
@media (max-width: 760px) {
  /* Sideways only: a swipe must never nudge the row up or down and clip the phones. */
  .guest-views { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-top: 4px; padding-bottom: 10px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .guest-view { scroll-snap-align: center; }
  /* Phones off to the side fade in without rising, so none sits lower than the row and gets cut off. */
  .js .guest-views [data-reveal] { transform: none; }
  /* Guest page, "Three taps": a scroll scene. The section sticks below the header and each swipe up slides
     to the next phone (data-step from site.js), then the page carries on. The phones are sized to fit the
     screen with the heading, caption and the start bar. Reduced motion keeps the sideways row above. */
  html:not(.reduced-motion) .guest-scene { --gw: clamp(120px, calc((100svh - 430px) * 9 / 18.6), 250px); --gap: 22px; height: 300vh; padding: 0; }
  html:not(.reduced-motion) .guest-scene .guest-stage { position: sticky; top: 72px; height: calc(100svh - 72px); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; padding: 16px 0 86px; box-sizing: border-box; }
  html:not(.reduced-motion) .guest-scene .guest-stage > .site-wrap { min-width: 0; }
  html:not(.reduced-motion) .guest-scene .site-head { gap: 8px; margin-bottom: 16px; }
  html:not(.reduced-motion) .guest-scene .site-lede { font-size: 15px; }
  html:not(.reduced-motion) .guest-scene .guest-views { display: flex; min-width: 0; max-width: none; gap: var(--gap); overflow: visible; margin: 0; padding: 0 calc(50% - var(--gw) / 2); scroll-snap-type: none; transform: translateX(calc(var(--s, 0) * -1 * (var(--gw) + var(--gap)))); transition: transform .65s var(--ease); }
  html:not(.reduced-motion) .guest-scene[data-step="1"] { --s: 1; }
  html:not(.reduced-motion) .guest-scene[data-step="2"] { --s: 2; }
  html:not(.reduced-motion) .guest-scene .guest-view { flex: 0 0 var(--gw); min-width: 0; grid-template-columns: var(--gw); gap: 14px; }
  html:not(.reduced-motion) .guest-scene .guest-view .phone { width: var(--gw); border-radius: 30px; padding: 7px; transform: scale(.88); opacity: .4; transition: transform .65s var(--ease), opacity .65s var(--ease); }
  html:not(.reduced-motion) .guest-scene .guest-view figcaption { width: min(300px, calc(100vw - 56px)); max-width: none; opacity: 0; transition: opacity .4s ease; }
  html:not(.reduced-motion) .guest-scene .guest-view figcaption b { font-size: 20px; }
  html:not(.reduced-motion) .guest-scene .guest-view figcaption span { font-size: 14.5px; }
  html:not(.reduced-motion) .guest-scene[data-step="0"] .guest-view:nth-child(1) :is(.phone, figcaption),
  html:not(.reduced-motion) .guest-scene[data-step="1"] .guest-view:nth-child(2) :is(.phone, figcaption),
  html:not(.reduced-motion) .guest-scene[data-step="2"] .guest-view:nth-child(3) :is(.phone, figcaption) { transform: none; opacity: 1; }
  html:not(.reduced-motion) .guest-scene .guest-dots { display: flex; justify-content: center; gap: 11px; margin-top: 14px; }
  /* Short screens: the heading alone, so the phone and its caption still fit above the start bar. */
  @media (max-height: 740px) {
    html:not(.reduced-motion) .guest-scene { --gw: clamp(120px, calc((100svh - 330px) * 9 / 18.6), 250px); }
    html:not(.reduced-motion) .guest-scene :is(.site-eyebrow, .site-lede) { display: none; }
    html:not(.reduced-motion) .guest-scene .guest-view figcaption span { font-size: 13.5px; }
  }
  .guest-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s ease, transform .3s ease; }
  .guest-scene[data-step="0"] .guest-dots i:nth-child(1), .guest-scene[data-step="1"] .guest-dots i:nth-child(2), .guest-scene[data-step="2"] .guest-dots i:nth-child(3) { transform: scaleX(2); border-radius: 4px; background: var(--forest-2); }
  .after { grid-template-columns: 1fr; }
}

/* Pages with their own content styles (demos): simple buttons and room for the fixed header */
.site .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--forest-2); color: var(--white); font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; }
.site .button-secondary { background: var(--white); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line); }
.demo-wall-page .demo-wall-main { padding-top: 96px; }
.demo-wall-page .eyebrow { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }

/* Live screen page: the story wall layout as a diagram */
.layout-diagram { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; background: #123a30; }
.layout-diagram > span { overflow: hidden; }
.layout-diagram i { display: grid; gap: 6px; animation: site-diagram calc(14s + var(--c) * 2s) linear infinite; }
@keyframes site-diagram { to { transform: translateY(calc(-50% - 3px)); } }
.layout-diagram b { display: block; border-radius: 6px; background: rgba(255, 255, 255, .14); position: relative; }
.layout-diagram b::after { content: ''; position: absolute; left: 6px; bottom: 6px; width: 34%; height: 7px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.layout-diagram b.has-note { background: rgba(196, 154, 95, .35); }
.layout-diagram b.has-note::after { width: 60%; background: rgba(255, 255, 255, .7); }
@media (prefers-reduced-motion: reduce) { .layout-diagram i { animation: none; } }
.layout-single-diagram { background: #123a30; }
.layout-single-diagram span { display: grid; place-items: center; }
.layout-single-diagram b { display: block; height: 82%; border-radius: 8px; background: rgba(255, 255, 255, .16); position: relative; animation: site-single-zoom 9s linear infinite; animation-delay: calc(var(--k) * 3s); }
.layout-single-diagram b.is-portrait { aspect-ratio: 3 / 4; }
.layout-single-diagram b.is-landscape { aspect-ratio: 3 / 2; height: auto; width: 82%; }
.layout-single-diagram b::after { content: ''; position: absolute; left: 8px; bottom: 8px; width: 34%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .4); }
.layout-single-diagram b.has-note { background: rgba(196, 154, 95, .35); }
.layout-single-diagram b.has-note::after { width: 60%; background: rgba(255, 255, 255, .7); }
@keyframes site-single-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .layout-single-diagram b { animation: none; } }

/* Filling the gallery before the day */
.before-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.before-line::before { content: ''; position: absolute; left: 4%; right: 4%; top: 150px; height: 2px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.before-moment { position: relative; display: grid; gap: 8px; align-content: start; }
.before-photos { position: relative; height: 130px; margin-bottom: 34px; }
.before-photos img { position: absolute; width: 96px; height: 120px; object-fit: cover; border-radius: 12px; border: 4px solid var(--white); box-shadow: 0 18px 30px -18px rgba(15, 50, 42, .6); }
.before-photos img:nth-child(1) { left: 0; transform: rotate(-6deg); }
.before-photos img:nth-child(2) { left: 70px; top: 6px; transform: rotate(4deg); }
.before-photos img:nth-child(3) { left: 140px; transform: rotate(-2deg); }
.before-moment::before { content: ''; position: absolute; left: 0; top: 143px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--paper); }
.before-when { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.before-moment h3 { font-size: 26px; }
.before-moment p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .before-line { grid-template-columns: 1fr; gap: 34px; padding-left: 26px; }
  .before-line::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(var(--gold-soft), var(--gold)); }
  .before-moment::before { left: -26px; top: 4px; }
  .before-photos { order: 4; height: 110px; margin: 8px 0 0; }
  .before-photos img { width: 84px; height: 104px; }
  .before-photos img:nth-child(2) { left: 62px; } .before-photos img:nth-child(3) { left: 124px; }
}
.crosslink-light { background: var(--gold-soft); color: var(--ink); }
.crosslink-light p { color: var(--ink-soft); }
.crosslink-light .site-eyebrow { margin-bottom: 10px; }

/* Screenshots in guides */
.prose .guide-shot { margin: 30px 0; display: grid; gap: 12px; }
.prose .guide-shot-frame { border-radius: 16px; overflow: hidden; background: #f4f4f1; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(15, 50, 42, .45); }
.prose .guide-shot-frame img { display: block; width: 100%; height: auto; border-radius: 0; }
.prose .guide-shot figcaption { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0; }
.prose .guide-shot-phone { justify-items: center; text-align: center; }
.prose .guide-shot-phone .phone { width: min(280px, 72vw); }
.prose .guide-shot-phone .phone-screen { background: var(--white); }
.prose .guide-shot-phone .phone-screen img { position: absolute; left: 0; right: 0; bottom: 0; top: 6.5%; width: 100%; height: 93.5%; object-fit: cover; object-position: 50% 0; border-radius: 0; }
.prose .guide-shot-phone figcaption { max-width: 420px; }
.site .prose a.guide-shot-frame { display: block; text-decoration: none; cursor: zoom-in; }
@media (max-width: 700px) { .prose .guide-shot-frame { margin: 0 calc(var(--gutter) * -0.5); } .prose .guide-shot figcaption::after { content: ' Tap to enlarge.'; } .prose .guide-shot-phone figcaption::after { content: none; } }

/* Pricing: the business sections fit a desktop screen, with the free trial button near the top of each. */
.pricing-page .bill-chart { height: 250px; }
.pricing-page .bill-calc { margin-top: 52px; }
.pricing-page .bill .site-actions, .pricing-page .price-grid .site-actions { margin-top: 4px; }
#business { scroll-margin-top: 72px; }
@media (min-width: 861px) {
  .pricing-page .price-grid { align-items: center; }
  .pricing-page .price-list ol { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows, 10), auto); grid-auto-flow: column; }
  .pricing-page .price-list li { gap: 12px; padding: 9px 20px; white-space: nowrap; }
  .pricing-page .price-list ol li:nth-child(n+11) { border-left: 1px solid var(--line); }
}

/* Home page bill: the section stays put while the months fill in one at a time, starting from a quiet £1.99. */
@media (min-width: 861px) {
  html:not(.reduced-motion) .bill-scene { height: 320vh; padding: 0; overflow: visible; }
  html:not(.reduced-motion) .bill-scene .scene-stage { overflow: hidden; }
}
html:not(.reduced-motion) .bill-scene .bill-chart .bill-bar { transform: scaleY(0); transition: transform .55s var(--ease); }
html:not(.reduced-motion) .bill-scene .bill-chart .bill-bar > * { opacity: 0; transition: opacity .3s ease; }
html:not(.reduced-motion) .bill-scene[data-step="0"] .bill-chart .bill-bar:nth-child(-n+1) { transform: none; }
html:not(.reduced-motion) .bill-scene[data-step="0"] .bill-chart .bill-bar:nth-child(-n+1) > * { opacity: 1; transition-delay: .3s; }
html:not(.reduced-motion) .bill-scene[data-step="1"] .bill-chart .bill-bar:nth-child(-n+2) { transform: none; }
html:not(.reduced-motion) .bill-scene[data-step="1"] .bill-chart .bill-bar:nth-child(-n+2) > * { opacity: 1; transition-delay: .3s; }
html:not(.reduced-motion) .bill-scene[data-step="2"] .bill-chart .bill-bar:nth-child(-n+3) { transform: none; }
html:not(.reduced-motion) .bill-scene[data-step="2"] .bill-chart .bill-bar:nth-child(-n+3) > * { opacity: 1; transition-delay: .3s; }
html:not(.reduced-motion) .bill-scene[data-step="3"] .bill-chart .bill-bar:nth-child(-n+4) { transform: none; }
html:not(.reduced-motion) .bill-scene[data-step="3"] .bill-chart .bill-bar:nth-child(-n+4) > * { opacity: 1; transition-delay: .3s; }
html:not(.reduced-motion) .bill-scene[data-step="4"] .bill-chart .bill-bar:nth-child(-n+5) { transform: none; }
html:not(.reduced-motion) .bill-scene[data-step="4"] .bill-chart .bill-bar:nth-child(-n+5) > * { opacity: 1; transition-delay: .3s; }
html:not(.reduced-motion) .bill-scene[data-step="5"] .bill-chart .bill-bar:nth-child(-n+6) { transform: none; }
html:not(.reduced-motion) .bill-scene[data-step="5"] .bill-chart .bill-bar:nth-child(-n+6) > * { opacity: 1; transition-delay: .3s; }
/* Phones: the stage holds the heading, chart and price; the explanation follows after the months fill in. */
.bill-more-after { display: none; }
.bill-more-stage { display: grid; gap: inherit; }
@media (max-width: 860px) {
  html:not(.reduced-motion) .bill-scene { height: 300svh; padding: 0; overflow: visible; }
  html:not(.reduced-motion) .bill-scene .scene-stage { overflow: hidden; align-items: center; padding: 8px 0 84px; } /* room for the phone start bar */
  html:not(.reduced-motion) .bill-scene .bill-grid { gap: 18px; }
  html:not(.reduced-motion) .bill-scene .site-h2 { font-size: clamp(30px, 8.4vw, 40px); }
  html:not(.reduced-motion) .bill-scene .bill-more-stage { display: none; }
  html:not(.reduced-motion) .bill-scene .bill-chart { height: clamp(120px, 28svh, 240px); margin-top: 26px; }
  html:not(.reduced-motion) .bill-scene .bill-bar span { font-size: 10px; }
  html:not(.reduced-motion) .bill-scene .bill-calc { margin-top: 44px; padding: 16px; gap: 10px; }
  html:not(.reduced-motion) .bill-scene .bill-calc-top b { font-size: 32px; }
  html:not(.reduced-motion) .bill-scene .bill-calc-top span { font-size: 14px; }
  html:not(.reduced-motion) .bill-scene .bill-calc-top strong { white-space: nowrap; }
  html:not(.reduced-motion) .bill-more-after { display: block; padding-top: 8px; }
}
@media (max-width: 860px) and (max-height: 720px) {
  html:not(.reduced-motion) .bill-scene .site-eyebrow { display: none; }
  html:not(.reduced-motion) .bill-scene .bill-calc-scale { display: none; }
}

/* Coming soon (coming-soon.php): one button in place of the menu (no sign-in while the site is hidden), a note for guests
   looking for a gallery, and the invitation to test before launch. */
.site-soon-actions { display: flex; align-items: center; gap: 18px; }
.site-soon-actions .site-btn { white-space: nowrap; }
.soon-guest { margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, .62); }
.soon-testers { padding-top: 0; }
.soon-invite { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 5vw, 56px); border-radius: 28px; }
.soon-invite .site-h2 { margin-bottom: 14px; }
.soon-invite .site-lede { max-width: 640px; margin-bottom: 0; }
.soon-invite > .site-btn { flex-shrink: 0; }
@media (max-width: 760px) {
  .soon-invite { flex-direction: column; align-items: stretch; }
  .site-soon-actions { gap: 12px; }
}
@media (max-width: 400px) { .site-soon-actions .site-btn { min-height: 36px; padding: 0 12px; font-size: 13px; } }
