/* trial-lockup.v5.css -- the landing's free-trial band under the dashboard picture
 * (patches/referral_partner/landing, 2026-11-17, PREVIEW; script: trial-lockup.v3.js, unchanged;
 * v1 = the move and the lockup, v2 = the hook that leads down to #features).
 *
 * v3, the operator's review of v2:
 *  "Trial band looks great! But only in dark mode. There the animation is still a
 *   bit laggy."  -> THE PLAY MOVES NOTHING BUT TRANSFORM AND OPACITY NOW. v2 opened
 *   the headline by animating max-width (a layout of the row every frame), blurred
 *   the tile and the headline in (filter over glass that itself blurs what is behind
 *   it), slid the light by `left`, and turned the rim by repainting a conic gradient.
 *   No glass in the band blurs the moving ground behind it any more (tile and pill
 *   are filled instead; nothing to see was lost on a ground that is already soft).
 *   The ground itself is mesh-drift.v3: a quarter-size buffer, 30 frames a second.
 *  "The gradient in dark mode can reach and fade outside of its module below the ipad
 *   and the feature box. Otherwise it looks super cut off."  -> the ground is larger
 *   than the band (--tlk-bleed above and below) and fades into the page's own colour;
 *   it lies UNDER everything the neighbours draw (z-index -1 in the page's own
 *   stacking context: the band is no context of its own any more), so the dashboard
 *   picture and the feature cards stand on it. The two hairlines are not drawn there.
 *  "In white mode it needs a complete rework, as the background is a complete style
 *   mismatch to the rest. The light grey text also doesnt go well on the light grey
 *   background."  -> LIGHT IS THE LANDING'S OWN PAPER: no shader at all (the script
 *   does not even load it), the section's hairline like every other section, every
 *   word in ink; the second sentence is told apart by the landing's cursive
 *   (headline-fx: "See it first. Buy it first."), not by a grey. What catches the eye
 *   besides the lockup is a still breath of the pricing aurora's colours behind it,
 *   which ends before the band does.
 *
 * v5 (there is no v4), his second review ("trial band approved in both themes"):
 *  "no bottom line separating the try free module from the feature module in dark mode
 *   only"  -> both hairlines are drawn in the dark theme again, the band's own and the
 *   features section's; the ground still passes under them and fades out beyond.
 *  the brand moves toward "the darker blue and metal", #051650, as in the rim that
 *   turns round the alpha tile on /partners and /referral  -> the light halo is that
 *   blue (#051650, #12307F) with a cool silver beside it instead of the pricing
 *   aurora's pastels; in the dark theme the glow is tinted the same blue where it is
 *   brightest, under the veil's fades (the picture and its movement are unchanged).
 *
 * The WORDS are the bundle's own (trial.title / trial.line / trial.cta, en de fr): the
 * script reads them from the band the bundle draws inside #pricing, which this sheet
 * hides while the new one stands (html.tlk-on). Without the script nothing changes.
 * Tokens are the landing's (--bg --fg --fg-muted --fg-subtle --line as HSL triplets;
 * html[data-theme="dark"]); the button is its liquid metal pill.
 * Served max-age=604800: never edit in place, ship a new name. */
html.tlk-on #trial.jp-trial-band{display:none}
/* the band was the last thing in #pricing and gave the section its foot: the same air under the lineup now */
html.tlk-on #pricing{padding-bottom:clamp(44px,5.6vw,84px)}

.tlk{position:relative;border-top:1px solid hsl(var(--line));--tlk-bleed:clamp(120px,15vw,230px)}
.tlk-in{max-width:1180px;margin:0 auto;padding:84px 24px 76px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center}
@media (min-width:640px){.tlk-in{padding-left:40px;padding-right:40px}}
@media (min-width:1024px){.tlk-in{padding-top:116px;padding-bottom:100px}}

/* ── THE GROUND, dark: Mesh drift under a veil, larger than the band, fading out ── */
.tlk-ground{display:none;position:absolute;left:0;right:0;top:calc(var(--tlk-bleed) * -1);bottom:calc(var(--tlk-bleed) * -1);
  z-index:-1;pointer-events:none;overflow:hidden;contain:strict}
/* --tlk-k (the script): 2 on a dense screen, so the canvas is drawn at CSS-pixel size and
   stretched (a quarter of the pixels to fill and blend 30 times a second; the picture is
   soft cloud and grain under a veil) */
.tlk-mesh{position:absolute;left:0;top:0;width:calc(100% / var(--tlk-k,1));height:calc(100% / var(--tlk-k,1));
  transform:scale(var(--tlk-k,1));transform-origin:0 0;display:block;opacity:0;transition:opacity 1.2s ease}
