/* simply. Home: the brand-line page (spec 2026-11-23 section 4). Phone first; desktop from 900 px. */
.only-desk { display: none; }
@media (min-width: 900px) { .only-desk { display: block; } .only-phone { display: none; } }

/* ---- 1. The stage: one viewport tall; positions in design pixels scaled by --u ---- */
.stage { position: relative; height: var(--stage-h); }
.depth { position: absolute; inset: 0; pointer-events: none; }
.depth--far { opacity: .18; }   /* Figma 305:230 */
.depth--mid { opacity: .40; }   /* Figma 305:259 */
/* --cx, --cy: centre on the 390x844 frame (1440x900 from 900 px); --s: arm length in px; --r: rotation. */
.dshape { position: absolute; left: calc(var(--cx) * 100% / 390 - var(--s) * .5px); top: calc(var(--cy) * var(--u) - var(--s) * .5px);
  width: calc(var(--s) * 1px); height: calc(var(--s) * 1px); rotate: var(--r, 0deg); fill: var(--purple); }
@media (min-width: 900px) { .dshape { left: calc(var(--cx) * 100% / 1440 - var(--s) * .5px); } }

.headline { position: absolute; left: 24px; right: 24px; top: calc(110 * var(--u)); margin: 0; text-align: center;
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: min(68px, calc((100vw - 48px) / 5)); line-height: 1.0206; letter-spacing: -0.02em; color: var(--purple);
  text-shadow: 0 2px 0 rgba(42, 8, 102, .14), 0 14px 24px rgba(42, 8, 102, .18); /* Figma 306:61 effects */ }
.headline .w { display: block; white-space: nowrap; }   /* "look Sh*t" is 4.97 em wide in the browser's Saira, so 5 em fits the column */
.nb { white-space: nowrap; }
.ast-mini { display: inline-block; width: .5em; height: .5em; margin: 0 .02em 0 .05em; vertical-align: .36em; fill: currentColor; overflow: visible; rotate: 12deg; }
@media (min-width: 900px) {
  .headline { left: 0; right: 0; top: calc(176 * var(--u)); font-size: min(92px, 6.4vw, calc(92 * var(--u))); line-height: 1.02; }
  .headline .w { display: inline; }
  .headline .w-last { display: block; }
}

.ast-wrap--hero { --ast: min(200px, calc(200 * var(--u))); --rim: 5px; --ast-label: 15px; --floor-top: .965;
  position: absolute; left: 50%; top: calc(540 * var(--u)); translate: -50% 0; }
@media (min-width: 900px) {
  .ast-wrap--hero { --ast: min(306px, calc(306 * var(--u)), 21.25vw); --rim: 6px; --ast-label: 18px; --floor-top: .941; top: calc(418 * var(--u)); }
}

.scroll-arrow { display: none; }
@media (min-width: 900px) {
  .scroll-arrow { position: absolute; left: 50%; top: calc(818 * var(--u)); translate: -50% 0; display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--purple); border: 2px solid var(--purple);
    box-shadow: 0 6px 16px rgba(42, 8, 102, .16); /* Figma 305:439 */ }
}
#burst-host { position: absolute; inset: 0; pointer-events: none; }

/* ---- shared section type ---- */
.work, .how, .prices, .close { padding-inline: 24px; }
.h2 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: 37px; line-height: 40px; letter-spacing: -0.02em; color: var(--purple); }   /* Figma 306:195 */
.h2--small { font-size: 26px; line-height: 28px; }                                       /* Figma 306:108 */
.lede { margin: 16px 0 0; font-size: 17px; line-height: 21px; color: var(--ink); }      /* Figma 306:196 */
@media (min-width: 900px) {
  .work, .how, .prices, .close { padding-inline: max(24px, calc((100vw - 1200px) / 2)); }
  .h2 { font-size: 52px; line-height: 56px; }                                            /* Figma 305:444 */
  .h2--small { font-size: 30px; line-height: 32px; }                                     /* Figma 305:355 */
  .lede { margin-top: 24px; font-size: 20px; line-height: 24px; }                        /* Figma 305:445 */
}

