/* Intentiv marketing site: the shared theme (Gus, 25 Oct 2026, in the layout of didit.me with
   Intentiv's colours). Every page loads this: tokens, type, buttons, the nav, the footer.
   Home adds landing.css; every other page adds site.css. */


@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --forest: #0d3d29;
  --forest-deep: #09301f;
  --forest-2: #14523a;
  --green: #1c7a58;        /* accent text on white: 5.4:1 */
  --mint: #caffbb;
  --mint-soft: #eaf8ec;
  --bright: #6be887;
  --ink: #0d171a;
  --ink-2: #3f4b46;
  --ink-3: #5d6a64;
  --line: #e4e9e6;
  --soft: #f3f6f4;
  --paper: #ffffff;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1304px;
  --gutter: clamp(16px, 4.7vw, 68px);
  --shadow: 0 1px 2px rgba(13, 23, 26, 0.04), 0 12px 32px -8px rgba(13, 23, 26, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-swap: cubic-bezier(0.36, 0, 0.114, 0.92); /* an arrow leaving and coming back */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--mint); color: var(--forest-deep); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
/* On the dark footer and bar the green ring is under 3:1; mint shows. */
.announce :focus-visible { outline-color: var(--mint); }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
.accent { color: var(--green); }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font: 500 14px/1 var(--sans); white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn svg { width: 14px; height: 14px; flex: none; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #24302c; }
.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: var(--forest-2); }
.btn--light { background: var(--soft); color: var(--ink); border-color: var(--line); }
.btn--light:hover { background: #e9eeeb; }
.btn--lg { height: 48px; padding: 0 26px; font-size: 15px; }
.btn:active { transform: translateY(1px); }
/* .btn and .pill set display:inline-flex, which beats [hidden]. */
[data-trial-cta][hidden] { display: none; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--ink); }
.textlink svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.textlink:hover svg { transform: translate(2px, -2px); }
.textlink--next:hover svg { transform: translateX(3px); }

