/* ==========================================================================
   Upgraid Business Solutions (upgraid.ca)
   One stylesheet, no build step. Sections follow the page from top to bottom:

    1. Tokens          8. Work gallery (laptop + iPhone frames)
    2. Base            9. Services
    3. Type           10. Service demos
    4. Buttons/links  11. How it works
    5. Nav and menu   12. Pricing
    6. Hero           13. Tools, Questions, About, Reviews, Contact, Footer
    7. Sections       14. 404, scroll reveal, reduced motion

   Conventions
   - Mobile first. The main breakpoint is 900px; a few components add their own.
   - Class names are block__element--modifier (e.g. .project__body, .btn--primary).
   - Animations only move or fade things (transform and opacity) so they stay smooth on phones.
   - Service demos: the plain styles are each demo's finished state. The start state and the
     animation only apply while JS can play them (.js and no reduced motion); main.js adds
     .is-playing when a demo scrolls into view. Elements with class "step" pop in after the
     delay set in their inline --d.
   ========================================================================== */

/* 1. Tokens ================================================================ */

:root {
  color-scheme: dark;

  /* Surfaces, lines and text */
  --bg: #000;
  --panel: #0b0b0c;          /* lighter section bands */
  --raised: #111214;         /* cards and mock UI inside demos */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #fff;
  --body: #9ca3af;
  --silver: #b8bcc4;

  /* Brand yellow, from the logo */
  --accent: #f6b445;
  --accent-glow: rgba(246, 180, 69, 0.38);
  --accent-line: rgba(246, 180, 69, 0.5);   /* borders on highlighted mock UI */
  --accent-tint: rgba(246, 180, 69, 0.1);   /* AI chat bubbles */
  --ok: #4ade80;                            /* ticks and live call timer */

  /* Shadows under floating mock UI */
  --shadow-float: 0 18px 44px rgba(0, 0, 0, 0.55);

  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --gutter: 20px;
  --max: 1160px;
  --section: 96px;
  --nav-h: 68px;
}

@media (min-width: 900px) {
  :root {
    --gutter: 32px;
    --section: 140px;
    --nav-h: 80px;
  }
}

/* 2. Base ================================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) {
  body { font-size: 1.0625rem; }
}

body.menu-open { overflow: hidden; }

img, svg, canvas, video { display: block; max-width: 100%; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }

address { font-style: normal; }

::selection { background: rgba(246, 180, 69, 0.3); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: #000;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* 3. Type ================================================================= */

h1, h2, h3, h4 { color: var(--white); }

h2 {
  font-size: clamp(2rem, 5.2vw, 3.375rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 strong,
.hero__headline strong { font-weight: 800; }

h3 { font-weight: 700; letter-spacing: -0.01em; }

.accent { color: var(--accent); }

p { max-width: 62ch; }

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--body);
}

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  vertical-align: 0.12em;
}

/* 4. Buttons and links ==================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.btn--primary {
  position: relative;
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 28px var(--accent-glow);
}
/* Brighter glow on hover, faded in with opacity */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 48px rgba(246, 180, 69, 0.6);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.btn--primary:hover { transform: translateY(-1px); }
.btn--primary:hover::after { opacity: 1; }

.btn--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.875rem;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--white);
}
.link:hover .arrow { transform: translateX(4px); color: var(--accent); }

.arrow {
  display: inline-flex;
  width: 20px; height: 20px;
  color: var(--silver);
  transition: transform 0.4s var(--ease);
}
.arrow svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Small pill label, e.g. "Website" on a project */
.tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

/* Panels */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 5. Nav and mobile menu ================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
}

/* Solid background fades in with opacity */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.74);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.nav.is-solid::before { opacity: 1; }
body.menu-open .nav::before { opacity: 0; }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
}

.nav__logo { display: block; margin-right: auto; }
.nav__logo img { width: auto; height: 32px; }

.nav__links ul { display: flex; gap: 36px; }
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--silver);
  transition: opacity 0.3s var(--ease);
}
.nav__links a:hover { color: var(--white); }

.nav__links,
.nav__cta { display: none; }

.nav__toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
}

.nav__toggle-open { display: grid; gap: 7px; }
.nav__toggle-open span {
  display: block;
  width: 22px; height: 1.6px;
  background: currentColor;
  border-radius: 1px;
}
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: block; }

