/* Frontly website · "Open sign" brand (brand book v1, Nov 2026).
   Night stage with blush "daylight" for the practical parts. Fonts self-hosted (OFL): Fredoka + Nunito.
   Motion: one signature moment (the neon sign flickers on), everything else calm. Scroll effects follow the
   FlexPrints ScrollFx pattern (--fx 0..1 per [data-fx], settled = 1 by default) and the Versatile Builds
   view()-timeline "rise". Content is fully visible with no JS, unsupported timelines or reduced motion. */

@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --pink: #FF4F8B;
  --night: #160F2E;
  --night-2: #211845;
  --night-3: #2E2459;
  --lime: #C8FF5A;
  --blush: #FFF5F9;
  --glow: #FFE3EE;
  --muted: #B7AED3;
  --deep: #C81E5E;
  --star: #F4B400;
  --white: #ffffff;

  --halo: 0 0 14px rgba(255, 79, 139, 0.75);
  --neon: drop-shadow(0 0 3px rgba(255, 79, 139, 0.95)) drop-shadow(0 0 14px rgba(255, 79, 139, 0.6));
  --focus: var(--pink);
  --mark-dot: var(--lime);

  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--glow); font: 400 17px/27px var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--pink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark-dot { fill: var(--mark-dot); }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 780px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--pink); color: var(--night); padding: 8px 14px; border-radius: 10px; z-index: 50; font-weight: 800; }
.skip:focus { left: 8px; }

/* ----------------------------------------------------------------------------------------------
   Logo lockup: mark then wordmark. Glow only on night.
   ---------------------------------------------------------------------------------------------- */
.lockup { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-width: 96px; }
.lockup-mark { width: 40px; height: 40px; flex: none; margin: -4px -2px -4px -4px; filter: var(--neon); }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: 0; color: var(--glow); text-shadow: var(--halo); }

/* ----------------------------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(22, 15, 46, 0.86); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.top.scrolled { border-bottom-color: var(--night-3); }
.top-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover { color: var(--glow); }
.top-row > .btn { margin-left: auto; }
@media (min-width: 820px) { .nav { display: flex; } .top-row > .btn { margin-left: 8px; } }

/* ----------------------------------------------------------------------------------------------
   Buttons: pink with night text (never white on pink)
   ---------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--pink); color: var(--night);
  font: 600 17px/1 var(--display); letter-spacing: 0; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(255, 79, 139, 0), 0 10px 24px -12px rgba(255, 79, 139, 0.8);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
@media (hover: hover) { .btn:hover { box-shadow: 0 0 0 4px rgba(255, 79, 139, 0.18), 0 12px 28px -10px rgba(255, 79, 139, 0.9); } }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--glow); box-shadow: inset 0 0 0 2px var(--night-3); }
@media (hover: hover) { .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--pink); } }
.btn-wide { width: 100%; }

/* ----------------------------------------------------------------------------------------------
   Shared text
   ---------------------------------------------------------------------------------------------- */
.label { font: 800 12px/16px var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/16px var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); padding: 7px 12px; border-radius: 999px; background: rgba(200, 255, 90, 0.08); box-shadow: inset 0 0 0 1px rgba(200, 255, 90, 0.25); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgba(200, 255, 90, 0.8); flex: none; }
h2 { font-size: clamp(30px, 7vw, 40px); line-height: 1.1; color: var(--glow); }
h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.chapter-copy p:not(.label) { margin-top: 14px; color: var(--muted); max-width: 34em; }
.chapter-copy.center p:not(.label) { margin-left: auto; margin-right: auto; }
.chapter-copy .quiet { color: var(--glow); font-weight: 700; }

/* ----------------------------------------------------------------------------------------------
   1. Hero: the sign flickers on
   ---------------------------------------------------------------------------------------------- */
