/* watNex website. Every colour and size comes from tokens.css (config/tokens.json). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--type-body)/1.6 var(--type-family); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd, figure, table { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.022em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: var(--type-title); }
p { text-wrap: pretty; }
section { padding: var(--space-section) 0; }
:focus-visible { outline: 3px solid var(--gold-tone); outline-offset: 4px; border-radius: 4px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: calc(var(--space-page) + 2 * var(--space-gutter)); margin: 0 auto; padding: 0 var(--space-gutter); }
.narrow { max-width: calc(62rem + 2 * var(--space-gutter)); }
.lead { font-size: var(--type-lead); line-height: 1.55; max-width: var(--space-measure); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 20; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); color: var(--midnight); border-radius: 8px; }
.arrow { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* the Magic Wand beside Sign In: the application's 8 by 8 sheet, one frame 54 by 77, one turn in 8 s. It moves only while site.js says so */
.wand { display: inline-block; width: 19.6px; height: 28px; margin: -8px -3px -6px -1px; vertical-align: middle; background: 0 0 / 800% 800%;
  animation: wand-x 1s steps(8, jump-none) infinite, wand-y 8s steps(8, jump-none) infinite; animation-play-state: paused; }
.loaded .wand { background-image: url("/media/brand/magic_wand_stardust_calm.webp"); }      /* after the page, so the hero never waits for it */
.moving .wand { animation-play-state: running; }
@keyframes wand-x { from { background-position-x: 0; } to { background-position-x: 100%; } }
@keyframes wand-y { from { background-position-y: 0; } to { background-position-y: 100%; } }
@media (prefers-reduced-motion: reduce) { .wand { animation: none; } }

/* navigation */
.top { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--white); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.home { padding: 8px 0; }
.wordmark { display: inline-flex; align-items: baseline; gap: .02em; font-size: 2.125rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--white); }
.wordmark img { width: auto; height: .715em; }
.nex { position: relative; }
.nex canvas { position: absolute; left: -10px; top: -20px; width: calc(100% + 110px); height: calc(100% + 60px); pointer-events: none; }
.top .wide { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); font-size: var(--type-small); }
.top nav a { padding: 10px 0; transition: color .2s; }
.top nav a:hover, .top nav a[aria-current], .top nav .signin { color: var(--gold-tone); }
.top nav .signin { font-weight: 600; }
.top nav .signin:hover { color: var(--white); }
.menu { display: none; }