@media (min-width: 900px) {
  .nav__logo img { height: 36px; }
  .nav__links { display: block; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* Mobile menu */

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  background: var(--bg);
  padding-top: var(--nav-h);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease), visibility 0s;
}

.menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding-bottom: 48px;
}

.menu__links li + li { border-top: 1px solid var(--line); }
.menu__links a {
  display: block;
  padding: 14px 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.menu .btn { align-self: flex-start; }

.menu__meta {
  display: grid;
  gap: 6px;
  font-size: 0.9375rem;
  color: var(--silver);
}

@media (min-width: 900px) {
  .menu { display: none; }
}

/* 6. Hero ================================================================= */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 88px;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 900px) {
  .hero { padding: calc(var(--nav-h) + 80px) 0 120px; }
}

.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title { font-weight: 500; }

.hero__label { margin-bottom: 24px; }

.hero__headline {
  display: block;
  font-size: clamp(2.125rem, 9.2vw, 6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero__headline strong { display: block; }

.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero__lead {
  max-width: 50ch;
  margin-top: 14px;
  font-size: 1.0625rem;
}

@media (min-width: 900px) {
  .hero__sub { margin-top: 28px; }
  .hero__lead { font-size: 1.1875rem; margin-top: 16px; }
}

.hero__media {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-top: 48px;
}

@media (min-width: 900px) {
  .hero__media { margin-top: 64px; }
}

/* Soft yellow glow behind the frame */
.hero__media::before {
  content: "";
  position: absolute;
  inset: -12% -8% -16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(246, 180, 69, 0.34) 55%, rgba(246, 180, 69, 0) 100%);
  filter: blur(36px);
  pointer-events: none;
}

.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.025), 0 40px 120px -30px rgba(0, 0, 0, 0.9);
}

@media (min-width: 900px) {
  .frame { border-radius: 26px; }
}

