/* ==========================================================================
   Travelog Online — brand layer over Bootstrap 5 + Kendo UI Material
   --------------------------------------------------------------------------
   Load order matters and is fixed in every page:
     1. bootstrap.min.css          layout: grid, utilities
     2. kendo.common-material.css  Kendo structure
     3. kendo.material.min.css     Kendo Material skin
     4. THIS FILE                  Travelog brand + page furniture
   Nothing here restyles Kendo internals beyond colour, radius and font —
   so a Kendo upgrade or a Sass-built custom theme can replace section 2
   without touching the page markup.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..800&display=swap');

:root{
  /* Brand — sampled from the Travelog Online colour logo */
  --tol-blue-900:#0E3A6E;
  --tol-blue-700:#16549C;
  --tol-blue-600:#1B65BD;
  --tol-blue-300:#5BAFE1;
  --tol-blue-100:#E8F0FB;
  --tol-blue-050:#F4F7FD;
  --tol-orange:#F5A24B;
  --tol-orange-700:#D97F1E;
  --tol-purple:#6B4E9E;

  --ink-900:#131A24;
  --ink-700:#3A4552;
  --ink-500:#66707D;
  --ink-300:#A5AEB9;
  --line:#DEE4ED;
  --line-strong:#0E3A6E;
  --surface:#FFFFFF;
  --surface-alt:#F4F7FD;
  --dark:#1B2A4A;

  --font:'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1:clamp(2rem,3vw,2.75rem);
  --fs-h2:clamp(1.5rem,2.2vw,2rem);
  --fs-sm:.875rem;
  --fs-xs:.75rem;

  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px;

  --radius:4px;
  --rule:2px solid var(--line-strong);
  --shadow-sm:0 1px 2px rgba(14,58,110,.08);
  --shadow-md:0 8px 24px rgba(14,58,110,.10);

  /* Bootstrap overrides — brand primary, brand font */
  --bs-primary:#0E3A6E;
  --bs-body-font-family:var(--font);
  --bs-body-color:#3A4552;
  --bs-link-color:#16549C;
  --bs-link-hover-color:#0E3A6E;
  --bs-border-color:#DEE4ED;
}

body{
  font-family:var(--font);
  color:var(--ink-700);
  background:var(--surface);
  text-wrap:pretty;
}
h1,h2,h3,h4{color:var(--ink-900);line-height:1.15;letter-spacing:-.02em;font-weight:700;margin:0}
h1{font-size:var(--fs-h1)}
h2{font-size:var(--fs-h2)}
h3{font-size:1.125rem;letter-spacing:-.01em}
p{margin:0}
img{max-width:100%;display:block}
a{color:var(--tol-blue-700);text-decoration:none;font-weight:500}
a:hover{color:var(--tol-blue-900);text-decoration:underline}
:focus-visible{outline:2px solid var(--tol-blue-600);outline-offset:2px}
::selection{background:var(--tol-blue-100)}

.wrap{width:100%;max-width:1200px;margin-inline:auto;padding-inline:var(--s-5)}
.kicker{font-size:var(--fs-xs);font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--tol-blue-700)}
.lede{font-size:1.0625rem;color:var(--ink-500);max-width:56ch}
.muted{color:var(--ink-500)}
.center-col{max-width:60ch}
.hr{border:0;border-top:var(--rule);margin:0}

/* ==========================================================================
   1. KENDO MATERIAL — brand recolour
   Material ships Roboto and a teal/indigo palette; these rules put Archivo
   and Travelog navy in its place. Class names are Kendo 2021 R2
   (`k-button k-primary`) — see README before upgrading past 2022 R1, where
   the button rendering changed to `k-button-solid-primary`.
   ========================================================================== */
.k-widget, .k-input, .k-button, .k-textbox, .k-dropdown, .k-textarea,
.k-window, .k-notification{font-family:var(--font)}