/* ── announcement ────────────────────────────────────────────────────── */
.announce { background: var(--forest); color: #fff; font-size: 14px; position: relative; }
.announce__row { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 48px; text-align: center; flex-wrap: wrap; }
.announce__chip { background: var(--mint); color: var(--forest-deep); font-weight: 600; font-size: 13px; padding: 2px 8px; border-radius: 999px; }
.announce a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.announce__x { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 999px; }
.announce__x:hover { background: rgba(255, 255, 255, 0.12); }
.announce__x svg { width: 14px; height: 14px; }
.announce[hidden] { display: none; }

/* ── nav ─────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__row { height: 64px; display: flex; align-items: center; gap: 36px; }
.brand .logo { height: 22px; width: auto; fill: var(--forest); }
.nav__links { display: flex; align-items: stretch; gap: 4px; align-self: stretch; }
/* Plain words, no pills. The open menu's word stays dark with a dot under it; the rest go grey. */
.nav__links > a, .drop > summary { position: relative; height: 100%; padding: 0 14px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; transition: color 0.2s; }
.drop > summary::-webkit-details-marker { display: none; }
.nav__links:has(.drop[open]) > a, .nav__links:has(.drop[open]) .drop:not([open]) > summary { color: var(--ink-3); }
.nav__links > a:hover, .drop > summary:hover { color: var(--ink); }
.drop[open] > summary::after, .nav__links > a[aria-current]::after, .drop > summary.is-current::after { content: ""; position: absolute; left: 50%; bottom: 12px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--green); }
.nav__links:has(.drop[open]) > a[aria-current]::after, .nav__links:has(.drop[open]) .drop:not([open]) > summary::after { display: none; }
.drop { position: relative; display: flex; }
.drop--mega { position: static; }
.drop__menu { position: absolute; top: calc(100% - 4px); left: 0; width: 380px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(13, 23, 26, 0.06), 0 24px 48px -12px rgba(13, 23, 26, 0.22); padding: 10px; display: grid; gap: 8px; }
.drop__menu a { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 3px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; transition: background-color 0.15s, border-color 0.15s; }
.drop__menu a:hover { background: var(--soft); border-color: #d6ded9; }
.drop__tile { grid-row: span 2; width: 40px; height: 40px; border-radius: 9px; background: var(--soft); display: grid; place-items: center; }
.drop__menu a:hover .drop__tile { background: #fff; }
.drop__tile svg { width: 22px; height: 22px; color: var(--ink); }
.drop__menu b { font-weight: 500; font-size: 15px; }
.drop__menu a > span:last-child { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
/* Product: the whole width of the page, four groups and the app beside them */
.mega { position: absolute; top: calc(100% - 4px); left: 50%; translate: -50% 0; width: min(var(--wrap), calc(100vw - 2 * var(--gutter))); background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px rgba(13, 23, 26, 0.06), 0 32px 64px -16px rgba(13, 23, 26, 0.24); padding: 10px; display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 10px; }
.mega__group { border: 1px solid var(--line); border-radius: 10px; padding: 24px 24px 20px; }
.mega__label { display: flex; align-items: center; gap: 16px; font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.mega__tile { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--forest); display: grid; place-items: center; }
.mega__tile svg { width: 18px; height: 18px; color: #fff; --icon-accent: var(--mint); }
.mega__group ul { list-style: none; margin: 20px -10px 0; padding: 0; display: grid; gap: 2px; }
.mega__group a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 8px; font-size: 15px; font-weight: 500; transition: background-color 0.15s; }
.mega__group a:hover { background: var(--soft); }
.mega__group a svg { flex: none; width: 18px; height: 18px; color: var(--ink-3); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; --icon-accent: var(--line); transition: color 0.15s; }
.mega__group a:hover svg { color: var(--forest); --icon-accent: var(--mint); }
.mega__feature { grid-column: 3; grid-row: 1 / span 2; position: relative; overflow: hidden; border-radius: 10px; padding: 24px; background: radial-gradient(120% 80% at 100% 100%, #c9ecd2 0%, transparent 60%), linear-gradient(160deg, var(--mint-soft), #f4faf6); display: flex; flex-direction: column; gap: 12px; min-height: 420px; }
.mega__feature b { margin-top: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.mega__feature > span:not(.textlink) { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.mega__feature:hover .textlink svg { transform: translateX(3px); }
.mega__feature .textlink { color: var(--forest); }
.mega__shot { position: absolute; left: 24px; top: 236px; width: 190%; max-width: none; height: auto; border-radius: 10px 0 0 0; box-shadow: 0 0 0 1px rgba(13, 23, 26, 0.08), 0 20px 40px -12px rgba(13, 23, 26, 0.3); transition: translate 0.5s var(--ease); }
.mega__feature:hover .mega__shot { translate: -8px -6px; }
/* the page behind dims while a menu is open */
body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 49; background: rgba(13, 23, 26, 0.12); animation: fade 0.35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav__signin { font-size: 15px; font-weight: 500; }
.nav__signin:hover { color: var(--green); }
.menu { display: none; }
.menu__label { padding: 12px 14px 4px; font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

/* ── section heads ───────────────────────────────────────────────────── */
.section { padding: clamp(96px, 11vw, 150px) 0 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto; }
.head h2, .h2 { font-size: clamp(32px, 3.1vw, 44px); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; }
.head p { margin-top: 22px; font-size: 19px; line-height: 1.5; color: var(--ink-3); }
.eyebrow { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.eyebrow--green { color: var(--green); }
.head__cta { margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ── footer ──────────────────────────────────────────────────────────── */
/* White, not forest (Gus, 17 Nov 2026), with a hairline to part it from the page above. */
.foot { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.foot__top { display: grid; grid-template-columns: 1.1fr 2.4fr; gap: 56px; padding: 72px 0 56px; }
.foot .logo { height: 24px; width: auto; fill: var(--forest); }
.foot__brand p { margin-top: 18px; font-size: 17px; font-weight: 500; }
.foot__brand small { display: block; margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.foot__brand a.mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.foot__brand a.mail svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.foot__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.foot__cols h3 { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.foot__cols a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink-2); }
.foot__cols a:hover { color: var(--forest); }
.foot__base { border-top: 1px solid var(--line); padding: 26px 0 30px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.foot__base a:hover { color: var(--forest); }

/* ── smaller screens ─────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .menu { display: block; position: relative; }
  .menu > summary { list-style: none; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; cursor: pointer; }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu > summary svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 1.8; fill: none; stroke-linecap: round; }
  .menu__panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 10px; display: grid; }
  .menu__panel a { padding: 12px 14px; border-radius: 12px; font-size: 16px; font-weight: 500; }
  .menu__panel a:hover { background: var(--soft); }
  .menu__panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nav__signin { display: none; }
  .nav__row { gap: 12px; }
  .nav__actions { gap: 10px; }
  .nav__actions .btn { height: 40px; padding: 0 16px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Motion, only when it is welcome. A menu unfolds out of the bar and its contents settle in
   order; moving from one menu to the next only fades the panel, so the bar never jumps. */
html.motion .drop[open] :is(.mega, .drop__menu) { animation: unfold 0.45s var(--ease) backwards; }
html.motion body.nav-switch .drop[open] :is(.mega, .drop__menu) { animation: fade 0.2s var(--ease) backwards; }
html.motion .drop[open] :is(.mega__group, .mega__feature, .drop__menu a) { animation: settle-in 0.5s var(--ease) backwards; }
html.motion .drop[open] :is(.mega__group:nth-child(2), .drop__menu a:nth-child(2)) { animation-delay: 0.05s; }
html.motion .drop[open] :is(.mega__feature, .drop__menu a:nth-child(3)) { animation-delay: 0.1s; }
html.motion .drop[open] .drop__menu a:nth-child(n+4) { animation-delay: 0.15s; }
html.motion .menu[open] .menu__panel { animation: drop 0.22s var(--ease); }
@keyframes unfold { from { opacity: 0; clip-path: inset(0 -48px 100% -48px); } to { opacity: 1; clip-path: inset(-2px -48px -96px -48px); } } /* the wide sides and foot leave room for the shadow */
@keyframes settle-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
/* The bar arrives first on every page: the message, then the logo, the links in order, the actions.
   backwards only, so nothing is left transformed for the menus to be positioned against. */
@keyframes arrive-down { from { opacity: 0; transform: translateY(-10px); filter: blur(6px); } }
html.motion .announce__row { animation: arrive-down 0.8s var(--ease) backwards; }
html.motion :is(.brand, .nav__links > *, .nav__actions > *) { animation: arrive-down 0.8s var(--ease) 0.08s backwards; }
html.motion .nav__links > :nth-child(2) { animation-delay: 0.12s; }
html.motion .nav__links > :nth-child(3) { animation-delay: 0.16s; }
html.motion .nav__links > :nth-child(4) { animation-delay: 0.2s; }
html.motion .nav__links > :nth-child(5) { animation-delay: 0.24s; }
html.motion .nav__actions > * { animation-delay: 0.28s; }
/* An arrow slips out and comes back in on hover. */
html.motion :is(.btn, .textlink):hover svg { animation: arrow-ne 0.5s var(--ease-swap); }
html.motion :is(.btn, .textlink):has(use[href$="i-next"]):hover svg { animation-name: arrow-e; }
@keyframes arrow-ne { 45% { transform: translate(9px, -9px); opacity: 0; } 46% { transform: translate(-9px, 9px); opacity: 0; } }
@keyframes arrow-e { 45% { transform: translateX(10px); opacity: 0; } 46% { transform: translateX(-10px); opacity: 0; } }