.hero { position: relative; padding: 28px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -30% auto; height: 120%; background: radial-gradient(50% 45% at 50% 35%, rgba(255, 79, 139, 0.16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 112px; } .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; } .hero-sign { order: 2; } }
.hero-sign { position: relative; width: min(56vw, 230px); aspect-ratio: 1; margin: 0 auto; }
@media (min-width: 900px) { .hero-sign { width: min(34vw, 400px); } }
.hero-sign::after { content: ""; position: absolute; inset: 8%; border-radius: 30%; background: radial-gradient(closest-side, rgba(255, 79, 139, 0.28), transparent); z-index: -1; }
.sign { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sign-off { opacity: 0.22; }
.sign-on { filter: var(--neon); }
.sign-dot circle { fill: var(--lime); }
.sign-dot { transform-origin: 70.8% 64.6%; filter: drop-shadow(0 0 3px rgba(200, 255, 90, 0.95)) drop-shadow(0 0 10px rgba(200, 255, 90, 0.6)); }
.hero-copy h1 { margin-top: 18px; font-size: clamp(42px, 12vw, 60px); line-height: 1; color: var(--glow); }
@media (min-width: 900px) { .hero-copy h1 { font-size: 64px; line-height: 64px; } }
.lede { margin-top: 18px; font-size: 18px; line-height: 28px; color: var(--muted); max-width: 32em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .cta-row .btn { flex: 0 0 auto; } }

@media (prefers-reduced-motion: no-preference) {
  .sign-on { animation: flicker-on 1.05s steps(1, end) 0.15s both; }
  .sign-dot { animation: dot-on 0.3s ease-out 1.15s both; }
  .hero-sign::after { animation: halo 1.2s ease-out 0.9s both, breathe 6s ease-in-out 2.4s infinite; }
}
@keyframes flicker-on {
  0% { opacity: 0; } 9% { opacity: 1; } 14% { opacity: 0.1; } 22% { opacity: 0.9; } 27% { opacity: 0.15; }
  38% { opacity: 1; } 44% { opacity: 0.55; } 50%, 100% { opacity: 1; }
}
@keyframes dot-on { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes halo { from { opacity: 0; } to { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* ----------------------------------------------------------------------------------------------
   Chapters (night) and daylight
   ---------------------------------------------------------------------------------------------- */
.chapter { position: relative; padding: 72px 0; }
@media (min-width: 900px) { .chapter { padding: 112px 0; } }
.chapter-glow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 80% 20%, rgba(255, 79, 139, 0.1), transparent 70%); pointer-events: none; }
.split { display: grid; gap: 36px; align-items: center; position: relative; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-rev > .chapter-copy { order: 2; } }

.day { background: var(--blush); color: var(--night); padding: 72px 0; --focus: var(--deep); --mark-dot: var(--night); }
@media (min-width: 900px) { .day { padding: 104px 0; } }
.day h2 { color: var(--night); }
.day .chapter-copy p:not(.label) { color: #4A4166; }
.day a { color: var(--deep); }
.label-day { color: var(--deep); }
.day .btn { color: var(--night); }
.day-2 { padding-top: 0; }

/* ----------------------------------------------------------------------------------------------
   Phone listing (sections 2, 3 and the sample)
   ---------------------------------------------------------------------------------------------- */
.phone { background: var(--night-2); border: 1px solid var(--night-3); border-radius: 30px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); width: 100%; max-width: 420px; margin: 0 auto; }
.phone-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 4px 14px; border-bottom: 1px solid var(--night-3); }
.listing-name { font: 600 18px/1.2 var(--display); color: var(--glow); }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 800 11px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--night-3); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.tag-live { color: var(--lime); }
.tag-live .dot { width: 6px; height: 6px; }
.listing-meta { margin: 12px 4px 0; color: var(--muted); font-size: 15px; }
.listing-warn { display: inline-flex; align-items: center; gap: 8px; margin: 10px 4px 0; padding: 6px 12px; border-radius: 10px; background: rgba(244, 180, 0, 0.12); color: #FFD66B; font-weight: 700; font-size: 14px; }
.listing-warn span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #FFD66B; color: var(--night); font-weight: 800; font-size: 12px; }
.listing-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 4px 4px; }
.chip { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--night-3); color: var(--glow); }
.chip-missing { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--night-3); border: 0; text-decoration: line-through; text-decoration-color: rgba(183, 174, 211, 0.6); }
.listing-reviews { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.listing-reviews li { padding: 14px; border-radius: 18px; background: rgba(22, 15, 46, 0.55); }
.listing-reviews b { font-weight: 800; color: var(--glow); }
.listing-reviews li > p { margin-top: 4px; font-size: 15px; line-height: 23px; color: var(--glow); }
.stars { color: var(--star); letter-spacing: 1px; font-size: 14px; }
.stars .off { color: var(--night-3); }
.no-reply { display: inline-block; margin-top: 8px; font: 800 11px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); opacity: 0.85; }
.owner-reply { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 79, 139, 0.1); box-shadow: inset 3px 0 0 var(--pink); }
.owner-reply > span { display: block; font: 800 11px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); margin-bottom: 6px; }
.owner-reply p { font-size: 15px; line-height: 23px; color: var(--glow); }
.owner-reply-big p { font-size: 16px; line-height: 25px; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
@media (prefers-reduced-motion: no-preference) { .typing i { animation: blink 1s infinite; } .typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; } }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--pink); }

