/* ============================================================
   inqelo marketing site — getting started page
   @docs [[docs/Systems/Marketing Website/Patterns/inqelo Marketing Site Design Standard]]
   Page-specific rules only; tokens, buttons, header/nav and footer
   live in the shared static/site.css (loaded first by the base
   template). The page is composed from the site's existing
   sections: the contact page's dark hero and closing band, and the
   home page's copy-and-scene rows, which alternate sides down the
   five steps. Mobile-first.
   ============================================================ */

.accent-light { color: var(--green-300); }

[data-reveal] { transition: opacity .62s var(--ease-out), transform .62s var(--ease-out); }
[data-reveal].is-hidden { opacity: 0; transform: translateY(20px); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].is-hidden { opacity: 1 !important; transform: none !important; transition: none; }
}

.before h2, .check h2 {
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin: 16px 0 0;
  color: var(--ink-900);
}

/* ---- Illustrations -----------------------------------------
   A cut-out scene with a transparent background. It sits above
   the backdrop circle and carries a soft shadow, so it belongs
   to the page. */
.hero__art img, .cta__art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}
.hero__art img { filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .4)); }
.cta__art img { filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .35)); }

/* ---- Hero (dark green) -------------------------------------- */
.hero { background: linear-gradient(180deg, #123f20, #0e3317); position: relative; overflow: hidden; }
.hero .kicker { color: var(--green-300); }
.hero__tri-a { right: 40px; top: 20px; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 20px solid var(--green-400); z-index: 0; }
.hero__tri-b { right: 24px; bottom: 46px; border-left: 11px solid transparent; border-right: 11px solid transparent; border-bottom: 19px solid var(--amber-500); transform: rotate(20deg); z-index: 0; }
.hero__dots { right: 16px; top: 8px; width: 66px; height: 84px; background-image: radial-gradient(rgba(255,255,255,.4) 1.6px, transparent 1.7px); background-size: 16px 16px; opacity: .3; z-index: 0; }
.hero__blob { left: -70px; bottom: -70px; width: 210px; height: 210px; border-radius: 50%; background: rgba(255,255,255,.05); z-index: 0; }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 36px;
  padding-bottom: 32px;
  align-items: center;
}
.hero__copy { order: 1; position: relative; z-index: 1; }
.hero__title { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: #fff; margin: 12px 0 0; }
.hero__lede { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); margin: 16px 0 0; max-width: 460px; }
.hero__actions { display: flex; gap: 13px; margin-top: 26px; flex-wrap: wrap; }
.hero__art { order: 2; position: relative; z-index: 1; max-width: 860px; width: 100%; margin: 20px auto 0; }
.hero__art-circle { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.06); z-index: 0; }

/* ---- The five steps at a glance (white): the shared step rail of
   [[website/static/site.css]]. */
.strip { background: var(--white); }
.strip__inner { padding-top: 34px; padding-bottom: 34px; }

/* ---- Before you start (paper): checklist ------------------- */
.before { background: #fbf9f7; border-top: 1px solid #ece8df; position: relative; overflow: hidden; }
.before__dots { right: 56px; top: 44px; width: 96px; height: 64px; background-image: radial-gradient(var(--gray-300) 1.6px, transparent 1.7px); background-size: 17px 17px; opacity: .5; }
.before__inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 52px; }
.before__list, .check__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 760px; }
.before__list li, .check__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-700);
}
.before__list svg, .check__list svg { flex: none; margin-top: 2px; color: var(--green-600); }
.before__note { font-size: 15px; line-height: 1.6; color: var(--gray-600); margin-top: 24px; max-width: 760px; }

/* ---- The five steps (white). On a narrow screen a step reads down
   the page: its number and heading, a laptop that shows the whole
   Platform screen for the step, then the instructions. On a wide
   screen the heading and instructions stand beside the laptop, and
   the laptop changes side from one step to the next. */
.steps { background: var(--white); border-top: 1px solid #ece8df; }
.steps__inner { max-width: 1200px; margin: 0 auto; padding: 16px 20px 24px; }
.step { display: flex; flex-direction: column; padding: 40px 0; }
.step + .step { border-top: 1px solid var(--gray-200); }
.step__head { order: 0; }
.step__art { order: 1; width: 100%; margin: 28px 0 26px; }
.step__copy { order: 2; }
.step__copy > :first-child { margin-top: 0; }
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 19px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step__head h2 {
  font-size: clamp(25px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.026em;
  line-height: 1.14;
  margin: 14px 0 0;
  color: var(--ink-900);
}
.step__copy h3 { font-size: 19px; font-weight: 700; color: var(--text-strong); margin: 24px 0 0; }
.step__copy p { font-size: 16px; line-height: 1.65; color: var(--gray-600); margin-top: 14px; max-width: 580px; }
.step__copy ul, .step__copy ol { margin: 14px 0 0; padding-left: 22px; max-width: 580px; }
.step__copy li { font-size: 16px; line-height: 1.6; color: var(--gray-600); }
.step__copy li + li { margin-top: 8px; }
.step__copy strong { color: var(--ink-900); font-weight: 600; }
.step__copy a { color: var(--green-700); font-weight: 600; }
.step__copy a:hover { color: var(--green-500); }
.step__copy code { font-family: var(--font-mono); font-size: 14.5px; background: var(--gray-100); border-radius: 6px; padding: 2px 6px; color: var(--ink-900); }

/* ---- The screenshot pop-up. Each step's laptop is a button that
   opens its capture in a pop-up. The capture first fits the pop-up,
   never wider than its own pixels. Where the capture is wider than
   the pop-up, a click shows it at full size and the pop-up scrolls. */
.shot__open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 10px; background: none; cursor: zoom-in; }
.shot__open:focus-visible { outline: 3px solid var(--green-500); outline-offset: 4px; }
.zoom { width: min(96vw, 1500px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--ink-900); box-shadow: 0 30px 80px rgba(21, 36, 43, .4); overflow: hidden; }
.zoom[open] { display: flex; flex-direction: column; }
.zoom::backdrop { background: rgba(21, 36, 43, .74); }
.zoom__bar { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 56px; padding: 8px 10px 8px 18px; border-bottom: 1px solid var(--gray-200); }
.zoom__hint { margin-right: auto; font-size: 14px; line-height: 1.4; color: var(--ink-700); }
.zoom__close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--gray-100); color: var(--ink-900); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.zoom__close:hover { background: var(--gray-200); }
.zoom__close:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }
.zoom__view { overflow: auto; background: var(--gray-100); }
.zoom__img { display: block; width: 100%; max-width: var(--full); height: auto; margin: 0 auto; }
.zoom__img.can-grow { cursor: zoom-in; }
.zoom__view.is-full .zoom__img { width: var(--full); max-width: none; cursor: zoom-out; }