/* ---- 2. The proof slider was removed on 23 Nov (his ask); it is in git history at c9f953b ---- */

/* ---- 3. The work: on phones a centred carousel, three columns on desktop ----
   Phones, Instagram-style (Callum, 24 Nov): one card per swipe, snapped to the middle; the middle card is full size and its
   neighbours smaller (js/carousel.js sets --peek per card from the scroll; it is used only with motion on, below).
   The row bleeds to the screen edges; its side padding lets the first and last card reach the middle. The padding above and
   below keeps the hover lift and the card shadow inside the row (a scrolling box clips them); the negative bottom margin
   gives that space back, so the dots sit where they did. */
.work { padding-top: 80px; }
.work-row { --card-w: min(260px, 68vw); position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: var(--card-w); gap: 8px;
  margin: 20px -24px -24px; padding: 8px calc(50vw - var(--card-w) / 2) 40px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.work-row::-webkit-scrollbar { display: none; }
.work-card { scroll-snap-align: center; scroll-snap-stop: always; overflow: hidden; padding-bottom: 18px; }
.work-card img { width: 100%; height: auto; aspect-ratio: 600 / 432; object-fit: cover; }   /* the pictures' own shape: their text runs nearly edge to edge, so any narrower crop cuts it */
.client { margin: 18px 18px 2px; font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: 24px; line-height: 30px; color: var(--purple); }
.chip { display: inline-block; margin: 0 18px; padding: 7.5px 14px; border-radius: 999px; font: 600 14px/17px var(--font-body); }
.chip--live { background: var(--purple); color: var(--white); }
.chip--dev { color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple); padding-inline: 15.5px; }
@media (max-width: 899.98px) {
  html[data-motion="on"] .work-card { scale: var(--peek, 1); }   /* "scale", not "transform": fx.css owns the card's transform and its 220 ms transition; this one follows the finger with no lag */
}
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(138, 28, 255, .25); }
.dots span.on { background: var(--purple); }
@media (min-width: 900px) {
  .work { padding-top: 120px; }
  .work-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 46px 0 0; padding: 0; overflow: visible; }
  .work-card { padding-bottom: 24px; }
  .work-card img { height: 240px; aspect-ratio: auto; }
  .client { margin: 24px 24px 0; font-size: 32px; line-height: 44px; }                      /* Figma 305:329 */
  .chip { margin: 2px 24px 0; }
  .dots { display: none; }
}