/* actions */
.actions { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.action { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; transition: color .2s; }
.action:hover { color: var(--gold-tone); }
.action.primary { color: var(--gold-tone); font-size: 1.1875rem; }
.action.primary:hover { color: var(--white); }
.action.primary .arrow, .go .arrow { transition: transform .25s; }
.action.primary:hover .arrow, .go:hover .arrow { transform: translateX(4px); }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 0; min-height: max(100svh, 860px); background: var(--app-blue); color: var(--white); }
.hero .copy { padding-top: clamp(7rem, 13vh, 8.5rem); }
.eyebrow { margin-bottom: 1.1rem; color: var(--gold-tone); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { font-size: var(--type-hero); }
.hero h1 span, .hero h1 em { display: block; font-style: normal; }
.hero h1 em, .engage h2 span:last-child { color: var(--gold-tone); background: var(--gold-polish) text; -webkit-text-fill-color: transparent; }
.hero h1 em { padding-bottom: .16em; margin-bottom: -.16em; }       /* room for the tail of the g */
.hero .lead { margin: 1.15rem 0 1.5rem; max-width: 52ch; }
.focus { position: relative; z-index: -2; flex: 1 1 auto; align-self: center; width: min(25rem, 62vw); min-height: calc(min(25rem, 62vw) / 1.6); max-height: 360px; margin: auto; pointer-events: none; }
.ecosystem { padding: 0 var(--space-gutter) clamp(2rem, 4vh, 3rem); text-align: center; font-size: var(--type-lead); letter-spacing: .02em; }
.radiance { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.radiance canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease; }
.live .radiance canvas { opacity: 1; }
/* The still image is drawn from the same scene at one fifth of its width per brand, so its centre lands on the brand's place. */
.poster { position: absolute; left: 50%; top: 50%; width: 500%; max-width: none; transform: translate(-50%, -50%); transition: opacity .9s ease; mask-image: radial-gradient(closest-side, black 72%, transparent); }
.live .poster { opacity: 0; }
.spin { opacity: 0; transition: opacity .9s ease; }
.live .spin { opacity: 1; }
/* Quiets the stars behind the words: the hero's own background, shown only where the mask is opaque. */
.veil { position: absolute; inset: 0; z-index: 1; background: var(--app-blue); mask-image:
  radial-gradient(ellipse 60% 50% at 16% 24%, rgb(0 0 0 / .92) 40%, transparent 100%),
  linear-gradient(to bottom, rgb(0 0 0 / .8), transparent 20%, transparent 86%, rgb(0 0 0 / .85)); }
.motion { position: absolute; right: var(--space-gutter); bottom: clamp(1.2rem, 3vh, 2.2rem); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mist); cursor: pointer; }
.motion svg { display: block; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.motion circle { stroke-width: 1.4; opacity: .7; }
.motion .play { fill: currentColor; stroke-width: 1.4; }
.motion[aria-label^="Pause"] .play, .motion[aria-label^="Play"] .pause { display: none; }
.motion:hover { color: var(--white); }

/* a blue section after a blue section carries on from where the gradient ended: no seam */
:is(.hero, .industryhead) + :is(.journey, .engage) { background: var(--app-blue-end); }

/* page heads */
.pagehead, .industryhead { background: var(--app-blue); color: var(--white); padding: clamp(9rem, 20vh, 13rem) 0 clamp(4rem, 9vh, 6.5rem); }
.pagehead h1, .industryhead h1 { font-size: var(--type-hero); max-width: 18ch; }
.pagehead .lead { margin-top: 1.5rem; color: var(--mist); }
.industryhead .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.industryhead .lead { margin: 1.5rem 0 1rem; }
.industryhead .lead + p { color: var(--mist); max-width: 52ch; }
.industryhead img { border-radius: 16px; }
.previewnote { position: absolute; z-index: 9; top: 84px; left: 0; right: 0; text-align: center; color: var(--gold-tone); font-size: .8125rem; }

/* comparison */
.compare h2 { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th { padding: 0 0 1.4rem; text-align: left; font-size: var(--type-lead); font-weight: 650; color: var(--ink-quiet); width: 46%; }
.compare th + th { width: auto; color: var(--deep); padding-left: 38px; }
.compare td { padding: 1.5rem 1rem 1.5rem 0; border-top: 1px solid var(--line); color: var(--ink-quiet); font-size: var(--type-lead); }
.compare td + td { padding-right: 0; color: var(--ink); font-weight: 600; }
.compare td div { display: flex; align-items: center; gap: 18px; }
.compare .arrow { color: var(--gold-tone); transition: transform .3s; }
.compare tr:hover .arrow { transform: translateX(5px); }
.coda { margin-top: clamp(2.5rem, 6vw, 4rem); text-align: center; font-size: var(--type-title); font-weight: 650; letter-spacing: -.022em; line-height: 1.15; color: var(--deep); text-wrap: balance; }
.after { margin-top: .9rem; text-align: center; color: var(--ink-quiet); font-size: var(--type-lead); }

/* journey */
.journey { background: var(--app-blue); color: var(--white); }
.journey .lead { margin-top: 1rem; color: var(--mist); }
.path { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); }
.loop { position: absolute; inset: 0 0 auto; width: 100%; height: 150px; overflow: visible; }
.loop path { fill: none; stroke: var(--gold-tone); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.loop .back { stroke-dasharray: 1 8; stroke-linecap: round; stroke-width: 2; }
.path ul { display: grid; grid-template-columns: repeat(5, 1fr); }
.path li { position: relative; padding: 190px 14px 0; text-align: center; }
.path li::before { content: ""; position: absolute; left: 50%; top: 33px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--gold-tone); box-shadow: 0 0 0 7px var(--midnight); }
.path li:nth-child(even)::before { top: 103px; }
.path h3 { font-size: 1.375rem; color: var(--gold-tone); }
.path p { margin-top: .6rem; color: var(--mist); font-size: 1rem; line-height: 1.5; }

/* industries */
.industries { background: var(--neutral); }
.industries h2:not(.sr) { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1.5rem, 2.5vw, 2.25rem); }
.industry { display: flex; flex-direction: column; }
.industry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-bottom: 1.5rem; }
.kind { color: var(--ink-quiet); font-size: var(--type-small); }
.industry h3 { margin: .25rem 0 .6rem; font-size: 1.625rem; }
.industry p:not(.kind) { color: var(--ink-quiet); max-width: 34ch; }
.go { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: auto; padding-top: .6rem; font-weight: 600; color: var(--deep); }
.industry:not([data-availability="available"]) .go { color: var(--ink-quiet); font-weight: 500; }
.go .arrow { color: var(--gold-tone); }

/* products */
.products .wrap > h2 { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; scroll-margin-top: 3rem; }
.product + .product { margin-top: clamp(4rem, 8vw, 7rem); }
.product:nth-of-type(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
.product:nth-of-type(even) > div { order: 2; }
.product:not(:has(figure)) { grid-template-columns: 1fr; }
.product h3 { margin: .25rem 0 1rem; font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem); color: var(--deep); }
.product ul { margin-top: 1.5rem; }
.product li { padding-left: 24px; position: relative; margin-top: .55rem; color: var(--ink-quiet); }
.product li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 2px; background: var(--gold-tone); }
.members { margin-top: 1.5rem; font-weight: 600; }
.members span { color: var(--ink-quiet); font-weight: 400; }
.product img { width: 100%; border-radius: 12px; box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--midnight) 45%, transparent); }
figcaption { margin-top: 1rem; color: var(--ink-quiet); font-size: .875rem; }

