/* free-trial: formerly an inline <style> block in the page head (identical in all 8 locales) */
/* Carried over from the design's helmet block: the responsive collapses and
     the pulse animation on the hero board. */
  @keyframes kdsPulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.35; transform:scale(.7); } }
  @media (max-width: 980px){
    .ft-page [data-hero]{ grid-template-columns:1fr !important; }
    .ft-page [data-cards]{ grid-template-columns:1fr 1fr !important; }
    .ft-page [data-alm]{ grid-template-columns:1fr !important; }
    .ft-page [data-selfhost]{ grid-template-columns:1fr !important; }
  }
  @media (max-width: 620px){
    .ft-page [data-cards]{ grid-template-columns:1fr !important; }
  }

  /* Phones. Two grids keep an intrinsic minimum width wider than the viewport
     below ~420px: the ALM tile pair, whose tiles put a 38px logo and the
     product name on one line, and the self-host panel, whose right half holds
     a fixed 220px SVG. Both sit in overflow:hidden shells, so the overflow
     showed as content sliced off the right edge rather than a scrollbar. */
  @media (max-width: 420px){
    .ft-page [data-alm]>div:not(:where(.kdp))+div:not(:where(.kdp)){ grid-template-columns:1fr !important; }
    .ft-page [data-selfhost]>div:not(:where(.kdp)):first-child{ padding:36px 22px !important; }
    .ft-page [data-selfhost]>div:not(:where(.kdp)):last-child{ padding:28px 22px !important; min-height:0 !important; }
    .ft-page [data-selfhost]>div:not(:where(.kdp)):last-child svg{ width:100%; height:auto; max-width:220px; }
    .ft-page [data-hero]>div:not(:where(.kdp)),.ft-page [data-cards]>div:not(:where(.kdp)),.ft-page [data-alm]>div:not(:where(.kdp)),.ft-page [data-selfhost]>div:not(:where(.kdp)){ min-width:0; }
    /* a compound that still has to break reads better hyphenated */
    .ft-page h1, .ft-page h2, .ft-page h3{ hyphens:auto; }
  }
  /* 320px-class handsets: trim the 32px section gutters the design was drawn
     with, and the hero display type, so the copy is not squeezed into a
     four-words-per-line column. The gutter selector matches the centred
     max-width wrapper each section opens with; the absolutely positioned dot
     overlays have no margin and are left alone. */
  @media (max-width: 380px){
    .ft-page section>div:not(:where(.kdp))[style*="margin:0 auto"]{ padding-left:18px !important; padding-right:18px !important; }
    .ft-page [data-hero]{ padding-top:48px !important; padding-bottom:56px !important; gap:34px !important; }
    .ft-page [data-hero] h1{ font-size:2.3rem !important; }
    .ft-page h2{ font-size:1.7rem !important; }
    .ft-page [data-cards]>div:not(:where(.kdp)){ padding:24px 20px !important; }
    .ft-page [data-selfhost]>div:not(:where(.kdp)):first-child{ padding:32px 18px !important; }
  }

  /* Neutralise the WordPress theme, same problem the DPA and European Cloud
     pages hit: .site-content pads for the fixed header on top of an offset that
     already clears it, .site-main is display:flex, and the theme styles bare
     <article> inside it. */
  #content.site-content.ft-content{ max-width:100%; width:100%; margin:0; padding:0; overflow-x:hidden; }
  .ft-page{ display:block; width:100%; text-align:left; }
  .ft-page img{ display:block; max-width:100%; }
  .ft-page h1,.ft-page h2,.ft-page h3{ margin:0; }
  .ft-page :is(p,div:where(.kdp)){ margin:0; }

  /* The design leaves its four section kickers as bare <h6> and relies on the
     Claude Design system stylesheet to size them (h6 = 13px, uppercase). That
     stylesheet is not shipped here, so without this they fell back to the
     browser default of roughly 10px and read as tiny. Every other heading in
     the design carries an explicit font-size. */
  /* THE BIG ONE. The theme sets body{line-height:1.7rem} - a FIXED ~27px line
     box inherited by everything. The design was drawn against the Claude Design
     system's body{line-height:1.55}, which is UNITLESS and so scales with each
     element's own font-size.

     The hero board is built from 6px and 8px labels. Unitless 1.55 gives a 6px
     label a 9px line box; the theme's 1.7rem gives it 27px. That is why the IT
     tiles rendered at double height, why a gap opened between TEAMS and WSJF,
     and why the right rail overflowed and clipped the capacity bars - the
     markup was byte-identical to the design the whole time.

     p is listed separately because the theme also has p{line-height:30px}, an
     element rule that beats inheritance. Anything the design sets inline still
     wins over both. */
  .ft-page,.ft-page div:not(:where(.kdp)),.ft-page span,.ft-page a,.ft-page li{ line-height:1.55; }
  .ft-page :is(p,div:where(.kdp)){ line-height:1.55; }

  /* Dutch, German and Finnish compounds ("Tweerichtingssynchronisatie",
     "Afhankelijkhedenbeheer") are longer than a 320px card is wide, and the
     design's grids are sized from their content, so an unbreakable word pushed
     the whole card past the viewport. Let the rare over-long word break; normal
     words are untouched. */
  .ft-page{ overflow-wrap:break-word; }

  .ft-page h6{ font-size:13px; text-transform:uppercase; font-weight:600; line-height:1.2; }
  .ft-page h1,.ft-page h2,.ft-page h3{ font-weight:600; line-height:1.12; letter-spacing:-.015em; }

  /* Sticky signup CTA. Hidden by default so it never flashes before the
     observer runs, and kept out of the tab order while hidden. */
  #ft-sticky-cta{
    position:fixed; right:24px; bottom:24px; z-index:40;
    display:inline-flex; align-items:center; gap:9px;
    padding:14px 24px; border-radius:999px;
    background:#2ce0c6; color:#06121f;
    font-family:'Poppins','Noto Sans JP',sans-serif; font-weight:600; font-size:15px;
    text-decoration:none; box-shadow:0 10px 30px rgba(6,18,31,.28);
    opacity:0; visibility:hidden; transform:translateY(10px);
    transition:opacity .22s ease, transform .22s ease, visibility .22s;
  }
  #ft-sticky-cta.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
  #ft-sticky-cta:hover{ background:#22cbb2; color:#06121f; }
  @media (max-width:620px){
    #ft-sticky-cta{ right:16px; bottom:16px; padding:12px 20px; font-size:14px; }
  }
  @media (prefers-reduced-motion:reduce){
    #ft-sticky-cta{ transition:none; transform:none; }
  }
  .ft-page :focus-visible{ outline:2px solid #2ce0c6; outline-offset:2px; }

  /* ── Full-viewport hero ──────────────────────────────────────────────────
     The site header is position:relative, so it sits above the hero in normal
     flow: filling the screen means viewport height MINUS whatever the header
     occupies at the current breakpoint. --ft-header-h is measured at runtime
     (see free-trial.tail.html) and defaults to 0px, so if that measurement
     never runs the hero is simply a little tall rather than broken.

     dvh rather than vh so the hero tracks the mobile URL bar as it collapses
     and expands; the plain 100vh line above it is the fallback for browsers
     without dvh, which drop the calc() as invalid.

     min-height, not height: the hero grows past the viewport rather than
     clipping its own content on short screens. */
  .ft-hero-shell{
    width:100%;
    min-height:100vh;
    min-height:calc(100dvh - var(--ft-header-h, 0px));
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .ft-hero-shell > section{ width:100%; }

  /* Short or landscape screens (phones on their side, small laptops): a
     full-height hero would squeeze the board mock. Let it size to content. */
  @media (max-height:640px){
    .ft-hero-shell{ min-height:0; }
  }
