/* Praxon site: the video-first look. */
/* =================================================================
   NEW LOOK, shared by /updates, /features and the homepage. Everything sits in the nav's
   own column (.wrap: logo to "Book a Demo"). Videos in rounded frames with
   a soft shadow; the hero headline and its whole video fit one laptop
   screen. Edge to edge on phones only. Existing tokens and fonts only.
   ================================================================= */
.x-hero { background: var(--bg); color: var(--ink); padding: 44px 0 56px; }
.x-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 14px; }
.x-hero h1 { font-family: var(--sans); font-weight: 800; color: var(--ink-hi); font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -.025em; max-width: 1100px; }
.x-lede { margin-top: 14px; max-width: 760px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--ink-2); }

.x-frame { border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 2px 6px rgba(10, 12, 16, .06), 0 20px 50px rgba(10, 12, 16, .13); }
.x-frame .clip { border-radius: 0; box-shadow: none; background: transparent; }
/* The hero video is capped by HEIGHT (about 60% of the screen), so the
   headline and the whole video fit without scrolling; width follows
   the clip's 1920x1164 shape. */
.x-frame--hero { margin: 28px auto 0; width: 100%; max-width: min(100%, calc(60vh * var(--ar, 1.65)));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 0 1px var(--hair-2); }

.x-show { background: var(--white); color: var(--l-ink); padding: 24px 0 16px; }
.x-feat { display: grid; gap: 24px; padding: 40px 0 52px; }
.x-feat + .x-feat { border-top: 1px solid var(--l-line-3); }
.x-feat__text h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.06; letter-spacing: -.022em; color: var(--l-ink); }
.x-feat__text > p:not(.x-tag) { margin-top: 14px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--l-ink-3); max-width: 440px; }
.x-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.x-tag .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.x-how { margin-top: 20px; }
.x-how summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--l-mute-3); padding: 6px 0; }
.x-how summary::-webkit-details-marker { display: none; }
.x-how summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.x-how[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.x-how summary:hover, .x-how summary:focus-visible { color: var(--blue); }
.x-how p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--l-mute); max-width: 420px; }

/* phones only: videos edge to edge */
@media (max-width: 699px) {
  .x-frame--hero { margin: 28px calc(-1 * var(--pad)) 0; width: auto; max-width: none; border-radius: 0; box-shadow: none; }
  .x-feat__media { margin: 0 calc(-1 * var(--pad)); }
  .x-feat__media .x-frame { border-radius: 0; box-shadow: none; border-top: 1px solid var(--l-line-3); border-bottom: 1px solid var(--l-line-3); }
}
@media (min-width: 1000px) {
  .x-hero { padding: 36px 0 64px; }
  .x-show { padding: 48px 0 24px; }
  .x-feat { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px 0 80px; }
  .x-feat--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
  .x-feat--flip .x-feat__media { order: 2; }
}

/* fade in as it scrolls into view (skipped for reduced motion / no JS) */
.js .x-fade { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .x-fade.x-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .x-fade { opacity: 1; transform: none; transition: none; } }
.x-hero h1, .x-lede, .x-feat__text h2, .x-feat__text > p { text-wrap: balance; }

/* ---------------------------------------------- new look: full page -- */
.x-bar { background: var(--white); border-bottom: 1px solid var(--l-line-3); position: sticky; top: 72px; z-index: 5; }
.x-bar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.x-search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid var(--l-line); border-radius: 12px; background: var(--paper-2); color: var(--l-mute-3); }
.x-search .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.x-search input { all: unset; flex: 1; font-size: 16px; color: var(--l-ink); }
.x-search input::placeholder { color: var(--l-mute-4); }
.x-chips { display: flex; gap: 8px; }
.x-chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--l-line); background: var(--white); color: var(--l-ink-2); font: 500 15px/1 var(--sans); cursor: pointer; }
.x-chip.on { background: var(--l-ink); border-color: var(--l-ink); color: #fff; }
.x-chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.x-chap { padding-top: 28px; }
.x-chap__title { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--l-mute-3); padding-bottom: 14px; border-bottom: 1px solid var(--l-line-3); }
.x-chap__title + .x-feat { border-top: 0; }
.x-empty { padding: 48px 0; font-size: 18px; color: var(--l-mute); }

