/* ==========================================================================
   /unlimited · exploration of the per-ticket "unlimited support" offer.
   Loads after style.css and only adds components; every token, type role and
   color comes from the main sheet. Red stays rationed: the price, the
   featured plan's edge, the primary buttons, the ticks.
   ========================================================================== */

/* Hero headline: two set lines at every width. */
.hero__copy h1.hero__lines { max-width: none; }
.hero__lines > span { display: block; }

/* Marker underline: one hand-drawn red stroke under a key phrase, in
   place of bold or red text. Scales with the type it sits under. ------- */
.mark {
  white-space: nowrap;
  padding-bottom: 0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 6 C 50 2.5, 125 2, 197 4.5' fill='none' stroke='%23d80e0c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% 0.24em;
  font-weight: inherit;
  color: inherit;
}

/* Hero: the price sits under the headline as a plain fact strip. ---------- */
.hero__facts {
  margin-top: 2.25rem;
  padding: 0;
  border: 0;   /* the main sheet rules this off on tablets and phones */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  color: var(--fg-dim);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__facts svg { width: 1.125rem; height: 1.125rem; stroke: var(--accent); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.js .hero__facts { animation: load-rise 0.9s var(--ease-out) 0.7s both; }

/* Section heads centered on this page, with a small caps kicker. --------- */
.section__head--center { text-align: center; }
.section__head h2 em { font-style: normal; color: var(--accent); }
.kicker { display: block; margin-bottom: 0.75rem; color: var(--accent); }

/* How it works: three numbered cards in a row. ------------------------- */
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.how > li {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.how .step__num { margin-bottom: 0.5rem; }
.how h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.section--raised .how > li { background: var(--bg); }
.how p { color: var(--fg-dim); text-wrap: pretty; }
.how > .reveal:nth-child(2) { transition-delay: 0.1s; }
.how > .reveal:nth-child(3), .how > .reveal:nth-child(6) { transition-delay: 0.2s; }
.how > .reveal:nth-child(5) { transition-delay: 0.1s; }
/* How it works mockups: a small piece of product UI at the top of each
   step, drawn in HTML. A sunk well, a raised card, red only on the action,
   the live task and the approval. Decorative; hidden from screen readers. */
.mock {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 16rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
}
/* Soft red glow behind the card, free to spread past it. */
.mock::before {
  content: "";
  position: absolute;
  inset: 4% -6% -8%;
  background: radial-gradient(closest-side, rgba(216, 14, 12, 0.6), rgba(216, 14, 12, 0.18) 65%, transparent);
  filter: blur(24px);
  pointer-events: none;
}
.mock__card { position: relative; }
.mock__card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.9);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--fg);
}
.mock__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-weight: 700;
}
.mock__spark { color: var(--accent); font-weight: 900; }
.mock__field {
  padding: 0.625rem 0.75rem;
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: calc(var(--radius-sm) - 2px);
  color: var(--fg-dim);
}
.mock__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mock__chip, .mock__pill {
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--fg-mute);
  white-space: nowrap;
}
.mock__btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  background: var(--accent);
  color: var(--ink);
  border-radius: calc(var(--radius-sm) - 2px);
  font-weight: 600;
  transition: background-color 0.3s var(--ease-out), transform 0.15s var(--ease-out);
}
.mock__btn.is-press { transform: scale(0.97); }
.mock__btn.is-sent { background: var(--accent-deep); }
.mock__btn.is-sent::before { content: "\2713"; }

/* Cursor: one per animated card, moved with transform only so it glides
   on the compositor. Ease in and out like a hand, not a spring. */
.mock__cursor {
  position: absolute;
  left: 0; top: 0;
  z-index: 2;
  width: 1.5rem;
  height: 1.5rem;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.mock__cursor.is-snap { transition: none; }
/* The click squeezes the arrow itself, pinned at its tip, so the outer
   span's position never changes during a click. */
.mock__cursor svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--fg);
  stroke: var(--bg);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transform-origin: 5px 3px;
  transform-box: view-box;
  transition: transform 0.12s ease-out;
}
.mock__cursor.is-click svg { transform: scale(0.88); }
/* Without the script the cursor rests on the thing it would click. */
.mock__card:not(.is-animated) .mock__cursor { left: auto; top: auto; right: 18%; bottom: 0.75rem; }
[data-mock="board"]:not(.is-animated) .mock__cursor { right: 1.5rem; bottom: auto; top: 5.25rem; }

