@font-face { font-family: "Pan Sans"; src: url("fonts/PanSans-ExtraLight.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Pan Sans"; src: url("fonts/PanSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pan Sans"; src: url("fonts/PanSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Pan Sans"; src: url("fonts/PanSans-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Pan Sans"; src: url("fonts/PanSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Pan landing, dressed like Hermes: a near-black page in a thin blue frame, giant thin caps, tiny caps labels,
   small square buttons, and full-bleed blue bands where plotted curves sit in scanlines. Pan Sans (Inter, renamed, quotes drawn as waves) over the system stack.
   Colours are brand/tokens.css (the accent) plus the ink and band shades below. */
:root {
  --accent: #0b6ba8;          /* links and actions on paper, AA */
  --btn: #0b6ba8;             /* solid buttons, white label */
  --frame: #0b6ba8;
  --band: #0b6ba8;
  --band-sub: #d3e8f6;
  --band-art: #8cc7ea;
  --band-line: rgba(255, 255, 255, .22);
  --ring: color-mix(in srgb, #0f86c9 40%, transparent);
  --bg: #fdfdfd;
  --surface: #f2f3f5;
  --line: #dcdde1;
  --text: #1d1d1f;
  --sub: #5c5e66;
  --display: "Pan Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font: "Pan Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --wrap: 1120px;
  --r-sq: 2px;
  --r-icon: 22.5%;
  --motion: .2s ease;
  --scan: repeating-linear-gradient(to bottom, #000 0 1.5px, transparent 1.5px 3px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .28 0 0 0 -.06'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #4fb3ea;
    --band: #0a5a90;
    --band-sub: #cfe6f6;
    --band-art: #6fb8e6;
    --bg: #050505;
    --surface: #111214;
    --line: #26282c;
    --text: #f5f5f7;
    --sub: #a1a3ab;
  }
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 17px; line-height: 24px; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
code { font-size: .9em; padding: 2px 6px; border-radius: var(--r-sq); background: var(--surface); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-5); }
.center { text-align: center; }

h1, h2, h3, .label { font-family: var(--display); }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(64px, 14vw, 216px); line-height: .9; font-weight: 200; text-transform: uppercase; letter-spacing: -.005em; }
h2 { font-size: clamp(44px, 7.4vw, 112px); line-height: .92; font-weight: 200; text-transform: uppercase; }
h3 { font-size: 28px; line-height: 32px; font-weight: 300; }
.label { font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sub); margin-bottom: var(--sp-4); }

/* the curve mark, in the accent, over a section title */
.mark { display: block; width: 56px; height: 56px; margin: 0 auto var(--sp-4); background: var(--accent); -webkit-mask: url(mark.svg) center / contain no-repeat; mask: url(mark.svg) center / contain no-repeat; }

.btn { height: 40px; padding: 0 var(--sp-4); border-radius: var(--r-sq); display: inline-flex; align-items: center; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background var(--motion), color var(--motion), border-color var(--motion); }
.btn-solid { background: var(--btn); color: #fff; }
.btn-solid:hover { background: color-mix(in srgb, var(--btn) 82%, #fff); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

.nav { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-5); height: 56px; padding: 0 var(--sp-5); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.nav-brand { grid-column: 2; display: flex; align-items: center; gap: var(--sp-2); font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.nav-brand img { width: 28px; height: 28px; border-radius: var(--r-icon); }
.nav-links { display: flex; gap: var(--sp-5); font-family: var(--display); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.nav-links a { text-decoration: none; color: var(--sub); }
.nav-links a:hover { color: var(--text); }
.nav-end { grid-column: 3; justify-self: end; }
@media (max-width: 640px) { .nav { grid-template-columns: auto 1fr; } .nav-links { display: none; } .nav-brand { grid-column: 1; } }
/* the thin blue frame down both edges of the window */
@media (min-width: 900px) { body::after { content: ""; position: fixed; inset: 0; border-inline: 4px solid var(--frame); pointer-events: none; z-index: 30; } }

.hero { padding: var(--sp-9) 0 var(--sp-8); }
.lead { max-width: 560px; margin: var(--sp-6) auto 0; color: var(--sub); }
.cta { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-6); }
.center .cta { justify-content: center; }
.fine { margin-top: var(--sp-3); font-size: 13px; line-height: 16px; color: var(--sub); }

/* Curves drawn by landing.js, tinted and cut into scanlines like an engraving */
.art { position: relative; overflow: hidden; background: var(--grain), var(--band); color: var(--band-art); }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: var(--scan); mask-image: var(--scan); }

/* the live app, straight on the blue stage */
.demo-wrap { margin: var(--sp-8) clamp(0px, 3vw, 44px) 0; }
.stage { position: relative; overflow: hidden; background: var(--grain), var(--band); padding: clamp(16px, 5vw, 96px) clamp(0px, 7vw, 128px); }
.stage .art-bg { position: absolute; inset: 0; background: none; opacity: .7; }
.app { position: relative; display: block; width: 100%; max-width: 1040px; height: clamp(460px, 62vh, 600px); margin: 0 auto; border: 0; background: #000; }
.demo-hint { margin-top: var(--sp-3); font-size: 13px; color: var(--sub); text-align: center; }

/* The blue band: curves in scanlines under the section head, then the six features as ruled cells */
.band { margin: 0 clamp(0px, 3vw, 44px); background: var(--grain), var(--band); color: #fff; overflow: hidden; }
.band .label { color: var(--band-sub); }
.band-head { position: relative; text-align: center; padding: var(--sp-9) var(--sp-5) var(--sp-9); }
.band-head .art-bg { position: absolute; inset: 0; background: none; opacity: .8; }
.band-copy { position: relative; }
.band-copy p:last-child { margin: var(--sp-6) auto 0; max-width: 480px; color: var(--band-sub); }
.frows { border-top: 1px solid var(--band-line); }
.frow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-bottom: 1px solid var(--band-line); }
.frow .art { aspect-ratio: 3 / 2; background: var(--grain), color-mix(in srgb, #fff 6%, var(--band)); }
.frow:nth-child(even) .art { order: 2; }
.frow > div:not(.art) { padding: var(--sp-7) clamp(24px, 6vw, 96px); max-width: 560px; }
.frow h3 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1; font-weight: 200; }
.frow p:last-child { margin-top: var(--sp-4); color: var(--band-sub); }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); }
.cell { padding: var(--sp-6) var(--sp-6) var(--sp-7); border-right: 1px solid var(--band-line); }
.cell:last-child { border-right: 0; }
.cell .label { margin-bottom: var(--sp-5); }
.cell p:last-child { margin-top: var(--sp-3); color: var(--band-sub); font-size: 15px; line-height: 22px; }

.sec { padding: var(--sp-9) 0; }
.body { color: var(--sub); margin-top: var(--sp-5); max-width: 560px; }
.center .body { margin-left: auto; margin-right: auto; }
.term-stage { margin-top: var(--sp-7); }
.term { position: relative; max-width: 680px; margin: 0 auto; text-align: left; background: var(--bg); border: 1px solid var(--line); padding: var(--sp-5); }
.term pre { font: 13px/20px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; }
.term .dim { color: var(--sub); }
.term figcaption { margin-top: var(--sp-3); font-size: 13px; color: var(--sub); }
.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-4); text-align: left; }
.prod { display: grid; align-content: start; gap: var(--sp-2); }
.prod .art { margin: 0 0 var(--sp-3); aspect-ratio: 3 / 2; }
.prod .label { margin-bottom: 0; }
.prod p:not(.label) { color: var(--sub); font-size: 15px; line-height: 22px; }
.prod a { color: var(--accent); font-size: 15px; text-decoration: none; }
.prod a:hover { text-decoration: underline; }

.plats { border-top: 1px solid var(--line); }
.plat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-7); text-align: center; }
.plat-row > div { padding: var(--sp-6); border: 1px solid var(--line); display: grid; gap: var(--sp-2); justify-items: center; align-content: start; }
.plat-row small { font-family: var(--display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sub); }
.plat-row b { font-family: var(--display); font-weight: 300; font-size: 40px; line-height: 44px; text-transform: uppercase; }
.plat-row p { color: var(--sub); font-size: 15px; line-height: 22px; margin-bottom: var(--sp-3); }

.foot { text-align: center; padding: var(--sp-8) var(--sp-4) var(--sp-5); background: var(--bg); overflow: hidden; border-top: 1px solid var(--line); }
.foot-top { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-7); text-align: left; }
.foot-brand { display: grid; gap: var(--sp-2); align-content: start; }
.foot-brand img { border-radius: var(--r-icon); }
.foot-brand b { font-family: var(--display); font-weight: 300; font-size: 40px; line-height: 40px; text-transform: uppercase; }
.foot-brand p { color: var(--sub); font-size: 15px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.foot-cols div { display: grid; gap: var(--sp-2); align-content: start; }
.foot-cols .label { margin-bottom: var(--sp-2); }
.foot-cols a { color: var(--text); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--accent); }
.word-band { color: var(--accent); position: relative; width: 100vw; margin: var(--sp-6) 0 0 calc(50% - 50vw); height: clamp(160px, 24vw, 340px); }
.word-band canvas { width: 100%; height: 100%; display: block; }
.legal { margin-top: var(--sp-4); font-size: 13px; color: var(--sub); }
.legal a { color: var(--sub); }

html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.in-view { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .frow { grid-template-columns: 1fr; }
  .frow:nth-child(even) .art { order: 0; }
  .cells, .prods, .plat-row { grid-template-columns: 1fr; }
  .cell { border-right: 0; border-bottom: 1px solid var(--band-line); }
  .cell:last-child { border-bottom: 0; }
  .foot-top { flex-direction: column; }
  .foot-cols { gap: var(--sp-7); }
}

/* Liquid glass: a translucent pane that blurs and saturates what is behind it, with a lit top edge and a hairline.
   Inset highlights only, no drop shadows. */
.glass {
  background: color-mix(in srgb, var(--bg) 52%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(255, 255, 255, .08);
}
@media (prefers-color-scheme: dark) { .glass { border-color: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .04); } }
.btn-ghost.glass { color: var(--text); }
.btn-ghost.glass:hover { border-color: rgba(255, 255, 255, .6); }

/* The nav floats over the hero as a glass capsule */
.nav { top: 12px; height: 56px; margin: 12px clamp(12px, 3vw, 44px) -68px; border-radius: 999px; padding: 0 var(--sp-3) 0 var(--sp-5); }
.nav.glass { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.nav .btn { border-radius: 999px; height: 40px; }
.band .glass, .stage .glass { background: color-mix(in srgb, var(--bg) 40%, transparent); }

/* Pan in a halftone, still: the engraving is a mask over the band tint */
.hero-band { position: relative; margin: 0 clamp(0px, 3vw, 44px); height: clamp(520px, 92vh, 860px); background: var(--grain), var(--band); overflow: hidden; color: #fff; }
.spot { position: absolute; inset: 0 0 96px 0; background: var(--band-art); opacity: .85; -webkit-mask-image: url(art/pan.png); mask-image: url(art/pan.png); -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: 60% 42%; mask-position: 60% 42%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.badge { display: inline-block; line-height: 0; }
.badge img { display: block; height: 48px; width: auto; }
.badge:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-9) var(--sp-5) var(--sp-6); }
.hero-copy .label { color: var(--band-sub); }
.hero-copy h1 { margin-bottom: 0; }
.hero { padding-top: var(--sp-8); }
.hero .lead { margin-top: 0; font-size: 21px; line-height: 28px; color: var(--text); }
.hero .demo-wrap { margin-top: var(--sp-7); }

/* Hero background is the live app; copy sits over it and lets clicks through */
.app-bg { position: absolute; --copy: calc(clamp(100px, 17vw, 250px) + 32px); top: 76px; left: 0; width: 100%; height: calc(100% - 76px - var(--copy)); border: 0; background: #000; }
.hero-copy { pointer-events: none; padding-top: 0; padding-bottom: var(--sp-5); }
.gods { height: clamp(460px, 72vh, 740px); }
.gods .spot { inset: 0; }