/* ---- Check it's working (sage) ----------------------------- */
.check { background: var(--surface-sage); position: relative; overflow: hidden; }
.check__dots { right: 56px; top: 44px; width: 96px; height: 64px; background-image: radial-gradient(var(--gray-300) 1.6px, transparent 1.7px); background-size: 17px 17px; opacity: .6; }
.check__inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 52px; }
.check__note { font-size: 15px; line-height: 1.6; color: var(--ink-700); margin-top: 22px; max-width: 760px; }
.check__note + .check__note { margin-top: 10px; }
.check__note a { color: var(--green-700); font-weight: 600; }
.check__note a:hover { color: var(--green-500); }

/* ---- Closing CTA ------------------------------------------- */
.cta { background: var(--green-800); position: relative; overflow: hidden; }
.cta__dots { right: 40px; top: 30px; width: 84px; height: 48px; background-image: radial-gradient(rgba(255,255,255,.6) 1.4px, transparent 1.5px); background-size: 15px 15px; opacity: .18; z-index: 0; }
.cta__tri-a { left: 44%; top: 34px; border-left: 11px solid transparent; border-right: 11px solid transparent; border-bottom: 18px solid var(--green-400); opacity: .5; z-index: 0; }
.cta__tri-b { left: 20px; bottom: 40px; border-left: 13px solid transparent; border-right: 13px solid transparent; border-bottom: 22px solid var(--amber-500); opacity: .85; z-index: 0; }
.cta__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
.cta__copy { position: relative; z-index: 1; order: 1; }
.cta__title { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; color: #fff; margin: 0; }
.cta__actions { display: flex; gap: 13px; margin-top: 26px; flex-wrap: wrap; }
.cta__trust { display: inline-flex; align-items: flex-start; gap: 9px; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.45; }
.cta__trust svg { flex: none; margin-top: 1px; color: var(--green-300); }
.cta__art { order: 2; position: relative; z-index: 1; width: 100%; max-width: 295px; margin: 16px auto 0; }
.cta__art-circle { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 108%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.06); z-index: 0; }

@media (min-width: 700px) {
  .steps__inner { padding-left: 40px; padding-right: 40px; }
}

/* ---- Desktop ------------------------------------------------ */
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: .8fr 1.2fr; gap: 20px; min-height: var(--hero-screen); padding-top: 28px; padding-bottom: 0; }
  .hero__title { font-size: 48px; line-height: 1.04; margin: 16px 0 0; }
  .hero__lede { font-size: 16.5px; max-width: 440px; margin: 20px 0 0; }
  .hero__actions { margin-top: 28px; }
  /* The picture stands on the hero's bottom edge, sized and placed by its
     drawing: see the hero picture rule in [[website/static/site.css]]. */
  .hero__art { justify-self: start; align-self: end; width: var(--hero-art); max-width: none; margin: 0 0 0 var(--hero-art-left); }
  .hero__dots { right: 320px; top: 60px; width: 84px; height: 104px; opacity: .35; }
  .hero__tri-a { right: 150px; top: 40px; }

  .before__inner, .check__inner { padding-top: 64px; padding-bottom: 72px; }
  .steps__inner { padding: 24px 40px 40px; }
  /* The laptop takes the wider column, beside the heading and the instructions. */
  .step {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    grid-template-areas: "head art" "copy art";
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 56px;
    row-gap: 18px;
    padding: 60px 0;
  }
  .step:nth-child(even) { grid-template-columns: 1.2fr 0.8fr; grid-template-areas: "art head" "art copy"; }
  .step__head { grid-area: head; align-self: end; }
  .step__copy { grid-area: copy; align-self: start; }
  /* Beside long instructions the laptop stays in view while the reader scrolls. */
  .step__art { grid-area: art; align-self: start; position: sticky; top: 104px; margin: 0; }

  .cta__grid { grid-template-columns: 1.15fr .85fr; gap: 40px; padding-top: 44px; padding-bottom: 24px; }
  .cta__title { font-size: 40px; line-height: 1.06; }
  .cta__art { max-width: 426px; margin: 0 auto; align-self: end; }
}