.frame__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame__play {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.frame__play:hover { transform: scale(1.04); }

@media (min-width: 640px) {
  .frame__play { left: 20px; bottom: 20px; gap: 12px; padding: 8px 20px 8px 8px; font-size: 0.9375rem; }
}

.frame__play-icon {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}
.frame__play-icon svg { width: 14px; height: 14px; margin-left: 2px; fill: #000; }

@media (min-width: 640px) {
  .frame__play-icon { width: 38px; height: 38px; }
  .frame__play-icon svg { width: 16px; height: 16px; }
}

/* Trailer, played with sound inside the hero frame */

.frame__trailer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.frame__trailer[hidden],
.frame__close[hidden],
.frame__play[hidden] { display: none; }

.frame__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  cursor: pointer;
}

@media (min-width: 640px) {
  .frame__close { top: 18px; right: 18px; width: 46px; height: 46px; }
}

/* 7. Sections ============================================================= */

.section { padding-block: var(--section); }

.section--panel {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.section--panel .card { background: var(--bg); }

.section--strip { padding-block: 56px; }

.section--glow {
  position: relative;
  overflow: hidden;
}
.section--glow::before {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: 900px; height: 600px;
  margin: -300px 0 0 -450px;
  background: radial-gradient(closest-side, rgba(246, 180, 69, 0.12), rgba(246, 180, 69, 0));
  pointer-events: none;
}
.section--glow > .container { position: relative; }

.section__head { margin-bottom: 48px; }
.section__head .label { margin-bottom: 18px; }
.section__head p:not(.label) { margin-top: 20px; }

.section__head--center { text-align: center; }
.section__head--center p { margin-inline: auto; }

@media (min-width: 900px) {
  .section__head { margin-bottom: 72px; }
}

/* 8. Work gallery ========================================================= */

.gallery {
  display: grid;
  gap: 88px;
}

@media (min-width: 900px) {
  .gallery { gap: 128px; }
}

.project {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .project {
    grid-template-columns: 1.4fr 1fr;
    gap: 72px;
  }
  .project:nth-child(even) { grid-template-columns: 1fr 1.4fr; }
  .project:nth-child(even) .project__media { order: 2; }
}

.project__media {
  position: relative;
  padding: 0 10% 10% 0;
}
.project:nth-child(even) .project__media { padding: 0 0 10% 10%; }

/* Laptop frame */

.laptop__lid {
  padding: 2.4% 2.4% 2.8%;
  border-radius: clamp(10px, 1.6vw, 18px);
  background: linear-gradient(180deg, #1d1e22, #0d0e10);
  box-shadow: inset 0 0 0 1px #34363c, 0 30px 80px rgba(0, 0, 0, 0.7);
}

.laptop__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  container-type: size;
}

.laptop__base {
  height: clamp(8px, 1.3vw, 15px);
  margin-inline: -6%;
  border-radius: 0 0 14px 14px / 0 0 10px 10px;
  background: linear-gradient(180deg, #4a4d54 0%, #2a2c31 45%, #141518 100%);
}

/* iPhone frame, used everywhere a phone appears. Sizes are in cqw of the phone's own width:
   a slim metal edge, a thin even black bezel (about 2.6%), big rounded corners, a small pill cutout
   and a 9:19.5 screen that fills almost the whole phone. */

.iphone { container-type: inline-size; }

.iphone__frame {
  padding: 0.9cqw;
  border-radius: 15.5cqw;
  background: linear-gradient(140deg, #9a9da4 0%, #4a4c52 18%, #c9ccd2 38%, #5b5e64 55%, #2d2f34 78%, #8d9097 100%);
  box-shadow: 0 0 0 0.3cqw rgba(0, 0, 0, 0.6), 0 24px 60px rgba(0, 0, 0, 0.75);
}

.iphone__bezel {
  position: relative;
  padding: 2.6cqw;
  border-radius: 14.6cqw;
  background: #050506;
}

.iphone__island {
  position: absolute;
  top: 4.6cqw;
  left: 50%;
  z-index: 3;
  width: 27cqw;
  height: 7.6cqw;
  margin-left: -13.5cqw;
  border-radius: 999px;
  background: #000;
  box-shadow: inset 0 0 0 0.3cqw rgba(255, 255, 255, 0.04);
}

.iphone__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 12cqw;
  background: #000;
}

/* Phone in the Work gallery */

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22%;
}
.project:nth-child(even) .phone { right: auto; left: 0; }

.phone__screen { container-type: size; }

.laptop__screen picture,
.phone__screen picture { display: contents; }

.laptop__screen img,
.phone__screen img {
  width: 100%;
  height: auto;
  transform-origin: 50% 40%;
  transition: transform 1.4s var(--ease);
}

/* Hover: the page slowly scrolls inside the frame (or zooms if it doesn't scroll) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project:not(.project--static):hover .laptop__screen img,
  .project:not(.project--static):hover .phone__screen img {
    transform: translateY(calc(-100% + 100cqh));
    transition: transform 7s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  }
  .project--static:hover .laptop__screen img,
  .project--static:hover .phone__screen img {
    transform: scale(1.08);
    transition: transform 3s var(--ease);
  }
}

.project__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project__name {
  margin-top: 20px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project__body p { margin-top: 14px; }
.project__body .link { margin-top: 24px; }

/* 9. Services ============================================================= */

.service-group + .service-group { margin-top: 64px; }

@media (min-width: 900px) {
  .service-group + .service-group { margin-top: 88px; }
}

.service-group__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  line-height: 1.2;
}
.service-group__title .label { color: var(--accent); }

.services {
  display: grid;
  gap: 18px;
}

@media (min-width: 680px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.service {
  padding: 12px 12px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg);
}

.service h4 {
  margin: 22px 8px 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.service > p { margin: 8px 8px 0; font-size: 0.9688rem; }
.demo p { max-width: none; }

/* 10. Service demos ======================================================= */
/* Plain styles are the finished state; see the conventions at the top */

.demo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 60%),
    #08080a;
  font-size: 12px;
  line-height: 1.35;
}

.demo i { display: block; font-style: normal; }

.demo__note {
  position: absolute;
  top: 10px; right: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--body);
}

/* Shared demo pieces: line icons and chat bubbles */

.demo svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bubble {
  max-width: 88%;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 10.5px;
  line-height: 1.35;
}
.bubble--them {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: #24252a;
  color: var(--white);
}
.bubble--ai {
  justify-self: start;
  border: 1px solid rgba(246, 180, 69, 0.35);
  border-bottom-left-radius: 4px;
  background: var(--accent-tint);
  color: var(--white);
}

/* Websites demo */

.browser {
  width: 82%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--raised);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
}
.browser__bar > i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.browser__url {
  margin-left: 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
  color: var(--body);
}