/* Request field: the full brief sits invisibly underneath, so the box is
   already its final height while the text types over it. */
.mock__field { display: grid; }
.mock__field > * { grid-area: 1 / 1; }
.mock__ghost { visibility: hidden; }
.mock__caret { display: none; width: 2px; height: 1.1em; margin-left: 1px; background: var(--accent); vertical-align: -0.15em; }
.is-typing .mock__caret { display: inline-block; animation: mock-blink 0.9s steps(1) infinite; }
@keyframes mock-blink { 50% { opacity: 0; } }
.mock__chip { transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), background-color 0.3s var(--ease-out); }
.mock__chip--file:not(.is-file) { border-style: dashed; }
.mock__chip.is-file { border-color: var(--fg-mute); color: var(--fg); background: rgba(244, 242, 240, 0.06); }

/* Task board: three fixed-height rows in a clipped window. The list
   slides up one row when a task is done. */
.mock__board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: calc(-0.75rem - 1px);
}
.mock__window { height: calc(3 * var(--row) - 1px); }
.mock__board { --row: 2.75rem; }
.mock__window { overflow: hidden; }
.mock__tasks { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: var(--row); will-change: transform; }
.mock__tasks.is-slide { transform: translateY(calc(-1 * var(--row))); transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1); }
.how .mock__tasks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  border-top: 1px solid var(--rule);
  color: var(--fg-dim);
  transition: color 0.3s var(--ease-out), opacity 0.4s var(--ease-out);
}
.mock__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.15s var(--ease-out);
}
.mock__pill.is-press { transform: scale(0.94); }
.mock__tasks li.is-live { color: var(--fg); }
.mock__tasks li.is-live .mock__pill { background: rgba(216, 14, 12, 0.14); border-color: rgba(216, 14, 12, 0.6); color: var(--fg); }
.mock__tasks li.is-live .mock__pill::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); }
.mock__tasks li.is-done .mock__pill { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.mock__tasks li.is-done .mock__pill::before { content: "\2713"; width: auto; height: auto; background: none; }
.mock__tasks li.is-done .mock__t { color: var(--fg-mute); text-decoration: line-through; }

/* Review: each step fades up in place; space is held so nothing shifts. */
[data-step] { transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
[data-step].is-hidden { opacity: 0; transform: translateY(0.5rem); }
.mock__msg {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
}
.mock__msg--you { justify-self: start; background: var(--field); border: 1px solid var(--rule); color: var(--fg-dim); border-bottom-left-radius: 0.25rem; }
.mock__msg--us { justify-self: end; display: grid; background: var(--bg); border: 1px solid var(--rule-strong); border-bottom-right-radius: 0.25rem; }
.mock__msg--us > * { grid-area: 1 / 1; }
.mock__reply { transition: opacity 0.3s var(--ease-out); }
.mock__dots { display: none; justify-self: center; align-self: center; gap: 0.25rem; }
.mock__msg--us.is-typing .mock__reply { opacity: 0; }
.mock__msg--us.is-typing .mock__dots { display: inline-flex; }
.mock__dots i { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--fg-mute); animation: mock-dot 1s ease-in-out infinite; }
.mock__dots i:nth-child(2) { animation-delay: 0.15s; }
.mock__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes mock-dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }
[data-title] { transition: opacity 0.25s var(--ease-out); }
[data-title].is-swap { opacity: 0; }
.mock__done { display: flex; align-items: center; gap: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--rule); font-weight: 600; }
.mock__tick { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--accent); flex: none; }
.mock__tick svg { width: 0.875rem; height: 0.875rem; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Perks mosaic: three across, then two wider cards. */
.how--perks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.how--perks > li { grid-column: span 2; }
.how--perks > li:nth-child(n + 4) { grid-column: span 3; }
@media (max-width: 54rem) { .how--perks > li, .how--perks > li:nth-child(n + 4) { grid-column: 1 / -1; } }
.perk__icon { width: 2.25rem; height: 2.25rem; margin-bottom: 0.5rem; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 54rem) { .how { grid-template-columns: 1fr; } }

/* Pricing: two plan cards and a calculator. ------------------------------ */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}
.plan {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(216, 14, 12, 0.3);
}
.plan__tag {
  position: absolute;
  top: -0.875rem;
  left: clamp(1.5rem, 3.5vw, 2.25rem);
  padding: 0.25rem 0.625rem;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.plan h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.plan__for { margin-top: 0.5rem; color: var(--fg-dim); }
.plan__price {
  margin-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.plan__price strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--fg);
}
.plan--featured .plan__price strong { color: var(--fg); }
.plan__price span { color: var(--fg-dim); font-weight: 500; }
.plan .points { margin-top: 1.5rem; align-content: start; }
.plan .points li { color: var(--fg); }
.plan .points li.is-muted { color: var(--fg-mute); }
.plan .points li.is-muted svg { stroke: var(--fg-mute); }
.plan .btn { margin-top: 2rem; width: 100%; }
@media (max-width: 54rem) { .plans { grid-template-columns: 1fr; row-gap: 2rem; } }

