/* ============================================================
   inqelo marketing site — security and data 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 row. Mobile-first.
   ============================================================ */

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

[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; }
}

.section-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-top: 20px;
  max-width: 620px;
}

.facts h2, .papers 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, .duo__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)); }
.duo__img { filter: drop-shadow(0 20px 22px rgba(21, 36, 43, .12)); }
.cta__art img { filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .35)); }

/* ---- Copy beside a picture --------------------------------- */
.duo { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.duo > .scene { max-width: 560px; justify-self: center; }

/* ---- Where the data lives: the globe scene over its key. The key
   names the two places in the scene, the safe on Europe and the pin
   on Australia, each beside a dot in the colour it has in the scene.
   A dashed line joins the two dots and carries the terms, as the
   dashed line on the globe joins the two places. */
.where { width: 100%; max-width: 620px; justify-self: center; }
.where__art img { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 22px rgba(21, 36, 43, .12)); }
.where__key { list-style: none; margin: 22px 0 0; padding: 0; }
.where__item { position: relative; display: grid; gap: 3px; padding-left: 34px; }
.where__item::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink-900); }
.where__item--eu::before { background: var(--green-600); }
.where__label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.where__item strong { font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--ink-900); }
.where__item > span:last-child { font-size: 14.5px; line-height: 1.5; color: var(--ink-700); }
.where__link {
  margin: 6px 0 6px 8px;
  padding: 14px 0 14px 24px;
  border-left: 2px dashed var(--amber-500);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-900);
}
.where__link .dgm__sym { color: var(--amber-500); }

/* ---- 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: 480px; }
.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 facts (paper): the heading, the globe scene with its key,
   and the questions as a ledger from [[website/static/site.css]]. On a
   narrow screen they follow one another in that order. */
.facts { background: #fbf9f7; border-top: 1px solid #ece8df; --rule: #e4dfd3; }
.facts__inner { padding-top: 48px; padding-bottom: 52px; }
.facts__grid { display: grid; grid-template-columns: 1fr; gap: 30px; }

/* ---- The documents (white): the heading over a plain list of links,
   beside the scene of the folders. */
.papers { background: var(--white); border-top: 1px solid #ece8df; }
.papers__inner { padding-top: 48px; padding-bottom: 52px; }
.papers__links { list-style: none; margin: 26px 0 0; padding: 0; max-width: 520px; }
.papers__links li { border-top: 1px solid var(--border-subtle); }
.papers__links li:last-child { border-bottom: 1px solid var(--border-subtle); }
.paper-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
}
.paper-link svg { flex: none; color: var(--green-700); transition: transform .18s ease; }
.paper-link:hover { color: var(--green-700); }
.paper-link:hover svg { transform: translateX(4px); }
.papers__note { font-size: 16px; line-height: 1.6; color: var(--ink-700); margin-top: 24px; }
.papers__note a { color: var(--green-700); font-weight: 600; }
.papers__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; }


/* ---- 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: 460px; margin: 20px 0 0; }
  /* 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; }

  .facts__inner, .papers__inner { padding-top: 64px; padding-bottom: 80px; }
  .duo { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
  .duo--flip > :first-child { order: 2; }
  /* The globe scene stands on the right, beside the heading and the questions. */
  .facts__grid { grid-template-columns: 0.92fr 1.08fr; gap: 30px 64px; grid-template-areas: "head art" "list art"; align-items: start; }
  .facts__head { grid-area: head; }
  .where { grid-area: art; max-width: none; align-self: start; position: sticky; top: 96px; }
  .facts__ledger { grid-area: list; }

  .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; }
}