/* ---- 4. How it goes live ---- */
.how { padding-top: 56px; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 28px; }   /* Figma 306:120-162: 28 px between steps 2, 3 and 4 */
@media (max-width: 899.98px) { .step:first-child { min-height: 222px; } }   /* the frame keeps step 1 one bullet line taller (49 px to step 2) */
.step-icon { width: 32px; height: 32px; color: var(--purple); }
.step-n { margin: 10px 0 0; font: 600 14px/17px var(--font-body); color: var(--ink-2); }
.step-name { margin: 4px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: 22px; line-height: 24px; color: var(--purple); }                              /* Figma 306:97 */
.step-text { margin: 6px 0 0; font-size: 16px; line-height: 23px; }                       /* Figma 306:98 */
.bullets { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.bullets li { position: relative; padding-left: 18.7px; font-size: 15px; line-height: 21px; }   /* Figma 306:122 */
.bullets li::before { content: ""; position: absolute; left: 1.5px; top: 3.7px; width: 8.7px; height: 8.7px; background: var(--purple);
  mask: url("img/asterisk.svg") center / contain no-repeat; -webkit-mask: url("img/asterisk.svg") center / contain no-repeat; }
@media (min-width: 900px) {
  .how { padding-top: 100px; }
  .steps { grid-template-columns: repeat(4, 264px); justify-content: space-between; gap: 48px; margin-top: 34px; }
  .step-n { margin-top: 10px; }
  .step-name { margin-top: 8px; font-size: 24px; line-height: 26px; }                     /* Figma 305:344 */
  .step-text { margin-top: 15px; font-size: 16px; line-height: 23px; }                    /* Figma 305:345 read: 16px / 1.45 */
  .bullets { gap: 8px; }
  .bullets li { padding-left: 21.9px; font-size: 15px; line-height: 21px; }               /* Figma 305:418 read: 15px / 1.4 */
  .bullets li::before { left: 2.1px; top: 2.4px; width: 11.9px; height: 11.9px; }
}

/* ---- 5. Prices: the Grow card drops down from under the Start card (Callum, 24 Nov 2026) ----
   The arrow on the Start card's bottom edge (or a tap anywhere on that card, js/drop.js) opens it. The Grow card is narrower,
   with smaller figures. Collapsed only under html[data-motion] (the inline script ran): with JS off the Grow card simply shows
   and the arrow is hidden. Open, the drop tucks 24 px up under the Start card, so the Grow card comes out from behind it.
   The clip that hides it is on only while it moves ([data-settled] lifts it), so the card's shadow is never cut. */
.prices { padding-top: 36px; }
.price-row { --tuck: 24px; --inset: 14px; --more: 36px; display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
.price { padding: 24px; }
.price--start { position: relative; z-index: 1; }
.price-drop { display: grid; grid-template-rows: 1fr; margin-top: calc(var(--tuck) * -1); }
.price-drop-in { min-height: 0; padding-inline: var(--inset); }
.price--grow { padding: calc(var(--tuck) + var(--more) / 2 + 10px) 20px 20px; }
.price--grow .fig-from { font-size: 18px; line-height: 20px; }
.price--grow .figure { font-size: min(52px, calc((100vw - 96px) / 5.6)); line-height: 58px; }
.price--grow .fig-month { display: inline; margin: 0 0 0 4px; font-size: 18px; line-height: 20px; }   /* beside the figure, so the card stays shorter than Start */
.price-more { display: none; }
html[data-motion] .price--start { cursor: pointer; }
html[data-motion] .price-more {
  position: absolute; left: 50%; bottom: calc(var(--more) / -2); translate: -50% 0; display: grid; place-items: center;
  width: var(--more); height: var(--more); padding: 0; border-radius: 50%; cursor: pointer;
  background: var(--white); color: var(--purple); border: 2px solid var(--purple); box-shadow: 0 4px 10px rgba(42, 8, 102, .16);   /* the hero's scroll arrow, smaller */
}
html[data-motion] .price-more svg { display: block; }
html[data-motion] .price-drop:not([data-open]) { grid-template-rows: 0fr; margin-top: 0; }
html[data-motion] .price-drop:not([data-settled]) .price-drop-in { overflow: hidden; }
html[data-motion] .price-drop:not([data-open]) .price-drop-in { visibility: hidden; }   /* closed: out of the tab order and the reading order */
html[data-motion] .price-drop:not([data-open]) .price--grow { translate: 0 -60%; }
html[data-motion] .price-more[aria-expanded="true"] { rotate: 180deg; }
.price--start:has(.price-more:focus-visible) .fig-n { -webkit-text-stroke-width: 8px; }   /* keyboard focus gives the Start figure its hover rim */
html[data-motion="on"] .price-drop { transition: grid-template-rows 240ms cubic-bezier(.4, 0, 1, 1), margin-top 240ms cubic-bezier(.4, 0, 1, 1); }   /* closing: ease-in */
html[data-motion="on"] .price-drop .price-drop-in { transition: visibility 0s linear 240ms; }
html[data-motion="on"] .price-drop .price--grow { transition: translate 240ms cubic-bezier(.4, 0, 1, 1); }
html[data-motion="on"] .price-drop[data-open] { transition: grid-template-rows 380ms var(--ease-out), margin-top 380ms var(--ease-out); }   /* opening: ease-out */
html[data-motion="on"] .price-drop[data-open] .price-drop-in { transition: visibility 0s; }
html[data-motion="on"] .price-drop[data-open] .price--grow { transition: translate 380ms var(--ease-out); }
html[data-motion="on"] .price-more { transition: rotate 220ms var(--ease-out); }
.price-label { margin: 0; font: 600 15px/18px var(--font-body); color: var(--ink-2); }
.figure, .fig-from { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%; color: var(--purple); }
.fig-from { margin-top: 9px; font-size: 22px; line-height: 24px; }
.figure { margin-top: 9px; font-size: min(74px, calc((100vw - 96px) / 3.95)); line-height: 80px; }                        /* Figma 306:186-187 */
.fig-from + .figure { margin-top: 4px; }                                                 /* Figma 306:191-192, 305:435-436 */
.fig-r { margin-right: 8px; }
.fig-n { color: var(--lemon); -webkit-text-stroke: 6px var(--purple); paint-order: stroke fill; }
.fig-month { display: block; margin-top: 4px; font-size: 22px; line-height: 24px; }   /* Figma 306:194: 4 px under the figure */
.price-note { margin: 8px 0 0; font-size: 16px; line-height: 20px; }
@media (min-width: 900px) {
  .prices { padding-top: 85px; }
  .price-row { --inset: 32px; --more: 40px; max-width: 588px; margin-top: 28px; }        /* one column, the Start card as wide as it was */
  .price { padding: 32px; }
  .price--start { min-height: 262px; }
  .price--grow { padding: calc(var(--tuck) + var(--more) / 2 + 20px) 28px 28px; }
  .fig-from { font-size: 26px; line-height: 28px; }
  .figure { font-size: 104px; line-height: 112px; }                                       /* Figma 305:430-431 */
  .price--start .figure { margin-top: 41px; }                                             /* Figma 305:430: figure at y 91 */
  .fig-r { margin-right: 10px; }
  .fig-month { display: inline; margin-left: 16px; font-size: 26px; line-height: 28px; }
  .price--grow .fig-from { font-size: 20px; line-height: 22px; }
  .price--grow .figure { font-size: 72px; line-height: 78px; }
  .price--grow .fig-month { margin-left: 4px; font-size: 20px; line-height: 22px; }
}

/* ---- 6. Closing asterisk and the footer line ---- */
.close { display: grid; justify-items: center; padding-top: 56px; padding-bottom: 62px; }
.ast-wrap--close { --ast: 160px; --rim: 5px; --ast-label: 12px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ast-wrap--close .ast-btn:hover .ast-arms { transform: rotate(60deg); }   /* hover spins it one notch (spec 4.5) */
}
.foot { padding: 0 24px 32px; text-align: center; font-size: 13px; line-height: 16px; color: var(--ink-2); }
.foot p { margin: 0; }
@media (min-width: 900px) {
  .close { padding-top: 100px; padding-bottom: 150px; }
  .ast-wrap--close { --ast: 180px; --rim: 6px; --ast-label: 13px; }
}

/* ---- Tablets: the phone layout, its column capped at 560 px and centred (spec 4.3) ---- */
@media (min-width: 608px) and (max-width: 899.98px) {
  .work, .how, .prices, .close { padding-inline: calc((100vw - 560px) / 2); }
  .headline { left: calc((100vw - 560px) / 2); right: calc((100vw - 560px) / 2); }
  .work-row { margin-inline: calc((100vw - 560px) / -2); }   /* the row still bleeds to the screen edges; its padding (section 3) centres the cards */
}

/* ---- The flight states (spec 4.2). Only [data-fly="armed"] hides anything, and only with opacity. ---- */
[data-fly="armed"] .ast-wrap--hero .ast-btn,
[data-fly="armed"] .ast-wrap--hero .ast-floor { opacity: 0; }
[data-fly="flying"] .ast-wrap--hero .ast-label { opacity: 0; }
[data-fly="flying"] .ast-wrap--hero .ast-disc { transform: scale(.4); transition: none; }
[data-fly="flying"] .ast-wrap--hero .ast-floor { opacity: 1; transition: opacity 300ms var(--ease-out) 460ms; }
@keyframes pop { 40% { scale: 1.35; } }
.ast-mini.pop { animation: pop 340ms var(--ease-out); }

@keyframes nudge {
  0%, 100% { translate: -50% 0; rotate: 0deg; }
  40% { translate: -50% 10px; rotate: 0deg; }
  55% { translate: -50% 10px; rotate: 4deg; }
  70% { translate: -50% 10px; rotate: -4deg; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .scroll-arrow { animation: nudge 1.4s ease-in-out .6s 3; }
  .scroll-arrow.still { animation: none; }
}