.browser__page {
  display: grid;
  gap: 8px;
  padding: 12px 14px 16px;
}

.web-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.web-logo { width: 48px; height: 9px; border-radius: 3px; background: var(--accent); }
.web-links { width: 30%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); }

.web-line { height: 11px; border-radius: 4px; background: rgba(255, 255, 255, 0.85); transform-origin: left center; }
.web-line--lg { width: 78%; }
.web-line--md { width: 52%; background: rgba(255, 255, 255, 0.45); height: 8px; }

.web-img {
  height: clamp(44px, 9vw, 74px);
  margin-top: 4px;
  border-radius: 6px;
  background:
    linear-gradient(165deg, rgba(246, 180, 69, 0) 55%, rgba(246, 180, 69, 0.25) 100%),
    linear-gradient(180deg, #2a2c31, #17181b);
}

.web-btn {
  width: 34%;
  height: 20px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

/* SEO demo */

.search { width: 84%; }

.search__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--raised);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
}
.search__bar svg { width: 14px; height: 14px; }

.results { margin-top: 8px; }

.result {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: clamp(44px, 7vw, 54px);
  padding: 4px 10px;
}
.result::before,
.result--yours::after {
  content: "";
  position: absolute;
  inset: 3px 0;
  border-radius: 10px;
}
.result::before { background: #0f1012; border: 1px solid var(--line); }
.result--yours { z-index: 1; }
.result--yours::before { background: #16171a; }
.result--yours::after {
  border: 1px solid rgba(246, 180, 69, 0.6);
  box-shadow: 0 0 22px rgba(246, 180, 69, 0.14);
}

.result__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #000;
  font-size: 11px;
  font-weight: 800;
}
.result--yours .result__icon { background: var(--accent); }

.result__text {
  position: relative;
  display: grid;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.result__text b { color: var(--white); font-weight: 700; font-size: 12px; }
.result__text small { color: var(--body); font-size: 10px; }
.result__text i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.result__text i:first-child { width: 60%; height: 8px; margin-bottom: 4px; background: rgba(255, 255, 255, 0.22); }
.result__text i:last-child { width: 38%; }

/* Lead generation demo */

.flow-wrap { position: relative; width: 92%; margin-top: -22px; }

.flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  text-align: center;
  color: var(--silver);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.flow__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(246, 180, 69, 0.55);
  border-radius: 50%;
  background: #121316;
  color: var(--white);
}
.flow__icon svg { width: 17px; height: 17px; }

.flow__line {
  position: absolute;
  top: 18px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--line-strong);
}
.flow__fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  transform-origin: left center;
}
.flow__runner {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
}
.flow__dot {
  position: absolute;
  top: -4px;
  left: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.flow__lead {
  position: absolute;
  bottom: 10%;
  left: 50%;
  width: 78%;
  margin-left: -39%;
  padding: 7px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--body);
  font-size: 10px;
  text-align: center;
}
.flow__lead b { margin-right: 6px; color: var(--accent); }

/* AI receptionist demo */

.demo--call {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
}

.iphone--demo { flex: none; width: 31%; }

.call {
  display: grid;
  justify-items: center;
  align-content: start;
  row-gap: 5px;
  padding-top: 32%;
  background: linear-gradient(180deg, #1b1c20, #0b0b0d);
  color: var(--white);
  text-align: center;
}

/* Caller avatar; its ring pulses while the call is coming in */
.call__ring {
  position: relative;
  width: 34%;
  aspect-ratio: 1;
  margin-bottom: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #3a3c42, #1d1e22);
}
.call__ring::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
}

.call__label {
  grid-row: 2;
  grid-column: 1;
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body);
}
.call__label--in { opacity: 0; }
.call__label--ai { color: var(--accent); }

.call__number { grid-row: 3; font-size: 8.5px; font-weight: 700; }
.call__time { grid-row: 4; font-size: 7.5px; color: var(--ok); }

.call__btns {
  position: absolute;
  bottom: 9%;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 26%;
}
.call__btns i {
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ef4444;
}
.call__btns i:last-child { background: #22c55e; opacity: 0; }

.chatlog {
  display: grid;
  flex: 1;
  gap: 5px;
  min-width: 0;
}
.chatlog .bubble { padding: 5px 8px; font-size: 10px; }

.booked {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 7px 9px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--body);
  font-size: 9.5px;
}
.booked b { display: block; color: var(--white); font-size: 10.5px; }
.booked__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--accent);
  color: #111;
}
.booked__icon svg { width: 15px; height: 15px; }