/* One plan: name, price and button on the left, the full list in two
   columns on the right. */
.plan--solo {
  grid-template-rows: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.plan--solo .plan__price { border-bottom: 0; padding-bottom: 0; }
.plan--solo .btn { margin-top: 1.75rem; }
.plan--solo .points {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1.5rem;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--rule);
}
@media (max-width: 54rem) {
  .plan--solo { grid-template-columns: 1fr; }
  .plan--solo .points { padding-left: 0; padding-top: 1.5rem; border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 36rem) { .plan--solo .points { grid-template-columns: 1fr; } }

.plans__note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--fg-dim);
}

/* FAQ: native details rows. --------------------------------------------- */
.faq { max-width: 52rem; margin-inline: auto; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.375rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-h3);
  letter-spacing: -0.01em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.75rem; height: 0.75rem;
  border-right: 2px solid var(--fg-mute);
  border-bottom: 2px solid var(--fg-mute);
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(25%) rotate(-135deg); border-color: var(--accent); }
.faq summary:hover::after { border-color: var(--fg); }
.faq details p a { color: var(--fg); text-decoration: underline; }
.faq details p a:hover { color: var(--ink); }
.faq details p { padding: 0 0 1.5rem; color: var(--fg-dim); text-wrap: pretty; }

/* Rule: no max-width on text inside a container. The container sets the measure. */
.closer p { max-width: none; }

/* Work marquee: full-bleed rows under the hero, edges faded into the page.
   Each row is two identical lists; the track slides one list's width and
   loops. Reduced motion stops it and lets the row scroll
   by hand. ---------------------------------------------------------------- */
.marquee {
  display: grid;
  gap: 1rem;
  padding-bottom: var(--section-y);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee__list { display: flex; gap: 1rem; padding-right: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.work {
  position: relative;
  flex: none;
  height: clamp(10rem, 18vw, 15rem);
  aspect-ratio: var(--ar);
  display: grid;
  align-items: end;
  padding: 1rem;
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(216, 14, 12, 0.16), transparent 60%),
    var(--bg-raised);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
}
.work__label { font-weight: 600; color: var(--fg-dim); }
@media (prefers-reduced-motion: reduce) {
  .marquee__row { overflow-x: auto; }
  .marquee__list[aria-hidden] { display: none; }
}

/* Services list: no counter numerals on this page. */
.spec::before { content: none; }
.spec { padding-top: 1.5rem; }

/* Marquee load-in: the two rows rise in after the hero copy, one beat
   apart, so the first fold builds top to bottom. Off under reduced motion
   via the global rule. */
.js .marquee__row { animation: load-rise 1s var(--ease-out) 0.85s both; }
.js .marquee__row--rev { animation-delay: 1s; }

/* Footer on phones: the links stack as a vertical list under the logo. */
@media (max-width: 40rem) {
  .site-footer__row { flex-direction: column; align-items: flex-start; }
  .site-footer__links { flex-direction: column; gap: 0.875rem; }
  .site-footer__copy { text-align: left; }
}

/* Marquee cards are stand-ins until real work exists: a small tag with an
   image icon says so. Remove with the placeholders. */
.work::before {
  content: "Image placeholder";
  position: absolute;
  inset: 0 0.75rem 2.5rem;
  display: grid;
  place-content: center;
  padding-top: 2.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2f0' stroke-opacity='0.45' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 16l-5-5-9 9'/%3E%3C/svg%3E") no-repeat 50% calc(50% - 1rem) / 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--fg-mute);
}

