/* v58: every inner page gets its own hero with its own idea (the home river is the home page's alone).
   A hero opts out of pagekit's shared river and visual with data-own. Loaded last on inner pages.
   Product: a dark stage, the river rising under the product. Pricing: centred, the plans on a band that rises.
   Replay: the wall of 1,000 tickets. Security: dark, the gate sorting strands. Integrations: the system map on a
   screen. Resources: the featured guide. ECC 2027: the clock. Contact: quiet. Company: one line on a horizon.
   Careers: the open roles. 404: the number on a horizon. */
.inner .page-hero.own { padding: 132px 0 72px; background: linear-gradient(180deg, #fff, #f6f9fc); }
.inner .page-hero.own + section { padding-top: 80px; }
.inner .subnav + .page-hero.own { padding-top: 104px; }
.own .ph-grid .panel { animation: none; }
.own .eyebrow { font-size: 15px; }

/* dark heroes */
.inner .page-hero.dk { background: radial-gradient(90% 70% at 72% 0%, #12307a 0%, #071a45 46%, #061536 100%); }
.dk .page-title { color: #fff; } .dk .page-lede { color: #b9c8e6; opacity: 1; } .dk .eyebrow { color: #7cc4ff; }
.dk .ph-cta .btn-quiet { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.dk .ph-cta .btn-quiet:hover { background: rgba(255, 255, 255, .14); }

/* v58g: every light hero has its own river shape, behind the visual, fading out before the copy */
.page-hero.own > canvas.art { z-index: -1; }
.art-r { -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 62%); mask-image: linear-gradient(90deg, transparent 30%, #000 62%); }
.art-b { top: auto !important; bottom: 0; height: 62% !important; }
.art-b2 { top: auto !important; bottom: 0; height: 70% !important; }
.art-band { -webkit-mask-image: linear-gradient(180deg, transparent 36%, #000 60%); mask-image: linear-gradient(180deg, transparent 36%, #000 60%); }
.rp-wall, .rs-feat, .roles, .eclock, .ct-hero .panel { position: relative; z-index: 1; }
@media (max-width: 960px) { .art-r { -webkit-mask-image: linear-gradient(180deg, transparent 45%, #000 70%); mask-image: linear-gradient(180deg, transparent 45%, #000 70%); } }

/* product */
.inner .page-hero.pv-hero { padding-bottom: 150px; }
.pv-rise { top: auto !important; bottom: 0; height: 64% !important; z-index: 0; }
.pv-hero .wrap { position: relative; z-index: 1; }

/* pricing */
.inner .page-hero.pr-hero { padding-bottom: 120px; background: linear-gradient(180deg, #fff 0, #f5f8ff 100%); }
/* v67: the head is one band, title left and the terms right, so the three plans land on the first screen */
.inner .page-hero.own.pr-hero { padding-top: 112px; }
.pr-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px 72px; align-items: end; }
.pr-head .eyebrow { grid-column: 1 / -1; }
.pr-head .page-title { grid-row: 2 / span 2; margin: 0; max-width: 12.5ch; font-size: clamp(42px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.045em; }
.pr-head .page-lede { margin: 0; max-width: 31em; font-size: 18px; line-height: 1.55; }
.pr-head .pr-steps { grid-column: 2; justify-self: start; margin: -8px 0 0; }
.pr-steps { display: inline-flex; align-items: center; gap: 6px; margin: 30px 0 0; padding: 6px; list-style: none; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -16px rgba(20, 45, 110, .4); }
.pr-steps li { display: flex; align-items: center; gap: 9px; padding: 4px 14px 4px 4px; font-size: 15px; font-weight: 500; color: var(--ink); }
.pr-steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e8f0ff; font-size: 13px; color: var(--accent); }
.pr-steps li + li::before { content: ""; width: 18px; height: 1px; margin-right: 4px; background: #b6c2d8; }
.pr-band { top: auto !important; bottom: 0; height: 74% !important; z-index: -1; }
.pr-hero .plans { position: relative; z-index: 1; margin-top: 56px; }

/* replay: the wall */
.rp-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 64px; align-items: center; }
.rp-wall { margin: 0; padding: 22px 24px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(20, 45, 110, .45); }
.rp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; } .rp-h b { font-size: 15px; font-weight: 600; color: var(--ink); } .rp-h > span { font-size: 13px; color: var(--muted); }
.rp-wall canvas { display: block; width: 100%; aspect-ratio: 40 / 25; margin-top: 16px; }
.rp-k { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.rp-k b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.rp-k span { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-size: 13px; line-height: 1.3; color: var(--slate); } .rp-k i { flex: none; width: 9px; height: 9px; border-radius: 2px; }

/* replay: what goes in, what comes out */
.io { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 48px; }
.io-c { margin: 0; padding: 28px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(20, 45, 110, .35); }
.io-c figcaption b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); } .io-c figcaption span { display: block; margin-top: 4px; font-size: 15.5px; color: var(--slate); }
.io-t { margin-top: 22px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); font: 13px var(--mono); color: var(--ink); }
.io-t p { display: grid; grid-template-columns: 1.1fr 1.5fr .6fr 1.5fr; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); } .io-t p:first-child { border-top: 0; }
.io-t .h { background: #f4f7fb; font-family: var(--font); font-weight: 500; color: var(--muted); } .io-t .more-r { display: block; color: var(--muted); background: #fbfcfe; }
.io-r { margin-top: 22px; } .io-r p { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--slate); } .io-r p b { font-weight: 600; color: var(--ink); text-align: right; }
.io-r .io-big { display: block; border-top: 0; padding-top: 0; } .io-r .io-big b { display: block; font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--ink); text-align: left; } .io-big span { display: block; margin-top: 6px; }

/* security: dark, the gate below */
.inner .page-hero.sc-hero { padding-bottom: 330px; }
.sc-gate { top: auto !important; bottom: 0; height: 360px !important; z-index: 0; }
.sc-hero .wrap { position: relative; z-index: 1; }
.sc-hero .panel { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -40px rgba(0, 0, 0, .6); color: #b9c8e6; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sc-hero .panel h4 { color: #fff; } .sc-hero .panel .row { border-color: rgba(255, 255, 255, .1); } .sc-hero .panel .row b { color: #e6eeff; } .sc-hero .panel .row b[style] { color: #6ee7b7 !important; }
.sc-hero .panel .kv p { color: #8aa3cf; } .sc-hero .panel .kv span { color: #8aa3cf; }

/* integrations: the map on a screen */
.in-head { max-width: 860px; margin: 0 auto; text-align: center; }
.in-head .page-lede { margin: 22px auto 0; text-align: center; } .in-head .ph-cta { justify-content: center; }
.in-map { margin: 64px auto 0; padding: 40px 40px 30px; border-radius: 20px; background: radial-gradient(80% 90% at 50% 0%, #12307a, #061536 70%); box-shadow: 0 50px 100px -50px rgba(6, 21, 54, .7); }
.in-map .flowmap { width: min(1080px, 100%); margin: 0 auto; }
.in-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin-top: 26px; font-size: 14.5px; color: #b9c8e6; }
.in-note span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12.5px; font-weight: 500; color: #cfe0ff; } .in-note span + * { margin-right: 12px; }
.in-note span.on { background: #2f6bff; color: #fff; }

/* resources: the featured guide */
.rs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.rs-feat { display: block; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(20, 45, 110, .45); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.rs-feat:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(47, 107, 255, .25), 0 46px 90px -40px rgba(20, 45, 110, .5); }
.rs-art { position: relative; display: block; height: 230px; overflow: hidden; background: #0b1f4d; isolation: isolate; }
.rs-art b { position: absolute; left: 28px; bottom: 18px; z-index: 1; font-size: 88px; line-height: 1; font-weight: 600; letter-spacing: -.05em; color: #fff; }
.rs-body { display: block; padding: 26px 28px 28px; } .rs-body small { display: block; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.rs-body strong { display: block; margin-top: 8px; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.rs-body > span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--slate); } .rs-body .more { display: inline-flex; margin-top: 18px; font-style: normal; }

/* contact: quiet */
.inner .page-hero.ct-hero { background: #f6f9fc; }
.ct-wash { z-index: -1; opacity: .5 !important; }

/* ECC 2027: the clock */
.inner .page-hero.ecc-hero { padding-bottom: 80px; }
.ecc-hero .page-title { max-width: 18ch; }
.eclock { margin-top: 52px; padding: 32px 36px 28px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -46px rgba(20, 45, 110, .45); }
.ec-days { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ec-days b { font-size: clamp(56px, 7vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -.05em; background: linear-gradient(90deg, #2f6bff, #22b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ec-days span { max-width: 22em; font-size: 18px; color: var(--slate); }
.ec-line { position: relative; height: 10px; margin-top: 96px; border-radius: 5px; background: #e8edf6; }
.ec-line::before { content: ""; position: absolute; left: 42.86%; width: 42.85%; top: 0; bottom: 0; background: repeating-linear-gradient(-45deg, rgba(123, 92, 255, .22) 0 5px, transparent 5px 9px); }
.ec-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 5px; background: linear-gradient(90deg, #22b8ff, #2f6bff); transition: width 1.6s cubic-bezier(.2, .7, .2, 1); } .eclock.in .ec-fill { width: var(--now); }
.ec-m { position: absolute; bottom: 30px; padding-left: 12px; font-size: 13.5px; line-height: 1.35; color: var(--slate); white-space: nowrap; }
.ec-m b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ec-m::after { content: ""; position: absolute; left: 0; top: 2px; bottom: -36px; width: 2px; border-radius: 1px; background: var(--ink); }
.ec-now { left: var(--now); } .ec-now::after { background: var(--accent); } .ec-now b { color: var(--accent); } .ec-27 { left: 42.86%; }
.ec-30 { right: 14.29%; padding: 0 12px 0 0; text-align: right; } .ec-30::after { left: auto; right: 0; background: #7b5cff; }
.ec-y { display: grid; grid-template-columns: repeat(7, 1fr); margin: 12px 0 0; padding: 0; list-style: none; font: 12.5px var(--mono); color: var(--muted); }

/* company (v67): the line on the left, what Assay does and the two ways in on the right, both settled on one baseline
   and sitting straight on the river's horizon, so the hero is one band instead of a tall centred column */
.inner .page-hero.own.co-hero { padding: 112px 0 0; background: linear-gradient(180deg, #fff 0, #f3f6fe 100%); }
.co-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px 72px; align-items: end; }
.co-in .eyebrow { grid-column: 1 / -1; }
.co-hero .page-title { grid-row: 2 / span 2; margin: 0; max-width: 10ch; font-size: clamp(46px, 5.6vw, 80px); line-height: 1; letter-spacing: -.05em; }
.co-hero .page-lede { margin: 0; max-width: 31em; font-size: 18px; line-height: 1.55; }
.co-hero .ph-cta { margin: 6px 0 4px; }
.co-hz { position: relative; height: 240px; margin-top: 8px; } .co-hz canvas { inset: 0; }
@media (max-width: 960px) {
  .inner .page-hero.own.co-hero { padding-top: 96px; } .co-in { grid-template-columns: 1fr; }
  .co-hero .page-title { grid-row: auto; } .co-hero .ph-cta { margin: 8px 0 0; }
}
@media (max-width: 560px) { .co-hero .ph-cta { flex-direction: column; align-items: stretch; } .co-hero .ph-cta .btn { justify-content: center; } }

/* careers: the open roles */
.cr-wash { z-index: -1; opacity: .45 !important; }
.cr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); gap: 72px; align-items: center; }
.cr-hero .page-title { max-width: 13ch; }
.roles { padding: 4px 0 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(20, 45, 110, .45); }
.roles-h { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 26px 14px; } .roles-h b { font-size: 15px; font-weight: 600; color: var(--ink); } .roles-h span { font-size: 13px; color: var(--muted); }
.roles a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 10px; align-items: center; gap: 16px; padding: 18px 26px; border-top: 1px solid var(--line); transition: background .2s; }
.roles a b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.roles a span { font-size: 13px; color: var(--muted); }
.roles a::after { content: ""; width: 7px; height: 7px; border-top: 1.6px solid var(--slate); border-right: 1.6px solid var(--slate); transform: rotate(45deg); transition: transform .2s; }
.roles a:hover { background: #f6f9ff; } .roles a:hover b { color: var(--accent); } .roles a:hover::after { transform: translateX(3px) rotate(45deg); }
.lead2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.lead-c { display: flex; flex-direction: column; padding: 36px 36px 34px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(20, 45, 110, .35); scroll-margin-top: 100px; }
.lead-k { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.lead-c h3 { margin-top: 10px; font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.lead-p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--slate); }
.lead-l { margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--ink); } .lead-c .ck { margin-top: 8px; flex: 1; } .lead-c .btn { align-self: flex-start; margin-top: 28px; }
.eng-l { margin-top: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.eng-l a { display: grid; grid-template-columns: 300px minmax(0, 1fr) auto; align-items: baseline; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.eng-l b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); } .eng-l span { font-size: 16px; line-height: 1.6; color: var(--slate); }
.eng-l em { display: inline-flex; align-items: center; gap: 7px; font-style: normal; font-size: 15px; font-weight: 500; color: var(--accent); white-space: nowrap; } .eng-l a:hover b { color: var(--accent); }
.cr-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.cr-l { margin: 32px 0 0; } .cr-l div { padding: 20px 0; border-top: 1px solid var(--line); }
.cr-l dt { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); } .cr-l dd { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--slate); }
.cr-mail { margin-top: 64px; font-size: 18px; color: var(--slate); } .cr-mail a { color: var(--accent); font-weight: 500; }

/* 404 */
.inner .page-hero.nf-hero { padding-bottom: 300px; text-align: center; }
.nf-in { max-width: 760px; margin: 0 auto; } .nf-hero .page-lede { margin: 20px auto 0; text-align: center; } .nf-hero .ph-cta { justify-content: center; }
.nf-n { font-size: clamp(120px, 17vw, 210px); line-height: .9; font-weight: 600; letter-spacing: -.06em; background: linear-gradient(90deg, #1e2bb8, #2f6bff 45%, #22b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-hz { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; z-index: -1; }

@media (max-width: 960px) {
  .inner .page-hero.own { padding: 108px 0 72px; } .inner .subnav + .page-hero.own { padding-top: 64px; }
  .io-t p { grid-template-columns: 1fr 1.4fr; } .io-t p span:nth-child(n+3) { display: none; } .io-t .more-r span { display: inline !important; }
  .rp-grid, .rs-grid, .cr-grid, .lead2, .cr-2, .io { grid-template-columns: 1fr; gap: 40px; }
  .inner .page-hero.pv-hero { padding-bottom: 90px; } .pv-rise { height: 40% !important; }
  .inner .page-hero.sc-hero { padding-bottom: 200px; } .sc-gate { height: 220px !important; }
  .in-map { margin-top: 44px; padding: 22px 16px; } .in-map .flowmap { margin: 0; }
  .rp-k { grid-template-columns: 1fr 1fr; } .eng-l a { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .eclock { padding: 24px 20px 22px; } .ec-m { font-size: 0; } .ec-m b { font-size: 13px; } .ec-27 { display: none; } .ec-line { margin-top: 84px; }
  .co-hz { height: 180px; } .inner .page-hero.nf-hero { padding-bottom: 200px; } .nf-hz { height: 180px; }
  .lead-c { padding: 28px 22px; } .lead-c h3 { font-size: 26px; }
}
@media (max-width: 960px) { .inner .page-hero.own.pr-hero { padding-top: 96px; } .pr-head { grid-template-columns: 1fr; gap: 20px; }
  .pr-head .page-title, .pr-head .pr-steps { grid-row: auto; grid-column: auto; margin: 0; } .pr-hero .plans { margin-top: 40px; } }
@media (max-width: 560px) { .pr-steps li { padding-right: 8px; font-size: 14px; } .pr-steps li + li::before { width: 8px; } .ec-y li:nth-child(even) { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .ec-fill { transition: none; } }

/* v58i: one top distance (see pages2.css). The first line sits 52px under the nav, or under the page's tab bar;
   36px on phones. Product and resources start their copy at the top of the row, level with the visual. */
.inner .page-hero.own { padding-top: 124px; }
.inner .subnav + .page-hero.own { padding-top: 52px; }
.pv-hero .ph-grid, .rs-grid { align-items: start; }
@media (max-width: 960px) {
  .inner .page-hero.own { padding-top: 100px; }
  .inner .subnav + .page-hero.own { padding-top: 36px; }
}