/* AI chat assistant demo */

.widget {
  width: 84%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--raised);
  box-shadow: var(--shadow-float);
}

.widget__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}
.widget__head b { display: block; color: var(--white); font-size: 11px; }
.widget__head small { display: block; color: var(--body); font-size: 9px; }
.widget__avatar {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd27a, var(--accent));
}
.widget__time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--silver);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}
.widget__time svg { width: 11px; height: 11px; color: var(--accent); }

.widget__body {
  display: grid;
  gap: 7px;
  padding: 10px;
}
.widget__body .bubble--them { grid-row: 1; }
.widget__body .typing,
.widget__body .widget__answer { grid-row: 2; grid-column: 1; }
.widget__body .widget__chips { grid-row: 3; }

.typing {
  display: flex;
  gap: 4px;
  justify-self: start;
  padding: 8px 10px;
  border-radius: 12px;
  background: #24252a;
  opacity: 0;
}
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--silver); }

.widget__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.widget__chips span {
  padding: 4px 9px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 600;
}

/* AI follow-ups demo */

.follow { width: 78%; }

.follow__lead {
  padding: 7px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--body);
  font-size: 10px;
}
.follow__lead b { display: block; color: var(--accent); font-size: 10.5px; }

.follow__steps {
  position: relative;
  display: grid;
  gap: 7px;
  margin: 9px 0 0 9px;
  padding-left: 16px;
  border-left: 2px solid var(--line-strong);
}
.follow__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 10.5px;
}
.follow__day {
  min-width: 38px;
  color: var(--body);
  font-size: 9.5px;
  font-weight: 600;
}
.follow__tick {
  position: relative;
  width: 14px; height: 14px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.18);
}
.follow__tick::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 2.5px;
  width: 3.5px; height: 6.5px;
  border: solid var(--ok);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.follow__done {
  width: max-content;
  margin: 10px 0 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
  color: #000;
  font-size: 10.5px;
  font-weight: 800;
}

/* CRM demo */

.pipe { position: relative; width: 90%; margin-top: -20px; }