/* Section 2: reviews stack up as the listing scrolls in */
.stack li { --r: clamp(0, calc((var(--fx, 1) - var(--i) * 0.16) / 0.55), 1); transform: translateY(calc((1 - var(--r)) * 28px)); }

/* ----------------------------------------------------------------------------------------------
   Sample reply demo
   ---------------------------------------------------------------------------------------------- */
.try { position: relative; margin-top: 72px; }
.try-head { text-align: center; margin-bottom: 20px; }
.try-head h3 { font-size: 26px; line-height: 32px; font-weight: 700; color: var(--glow); }
.try-head p { margin-top: 6px; color: var(--muted); }
.demo { max-width: 440px; margin: 0 auto; scroll-margin-top: 80px; }
.no-js .demo-controls { display: none; }
.demo-controls { display: grid; gap: 10px; margin-bottom: 14px; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-3); }
.seg-btn { flex: 1; min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 15px/1 var(--display); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background-color 0.15s ease, color 0.15s ease; }
.seg-btn[aria-pressed="true"] { background: var(--pink); color: var(--night); }
.review { padding: 16px 4px 4px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--night-3); display: grid; place-items: center; font: 700 17px/1 var(--display); color: var(--glow); flex: none; }
.reviewer { font-weight: 800; }
.review-text { margin-top: 10px; font-size: 16px; line-height: 25px; }
.demo-phone .owner-reply { min-height: 112px; }
.demo-note { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* ----------------------------------------------------------------------------------------------
   4. Website assembly: listing pieces slide out of the phone into the site
   ---------------------------------------------------------------------------------------------- */
.assemble { position: relative; margin-top: 44px; display: grid; gap: 22px; justify-items: center; align-items: center; }
@media (min-width: 900px) { .assemble { grid-template-columns: 200px 80px 1fr; justify-items: stretch; } }
.mini-phone { width: 150px; padding: 12px; border-radius: 24px; background: var(--night-2); border: 1px solid var(--night-3); display: grid; gap: 8px; }
@media (min-width: 900px) { .mini-phone { width: 200px; } }
.mini-phone span { display: block; border-radius: 6px; background: var(--night-3); }
.mp-name { height: 12px; width: 70%; background: var(--muted) !important; opacity: 0.6; }
.mp-photo { height: 64px; background: linear-gradient(135deg, rgba(255, 79, 139, 0.45), rgba(46, 36, 89, 1)) !important; }
.mp-line { height: 8px; }
.mp-line.short { width: 60%; }
.mp-map { height: 46px; background: repeating-linear-gradient(45deg, var(--night-3) 0 6px, var(--night-2) 6px 12px) !important; }
.assemble-arrow { width: 3px; height: 40px; border-radius: 3px; background: linear-gradient(var(--pink), transparent); filter: drop-shadow(0 0 6px rgba(255, 79, 139, 0.8)); }
@media (min-width: 900px) { .assemble-arrow { width: 100%; height: 3px; background: linear-gradient(90deg, transparent, var(--pink)); } }
.site-mock { width: 100%; max-width: 640px; border-radius: 20px; background: var(--blush); color: var(--night); overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 227, 238, 0.15), 0 40px 80px -40px rgba(255, 79, 139, 0.45); }
.sm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F5E6EE; }
.sm-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E5CCDA; }
.sm-bar span { margin-left: 10px; font-size: 12px; font-weight: 700; color: #6B5F86; background: #fff; padding: 3px 10px; border-radius: 999px; }
.sm-body { padding: 18px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.piece { border-radius: 14px; background: #fff; padding: 14px; box-shadow: 0 1px 0 rgba(22, 15, 46, 0.06); }
.sm-name { grid-column: 1 / -1; background: var(--night); color: var(--glow); }
.sm-name b { display: block; font: 700 24px/1.1 var(--display); }
.sm-name span { font-size: 14px; color: var(--muted); }
.sm-photos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; }
.sm-photos span { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, #FFB3CD, #FF4F8B); }
.sm-photos span:nth-child(2) { background: linear-gradient(135deg, #2E2459, #6B5F86); }
.sm-photos span:nth-child(3) { background: linear-gradient(135deg, #FFE3EE, #FFB3CD); }
.sm-hours b, .sm-menu b { display: block; font: 600 16px/1.2 var(--display); margin-bottom: 6px; }
.sm-hours span { display: block; font-size: 13px; line-height: 20px; color: #4A4166; }
.sm-menu span { display: block; height: 7px; border-radius: 4px; background: #EBDDE5; margin-top: 7px; }
.sm-menu span.short { width: 55%; }
.sm-map { grid-column: 1 / -1; height: 84px; background: repeating-linear-gradient(0deg, #F3E7EE 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, #F3E7EE 0 1px, #fff 1px 22px); display: grid; place-items: center; }
.pin { width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pink); box-shadow: 0 0 0 5px rgba(255, 79, 139, 0.2); }
.center-link { margin-top: 26px; text-align: center; font-weight: 800; }
/* pieces travel from the phone (up on phones, left on desktop) and settle. Transform only: text is never faded. */
.piece { --r: clamp(0, calc((var(--fx, 1) - var(--i) * 0.11) / 0.5), 1); transform: translateY(calc((1 - var(--r)) * -90px)) scale(calc(0.9 + var(--r) * 0.1)); }
@media (min-width: 900px) { .piece { transform: translateX(calc((1 - var(--r)) * -220px)) scale(calc(0.85 + var(--r) * 0.15)); } }

/* ----------------------------------------------------------------------------------------------
   5. Profile cards light up
   ---------------------------------------------------------------------------------------------- */
.lights { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .lights { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .lights { grid-template-columns: repeat(4, 1fr); } }
.light { --r: clamp(0, calc((var(--fx, 1) - var(--i) * 0.12) / 0.5), 1); position: relative; padding: 20px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--night-3); transform: translateY(calc((1 - var(--r)) * 24px)); }
.light::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: inset 0 0 0 1.5px var(--pink), 0 0 24px -4px rgba(255, 79, 139, 0.55); opacity: var(--r); pointer-events: none; }
.light b { display: block; margin-top: 14px; font: 600 19px/24px var(--display); color: var(--glow); }
.light span:not(.light-dot) { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 22px; }
.light-dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(200, 255, 90, 0.8); opacity: calc(0.25 + var(--r) * 0.75); }
.included { margin-top: 48px; padding: 26px 22px; border-radius: var(--radius); background: rgba(33, 24, 69, 0.6); border: 1px solid var(--night-3); max-width: 780px; }
.included h3 { color: var(--glow); }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: rgba(200, 255, 90, 0.14); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }

/* ----------------------------------------------------------------------------------------------
   6. How it works: a neon line draws down between the steps
   ---------------------------------------------------------------------------------------------- */
.steps-wrap { position: relative; margin-top: 36px; }
.neon-line { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--pink); box-shadow: 0 0 8px rgba(255, 79, 139, 0.9), 0 0 20px rgba(255, 79, 139, 0.5); transform-origin: 50% 0; transform: scaleY(var(--fxe, 1)); }
.steps-wrap::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--night-3); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; position: relative; }
.step { --r: clamp(0, calc((var(--fx, 1) - var(--i) * 0.28) / 0.3), 1); display: grid; grid-template-columns: 45px 1fr; gap: 18px; align-items: start; }
.num { position: relative; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2.5px var(--night-3); font: 700 19px/1 var(--display); color: var(--glow); }
.num::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2.5px var(--pink), 0 0 16px rgba(255, 79, 139, 0.7); opacity: var(--r); }
.step h3 { color: var(--glow); padding-top: 8px; }
.step p { margin-top: 6px; color: var(--muted); }
.step > div { transform: translateX(calc((1 - var(--r)) * 16px)); }
/* the line and its track stop at the last number */
.step:last-child { position: relative; }
.step:last-child::before { content: ""; position: absolute; left: 6px; width: 33px; top: 46px; bottom: -40px; background: var(--night); }

/* ----------------------------------------------------------------------------------------------
   7. Pricing: a shop-window sign (daylight, no glow)
   ---------------------------------------------------------------------------------------------- */
.window-sign { position: relative; max-width: 560px; margin: 40px auto 0; padding: 34px 24px 26px; border-radius: 34px; background: var(--white); border: 5px solid var(--pink); box-shadow: 0 0 0 8px var(--blush), 0 0 0 9px #F3D3E1, 0 30px 60px -30px rgba(200, 30, 94, 0.35); }
@media (min-width: 640px) { .window-sign { padding: 40px 40px 30px; } }
.window-mark { position: absolute; top: -26px; left: 50%; width: 52px; height: 52px; margin-left: -26px; background: var(--white); border-radius: 50%; padding: 4px; }
.price-line { text-align: center; font: 600 22px/1.25 var(--display); color: var(--night); }
.price-line .big { font-weight: 700; font-size: clamp(48px, 13vw, 64px); line-height: 1; letter-spacing: 0; color: var(--night); }
.price-line .cad { font: 800 12px/1 var(--body); letter-spacing: 0.14em; color: #6B5F86; vertical-align: middle; }
.ticks-day { margin: 26px 0 26px; padding-top: 22px; border-top: 2px dashed #F3D3E1; color: var(--night); }
@media (min-width: 560px) { .ticks-day { grid-template-columns: 1fr 1fr; } }
.ticks-day li::before { background: rgba(22, 15, 46, 0.07); }
.ticks-day li::after { border-color: var(--night); }
.pay-now { margin-top: 14px; text-align: center; font-size: 15px; color: #4A4166; }
.price-note { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--blush); text-align: center; font-size: 15px; line-height: 22px; color: #4A4166; }

/* ----------------------------------------------------------------------------------------------
   8. Local note + FAQ (daylight)
   ---------------------------------------------------------------------------------------------- */
.local-text { padding: 26px 24px; border-radius: var(--radius); background: var(--white); font: 600 20px/30px var(--display); color: var(--night); text-align: center; margin-bottom: 56px; box-shadow: 0 1px 0 #F3D3E1; }
.faq { margin-top: 22px; border-top: 1.5px solid #F0D5E1; }
.faq details { border-bottom: 1.5px solid #F0D5E1; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 19px/26px var(--display); color: var(--night); -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--white) no-repeat center / 12px 12px; background-image: linear-gradient(var(--deep), var(--deep)), linear-gradient(var(--deep), var(--deep)); background-size: 12px 2px, 2px 12px; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #4A4166; max-width: 40em; }

/* ----------------------------------------------------------------------------------------------
   9. Get started (night form)
   ---------------------------------------------------------------------------------------------- */
.form { position: relative; margin-top: 30px; padding: 22px; border-radius: 26px; background: var(--night-2); border: 1px solid var(--night-3); display: grid; gap: 16px; }
@media (min-width: 640px) { .form { padding: 32px; } }
.row-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 800; color: var(--glow); }
.opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--night-3); border-radius: var(--radius-sm); background: var(--night); color: var(--glow); font: 400 16px/1.4 var(--body); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.form textarea { resize: vertical; min-height: 112px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 79, 139, 0.25); }
.form input[aria-invalid="true"] { border-color: #FF8FB3; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); opacity: 0.75; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #FF8FB3; font-size: 15px; font-weight: 700; }
.form-done { margin-top: 30px; padding: 28px; border-radius: 26px; background: var(--night-2); border: 1px solid var(--night-3); display: flex; gap: 16px; align-items: center; }
.form-done h3 { color: var(--glow); }
.form-done p { margin-top: 4px; color: var(--muted); }
.tick { position: relative; width: 48px; height: 48px; flex: none; border-radius: 50%; background: rgba(200, 255, 90, 0.14); box-shadow: inset 0 0 0 2px var(--lime), 0 0 18px rgba(200, 255, 90, 0.35); }
.tick::after { content: ""; position: absolute; left: 15px; top: 16px; width: 16px; height: 9px; border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg); }
.mail-alt { margin-top: 18px; text-align: center; color: var(--muted); }

/* ----------------------------------------------------------------------------------------------
   10. Footer: the sign stays softly lit
   ---------------------------------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--night-3); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr 1.3fr auto; align-items: end; } }
.foot-brand p { margin-top: 6px; }
.lockup-foot { margin-bottom: 6px; }
.foot-note { max-width: 32em; }

/* Stagger order (no inline styles: the CSP blocks them) */
.stack li:nth-child(2), .sm-body .piece:nth-child(2), .lights li:nth-child(2), .steps li:nth-child(2) { --i: 1; }
.stack li:nth-child(3), .sm-body .piece:nth-child(3), .lights li:nth-child(3), .steps li:nth-child(3) { --i: 2; }
.sm-body .piece:nth-child(4), .lights li:nth-child(4) { --i: 3; }
.sm-body .piece:nth-child(5) { --i: 4; }
.stack li, .piece, .light, .step { --i: 0; }
.h404 { font-size: 40px; line-height: 1.1; color: var(--glow); }

/* ----------------------------------------------------------------------------------------------
   Scroll-linked entrances (Versatile Builds pattern): transform only, never left faded.
   ---------------------------------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-rise] { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    @keyframes rise { from { transform: translateY(36px); } }
  }
}

/* Reduced motion: no flicker, no travel; everything simply shows. ScrollFx is off, so every --fx is 1. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