.tlk-mesh.is-on{opacity:1}
.tlk-veil{position:absolute;inset:0}
html[data-theme="dark"] .tlk-ground{display:block}
html[data-theme="dark"] .tlk-veil{
  background:
    linear-gradient(to bottom,hsl(var(--bg)) 0,hsl(var(--bg) / .93) calc(var(--tlk-bleed) * .3),hsl(var(--bg) / .74) calc(var(--tlk-bleed) * .62),
      hsl(var(--bg) / .46) calc(var(--tlk-bleed) * .95),hsl(var(--bg) / .2) calc(var(--tlk-bleed) * 1.3),hsl(var(--bg) / .06) calc(var(--tlk-bleed) * 1.6),transparent calc(var(--tlk-bleed) * 1.9)),
    linear-gradient(to top,hsl(var(--bg)) 0,hsl(var(--bg) / .93) calc(var(--tlk-bleed) * .3),hsl(var(--bg) / .74) calc(var(--tlk-bleed) * .62),
      hsl(var(--bg) / .46) calc(var(--tlk-bleed) * .95),hsl(var(--bg) / .2) calc(var(--tlk-bleed) * 1.3),hsl(var(--bg) / .06) calc(var(--tlk-bleed) * 1.6),transparent calc(var(--tlk-bleed) * 1.9)),
    radial-gradient(62% 58% at 50% 52%,rgba(18,48,127,.17),rgba(5,22,80,.13) 52%,rgba(5,22,80,0) 84%),
    rgba(12,12,13,.62)}
/* In the dark theme both html and body carry the page's colour (landing-dark), and a
   body with a colour of its own paints it OVER anything at z-index -1. The same colour
   stays on html, so the body can let go of its copy while the band stands. */
html[data-theme="dark"].tlk-on body{background-color:transparent}

/* ── THE GROUND, light: the page's paper, and a still breath of the brand's blue and
   metal behind the lockup (#051650 and #12307F as in the rim of the alpha tile, a cool
   silver beside them). Low enough that ink keeps its contrast; it ends before the band does. ── */
.tlk-halo{position:absolute;left:0;right:0;top:0;bottom:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(33% 54% at 35% 46%,rgba(5,22,80,.17),rgba(5,22,80,.06) 46%,rgba(5,22,80,0) 72%),
    radial-gradient(30% 54% at 66% 58%,rgba(18,48,127,.13),rgba(18,48,127,.045) 48%,rgba(18,48,127,0) 72%),
    radial-gradient(27% 44% at 53% 33%,rgba(150,160,182,.30),rgba(150,160,182,0) 74%)}
html[data-theme="dark"] .tlk-halo{display:none}

/* THE LOCKUP. One line: the glass tile, then the headline. --tlk-fit (the script)
   scales the line down when a language's headline is wider than the band. */
.tlk-lock{display:flex;align-items:center;justify-content:center;max-width:100%;
  font-size:calc(clamp(30px,5.4vw,72px) * var(--tlk-fit,1));line-height:1.12}
