/* Prime Stone Paving pitch: 1920x1080 stage scaled to the window */
:root {
  --slate: #232b31;
  --slate-2: #2f3a42;
  --slate-3: #45525c;
  --night: #161c20;
  --granite: #edeeec;
  --card: #f8f8f6;
  --ink: #1d2428;
  --muted: #4f5b63;
  --on-dark: #c3ccd1;
  --sand: #d2a95e;
  --sand-2: #e2bf7c;
  --sand-deep: #85611f;
  --line: #cfd5d3;
  --wa: #1f9d50;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0e1215; overflow: hidden; }
body { font-family: var(--body); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.viewport { position: fixed; inset: 0; overflow: hidden; }
.stage {
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px;
  transform-origin: center center; overflow: hidden;
  box-shadow: 0 0 120px rgba(0,0,0,.5);
}

/* Slides */
.slide {
  position: absolute; inset: 0; padding: 120px 128px;
  background: var(--granite); color: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; z-index: 2; }
.slide.dark { background: var(--slate); color: #eef0ef; }
.slide.night { background: var(--night); color: #eef0ef; }
.slide.sand { background: var(--sand); color: var(--slate); }

/* Arrival animation, replayed every time a slide is shown */
.a { opacity: 0; }
.is-active .a { animation: rise .75s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.is-active .a-pop { animation-name: pop; }
@keyframes pop { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .a, .is-active .a { opacity: 1; animation: none; }
  .slide, .slide.is-active { transition: none; }
}

/* Type */
.display { font-family: var(--display); font-weight: 800; line-height: .9; letter-spacing: -.003em; }
.h-xl { font-family: var(--display); font-weight: 800; font-size: 168px; line-height: .86; }
.h-l { font-family: var(--display); font-weight: 800; font-size: 104px; line-height: .92; }
.h-m { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; }
.h-s { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.lede { font-size: 34px; line-height: 1.45; color: var(--muted); }
.dark .lede, .night .lede { color: var(--on-dark); }
.body { font-size: 28px; line-height: 1.45; color: var(--muted); }
.dark .body, .night .body { color: var(--on-dark); }
.small { font-size: 24px; line-height: 1.4; color: var(--muted); }
.dark .small, .night .small { color: #9aa5ab; }
.sandtxt { color: var(--sand); }
.kicker { font-size: 26px; font-weight: 600; color: var(--sand-deep); }
.dark .kicker, .night .kicker { color: var(--sand-2); }
.strong { font-size: 44px; font-weight: 600; line-height: 1.25; }

/* Slide head: title top-left, always in the same place */
.head { position: absolute; left: 128px; top: 112px; width: 1664px; }
.content { position: absolute; left: 128px; right: 128px; top: 300px; bottom: 140px; }

/* Brand */
.brand { display: flex; align-items: center; gap: 16px; }
.brand svg { width: 52px; height: 52px; color: var(--sand); }
.brand b { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: .9; display: block; }
.brand small { display: block; font-size: 18px; letter-spacing: .2em; color: var(--sand); margin-top: 4px; }

/* Cards */
.card { background: var(--card); border-radius: 16px; padding: 44px 40px; }
.dark .card, .night .card { background: var(--slate-2); }
.ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: #e4ddcd; color: var(--sand-deep); margin-bottom: 26px; }
.dark .ic, .night .ic { background: rgba(210,169,94,.16); color: var(--sand-2); }
.ic svg { width: 34px; height: 34px; }

/* Chrome: progress, counter, controls */
.chrome { position: fixed; inset: auto 0 0 0; height: 0; z-index: 20; }
.progress { position: fixed; left: 0; bottom: 0; height: 4px; background: var(--sand); width: 0; transition: width .45s cubic-bezier(.2,.7,.2,1); z-index: 21; }
.controls {
  position: fixed; right: 22px; bottom: 18px; z-index: 22; display: flex; align-items: center; gap: 8px;
  padding: 6px; border-radius: 999px; background: rgba(20,25,29,.78); backdrop-filter: blur(8px);
  transition: opacity .3s ease;
}
.controls button {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: #eef0ef; cursor: pointer;
  display: grid; place-items: center;
}
.controls button:hover { background: rgba(255,255,255,.12); }
.controls button:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.controls svg { width: 18px; height: 18px; }
.count { font: 600 14px/1 var(--body); color: #c3ccd1; padding: 0 8px; min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; }
body.idle .controls { opacity: 0; }
body.idle { cursor: none; }

/* Drawn paving canvases */
.paving { position: absolute; inset: 0; width: 100%; height: 100%; }
.paving .blk { opacity: 0; transform-box: fill-box; transform-origin: center; }
.paving.is-laying .blk { animation: lay .5s cubic-bezier(.2,.7,.2,1) forwards; }
.paving.is-laid .blk { opacity: 1; animation: none; }
@keyframes lay { from { opacity: 0; transform: translateY(-6px) scale(1.06); } to { opacity: 1; transform: none; } }

/* ---------- Slide-specific ---------- */

/* Cover */
.cover-art { position: absolute; top: 0; right: 0; bottom: 0; width: 1040px; }
.cover-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--slate) 0%, rgba(35,43,49,.55) 30%, rgba(35,43,49,0) 60%),
              radial-gradient(90% 70% at 90% 10%, rgba(255,236,200,.16), transparent 60%);
}
.cover-kerb { position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: repeating-linear-gradient(90deg, transparent 0 138px, rgba(35,43,49,.6) 138px 140px), linear-gradient(180deg, #c9cecc, #9aa19f); }
.cover-text { position: absolute; left: 128px; top: 120px; bottom: 150px; width: 980px; display: flex; flex-direction: column; justify-content: space-between; }

/* Goal */
.goal-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 110px; align-items: center; height: 100%; }
.facts { display: flex; flex-direction: column; gap: 22px; }
.fact { display: grid; grid-template-columns: 88px 1fr; gap: 28px; align-items: center; background: var(--card); border-radius: 16px; padding: 30px 34px; }
.fact .ic { margin: 0; width: 88px; height: 88px; border-radius: 20px; }
.fact .ic svg { width: 44px; height: 44px; }
.fact b { display: block; font-family: var(--display); font-weight: 800; font-size: 42px; line-height: 1; margin-bottom: 8px; }
.fact p { font-size: 26px; line-height: 1.4; color: var(--muted); }

/* Three cards row */
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.row3 .card h3 { margin-bottom: 16px; }

/* Phone mockup */
.phone {
  position: relative; width: 400px; height: 820px; border-radius: 62px; background: #0b0f12;
  padding: 14px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.6), inset 0 0 0 2px #2b3338;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 50px; overflow: hidden; background: #f3f4f3; }
.phone .notch { position: absolute; top: 14px; left: 50%; width: 120px; height: 34px; margin-left: -60px; border-radius: 20px; background: #0b0f12; z-index: 3; }

/* Feed ad inside the phone */
.feed-top { height: 96px; padding: 54px 22px 0; display: flex; justify-content: space-between; align-items: center; background: #fff; border-bottom: 1px solid #e3e6e5; }
.feed-top i { display: block; height: 14px; width: 120px; border-radius: 7px; background: #d9dddb; }
.feed-top i + i { width: 60px; }
.post { background: #fff; }
.post-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 10px; }
.post-av { width: 44px; height: 44px; border-radius: 50%; background: var(--slate); color: var(--sand); display: grid; place-items: center; font: 800 18px/1 var(--display); }
.post-head b { display: block; font-size: 17px; line-height: 1.2; color: #1d2428; }
.post-head span { font-size: 14px; color: #6b767d; }
.post-text { padding: 0 18px 12px; font-size: 16px; line-height: 1.4; color: #1d2428; }
.post-img { position: relative; height: 372px; }
.post-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tag { position: absolute; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tag-b { left: 12px; background: rgba(20,25,29,.8); color: #fff; }
.tag-a { right: 12px; background: var(--sand); color: var(--slate); }
.post-cta { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: #f4f5f4; }
.post-cta span { font-size: 15px; font-weight: 600; color: #1d2428; }
.post-cta em { font-style: normal; font-size: 15px; font-weight: 700; color: #fff; background: var(--wa); padding: 9px 14px; border-radius: 8px; }

/* Why Meta */
.meta-grid { display: grid; grid-template-columns: 1fr 440px; gap: 120px; align-items: center; height: 100%; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 64px; }
.points h3 { margin-bottom: 12px; }

/* Laptop + phone showing the live site */
.devices { position: absolute; right: 70px; top: 200px; width: 1180px; height: 790px; }
.laptop { position: absolute; left: 70px; top: 30px; width: 1000px; }
.laptop .glass { width: 956px !important; height: 597px !important; }
.laptop iframe { transform: scale(.66389) !important; }
.laptop .lid { position: relative; border-radius: 24px 24px 8px 8px; background: #0b0f12; padding: 22px 22px 26px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.65), inset 0 0 0 2px #2b3338; }
.laptop .glass { position: relative; width: 1076px; height: 672px; overflow: hidden; border-radius: 6px; background: var(--slate); }
.laptop .base { height: 26px; margin: 0 -70px; border-radius: 0 0 26px 26px; background: linear-gradient(180deg, #b9bfbd, #858c8a); box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
.laptop iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform: scale(.74722); transform-origin: 0 0; }
.devices .phone { position: absolute; right: 0; bottom: 0; width: 300px; height: 620px; border-radius: 48px; padding: 11px; }
.devices .phone .screen { border-radius: 38px; }
.devices .phone .notch { top: 11px; width: 90px; height: 26px; margin-left: -45px; }
.devices .phone iframe { position: absolute; left: 0; top: 0; width: 390px; height: 776px; border: 0; transform: scale(.7128); transform-origin: 0 0; }
.shield { position: absolute; inset: 0; z-index: 4; }
.site-text { position: absolute; left: 128px; top: 112px; width: 560px; }
.site-text .site-list { width: 520px; }
.site-list { margin-top: 44px; display: flex; flex-direction: column; gap: 26px; }
.site-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; font-size: 28px; line-height: 1.35; color: var(--on-dark); }
.site-list svg { width: 32px; height: 32px; color: var(--sand); margin-top: 2px; }
.url-pill { display: inline-flex; align-items: center; gap: 12px; margin-top: 48px; padding: 14px 22px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 24px; color: #eef0ef; text-decoration: none; }
.url-pill svg { width: 22px; height: 22px; color: var(--sand); }

/* Together flow */
.flow { display: grid; grid-template-columns: 1fr 120px 1fr 120px 1fr; align-items: stretch; }
.flow .card { display: flex; flex-direction: column; }
.flow .vis { height: 250px; border-radius: 12px; margin-bottom: 30px; position: relative; overflow: hidden; background: #e7e9e7; }
.flow .arrow { display: grid; place-items: center; }
.flow .arrow svg { width: 90px; height: 30px; color: var(--sand-deep); }
.flow .arrow path { stroke-dasharray: 8 8; }
.is-active .flow .arrow path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.mini-feed { position: absolute; left: 50%; top: 22px; width: 200px; margin-left: -100px; bottom: -40px; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); overflow: hidden; }
.mini-feed .mf-head { display: flex; gap: 8px; align-items: center; padding: 10px; }
.mini-feed .mf-av { width: 24px; height: 24px; border-radius: 50%; background: var(--slate); }
.mini-feed .mf-l { height: 8px; border-radius: 4px; background: #d9dddb; width: 90px; }
.mini-feed svg { width: 100%; height: 150px; }
.mini-feed .mf-cta { margin: 8px 10px; height: 22px; border-radius: 6px; background: var(--wa); }
.mini-browser { position: absolute; left: 30px; right: 30px; top: 26px; bottom: -30px; background: var(--slate); border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.mini-browser .mb-bar { height: 26px; background: #e1e5e3; display: flex; gap: 6px; align-items: center; padding: 0 10px; }
.mini-browser .mb-bar i { width: 9px; height: 9px; border-radius: 50%; background: #b9c1be; }
.mini-browser svg { position: absolute; left: 0; right: 0; top: 26px; bottom: 0; width: 100%; height: calc(100% - 26px); }
.mini-browser .mb-t { position: absolute; left: 22px; top: 52px; width: 150px; z-index: 2; }
.mini-browser .mb-t i { display: block; height: 14px; border-radius: 3px; background: #eef0ef; margin-bottom: 8px; }
.mini-browser .mb-t i:nth-child(2) { width: 80%; }
.mini-browser .mb-t b { display: block; width: 90px; height: 22px; border-radius: 4px; background: var(--sand); margin-top: 14px; }
.serp { position: absolute; left: 26px; right: 26px; top: 26px; display: flex; flex-direction: column; gap: 12px; }
.serp .s-bar { height: 40px; border-radius: 20px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 17px; color: #1d2428; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.serp .s-bar svg { width: 18px; height: 18px; color: #6b767d; }
.serp .s-res { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.serp .s-res b { display: block; font-size: 19px; color: #1a4fa0; }
.serp .s-res span { display: flex; align-items: center; gap: 6px; font-size: 15px; color: #4f5b63; margin-top: 4px; }
.serp .s-res .st { color: #e3a21a; letter-spacing: 1px; }
.serp .s-res.dim { opacity: .5; }
.serp .s-res.dim i { display: block; height: 10px; width: 70%; border-radius: 5px; background: #d9dddb; margin-top: 6px; }

/* How it works: a real sequence */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; position: relative; }
.steps .track { position: absolute; left: 0; right: 0; top: 118px; height: 4px; background: rgba(255,255,255,.12); }
.steps .track i { display: block; height: 100%; width: 100%; background: var(--sand); transform-origin: left; transform: scaleX(0); }
.is-active .steps .track i { animation: track 1.6s cubic-bezier(.2,.7,.2,1) .4s forwards; }
@keyframes track { to { transform: scaleX(1); } }
.step-n { font-family: var(--display); font-weight: 900; font-size: 110px; line-height: 1; color: var(--sand); }
.step-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--slate); border: 4px solid var(--sand); margin: 0 0 34px; position: relative; z-index: 1; }
.steps h3 { margin-bottom: 14px; }

/* Report: WhatsApp-style chat */
.report-grid { display: grid; grid-template-columns: 1fr 440px; gap: 140px; align-items: center; height: 100%; }
.chat-top { height: 112px; padding: 56px 18px 0; display: flex; align-items: center; gap: 12px; background: #1d6b4a; color: #fff; }
.chat-top .av { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--slate); display: grid; place-items: center; font: 800 17px/1 var(--display); }
.chat-top b { font-size: 18px; display: block; line-height: 1.1; }
.chat-top span { font-size: 13px; opacity: .8; }
.chat-body { padding: 22px 16px; background: #e9e4db; height: calc(100% - 112px); display: flex; flex-direction: column; gap: 12px; }
.bubble { align-self: flex-start; max-width: 300px; background: #fff; border-radius: 4px 18px 18px 18px; padding: 14px 16px 10px; font-size: 16px; line-height: 1.5; color: #1d2428; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble b { font-size: 17px; }
.bubble table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 16px; }
.bubble td { padding: 5px 0; border-top: 1px solid #eceeec; }
.bubble td + td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bubble time { display: block; text-align: right; font-size: 12px; color: #8a949a; margin-top: 6px; }
.bubble.me { align-self: flex-end; background: #d7f5c9; border-radius: 18px 4px 18px 18px; }

/* Maths */
.maths-art { position: absolute; top: 0; right: 0; bottom: 0; width: 900px; opacity: .55; }
.maths-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sand) 0%, rgba(210,169,94,.4) 45%, rgba(210,169,94,0) 100%); }

/* Pricing */
.prices { display: grid; grid-template-columns: 1fr 1fr 1.12fr; gap: 32px; align-items: end; }
.price { background: var(--card); border-radius: 20px; padding: 44px 42px 46px; border-top: 6px solid var(--line); }
.price .p-num { font-family: var(--display); font-weight: 900; font-size: 120px; line-height: .9; color: var(--sand-deep); margin-top: 22px; }
.price .p-per { font-size: 28px; font-weight: 600; margin-top: 8px; }
.price .p-desc { margin-top: 26px; font-size: 26px; line-height: 1.45; color: var(--muted); }
.price.best { background: var(--slate); color: #eef0ef; border-top-color: var(--sand); padding-top: 54px; padding-bottom: 60px; box-shadow: 0 40px 80px -30px rgba(20,25,29,.55); }
.price.best .p-num { color: var(--sand); font-size: 140px; }
.price.best .p-desc { color: var(--on-dark); }
.price .pill { display: inline-block; font-size: 22px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: var(--sand); color: var(--slate); }
.price .p-top { display: flex; justify-content: space-between; align-items: center; }
.price .p-save { display: inline-block; margin-top: 18px; font-size: 24px; font-weight: 700; color: var(--slate); background: var(--sand-2); padding: 6px 14px; border-radius: 8px; }

/* Promises */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.promise-list { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.promise-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; font-size: 30px; line-height: 1.4; color: var(--on-dark); }
.promise-list .mk { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-top: 0; }
.promise-list .mk svg { width: 24px; height: 24px; }
.mk-yes { background: var(--sand); color: var(--slate); }
.mk-no { background: rgba(255,255,255,.1); color: #c3ccd1; }

/* Next */
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.next-grid .card { position: relative; padding-top: 84px; }
.next-grid .n { position: absolute; top: -64px; left: 36px; font-family: var(--display); font-weight: 900; font-size: 120px; line-height: 1; color: var(--sand); }

/* Close */
.close-art { position: absolute; inset: 0; }
.close-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 30% 50%, rgba(22,28,32,.94), rgba(22,28,32,.55) 60%, rgba(22,28,32,.25)); }
.close-text { position: absolute; left: 128px; top: 50%; transform: translateY(-50%); width: 1300px; }