/* themes */
.themes { background: var(--neutral); }
.themes.plain { background: var(--white); }
.themes .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); }
.themes .wrap:has(.intro.sr) { grid-template-columns: 1fr; }
.themes .intro .lead { margin-top: 1.1rem; color: var(--ink-quiet); }
.themes dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 2.4rem clamp(2rem, 4vw, 3.5rem); }
.themes dt { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.01em; }
.themes dd { margin-top: .4rem; color: var(--ink-quiet); }

/* questions, prose */
.questions { background: var(--neutral); }
.questions ul { margin-top: 2rem; }
.questions li { padding: .5rem 0; font-size: clamp(1.25rem, 1.1rem + 1vw, 1.875rem); line-height: 1.3; color: var(--deep); letter-spacing: -.015em; }
.prose h2 { font-size: 1.625rem; margin: 2.5rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: var(--space-measure); color: var(--ink-quiet); font-size: var(--type-lead); }
.prose p + p, .prose p + .actions { margin-top: 1.1rem; }
.prose .action { color: var(--deep); }
.prose .action .arrow { color: var(--gold); }

/* engagement, footer */
.engage { background: var(--app-blue); color: var(--white); }
.engage h2 span { display: block; padding: .08em 0 .12em; }
.engage .actions { margin-top: 2.5rem; }
footer { background: var(--app-blue-end); color: var(--white); padding: 4rem 0 2.5rem; font-size: var(--type-small); }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
footer .who p { margin-top: .8rem; color: var(--mist); }
footer h2 { font-size: var(--type-small); font-weight: 600; letter-spacing: 0; margin-bottom: .5rem; }
footer nav a { display: block; width: fit-content; min-width: 24px; padding: 6px 0; color: var(--mist); }
footer nav a:hover { color: var(--gold-tone); }
.copyright { grid-column: 1 / -1; margin-top: 1rem; color: var(--mist); }

@media (max-width: 900px) {
  .loop { display: none; }
  .path ul { display: block; border-left: 1.5px solid var(--gold-tone); margin-left: 7px; }
  .path li { padding: 0 0 2.2rem 30px; text-align: left; }
  .path li:last-child { padding-bottom: 0; }
  .path li::before, .path li:nth-child(even)::before { left: -1px; top: 6px; }
  .product, .product:nth-of-type(even), .themes .wrap, .industryhead .wrap { grid-template-columns: minmax(0, 1fr); }
  .product:nth-of-type(even) > div { order: 0; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .who { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .top .wide { display: none; }
  .menu { display: block; }
  .menu summary { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -12px; cursor: pointer; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span, .menu summary span::before { display: block; width: 22px; height: 2px; background: var(--white); content: ""; transition: transform .2s; }
  .menu summary span { transform: translateY(-4px); }
  .menu summary span::before { transform: translateY(8px); }
  .menu[open] summary span { transform: rotate(45deg); }
  .menu[open] summary span::before { transform: rotate(-90deg); }
  .menu nav { position: absolute; left: 0; right: 0; top: 76px; padding: .75rem var(--space-gutter) 1.5rem; background: var(--midnight); }
  .menu nav a { display: block; padding: 13px 0; font-size: 1.1875rem; }
  .hero { min-height: max(100svh, 780px); }
  .hero .copy { padding-top: 6.5rem; }
  .focus { width: min(19rem, 70vw); min-height: calc(min(19rem, 70vw) / 1.6); }
  .poster { width: 211.1%; }
  .ecosystem { padding-bottom: 4.5rem; }
  .veil { mask-image: radial-gradient(ellipse 120% 42% at 35% 28%, rgb(0 0 0 / .93) 55%, transparent 100%), linear-gradient(to bottom, rgb(0 0 0 / .8), transparent 14%, transparent 84%, rgb(0 0 0 / .85)); }
  .motion { right: 50%; transform: translateX(50%); bottom: 1rem; }
  .compare table, .compare tbody, .compare td { display: block; }
  .compare thead tr { display: flex; justify-content: space-between; gap: 1rem; }
  .compare tbody tr { display: block; border-top: 1px solid var(--line); padding: 1.1rem 0; }
  .compare th, .compare th + th { width: auto; padding: 0 0 1rem; font-size: 1rem; }
  .compare th + th { text-align: right; }
  .compare td, .compare td + td { padding: 0; border: 0; }
  .compare td + td { padding-top: .35rem; }
  .compare td div { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