/* phone clips: shown large and phone-shaped, next to the text */
.x-feat--phone .x-frame { max-width: min(380px, calc(72vh * var(--ar, .5625))); margin: 0 auto; border-radius: 22px; }

.x-minis { display: grid; gap: 16px; padding: 28px 0 56px; }
.x-mini { border: 1px solid var(--l-line-3); border-radius: 16px; padding: 24px; background: var(--paper-2); }
.x-mini__ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--white); border: 1px solid var(--l-line-3); color: var(--blue); margin-bottom: 14px; }
.x-mini__ic .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.x-mini h3 { font: 700 20px/1.2 var(--sans); letter-spacing: -.01em; color: var(--l-ink); }
.x-mini p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--l-ink-3); }

.x-rest { background: var(--paper); color: var(--l-ink); padding: 56px 0 72px; }
.x-rest .u-chapter { margin: 0; padding: 0; }
.x-rest .u-chapter + .u-chapter { margin-top: 56px; }
.x-rest h2 { font: 800 clamp(26px, 3.4vw, 34px)/1.1 var(--sans); letter-spacing: -.02em; color: var(--l-ink); margin-bottom: 18px; }
.x-rest .u-box { background: var(--white); border-radius: 16px; border: 1px solid var(--l-line-3); padding: 28px; }
.x-rest .u-box h2 { display: flex; align-items: center; gap: 10px; }
.x-rest .u-box h2 .i { width: 24px; height: 24px; color: var(--blue); }

@media (max-width: 699px) {
  .x-bar { position: static; }
  .x-feat--phone .x-feat__media { margin: 0; }
  .x-feat--phone .x-feat__media .x-frame { border: 0; border-radius: 22px; box-shadow: 0 2px 6px rgba(10, 12, 16, .06), 0 20px 50px rgba(10, 12, 16, .13); max-width: 340px; }
}
@media (min-width: 700px) { .x-minis { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .x-feat--phone { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .x-feat--phone.x-feat--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .x-minis { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------- shared extras -- */
.x-cap { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.x-mini__ic praxon-icon { display: block; color: var(--blue); }
.x-tag praxon-icon { color: var(--blue); }
.x-mini .x-how { margin-top: 14px; }
a.x-how { display: inline-flex; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--l-mute-3); padding: 6px 0; text-decoration: none; }
a.x-how:hover, a.x-how:focus-visible { color: var(--blue); }
.x-caps { list-style: none; margin: 10px 0 0; padding: 0; max-width: 520px; }
.x-caps li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--l-line-3); }
.x-caps__n { font-weight: 600; font-size: 15px; color: var(--l-ink); }
.x-caps__s { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--blue); align-self: center; }
.x-caps__d { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; color: var(--l-mute); }
@media (min-width: 1000px) {
  .x-minis--3 { grid-template-columns: repeat(3, 1fr); }
  .x-minis--2 { grid-template-columns: repeat(2, 1fr); }
}

/* homepage sections in the new look */
.film__stage.x-frame { border: 0; background: #000; max-width: min(100%, calc(60vh * var(--ar, 1.778))); margin: 0 auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 0 1px var(--hair-2); border-radius: 16px; }
.film__meta { max-width: min(100%, calc(60vh * 1.778)); margin-left: auto; margin-right: auto; }
.newrow__clip.x-frame { border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px var(--hair-2); }
.measure__line { margin-top: 4px; font-size: 18px; line-height: 1.55; color: var(--l-mute); max-width: 440px; }
@media (min-width: 1000px) {
  .measure { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
  .newrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
}
.x-still { display: block; width: 100%; height: auto; }

/* /watch pages: one video, shown big */
.x-watch { min-height: calc(100vh - 72px); }
.x-watch__frame { background: #000; }
.x-watch__more { margin-top: 22px; text-align: center; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-size: 16px; }
.x-watch__more a { color: var(--blue-hi); font-weight: 600; text-decoration: none; }
.x-watch__more span { color: var(--dim); }
