/* Marketing-site layout. Fixed-width "page floating in a colored void" —
   the pre-responsive-design convention (RWD wasn't coined until 2010):
   real 2007-2008 sites did not reflow, they had one fixed-width column
   (~960px) centered over a solid/gradient body background, with a drop
   shadow marking the page edge. Deliberately not fluid/auto-fit grids. */
body.site { min-height: 100vh; background: linear-gradient(var(--sky), var(--mist) 45%, #eef8ea 100%); font-family: var(--font-web); }
body.brochure { font-family: var(--font-web); }

.page { max-width: 960px; margin: 18px auto 40px; background: #eef6fb; border: 1px solid #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(11,63,115,.35), inset 0 0 0 1px rgba(255,255,255,.6); overflow: hidden; }

/* Top nav: a real gel bar, not a floating rounded pill. Tabs read as
   selected via an inset/pressed look, matching .gel's own pressed state. */
.sitenav { display: flex; align-items: center; gap: 10px; padding: 10px 22px; background: linear-gradient(180deg, rgba(255,255,255,.5) 0 45%, rgba(0,0,0,0) 45%), linear-gradient(180deg, #bfe2f5, #8fc7e8); border-bottom: 1px solid rgba(11,63,115,.25); box-shadow: inset 0 -1px 0 rgba(255,255,255,.5); }
.sitenav .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--deep-water); text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.sitenav .links { margin-left: auto; display: flex; gap: 3px; font-size: 12px; }
.sitenav .links a { color: var(--deep-water); text-decoration: none; font-weight: 700; padding: 5px 14px; border-radius: 3px; border: 1px solid transparent; }
.sitenav .links a:hover { background: rgba(255,255,255,.35); }
.sitenav .links a[aria-current] { background: #fff; border-color: rgba(11,63,115,.2); box-shadow: inset 0 1px 3px rgba(11,63,115,.25); }
@media (max-width: 640px) {
  .sitenav { flex-wrap: wrap; padding: 10px 12px; }
  .sitenav .links { margin-left: 0; width: 100%; flex-wrap: wrap; justify-content: center; }
  .sitenav .links a { padding: 5px 9px; }
}

.hero { text-align: center; padding: 28px 24px 16px; border-bottom: 1px solid rgba(76,155,214,.25); }
.hero .logomark { width: 54px; height: 54px; }
.hero h1 { margin: 8px 0 1px; font-size: 22px; color: var(--deep-water); }
.hero .tagline { margin: 0 0 6px; font-style: italic; opacity: .85; }
.hero .lede { max-width: 560px; margin: 0 auto 14px; font-size: 12.5px; line-height: 1.6; }
.hero .cta { margin: 0 0 18px; }
.hero .cta .gel[disabled] { opacity: .55; cursor: default; background: linear-gradient(180deg, rgba(255,255,255,.4) 0 50%, rgba(0,0,0,0) 50%), linear-gradient(#9fb9a0, #7c9a7d); border-color: #5a7a5c; }
.hero .cta small { display: block; margin-top: 5px; font-size: 10.5px; opacity: .65; }

/* LCD hit-counter style stat tiles, a real Web-2.0/early-web signifier —
   deliberately not flat modern "SaaS stat cards" (see docs/decisions.md). */
.stats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 auto; }
.stat { padding: 8px 14px; text-align: center; min-width: 118px; }
.stat .lcd { font-family: "Consolas", "Courier New", monospace; font-size: 20px; font-weight: 700; letter-spacing: 1px; color: #eafff2; background: #0c2118; border-radius: 3px; padding: 3px 5px; text-shadow: 0 0 6px #6dffb0, 0 0 2px #6dffb0; box-shadow: inset 0 2px 4px rgba(0,0,0,.6); }
.stat .lbl { display: block; margin-top: 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }

.section { padding: 18px 24px; border-bottom: 1px solid rgba(76,155,214,.25); }
.section:last-of-type { border-bottom: none; }

/* Portal-gadget module title bar — the iGoogle/Netvibes widget convention,
   used for every content module instead of a plain floating <h2>. */
.pbar { margin: -18px -24px 16px; padding: 7px 24px; font: 700 12px var(--font-web); text-transform: uppercase; letter-spacing: .03em; color: var(--deep-water); background: linear-gradient(180deg, rgba(255,255,255,.6) 0 45%, rgba(0,0,0,0) 45%), linear-gradient(180deg, #cfe8f7, #a9d2ec); border-bottom: 1px solid rgba(11,63,115,.2); box-shadow: inset 0 -1px 0 rgba(255,255,255,.5); }

.feature-grid, .case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-card, .case-card { padding: 12px 14px; }
.feature-card h3 { margin: 0 0 5px; font-size: 13px; color: var(--deep-water); }
.feature-card p, .case-card p { margin: 0; font-size: 11.5px; line-height: 1.55; }
.feature-card .ico { width: 40px; height: 40px; margin-bottom: 6px; background: center / contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0,60,90,.35)); }
.feature-card .ico-sync { background-image: url(/static/img/icons/sync.svg); }
.feature-card .ico-recall { background-image: url(/static/img/icons/recall.svg); }
.feature-card .ico-storage { background-image: url(/static/img/icons/storage.svg); }
.feature-card .ico-backup { background-image: url(/static/img/icons/backup.svg); }
.feature-card .ico-connect { background-image: url(/static/img/icons/connect.svg); }
.feature-card .ico-process { background-image: url(/static/img/icons/process.svg); }
.feature-card .ico-access { background-image: url(/static/img/icons/access.svg); }

.case-card img { width: 100%; border-radius: 4px; display: block; margin-bottom: 8px; border: 1px solid rgba(255,255,255,.7); }

.hero-shot { max-width: 640px; margin: 4px auto 0; padding: 0 24px; }
.hero-shot img { width: 100%; border-radius: 6px; display: block; border: 1px solid rgba(255,255,255,.7); box-shadow: 0 10px 30px rgba(11,63,115,.25); }
.case-card .quote { font-style: italic; margin-top: 7px; font-size: 11.5px; }
.case-card .who { display: block; margin-top: 3px; font-size: 10.5px; opacity: .75; font-style: normal; }

.pull-quote { max-width: 560px; margin: 0 auto; padding: 18px 24px; text-align: center; }
.pull-quote p { font-style: italic; font-size: 13px; line-height: 1.6; margin: 0; }
.pull-quote footer { margin-top: 10px; font-size: 11px; opacity: .75; }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 480px; }
.timeline li { padding: 7px 0 7px 18px; border-left: 2px solid var(--aqua); position: relative; font-size: 12px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 2px #fff; }
.timeline li:last-child { border-left-color: transparent; }
.timeline b { display: block; color: var(--deep-water); font-size: 12.5px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.team-card { text-align: center; padding: 12px 8px; }
.team-card img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(11,63,115,.35); margin-bottom: 6px; }
.team-card b { display: block; font-size: 11.5px; color: var(--deep-water); }
.team-card small { display: block; font-size: 10px; opacity: .75; margin-top: 2px; }

.office-shot { display: block; width: 100%; margin: 0 auto; border-radius: 5px; border: 1px solid rgba(255,255,255,.7); }

.case-grid { grid-template-columns: repeat(2, 1fr); }

.sitefooter { text-align: center; padding: 14px 24px 18px; font-size: 10.5px; opacity: .7; background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,0)); }
.sitefooter p { margin: 3px 0; }
.sitefooter .hits { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; }
.sitefooter .hits .lcd { font-family: "Consolas", "Courier New", monospace; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #eafff2; background: #0c2118; border-radius: 2px; padding: 1px 4px; text-shadow: 0 0 4px #6dffb0; }

/* --- Status page: portal-widget panels, live graph, ticker --- */
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 4px; }
.status-tile { padding: 10px 12px; text-align: center; }
.status-tile .lbl { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; opacity: .7; margin-bottom: 4px; }
.status-tile .val { font-size: 15px; font-weight: 700; color: var(--deep-water); }

.portal { padding: 0; overflow: hidden; }
.portal .ptitle { padding: 6px 12px; font: 700 11px var(--font-web); background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(76,155,214,.3)); border-bottom: 1px solid rgba(255,255,255,.6); display: flex; justify-content: space-between; color: var(--deep-water); }
.portal .ptitle .live { color: var(--grass); font-weight: 700; }
.portal .pbody { padding: 10px 14px 14px; }

.graph-wrap svg { display: block; width: 100%; height: 220px; }
/* Nodes are lit while their person is predicted awake, dim while asleep, and flash when a predicted event comes due. */
.gnode { fill: #4c9bd6; opacity: .8; transition: opacity 2s, fill .6s; cursor: pointer; }
.gnode.asleep { opacity: .18; }
.gnode.hot { fill: var(--aqua); opacity: 1; }
.gnode.gold { fill: var(--aqua); }
.gnode.gold.tell { fill: var(--gold); opacity: .95; filter: drop-shadow(0 0 3px var(--gold)); }
.gedge { stroke: rgba(76,155,214,.3); stroke-width: 1; transition: stroke .6s; }
.gedge.hot { stroke: rgba(47,196,216,.85); }
.gping { fill: none; stroke: var(--aqua); stroke-width: 1.2; }
.glabel { font: 700 9px var(--font-web); fill: var(--deep-water); opacity: .55; text-transform: uppercase; letter-spacing: .04em; }
.graph-body { position: relative; }
/* Detection chrome: the season's one device allowed everywhere (visual style spec). */
.gdetect rect { fill: none; stroke: #50ff50; stroke-width: 1; shape-rendering: crispEdges; }
.gdetect line { stroke: #50ff50; stroke-width: 1; stroke-dasharray: 3 2; }
.gdetect text { font: 10px var(--font-mono); fill: #50ff50; paint-order: stroke; stroke: rgba(0,24,0,.75); stroke-width: 2.5px; }
.gtip { position: absolute; pointer-events: none; background: rgba(255,255,255,.95); border: 1px solid rgba(76,155,214,.5); border-radius: 3px; padding: 2px 6px; font: 11px var(--font-mono); color: var(--deep-water); white-space: nowrap; transform: translate(-50%, calc(-100% - 8px)); text-shadow: none; }
.greadout { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 0; padding-top: 6px; border-top: 1px solid rgba(76,155,214,.25); font-size: 10.5px; color: var(--deep-water); }
.greadout b { font: 11.5px var(--font-mono); font-variant-numeric: tabular-nums; }
.glog { list-style: none; margin: 6px 0 0; padding: 0; min-height: 4.8em; font: 10.5px/1.6 var(--font-mono); }
.glog li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glog li + li { opacity: .55; }

.ticker-wrap { overflow: hidden; }
.ticker-track { white-space: nowrap; font: 11px var(--font-mono); padding: 2px 0; }
.ticker-track.go { animation: ticker 26s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track.go { animation: none; } }

/* Status page: service history, nightly jobs */
.status-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
#history { display: block; width: 100%; margin-bottom: 10px; }
.stable { width: 100%; border-collapse: collapse; font: 11px var(--font-web); color: var(--ink); }
.stable th { text-align: left; font-weight: 700; color: var(--deep-water); border-bottom: 1px solid rgba(76,155,214,.35); padding: 4px 6px; }
.stable td { padding: 4px 6px; border-bottom: 1px solid rgba(76,155,214,.12); white-space: nowrap; }
.stable .num { text-align: right; font-variant-numeric: tabular-nums; }
.stable .ok { color: #2f7d1f; }
.scroll-x { overflow-x: auto; }

/* --- night: the same fixed-width page under a night sky --- */
html[data-night] body.site { background: linear-gradient(#040d17, #0c1f33 45%, #0f261c 100%); }
html[data-night] .page { background: #10243a; border-color: #2b4a66; box-shadow: 0 10px 30px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.05); }
html[data-night] .sitenav { background: linear-gradient(180deg, rgba(255,255,255,.12) 0 45%, rgba(0,0,0,0) 45%), linear-gradient(180deg, #1f4a70, #13314f); border-bottom-color: rgba(0,0,0,.4); box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
html[data-night] .sitenav .brand { text-shadow: 0 1px 2px rgba(0,0,0,.5); }
html[data-night] .sitenav .links a:hover { background: rgba(255,255,255,.1); }
html[data-night] .sitenav .links a[aria-current] { background: #0a1b2d; border-color: rgba(191,225,251,.25); box-shadow: inset 0 1px 3px rgba(0,0,0,.5); }
html[data-night] .pbar { background: linear-gradient(180deg, rgba(255,255,255,.1) 0 45%, rgba(0,0,0,0) 45%), linear-gradient(180deg, #1c4264, #153454); border-bottom-color: rgba(0,0,0,.35); box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); }
html[data-night] .portal .ptitle { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(76,155,214,.18)); border-bottom-color: rgba(255,255,255,.12); }
html[data-night] .hero, html[data-night] .section, html[data-night] .greadout { border-color: rgba(120,180,230,.18); }
html[data-night] .timeline li::before { box-shadow: 0 0 0 2px #10243a; }
html[data-night] .team-card img, html[data-night] .case-card img, html[data-night] .office-shot, html[data-night] .hero-shot img { border-color: rgba(191,225,251,.3); }
html[data-night] .stable th { border-bottom-color: rgba(120,180,230,.35); }
html[data-night] .stable td { border-bottom-color: rgba(120,180,230,.12); }
html[data-night] .stable .ok { color: #7fd26a; }
html[data-night] .gedge { stroke: rgba(120,180,230,.28); }
html[data-night] .gnode { fill: #6db4e6; }
html[data-night] .gtip { background: rgba(8,22,38,.95); border-color: rgba(120,180,230,.45); }
html[data-night] .sitefooter { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,0)); }

/* Blog, release notes and help: stacked glass cards */
.post, .rel, .faq { padding: 14px 18px; margin: 0 auto 12px; max-width: 760px; }
.post .meta, .rel .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 11px; opacity: .8; }
.post h2 { margin: 4px 0 8px; font-size: 16px; color: var(--deep-water); }
.post p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.65; }
.rel .meta b { font-size: 14px; color: var(--deep-water); }
.rel ul { margin: 8px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.6; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 13px; color: var(--deep-water); }
.faq p { margin: 8px 0 2px; font-size: 12.5px; line-height: 1.65; }
.sitenav .links { flex-wrap: wrap; }

/* Press and download */
.post .quote { font-style: italic; margin: 0; }
.sub { max-width: 760px; margin: 18px auto 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--deep-water); }
.facts { max-width: 760px; margin: 0 auto; }
.stable .mono { font: 10.5px var(--font-mono); }
.section .portal { max-width: 760px; margin-left: auto; margin-right: auto; }

/* --- design review pass: aero backdrop, gel accordions, aligned cards, phone layout --- */
/* Soft sky light, a few dew-bubble glows at the edges and a grass-green horizon behind the page, the way a 2008 wallpaper sits. */
body.site {
  background:
    radial-gradient(ellipse 520px 280px at 10% 5%, rgba(255,255,255,.7), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 400px 240px at 92% 10%, rgba(255,255,255,.5), rgba(255,255,255,0) 70%),
    radial-gradient(circle 46px at 5% 34%, rgba(255,255,255,.55), rgba(255,255,255,0) 72%),
    radial-gradient(circle 30px at 95% 42%, rgba(255,255,255,.5), rgba(255,255,255,0) 72%),
    radial-gradient(circle 60px at 3% 66%, rgba(200,245,255,.5), rgba(200,245,255,0) 72%),
    radial-gradient(ellipse 760px 280px at 50% 100%, rgba(103,189,63,.38), rgba(103,189,63,0) 75%),
    linear-gradient(var(--sky), var(--mist) 45%, #eef8ea 100%);
  background-attachment: fixed;
}
html[data-night] body.site {
  background:
    radial-gradient(ellipse 520px 280px at 10% 5%, rgba(110,180,240,.14), rgba(110,180,240,0) 70%),
    radial-gradient(circle 46px at 5% 34%, rgba(150,215,255,.14), rgba(150,215,255,0) 72%),
    radial-gradient(circle 30px at 95% 42%, rgba(150,215,255,.12), rgba(150,215,255,0) 72%),
    radial-gradient(ellipse 760px 280px at 50% 100%, rgba(80,170,70,.2), rgba(80,170,70,0) 75%),
    linear-gradient(#040d17, #0c1f33 45%, #0f261c 100%);
  background-attachment: fixed;
}
.post, .rel, .faq { box-sizing: border-box; width: 100%; }
/* Help accordion: a glossy orb, aqua when closed and green when open (the same orb as the logo and feature icons). */
.faq summary { list-style: none; display: flex; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff 0, #bff3ff 22%, #2fc4d8 62%, #0a6f8c 100%);
  box-shadow: inset 0 -1px 2px rgba(0,60,90,.5), 0 1px 3px rgba(0,40,70,.45); }
.faq[open] summary::before { background: radial-gradient(circle at 35% 28%, #fff 0, #d6f7c8 22%, #67bd3f 62%, #2f7d1f 100%); }
@media (max-width: 640px) {
  .feature-grid, .case-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stable td, .stable th { white-space: normal; }
  .stable .mono { word-break: break-all; }
  .post, .rel, .faq { padding: 12px 14px; }
  .post .meta, .rel .meta { flex-direction: column; gap: 2px; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- motion and hover: the page feels touched, not printed --- */
.feature-card, .case-card, .post, .rel, .faq, .team-card { transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover, .case-card:hover, .post:hover, .rel:hover, .faq:hover, .team-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 12px 26px rgba(11,63,115,.45); }
.sitenav .links a { transition: background .15s, box-shadow .15s; }
.sitenav .links a:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 8px rgba(255,255,255,.45); }
.feature-card .ico { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.page { position: relative; z-index: 1; }
/* dew bubbles rising slowly behind the page (one 600px tile that loops seamlessly) */
body.site::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle 16px at 7% 82%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
    radial-gradient(circle 26px at 93% 66%, rgba(255,255,255,.45), rgba(255,255,255,0) 70%),
    radial-gradient(circle 10px at 11% 48%, rgba(220,250,255,.6), rgba(220,250,255,0) 70%),
    radial-gradient(circle 20px at 89% 26%, rgba(255,255,255,.4), rgba(255,255,255,0) 70%),
    radial-gradient(circle 12px at 4% 18%, rgba(220,250,255,.5), rgba(220,250,255,0) 70%);
  background-size: 100% 600px; background-repeat: repeat-y; animation: drift 120s linear infinite;
}
@keyframes drift { to { background-position: 0 -600px; } }
html[data-night] body.site::before { opacity: .4; }
@media (prefers-reduced-motion: reduce) {
  body.site::before, .feature-card .ico { animation: none; }
  .feature-card:hover, .case-card:hover, .post:hover, .rel:hover, .faq:hover, .team-card:hover { transform: none; }
}

/* Unclaimed items */
.uq { padding: 4px 8px; border: 1px solid #9fc3dd; border-radius: 3px; margin-bottom: 8px; width: 220px; }
html[data-night] .uq { background: #0b1c2e; color: var(--ink); border-color: #3a5f82; }
.unc td { white-space: nowrap; }
.unc tr.has-preview { cursor: pointer; }
.unc tr.has-preview td:first-child { text-decoration: underline dotted; text-underline-offset: 3px; }
.unc tr.has-preview:hover { background: rgba(255,255,255,.18); }
.unc tr.prev td { white-space: normal; padding: 6px 10px 10px; background: rgba(0,0,0,.18); }
.unc tr.prev pre { margin: 0; font: 12px/1.6 var(--font-mono); white-space: pre-wrap; }

/* parity: icons on Contact and the 404, faces on the Blog */
.feature-card .ico-mail { background-image: url(/static/img/icons/mail.svg); }
.feature-card .ico-support { background-image: url(/static/img/icons/support.svg); }
.feature-card .ico-press { background-image: url(/static/img/icons/press.svg); }
.feature-card .ico-address { background-image: url(/static/img/icons/address.svg); }
.hero .ico { width: 52px; height: 52px; margin: 0 auto 8px; background: center / contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0,60,90,.35)); }
.hero .ico-recall { background-image: url(/static/img/icons/recall.svg); }
.post .by { display: flex; align-items: center; gap: 8px; }
.post .av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 1px 4px rgba(0,40,70,.45); }

/* --- /unclaimed: the same Aero material, drained ---
   Low colour depth (the sky is ten hard bands, as if recompressed), cloudy cold glass, a logo that has lost its aqua, dew that sinks
   instead of rising, glass that reflects the viewer, and an index pass that settles on the newest item. */
body.unc-page {
  background:
    radial-gradient(ellipse 800px 260px at 50% 100%, rgba(120,150,110,.35), rgba(120,150,110,0) 75%),
    linear-gradient(180deg, #a3b6ba 0.0% 10.0%, #a5b7b9 10.0% 20.0%, #a8b8b7 20.0% 30.0%, #aabab6 30.0% 40.0%, #adbbb4 40.0% 50.0%, #afbcb3 50.0% 60.0%, #b2bdb1 60.0% 70.0%, #b4bfb0 70.0% 80.0%, #b7c0ae 80.0% 90.0%, #b9c1ad 90.0% 100.0%);
  background-attachment: fixed;
}
html[data-night] body.unc-page {
  background:
    radial-gradient(ellipse 800px 260px at 50% 100%, rgba(70,100,70,.3), rgba(70,100,70,0) 75%),
    linear-gradient(180deg, #040c0d 0.0% 10.0%, #050d0e 10.0% 20.0%, #060f0e 20.0% 30.0%, #07100f 30.0% 40.0%, #08120f 40.0% 50.0%, #081310 50.0% 60.0%, #091510 60.0% 70.0%, #0a1611 70.0% 80.0%, #0b1811 80.0% 90.0%, #0c1912 90.0% 100.0%);
  background-attachment: fixed;
}
body.unc-page::before { animation-direction: reverse; animation-duration: 240s; opacity: .45; }
.unc-page .logomark { filter: grayscale(.7) drop-shadow(0 0 5px rgba(120,185,165,.4)); }
.unc-page .portal.glass {
  position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(215,238,232,.3) 0%, rgba(215,238,232,.05) 42%, rgba(0,0,0,0) 43%),
    linear-gradient(180deg, rgba(78,112,116,.82), rgba(42,72,74,.88));
  border-color: rgba(205,235,226,.45); backdrop-filter: blur(6px) saturate(.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 10px 26px rgba(0,20,20,.55);
}
.unc-page .portal::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, -40px), rgba(205,255,238,.2), rgba(205,255,238,0) 70%);
}
.unc-page .ptitle { background: linear-gradient(180deg, rgba(150,185,180,.55), rgba(80,115,115,.5)); }
.unc tr.scan td { background: linear-gradient(90deg, rgba(150,235,215,0), rgba(150,235,215,.24) 28%, rgba(150,235,215,0)); }
.unc tr.scan td:first-child { box-shadow: inset 2px 0 0 rgba(175,255,232,.75); }
.unc tr.live td { color: #ffe3a3; background: rgba(230,170,80,.13); }
.unc tr[data-name="brb.txt"] td { padding-top: 5px; }
@media (prefers-reduced-motion: reduce) { body.unc-page::before { animation: none; } .unc-page .portal::after { display: none; } }

/* Unclaimed items: thumbnails (a burst of one kitchen, and what it becomes in the tear) */
.unc .th { width: 36px; padding: 2px 4px; }
.thumb { display: block; width: 32px; height: 24px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.3);
  background: url(/static/img/unclaimed/thumbs.jpg) calc(var(--x) * -32px) calc(var(--y) * -24px) / 256px 144px; }
.thumb.f { background-image: url(/static/img/unclaimed/faces.jpg); }

/* the tear's held frame: names crawl, the faces swim, the dew drop breathes */
.cor-crawl tr.item td:nth-child(2) { animation: cor-crawl .18s steps(2) infinite; }
@keyframes cor-crawl { 50% { transform: translateX(1px); } }
.cor-crawl .thumb.f { animation: cor-swim 1.3s ease-in-out infinite alternate; }
@keyframes cor-swim {
  from { background-position: calc(var(--x) * -32px) calc(var(--y) * -24px); }
  to { background-position: calc(var(--x) * -32px + 3px) calc(var(--y) * -24px + 2px); }
}
.cor-drop { animation: cor-breathe 3.2s ease-in-out infinite; }
@keyframes cor-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.035; } }

/* Disk Defragmenter (Episode 4): the block grid, its legend and its message */
.dmap { position: relative; display: grid; grid-template-columns: repeat(64, 1fr); gap: 1px; background: #fff; border: 1px solid #7b95a8; padding: 3px; box-shadow: inset 0 1px 3px rgba(0,0,0,.25); }
.dmap b { aspect-ratio: 1; background: #fff; }
.dmap .b1 { background: #d03a3a; } .dmap .b2 { background: #2f68c8; } .dmap .b3 { background: #2f9a46; } .dmap .b4 { background: #fff; outline: 1px solid #c9d6df; outline-offset: -1px; }
.dmsg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 12px; font: 12px var(--font-ui); color: #223; background: rgba(240,246,250,.9); }
.dmsg[hidden] { display: none; }
.dleg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0; font-size: 11px; align-items: center; }
.dleg i { width: 12px; height: 12px; display: inline-block; margin-right: 4px; border: 1px solid #7b95a8; }
.dleg .b1 { background: #d03a3a; } .dleg .b2 { background: #2f68c8; } .dleg .b3 { background: #2f9a46; } .dleg .b4 { background: #fff; }
.dbar { display: flex; gap: 8px; align-items: center; }
.dprog { flex: 1; height: 14px; border: 1px solid #6a8aa2; background: #fff; border-radius: 3px; overflow: hidden; }
.dprog i { display: block; height: 100%; width: 0; background: linear-gradient(180deg, #8de08a, #3fae3a 50%, #2f8f2d); transition: width .1s linear; }

/* Thumbs.db viewer (Episode 6) */
.tgrid { display: flex; flex-wrap: wrap; gap: 14px; }
.tcell { width: 120px; text-align: center; font-size: 11px; }
.tcell img { display: block; margin: 0 auto 4px; border: 1px solid #7b95a8; background: #fff; padding: 2px; object-fit: cover; }
.tname { font: 11px var(--font-mono); word-break: break-all; }
.tstate { opacity: .7; font-size: 10.5px; }

/* Careers: a job posting laid out the way small companies did it in 2008 */
.job { max-width: 640px; margin: 0 auto; padding: 6px 18px 14px; color: var(--ink); font: 13.5px/1.65 var(--font-web); }
.job h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--deep-water); margin: 18px 0 4px; }
.job p { margin: 0 0 6px; }
.job ul.jobs { margin: 0 0 4px; padding-left: 20px; }
.job .fine { font-size: 12px; opacity: .8; margin: 6px 0 0; }
.facts { display: grid; grid-template-columns: 110px 1fr; gap: 2px 14px; margin: 12px 0 4px; padding: 10px 12px; background: rgba(255,255,255,.7); border: 1px solid rgba(76,155,214,.3); border-radius: 6px; font-size: 12.5px; }
.facts dt { font-weight: 700; color: var(--deep-water); } .facts dd { margin: 0; }
.stable.open { max-width: 700px; margin: 10px auto 0; font-size: 12.5px; } .stable.open td, .stable.open th { padding: 7px 10px; }
html[data-night] .facts { background: rgba(10,30,50,.5); }