.k-button.k-primary{
  background:var(--tol-blue-900);border-color:var(--tol-blue-900);color:#fff;
  font-weight:600;letter-spacing:.01em;
}
.k-button.k-primary:hover{background:var(--tol-blue-700);border-color:var(--tol-blue-700)}
.k-button.k-primary:active,
.k-button.k-primary.k-state-active{background:#0A2C55;border-color:#0A2C55}

.k-button{border-radius:var(--radius);font-weight:600;padding:10px 18px}
.k-button:not(.k-primary):not(.k-flat):not(.k-button-accent){
  background:#fff;border:1px solid var(--tol-blue-900);color:var(--tol-blue-900);
}
.k-button:not(.k-primary):not(.k-flat):not(.k-button-accent):hover{background:var(--tol-blue-050)}
.k-button.k-flat{background:none;border-color:transparent;color:var(--tol-blue-700)}
/* The one warm CTA — must stay outside the outline default above. */
.k-button.k-button-accent{background:var(--tol-orange);border:1px solid var(--tol-orange);color:#3A2405}
.k-button.k-button-accent:hover{background:var(--tol-orange-700);border-color:var(--tol-orange-700);color:#fff}
.k-button.tol-block{display:flex;width:100%;justify-content:center}
/* NB: Kendo's own .k-block is a panel component — never use it on a button. */

/* Un-upgraded controls: the pages must look right in the instant before
   kendo.all.min.js runs, and if it fails to load at all. */
.field input:not(.k-input),
.field textarea:not(.k-input),
.field select:not(.k-input){
  width:100%;min-height:44px;padding:11px 14px;font:inherit;color:var(--ink-900);
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;
}
.field textarea:not(.k-input){min-height:110px;resize:vertical}
.field .k-textbox, .field .k-textarea, .field .k-dropdown{width:100%}

/* Inputs — Material's underline treatment traded for the boxed field the
   rest of the brand uses. */
.k-textbox, .k-textarea, .k-dropdown .k-dropdown-wrap, .k-picker-wrap{
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;
  box-shadow:none;
}
.k-textbox, .k-dropdown .k-dropdown-wrap{min-height:44px}
.k-textbox:focus-within, .k-textarea:focus-within,
.k-dropdown.k-state-focused .k-dropdown-wrap{
  border-color:var(--tol-blue-600);box-shadow:0 0 0 3px rgba(27,101,189,.16);
}
.k-textbox > .k-input, .k-textarea > textarea{padding:11px 14px;color:var(--ink-900)}
.k-dropdown{width:100%}
.k-dropdown .k-input{padding:11px 14px;color:var(--ink-900)}
.k-list .k-item.k-state-selected{background:var(--tol-blue-900);color:#fff}
.k-list .k-item.k-state-focused{box-shadow:inset 0 0 0 2px var(--tol-blue-300)}

/* Validation — Kendo Validator messages */
.k-tooltip-validation, .k-invalid-msg{
  background:#FDEBE7;border:1px solid #F3B6A8;color:#8C2312;
  border-radius:var(--radius);padding:4px 8px;font-size:var(--fs-sm);
  box-shadow:none;margin-top:var(--s-1);display:inline-block;
}
.k-tooltip-validation .k-icon, .k-invalid-msg .k-icon{display:none}
.k-textbox.k-invalid, .k-textarea.k-invalid{border-color:#C0392B}

.k-checkbox:checked{background-color:var(--tol-blue-900);border-color:var(--tol-blue-900)}
.k-checkbox:focus{box-shadow:0 0 0 3px rgba(27,101,189,.2)}
.k-checkbox-label{color:var(--ink-700);font-size:var(--fs-sm);line-height:1.5}

.k-window{border:0;border-radius:var(--radius);box-shadow:0 24px 60px rgba(14,58,110,.24)}
.k-window-titlebar{background:var(--tol-blue-900);color:#fff;border:0;padding:14px 18px}
.k-window-title{font-weight:700;letter-spacing:-.01em}
/* The close button kept the theme's dark icon on the dark title bar, so it could hardly be seen (Matthew, TLD-564). */
.k-window-titlebar .k-window-action,.k-window-titlebar .k-window-action .k-icon{color:#fff;opacity:1}
.k-window-titlebar .k-window-action:hover{background:rgba(255,255,255,.16)}
.k-notification{border-radius:var(--radius);font-weight:500}
.k-notification-success{background:#0E6B4F;border-color:#0E6B4F;color:#fff}

/* Field wrapper — the label/field/message unit every form repeats */
.field{display:flex;flex-direction:column;gap:var(--s-2);margin-bottom:var(--s-4)}
.field > label{font-size:var(--fs-sm);font-weight:600;color:var(--ink-900)}
.field-row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s-3)}
.field-row label{font-size:var(--fs-sm);font-weight:600;color:var(--ink-900)}
.field-row a{font-size:var(--fs-sm)}

/* ==========================================================================
   2. HEADER
   ========================================================================== */
.nav-bar{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:50}
.nav-inner{display:flex;align-items:center;gap:var(--s-6);min-height:76px}
.logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.logo:hover{text-decoration:none}
.logo img{height:44px;width:auto;display:block}
.logo--lg img{height:54px}
.nav-links{display:flex;gap:var(--s-5);list-style:none;margin:0;padding:0}
.nav-links a{color:var(--ink-700);font-size:var(--fs-sm);font-weight:600}
.nav-links a:hover{color:var(--tol-blue-900);text-decoration:none}
.nav-actions{display:flex;gap:var(--s-3);margin-left:auto;align-items:center}

/* ==========================================================================
   3. HERO + integration cluster
   ========================================================================== */
.hero{padding-block:var(--s-8) var(--s-9);border-bottom:1px solid var(--line)}
.hero h1{font-size:clamp(2.375rem,4.2vw,3.5rem);font-stretch:112%;margin-top:var(--s-3)}
.hero .lede{margin-top:var(--s-5)}
/* The hero credibility line. Brand blue and semibold so it reads as a claim rather than body
   copy, but a step below the h1 so it never competes with it. Each claim is its own line at
   desktop width - three sentences wrapping mid-claim read as a paragraph nobody finishes - and
   they run together as normal text once the column is too narrow for that to fit. */
.hero-cred{margin-top:var(--s-4);color:var(--tol-blue-700);font-weight:600;
 font-size:1.0625rem;line-height:1.45;max-width:52ch}
.hero-cred span{display:block}
@media (max-width:575.98px){.hero-cred span{display:inline}}

.hero-cta{display:flex;gap:var(--s-3);flex-wrap:wrap;margin-top:var(--s-6)}
.hero-meta{display:flex;gap:var(--s-6);flex-wrap:wrap;margin-top:var(--s-7);
  padding-top:var(--s-5);border-top:1px solid var(--line)}
.hero-meta div{display:flex;flex-direction:column}
.hero-meta b{color:var(--ink-900);font-size:var(--fs-sm)}
.hero-meta span{font-size:var(--fs-xs);color:var(--ink-500)}

.cluster{
  position:relative;min-height:460px;overflow:visible;
  background:
    radial-gradient(58% 52% at 50% 44%,
      rgba(122,193,232,.55) 0%,
      rgba(150,208,240,.34) 42%,
      rgba(180,220,244,.14) 68%,
      rgba(180,220,244,0) 84%);
}
.cluster-label{
  position:absolute;top:0;left:0;z-index:4;
  font-size:var(--fs-xs);letter-spacing:.14em;text-transform:uppercase;
  color:var(--tol-blue-700);font-weight:700;
}
.chip{
  position:absolute;z-index:2;background:#fff;border-radius:50%;
  display:grid;place-items:center;box-shadow:0 10px 26px rgba(14,58,110,.14);
  animation:drift 9s ease-in-out infinite;
}
.chip img{width:auto;max-width:70%;max-height:48%;object-fit:contain}
.chip .p-sabre{max-width:74%}
.chip .p-infinity{max-width:74%}
.chip .p-travelpay{max-width:68%}
.chip .p-expedia{max-width:72%}
.chip .p-iata{max-height:46%}
.chip .mark-compact{max-width:42%;max-height:42%}
.chip-1{width:96px;height:96px;left:1%;top:30%;animation-delay:-.4s}
.chip-2{width:88px;height:88px;left:25%;top:4%;animation-delay:-2.1s}
.chip-3{width:104px;height:104px;left:47%;top:25%;animation-delay:-1.2s}
.chip-4{width:82px;height:82px;left:73%;top:5%;animation-delay:-3.4s}
.chip-5{width:88px;height:88px;left:13%;top:66%;animation-delay:-5.0s}
.chip-6{width:80px;height:80px;left:41%;top:73%;animation-delay:-2.8s}
.chip-7{width:92px;height:92px;left:69%;top:52%;animation-delay:-6.1s}
.chip-8{width:86px;height:86px;left:78%;top:76%;animation-delay:-4.2s}
@keyframes drift{0%,100%{transform:translateY(-5px)}50%{transform:translateY(5px)}}
@media (prefers-reduced-motion:reduce){.chip{animation:none}}

/* ==========================================================================
   4. SECTIONS
   ========================================================================== */
.section{padding-block:var(--s-9)}
.section--alt{background:var(--surface-alt);border-block:1px solid var(--line)}
.section-head{display:flex;flex-direction:column;gap:var(--s-3);margin-bottom:var(--s-7);max-width:64ch}

.card-tol{background:#fff;border:1px solid var(--line);border-top:var(--rule);
  padding:var(--s-5);height:100%}
.card-tol h3{margin-top:var(--s-4)}
.card-tol p{margin-top:var(--s-2);font-size:var(--fs-sm);color:var(--ink-500)}
.card-icon{display:grid;place-items:center;width:44px;height:44px;
  background:var(--tol-blue-050);color:var(--tol-blue-900)}
.card-icon svg{width:22px;height:22px}

.band{background:var(--tol-blue-900);color:#fff;padding-block:var(--s-9)}
.band h2, .band .kicker{color:#fff}
.band .kicker{color:var(--tol-blue-300)}
.band .lede{color:rgba(255,255,255,.78)}

.step{border-top:var(--rule);padding-top:var(--s-4);height:100%}
.step-dot{display:inline-grid;place-items:center;width:28px;height:28px;
  background:var(--tol-blue-900);color:#fff;font-size:var(--fs-sm);font-weight:700;
  border-radius:50%;margin-bottom:var(--s-3)}
.step b{display:block;color:var(--ink-900)}
.step p{font-size:var(--fs-sm);color:var(--ink-500);margin-top:var(--s-1)}

.quote{border-left:var(--rule);padding-left:var(--s-5)}
.quote-mark{font-size:3rem;line-height:.6;color:var(--tol-blue-300);font-weight:800}
.quote p{margin-top:var(--s-3)}
.quote-by{margin-top:var(--s-4)}
.quote-by b{display:block;color:var(--ink-900)}
.quote-by span{font-size:var(--fs-sm);color:var(--ink-500)}

/* Partner strips — heights are per-mark so the GLYPHS match, not the boxes */
.partners{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  background:#fff;border:var(--rule)}
.partners > span{display:grid;place-items:center;min-width:0;min-height:78px;
  padding:16px 14px;border-left:1px solid var(--line);border-top:1px solid var(--line)}
.partners img{width:auto;max-width:100%;object-fit:contain}
.partners--tight > span{min-height:72px;padding:12px 10px}
.partners--tight img{transform:scale(.9)}
.partners-label{font-size:var(--fs-xs);letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-300);font-weight:700;margin-bottom:var(--s-3)}
.p-infinity{height:32px}
.p-sabre{height:20px}
.p-iata{height:40px}
.p-travelpay{height:20px}
.p-expedia{height:22px}
.p-amadeus{height:auto;width:auto;max-height:19px;max-width:100%}
.p-virtuoso{height:auto;width:auto;max-height:23px;max-width:100%}
.p-travelport{height:auto;width:auto;max-height:24px;max-width:100%}
.partners .mark-compact{display:none}
.partners--tight .p-amadeus,
.partners--tight .p-virtuoso,
.partners--tight .p-travelport{display:none}
.partners--tight .mark-compact{display:block;height:32px;width:auto}

/* Pricing */
.tier{background:#fff;border:1px solid var(--line);border-top:var(--rule);
  padding:var(--s-6) var(--s-5);height:100%;display:flex;flex-direction:column;gap:var(--s-2)}
.tier--featured{border-top-color:var(--tol-orange);box-shadow:var(--shadow-md)}
.price{font-size:1.75rem;font-weight:800;color:var(--ink-900);letter-spacing:-.03em;
  font-stretch:110%;margin-top:var(--s-3)}
.price small{font-size:var(--fs-sm);font-weight:500;color:var(--ink-500);letter-spacing:0}
.scope{font-size:var(--fs-xs);font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--tol-blue-700)}
.price-note{font-size:var(--fs-sm);color:var(--ink-500);margin-top:var(--s-2)}
.tier .k-button{margin-top:auto}
.tiers-includes{margin-top:var(--s-7);border-top:var(--rule);padding-top:var(--s-5)}
.tiers-includes ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:var(--s-2) var(--s-5);list-style:none;padding:0;margin:var(--s-4) 0 0;
  font-size:var(--fs-sm)}
.tiers-includes li{padding-left:var(--s-5);position:relative;color:var(--ink-700)}
.tiers-includes li::before{content:"";position:absolute;left:0;top:.55em;width:10px;height:10px;
  background:var(--tol-blue-900)}

/* Contact */
.contact{background:var(--dark);color:rgba(255,255,255,.82);padding-block:var(--s-9)}
.contact h2{color:#fff}
.contact-left{display:flex;flex-direction:column;gap:var(--s-5);height:100%}
.contact-word{font-size:clamp(3rem,7vw,5.5rem);font-weight:800;font-stretch:118%;
  letter-spacing:-.05em;line-height:.9;color:rgba(255,255,255,.10)}
.form-card{background:#fff;padding:var(--s-6);border-top:4px solid var(--tol-orange)}
.form-card h3{color:var(--ink-900)}

/* Footer */
.footer{background:#fff;border-top:var(--rule);padding-block:var(--s-7)}
.footer h4{font-size:var(--fs-xs);letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-500);margin-bottom:var(--s-3)}
.footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:var(--s-2);
  font-size:var(--fs-sm)}
.footer-legal{margin-top:var(--s-7);padding-top:var(--s-4);border-top:1px solid var(--line);
  display:flex;flex-direction:column;gap:var(--s-2);font-size:var(--fs-xs);color:var(--ink-500)}

/* Dashboard placeholders — Claude Code replaces these */
.placeholder{border:2px dashed var(--tol-blue-300);background:var(--tol-blue-050);
  display:grid;place-items:center;text-align:center;padding:var(--s-6);min-height:240px}
.placeholder b{color:var(--tol-blue-700);font-size:var(--fs-sm);letter-spacing:.08em;
  text-transform:uppercase}
.placeholder::after{content:attr(data-note);display:block;font-size:var(--fs-xs);
  color:var(--ink-500);max-width:44ch;margin-top:var(--s-2)}
.band .placeholder{border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.06)}
.band .placeholder b{color:#fff}
.band .placeholder::after{color:rgba(255,255,255,.6)}

/* ==========================================================================
   5. AUTH PAGES — two-column shell
   ========================================================================== */
.auth{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);min-height:100vh}
.auth-brand{background:var(--tol-blue-900);color:rgba(255,255,255,.78);
  padding:var(--s-8) var(--s-7);display:flex;flex-direction:column;position:relative;overflow:hidden}
.auth-brand::after{content:"";position:absolute;right:-140px;bottom:-160px;
  width:460px;height:460px;border-radius:50%;background:rgba(91,175,225,.14)}
.auth-brand > *{position:relative;z-index:1}
.auth-facts{margin-top:var(--s-8);display:flex;flex-direction:column;
  border-top:1px solid rgba(255,255,255,.14)}
.auth-facts div{padding:var(--s-4) 0;border-bottom:1px solid rgba(255,255,255,.14);
  display:flex;flex-direction:column;gap:2px}
.auth-facts b{color:#fff;font-size:1rem;font-weight:700;letter-spacing:-.01em}
.auth-facts span{font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase;color:#7E90B0}
.auth-statement{margin-top:auto;padding-top:var(--s-7)}
.auth-statement p{font-size:1.125rem;color:rgba(255,255,255,.6);max-width:34ch}

.auth-main{display:flex;flex-direction:column;background:#fff}
.auth-topbar{display:flex;align-items:center;justify-content:flex-end;gap:var(--s-3);
  padding:var(--s-5) var(--s-7);border-bottom:1px solid var(--line);font-size:var(--fs-sm)}
.auth-topbar span{color:var(--ink-500)}
.auth-body{width:100%;max-width:420px;margin:auto;padding:var(--s-8) var(--s-7)}
.auth-body--wide{max-width:640px}
.auth-head{margin-bottom:var(--s-6)}
.auth-head p{margin-top:var(--s-2);color:var(--ink-500);font-size:var(--fs-sm)}
.auth-alt{margin-top:var(--s-5);font-size:var(--fs-sm);color:var(--ink-500)}
.pwd{position:relative}
.pwd .k-textbox{width:100%;padding-right:40px}
.pwd-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);
  background:none;border:0;color:var(--ink-500);padding:6px;cursor:pointer;line-height:0}
.pwd-toggle:hover{color:var(--tol-blue-900)}

@media (max-width:900px){
  .auth{grid-template-columns:1fr}
  .auth-brand{padding:var(--s-6) var(--s-5)}
  .auth-facts{display:none}          /* the form must not sit two screens down */
  .auth-statement{margin-top:var(--s-6);padding-top:var(--s-5)}
  .auth-body{padding:var(--s-7) var(--s-5)}
  .partners{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:991px){
  .nav-links{display:none}
  .cluster{min-height:380px;margin-top:var(--s-7)}
}


/* ============================================================================
   9. Imagery added when the placeholders were filled
   ---------------------------------------------------------------------------
   The dashboard stills are wide and detail-heavy, so they are given a frame and
   allowed to run full width of their column rather than being cropped square.
   ========================================================================== */

.hero-shot {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(14, 58, 110, .16);
}

/* Legal pages (privacy.html, terms.html) ----------------------------------
   Same type as the rest of the site: the title is the hero h1 (Archivo, wide cut),
   section titles are the section-head h2, and the text runs the full content width. */
.legal-body{max-width:none}
.legal h1{font-size:clamp(2.375rem,4.2vw,3.5rem);font-stretch:112%;margin:var(--s-3) 0 var(--s-3)}
.legal-meta{color:var(--ink-500);font-size:var(--fs-sm);margin-bottom:var(--s-4)}
.legal .lede{max-width:none}
.legal-toc{margin:var(--s-6) 0 var(--s-7);padding:var(--s-4) var(--s-5);background:var(--surface-alt);border:1px solid var(--line);border-radius:10px}
.legal-toc ol{margin:0;padding-left:1.25em;columns:3;column-gap:var(--s-5);font-size:var(--fs-sm)}
.legal-toc li{break-inside:avoid;padding:2px 0}
.legal section{margin-top:var(--s-7);scroll-margin-top:84px}
.legal h2{font-size:var(--fs-h2);margin:0 0 var(--s-3)}
.legal h3{font-size:1.125rem;margin:var(--s-4) 0 var(--s-2)}
.legal p,.legal li{line-height:1.65}
.legal ul{padding-left:1.25em}
.legal li{margin-bottom:var(--s-2)}
.footer-legal a{color:inherit;text-decoration:underline}
@media (max-width:991px){.legal-toc ol{columns:2}}
@media (max-width:575px){.legal-toc ol{columns:1}}

/* In-page sections: land below the sticky header when a fragment is followed
   without script (the scripted glide allows for the header itself). */
section[id] { scroll-margin-top: 84px; }

/* Product tour carousel ---------------------------------------------------- */
.tour-carousel {
  /* aspect-ratio, not the padding-bottom ratio box: Kendo writes explicit heights
     onto its own wrapper, and a zero-height parent left the image taller than the
     frame, which pushed the caption out of sight. */
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  /* An outline, not a border: Kendo sizes each page from the element's offset
     width, and a border (the theme adds one to every .k-scrollview) made that
     2px wider than the wrap the slides sit in, so every slide drifted a little
     further off its frame. */
  border: 0;
  outline: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(14, 58, 110, .12);
  background: #fff;
}
/* Kendo lays a ScrollView built from static markup out with its own page
   elements; plain <div data-slide> children got no horizontal layout at all and
   stacked vertically, so only the first slide was ever in the frame while the
   wrap slid sideways past empty space. Lay them out as a row here. */
.tour-carousel > .k-scrollview-wrap,
.tour-carousel .k-scrollview-wrap { position: absolute; inset: 0; display: flex; flex-wrap: nowrap; }
.tour-carousel .k-scrollview-wrap > [data-slide] { flex: 0 0 100%; width: 100%; }

/* Each slide must establish its own containing block, or the caption below
   anchors to the carousel instead of the slide - every caption then piles up in
   the same place and does not travel with its image. Kendo leaves the page
   elements `position: static`, so it is set here. */
.tour-carousel [data-slide] { position: relative; height: 100%; }
.tour-carousel img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* The pager lives in a sibling of the scroll wrap; with the ratio box collapsing
   the carousel's own height it would otherwise be clipped out of sight. */
.tour-carousel .k-scrollview-elements { position: absolute; inset: 0; pointer-events: none; }
.tour-carousel .k-scrollview-nav-wrap { position: absolute; left: 0; right: 0; bottom: 6px; pointer-events: auto; }
.tour-carousel .k-scrollview-nav { justify-content: center; }
.tour-carousel .k-scrollview-prev,
.tour-carousel .k-scrollview-next { pointer-events: auto; }

.tour-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(9, 30, 58, .88), rgba(9, 30, 58, 0));
  color: #fff;
}
.tour-cap b { display: block; font-size: 15px; }
.tour-cap span { font-size: 13px; opacity: .85; }

@media (max-width: 640px) {
  .tour-cap b { font-size: 13px; }
  .tour-cap span { display: none; }
}

/* Product tour video, inside the Kendo Window ------------------------------ */
.tour-video { width: 100%; height: auto; display: block; background: #000; }

/* Client logo beside the quote --------------------------------------------- */
.client-logo { max-width: 220px; width: 100%; height: auto; display: block; }

/* reCAPTCHA slot ----------------------------------------------------------- */
.tol-recaptcha:empty { display: none; }

/* Pager. Kendo's own nav renders no dots for a ScrollView built from static
   markup rather than a data source, so the dots are ours. */
.tour-dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 8px;
  z-index: 3;
}
.tour-dots button {
  width: 9px; height: 9px; padding: 0;
  border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(9, 30, 58, .35);
}
.tour-dots button[aria-current="true"] { background: #fff; width: 22px; border-radius: 5px; }