.pipe__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pipe__col b {
  display: block;
  height: 16px;
  color: var(--body);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pipe__col i {
  height: 22px;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #121316;
}
.pipe__col i:first-of-type { margin-top: 44px; }

.pipe__card {
  position: absolute;
  top: 18px;
  left: 0;
  width: calc((100% - 18px) / 4);
  height: 36px;
  padding: 5px 6px;
  overflow: hidden;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: #1d1e22;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transform: translateX(calc(300% + 18px));
}
.pipe__card b { display: block; overflow: hidden; color: var(--white); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.pipe__card small { display: block; overflow: hidden; color: var(--body); font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }

.reminder {
  position: absolute;
  bottom: 8%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 82%;
  margin-left: -41%;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(40, 40, 44, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
}
.reminder b { display: block; color: var(--white); font-size: 10.5px; }
.reminder__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: var(--accent);
  color: #111;
}
.reminder__icon svg { width: 14px; height: 14px; }

/* Custom web apps demo: a small ALDAS moment (plan, takeoff, quote), in the app's light theme */

.aldas {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 6px;
  width: 92%;
  height: 78%;
  padding: 6px;
  border-radius: 10px;
  background: #e9e8e3;
  color: #1a1a1a;
  box-shadow: var(--shadow-float);
}

.aldas__bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.aldas__logo {
  display: grid;
  place-items: center;
  width: 15px; height: 15px;
  border-radius: 3px;
  background: #f2c12e;
  color: #111;
  font-size: 9px;
}
.aldas__job { margin-left: 4px; color: #555; font-weight: 600; letter-spacing: 0; }

.aldas__plan {
  position: relative;
  border: 1px solid #d3d1ca;
  border-radius: 4px;
  background: #fff;
}

.room {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--w); height: var(--h);
  display: grid;
  place-items: center;
  border: 1.5px solid;
}
.room span { padding: 0 2px; font-size: 7px; font-weight: 700; line-height: 1.1; text-align: center; color: #333; }
.room--carpet { background: #e6c6de; border-color: #a65a92; }
.room--spc { background: #f3dfc4; border-color: #c08443; }
.room--tile { background: #cbd8ec; border-color: #5f84bd; }

.aldas__dim {
  position: absolute;
  top: 1%;
  left: 9%;
  padding: 1px 4px;
  border-radius: 3px;
  background: #222;
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
}

.aldas__quote {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 7px;
  border: 1px solid #d3d1ca;
  border-radius: 4px;
  background: #fff;
}
.aldas__quote b { font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.aldas__quote i { height: 5px; border-radius: 2px; background: #e2e0da; }
.aldas__quote i:nth-of-type(2n) { width: 70%; }
.aldas__pdf {
  padding: 4px 0;
  border-radius: 4px;
  background: #f2c12e;
  color: #111;
  font-size: 7.5px;
  font-weight: 800;
  text-align: center;
}

/* Branding demo */

.brand-tile {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 30%;
  aspect-ratio: 1;
  margin: -15% 0 0 -15%;
  border: 1px solid var(--line-strong);
  border-radius: 24%;
  background: var(--raised);
  opacity: 0;
  transform: scale(0.3);
}
.brand-tile img { width: auto; height: 56%; }

.brand-set {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  width: 92%;
}

.print-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: 38%;
  aspect-ratio: 1.75;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: linear-gradient(150deg, #141518, #050506);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}
.print-card img { width: 64%; height: auto; }
.print-card span { color: var(--body); font-size: 7px; letter-spacing: 0.04em; }

.print-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 34%;
}
.print-sign__board {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.6;
  border: 2px solid #3a3c42;
  border-radius: 4px;
  background: #000;
  box-shadow: 0 0 22px rgba(246, 180, 69, 0.18);
}
.print-sign__board img { width: 78%; height: auto; }
.print-sign i {
  width: 4px;
  height: 22px;
  background: linear-gradient(90deg, #6b6e75, #3a3c42);
}

.brand-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 9.5px;
  font-weight: 600;
}
.brand-app__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 11px;
  background: linear-gradient(160deg, #1d1e22, #0b0b0c);
  border: 1px solid var(--line-strong);
}
.brand-app__icon img { width: auto; height: 26px; }

/* Demo animation */

@keyframes rise {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes grow-x {
  from { opacity: 0; transform: scaleX(0.15); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}
@keyframes seo-up {
  from { transform: translateY(200%); }
  to { transform: none; }
}
@keyframes seo-down {
  from { transform: translateY(-100%); }
  to { transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes grow-only {
  from { transform: scaleX(0); }
  to { transform: none; }
}
@keyframes run {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}
@keyframes ring {
  from { opacity: 0.9; transform: scale(0.7); }
  to { opacity: 0; transform: scale(1.7); }
}
@keyframes show-hide {
  0%, 100% { opacity: 0; }
  15%, 85% { opacity: 1; }
}
@keyframes bounce {
  50% { transform: translateY(-3px); }
}
@keyframes slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes crm-move {
  0%, 16% { transform: none; }
  30%, 46% { transform: translateX(calc(100% + 6px)); }
  60%, 76% { transform: translateX(calc(200% + 12px)); }
  90%, 100% { transform: translateX(calc(300% + 18px)); }
}
@keyframes tile-in {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: none; }
}
@keyframes tile-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: scale(0.3); }
}

@media (prefers-reduced-motion: no-preference) {
  /* Start state, until the demo scrolls into view */
  .js .demo:not(.is-playing) .step,
  .js .demo:not(.is-playing) .result--yours::after,
  .js .demo:not(.is-playing) .call__label--ai,
  .js .demo:not(.is-playing) .call__time,
  .js .demo:not(.is-playing) .widget__answer,
  .js .demo:not(.is-playing) .aldas__quote { opacity: 0; }
  .js .demo:not(.is-playing) .call__label--in,
  .js .demo:not(.is-playing) .call__btns i:last-child { opacity: 1; }
  .js .demo:not(.is-playing) .result--yours { transform: translateY(200%); }
  .js .demo:not(.is-playing) .result--other { transform: translateY(-100%); }
  .js .demo:not(.is-playing) .brand-tile { opacity: 1; transform: none; }
  .js .demo:not(.is-playing) .flow__fill { transform: scaleX(0); }
  .js .demo:not(.is-playing) .flow__runner,
  .js .demo:not(.is-playing) .pipe__card { transform: none; }

  .demo.is-playing .step { animation: rise 0.55s var(--ease) var(--d, 0s) both; }
  .demo.is-playing .web-line { animation-name: grow-x; }
  .demo--brand.is-playing .step,
  .demo--app.is-playing .step { animation-name: pop; }

  .demo--seo.is-playing .result--yours { animation: seo-up 0.9s var(--ease) 0.7s both; }
  .demo--seo.is-playing .result--other { animation: seo-down 0.9s var(--ease) 0.7s both; }
  .demo--seo.is-playing .result--yours::after { animation: fade-in 0.5s ease 1.5s both; }

  .demo--leads.is-playing .flow__fill { animation: grow-only 1.6s linear 0.3s both; }
  .demo--leads.is-playing .flow__runner { animation: run 1.6s linear 0.3s both; }

  .demo--call.is-playing .call__ring::after { animation: ring 0.8s ease-out 2; }
  .demo--call.is-playing .call__label--in,
  .demo--call.is-playing .call__btns i:last-child { animation: fade-out 0.25s ease 0.8s both; }
  .demo--call.is-playing .call__label--ai,
  .demo--call.is-playing .call__time { animation: fade-in 0.3s ease 0.85s both; }

  .demo--chat.is-playing .typing { animation: show-hide 0.8s ease 0.9s both; }
  .demo--chat.is-playing .typing i { animation: bounce 0.5s ease-in-out 4; }
  .demo--chat.is-playing .typing i:nth-child(2) { animation-delay: 0.12s; }
  .demo--chat.is-playing .typing i:nth-child(3) { animation-delay: 0.24s; }
  .demo--chat.is-playing .widget__answer { animation: rise 0.5s var(--ease) 1.7s both; }

  .demo--crm.is-playing .pipe__card { animation: crm-move 2.6s var(--ease) 0.3s both; }

  .demo--app.is-playing .aldas__quote { animation: slide-in 0.6s var(--ease) 1.7s both; }

  .demo--brand.is-playing .brand-tile { animation: tile-in 0.4s var(--ease) 0.05s both, tile-out 0.45s var(--ease) 0.75s forwards; }
}

/* 11. How it works ======================================================== */

.timeline { position: relative; }

.timeline__track {
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--line-strong);
}

.timeline__fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform-origin: top center;
  transform: scaleY(var(--p, 0));
}

.timeline__steps {
  position: relative;
  display: grid;
  gap: 44px;
}

.tstep {
  position: relative;
  padding-left: 64px;
}

.tstep__num {
  position: absolute;
  left: 0; top: -6px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 800;
}
/* Lit state fades in with opacity */
.tstep__num::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tstep__num { isolation: isolate; }
.tstep.is-on .tstep__num { color: #000; }
.tstep.is-on .tstep__num::before { opacity: 1; }

.tstep h3 { font-size: 1.375rem; line-height: 1.2; }
.tstep p { margin-top: 10px; }

@media (min-width: 900px) {
  .timeline__track {
    left: 20px;
    right: calc((100% - 96px) / 4 - 20px);
    top: 19px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .timeline__fill {
    transform-origin: left center;
    transform: scaleX(var(--p, 0));
  }
  .timeline__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
  .tstep { padding: 76px 0 0; }
  .tstep__num { top: 0; }
}

/* 12. Pricing ============================================================= */

.tabs {
  max-width: 980px;
  margin-inline: auto;
}

.tabs__list {
  display: none;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
}
.js .tabs__list { display: flex; }

/* Four tabs don't fit in one row on a phone: two by two */
@media (max-width: 600px) {
  .js .tabs__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 22px;
  }
}

.tabs__tab {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--silver);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.tabs__tab:hover { color: var(--white); }
.tabs__tab[aria-selected="true"] { background: var(--white); color: #000; }

@media (min-width: 640px) {
  .tabs__tab { padding: 0 24px; font-size: 0.9375rem; }
}

.price-group { padding: 28px 22px 10px; }
.price-group + .price-group { margin-top: 16px; }
.js .price-group + .price-group { margin-top: 0; }
.price-group[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .price-group { animation: rise 0.45s var(--ease) both; }
}

@media (min-width: 900px) {
  .price-group { padding: 40px 44px 16px; }
}

.price-group__title { margin-bottom: 8px; }
.js .price-group__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.price-list--cols { display: grid; }

@media (min-width: 900px) {
  .price-list--cols {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 56px;
  }
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.price-list > .price-row:first-child { border-top: 0; }

@media (min-width: 900px) {
  .price-list--cols > .price-row:nth-child(2) { border-top: 0; }
}

.price-row h4 {
  font-size: 1rem;
  font-weight: 600;
}

.price-row p:not(.price) {
  margin-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.price {
  flex-shrink: 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
  text-align: right;
}

.price span {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--body);
}

.price--quote {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  white-space: normal;
  max-width: 9em;
  line-height: 1.3;
}

.price-group__note {
  padding: 18px 0 16px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.pricing__note {
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--silver);
}

/* 13. Tools, Questions, About, Reviews, Contact, Footer =================== */

/* Tools */

.tools__title { margin-bottom: 28px; text-align: center; }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee { display: grid; gap: 12px; }

/* Four identical copies per row: moving by exactly half (two copies) lands on an identical
   frame, so the loop never jumps. The second row runs the other way. */
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 90s linear infinite;
}
.marquee__row--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 80s;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pills {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.pills li {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--silver);
  white-space: nowrap;
}

/* Questions */

@media (min-width: 900px) {
  .split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
  }
  .split .section__head { margin-bottom: 0; }
}

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 14px; height: 14px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--silver);
}
.faq__icon::before { left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; }
.faq__icon::after {
  top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -0.75px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq details[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq summary:hover .faq__icon::before,
.faq summary:hover .faq__icon::after { background: var(--accent); }

.faq details p { padding: 0 0 28px; }

/* About */

.about { max-width: 760px; }

.about__body p + p { margin-top: 20px; }

.about__punch {
  max-width: none;
  margin-top: 48px !important;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: clamp(1.625rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* Reviews (commented out in the HTML for now) */

.reviews {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
}

.review { padding: 32px; }
.review blockquote p {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}
.review figcaption {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--silver);
}

/* Contact */

.contact-card {
  max-width: 560px;
  margin-inline: auto;
  padding: 12px 24px;
  box-shadow: 0 30px 100px -30px rgba(246, 180, 69, 0.18);
}

@media (min-width: 900px) {
  .contact-card { padding: 16px 36px; }
}

.contact-card__who {
  padding: 24px 0;
  text-align: center;
}

.contact-card__name {
  margin-inline: auto;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.contact-card__biz {
  margin: 6px auto 0;
  font-size: 0.9375rem;
  color: var(--silver);
}

.contact-card__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.contact-card__row .label { grid-column: 1 / -1; }
.contact-card__row .arrow { grid-column: 2; grid-row: 2; }
.contact-card__row:hover .arrow { color: var(--accent); transform: translateX(4px); }

@media (min-width: 480px) {
  .contact-card__row {
    grid-template-columns: 64px 1fr auto;
    padding: 22px 0;
  }
  .contact-card__row .label { grid-column: auto; }
  .contact-card__row .arrow { grid-column: auto; grid-row: auto; }
}

.contact-card__value {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--white);
  font-weight: 600;
}

.contact-card__area {
  margin-inline: auto;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--silver);
}

/* Footer */

.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__logo img { width: auto; height: 30px; }

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.8125rem;
  color: var(--body);
}

.footer__meta a:hover { color: var(--white); }

/* 14. 404, scroll reveal, reduced motion ================================== */

/* 404 */

.lost {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 48px var(--gutter);
  text-align: center;
}

.lost__logo { display: inline-block; margin-bottom: 56px; }
.lost__logo img { width: auto; height: 34px; }

.lost h1 {
  font-size: clamp(2rem, 6vw, 3.375rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lost h1 strong { font-weight: 800; }

.lost .btn { margin-top: 40px; }

/* Scroll reveal */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .timeline__fill { transform: none; }
  .tstep .tstep__num { color: #000; }
  .tstep .tstep__num::before { opacity: 1; }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee__track {
    animation: none;
    width: auto;
    justify-content: center;
    padding-inline: var(--gutter);
  }
  .pills {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }
  .marquee__track .pills + .pills { display: none; }

  .btn--primary:hover,
  .frame__play:hover { transform: none; }
  .link:hover .arrow,
  .contact-card__row:hover .arrow { transform: none; }
}