.tlk-tile{flex:0 0 auto;display:block}
.tlk-glass{position:relative;display:grid;place-items:center;width:1.12em;height:1.12em;border-radius:.3em;overflow:hidden;
  background:linear-gradient(140deg,#fff,#f3f4f7);border:1px solid rgba(202,205,211,.8);
  box-shadow:0 .24em .5em -.2em rgba(22,21,19,.34),0 .03em .06em rgba(22,21,19,.12),
             inset 0 .04em .05em rgba(255,255,255,.95),inset 0 -.05em .08em rgba(22,21,19,.07)}
html[data-theme="dark"] .tlk-glass{background:linear-gradient(140deg,#5a5d66,#2a2b30);border-color:rgba(255,255,255,.2);
  box-shadow:0 .24em .5em -.2em rgba(0,0,0,.9),inset 0 .04em .05em rgba(255,255,255,.22),inset 0 -.05em .08em rgba(0,0,0,.4)}
.tlk-glass img{width:64%;height:64%;object-fit:contain;display:block}
html[data-theme="dark"] .tlk-glass img{filter:invert(1)}
/* what the glass bends out of the light at its rim, for a moment: dark blue, black and
   white, once round the tile. A ring (the mask) with a larger painted square turning
   behind it: the turn is a transform, nothing is painted again. */
.tlk-rim{position:absolute;inset:0;border-radius:inherit;padding:.05em;pointer-events:none;opacity:0;overflow:hidden;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.tlk-rim i{position:absolute;left:-50%;top:-50%;width:200%;height:200%;
  background:conic-gradient(from 210deg,#0B1F5C,#000 18%,#fff 34%,#12307F 50%,#000 68%,#fff 84%,#0B1F5C)}
/* the light that crosses it once */
.tlk-sheen{position:absolute;top:-30%;bottom:-30%;left:0;width:46%;pointer-events:none;opacity:0;transform:translateX(-140%) skewX(-20deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent)}
html[data-theme="dark"] .tlk-sheen{background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent)}
/* the headline's window (it clips while the line opens) and the headline in it */
.tlk-word{flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap;padding:.1em 0;margin:-.1em 0}
.tlk-slide{display:block}
.tlk-h{display:block;margin:0;padding:0 .04em 0 .3em;font-size:inherit;line-height:inherit;font-weight:600;letter-spacing:-.04em;
  color:hsl(var(--fg));white-space:nowrap}

/* the sentence. Dark: grey, the point lit. Light: all of it ink, the second statement
   in the landing's cursive. */
.tlk-say{margin:clamp(20px,2.6vw,30px) 0 0;font-size:clamp(20px,2.3vw,30px);font-weight:600;line-height:1.2;letter-spacing:-.028em;
  color:hsl(var(--fg));text-wrap:balance}
.tlk-say b{font-weight:inherit;color:hsl(var(--fg))}
.tlk-say i{font-style:normal}
html[data-theme="dark"] .tlk-say i{color:hsl(var(--fg) / .68)}
/* #root and !important: type-noto.css sets the family on everything under #root (see headline-fx) */
html:not([data-theme="dark"]) #root .tlk-say i{font-family:var(--serif-cursive,"Instrument Serif",Georgia,"Times New Roman",serif) !important;
  font-style:italic;font-weight:400;letter-spacing:0;font-size:1.13em;line-height:1}
.tlk-go{margin-top:clamp(30px,3.4vw,44px)}
/* the hook: one quiet line under the pill, an arrow that nods toward the features below */
.tlk-more{display:inline-flex;align-items:center;gap:.5em;margin-top:clamp(20px,2.2vw,28px);padding:6px 4px;
  font-size:clamp(15px,1.3vw,17px);font-weight:600;letter-spacing:-.012em;line-height:1.3;color:hsl(var(--fg) / .74);text-decoration:none;
  transition:color .25s ease}
/* mobile-sections.v6.css hides every a[href="#features"] up to 768px with !important (it
   meant the header's entry, from when the section itself was hidden on phones; the section
   is shown there again). Up to v3 that took this hook away on phones. */
#try a.tlk-more{display:inline-flex !important}
html[data-theme="dark"] .tlk-more{color:hsl(var(--fg) / .88)}
.tlk-more:hover,.tlk-more:focus-visible,html[data-theme="dark"] .tlk-more:hover,html[data-theme="dark"] .tlk-more:focus-visible{color:hsl(var(--fg))}
.tlk-more svg{flex:0 0 auto;width:1em;height:1em;animation:tlk-nod 2.2s ease-in-out infinite}
@keyframes tlk-nod{0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)}}
@media (prefers-reduced-motion:reduce){.tlk-more svg{animation:none}}

.tlk-btn{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;height:54px;padding:0 34px;
  border-radius:9999px;font-size:16px;font-weight:600;letter-spacing:-.01em;line-height:1;color:#fff;text-decoration:none;white-space:nowrap;
  transition:transform .3s cubic-bezier(.22,1,.36,1)}
.tlk-btn:hover,.tlk-btn:visited{color:#fff}
@media (hover:hover){.tlk-btn:hover{transform:scale(1.02)}}
.tlk-btn:active{transform:scale(.99)}
.tlk-btn > .tlk-btn-l{position:relative;z-index:1}
.tlk-btn > .glass-deep,html[data-theme="dark"] .tlk-btn > .glass-deep{position:absolute;inset:0;z-index:-10;border-radius:9999px;pointer-events:none;
  background:#16150f;-webkit-backdrop-filter:none;backdrop-filter:none;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 1px 1px rgba(0,0,0,.2),0 10px 30px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.24)}

/* a narrow window: the tile above, the headline under it on as many lines as it needs */
@media (max-width:700px){
  .tlk-lock{flex-direction:column;font-size:clamp(30px,9.4vw,46px)}
  .tlk-glass{font-size:1.25em}
  .tlk-word{overflow:visible;white-space:normal;margin-top:.5em;padding:0}
  .tlk-h{padding:0;white-space:normal;text-wrap:balance}
  /* the hook takes two lines here: the arrow under them, not out at the right edge */
  .tlk-more{flex-direction:column;gap:4px;max-width:100%;text-wrap:balance}
}

/* THE PLAY. The script sets is-wait once the band is placed (so with no script, or
   with reduced motion, everything simply stands), and is-play when the band scrolls
   into the window; when it has played the class comes off and all of it stands where
   it ended. TRANSFORM AND OPACITY ONLY.
   How the line opens without a layout: the row always has its final size. The tile is
   held half the headline's width (--tlk-w, the script) to the right, which is the
   middle of the row; the headline's window is held as far to the left and the
   headline in it a whole width to the right, so nothing of it shows. All three come
   home on one curve: the tile travels left, the words stay fixed to its right edge
   and the window lets go of them from the left to the right. */
.tlk.is-wait .tlk-glass,.tlk.is-wait .tlk-h,.tlk.is-wait .tlk-say,.tlk.is-wait .tlk-go,.tlk.is-wait .tlk-more{opacity:0}
.tlk.is-play .tlk-tile,.tlk.is-play .tlk-glass,.tlk.is-play .tlk-word,.tlk.is-play .tlk-slide,.tlk.is-play .tlk-h{will-change:transform,opacity}
.tlk.is-play .tlk-glass{animation:tlk-tile 1s cubic-bezier(.16,.84,.24,1) both}
.tlk.is-play .tlk-glass img{animation:tlk-mark 1.3s cubic-bezier(.16,.84,.24,1) both}
.tlk.is-play .tlk-rim{animation:tlk-hue 2s cubic-bezier(.3,.1,.3,1) .1s both}
.tlk.is-play .tlk-rim i{animation:tlk-turn 2s cubic-bezier(.3,.1,.3,1) .1s both}
.tlk.is-play .tlk-sheen{animation:tlk-sheen 1s cubic-bezier(.4,0,.2,1) .6s both}
.tlk.is-play .tlk-tile{animation:tlk-open-t .9s cubic-bezier(.65,0,.2,1) 1.15s both}
.tlk.is-play .tlk-word{animation:tlk-open-w .9s cubic-bezier(.65,0,.2,1) 1.15s both}
.tlk.is-play .tlk-slide{animation:tlk-open-s .9s cubic-bezier(.65,0,.2,1) 1.15s both}
.tlk.is-play .tlk-h{animation:tlk-text .7s cubic-bezier(.2,.7,.2,1) 1.25s both}
.tlk.is-play .tlk-say{animation:tlk-rise .8s cubic-bezier(.2,.7,.2,1) 1.9s both}
.tlk.is-play .tlk-go{animation:tlk-rise .8s cubic-bezier(.2,.7,.2,1) 2.15s both}
.tlk.is-play .tlk-more{animation:tlk-rise .8s cubic-bezier(.2,.7,.2,1) 2.45s both}
@media (max-width:700px){
  .tlk.is-play .tlk-tile,.tlk.is-play .tlk-slide{animation:none}
  .tlk.is-play .tlk-word{animation:tlk-rise .8s cubic-bezier(.2,.7,.2,1) 1.05s both}
  .tlk.is-play .tlk-h{animation:tlk-fade .8s ease 1.05s both}
  .tlk.is-play .tlk-say{animation-delay:1.45s}
  .tlk.is-play .tlk-go{animation-delay:1.7s}
  .tlk.is-play .tlk-more{animation-delay:1.95s}
}
@keyframes tlk-tile{0%{opacity:0;transform:scale(2.1)}55%{opacity:1}100%{opacity:1;transform:none}}
@keyframes tlk-mark{0%{transform:scale(1.9) rotate(-8deg);opacity:0}45%{opacity:1}100%{transform:none;opacity:1}}
@keyframes tlk-hue{0%{opacity:0}30%{opacity:1}70%{opacity:1}100%{opacity:0}}
@keyframes tlk-turn{from{transform:rotate(-90deg)}to{transform:rotate(350deg)}}
@keyframes tlk-sheen{0%{transform:translateX(-140%) skewX(-20deg);opacity:0}20%{opacity:1}80%{opacity:1}100%{transform:translateX(280%) skewX(-20deg);opacity:0}}
@keyframes tlk-open-t{from{transform:translateX(calc(var(--tlk-w,14em) / 2))}to{transform:none}}
@keyframes tlk-open-w{from{transform:translateX(calc(var(--tlk-w,14em) / -2))}to{transform:none}}
@keyframes tlk-open-s{from{transform:translateX(var(--tlk-w,14em))}to{transform:none}}
@keyframes tlk-text{from{opacity:0}to{opacity:1}}
@keyframes tlk-fade{from{opacity:0}to{opacity:1}}
@keyframes tlk-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tlk.is-wait .tlk-glass,.tlk.is-wait .tlk-h,.tlk.is-wait .tlk-say,.tlk.is-wait .tlk-go,.tlk.is-wait .tlk-more{opacity:1}}
