/* The landing (index.html) as a startup's (2026-11-28). Lars: "sexy and
   professional, simplistic, like typical startup websites", with spott.io and
   octropy.net as the references and the sky kept. What that takes here: one
   short claim a part, centred, in the words' own face at a calm weight; a
   grey line under it; the app shown in a window under a row of tabs; open
   rows instead of boxes; no small print anywhere. Loaded after neptunion.css,
   on this page only, so the other pages keep their own layouts. */

:root {
  /* The grey of a line under a title: quieter than --soft, still read at a glance. */
  --grey: #9da6bf;
  --glass: rgba(12, 13, 19, .72);
  --rim: rgba(255, 255, 255, .11);
}

/* ---------------------------------------------------------------- the type */
.hero h1 {
  max-width: 13.5em; margin-inline: auto;
  font: 560 clamp(42px, 5.6vw, 82px)/1.02 var(--sans); font-stretch: 104%; letter-spacing: -.042em; text-wrap: balance;
}
main h2 { font-weight: 540; font-size: clamp(34px, 3.9vw, 58px); line-height: 1.04; letter-spacing: -.036em; }
main .say { color: var(--grey); font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.5; }
.lede { max-width: 30em; margin: 24px auto 0; font-size: clamp(17px, 1.45vw, 20.5px); line-height: 1.45; color: var(--grey); text-wrap: balance; }

/* ---------------------------------------------------------------- the first screen
   The claim high in the window, the planet low behind the film (neptunion.js,
   landing), and the tabs and the top of the film in the first screen. */
.hero { display: block; min-height: 0; padding: 0 var(--gut) clamp(60px, 8vw, 110px); --peek: 0px; }
/* The tabs stand at four fifths of the window, the planet's middle level
   with them, its top in the room above (landing.js fits it there). */
.hero .mark {
  display: flex; flex-direction: column; align-items: center; height: auto; min-height: calc(80vh - 72px); min-height: calc(80svh - 72px); text-align: center;
  padding-top: calc(var(--bar-h) + clamp(56px, 11vh, 128px));
}
.hero .get { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
/* The words keep a little night round them where the sky is busy. */
.hero .mark { position: relative; }
.hero .mark::before {
  content: ""; position: absolute; inset: 20% -12% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), rgba(0, 0, 0, .35) 60%, transparent);
}

/* The intro (neptunion.js): the planet is written in, then the claim, the
   line, the buttons and the app come up one after another. */
html.np-intro .hero .mark > * { opacity: 0; translate: 0 22px; }
html.np-reveal .hero .mark > * { transition: opacity .5s ease, translate .8s cubic-bezier(.16, 1, .3, 1); }
html.np-reveal .hero .mark > :nth-child(2) { transition-delay: .08s; }
html.np-reveal .hero .mark > :nth-child(3) { transition-delay: .16s; }

/* ---------------------------------------------------------------- the app, under tabs
   A tab for each part of the film (landing.js); the one playing is lit, and a
   line under it fills as its part plays. */
.preview { margin-top: 48px; text-align: center; }
.tabs {
  position: relative; z-index: 1; display: inline-flex; max-width: 100%; gap: 2px; padding: 4px;
  border: 1px solid var(--rim); border-radius: 13px; background: var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow-x: auto; scrollbar-width: none; text-shadow: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 12px;
  border: 0; border-radius: 9px; background: none; color: var(--grey); cursor: pointer;
  font: 500 14px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; transition: color .25s, background .25s;
}
.tabs button:hover { color: var(--ink); }
.tabs button i { font-size: 15px; }
.tabs button[aria-selected="true"] { color: var(--ink); background: rgba(255, 255, 255, .075); }
.tabs button[aria-selected="true"] i { color: var(--blue); }
.tabs button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0;
}
.tabs button[aria-selected="true"]::after { opacity: 1; }
.preview .film {
  width: min(100%, 1120px); margin: 16px auto 0; border-radius: 14px; border-color: var(--rim);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 120px rgba(0, 0, 0, .85), 0 0 160px rgba(70, 120, 250, .14);
}

/* ---------------------------------------------------------------- the parts
   The same room above every part, and the words centred over what they show. */
.stage { padding-top: clamp(120px, 13vw, 200px); --under: clamp(40px, 4.6vw, 64px); }
.stage-head { max-width: 760px; }
.stage-head .say { margin-top: 18px; max-width: 34em; }

/* A call typed out: the words at the left, the picture at the right. */
.split .held { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 84px); align-items: center; width: min(100%, 1180px); margin-inline: auto; }
.split-t { position: relative; }
.split-t::before {
  content: ""; position: absolute; inset: -60px -90px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .84), rgba(0, 0, 0, .55) 55%, transparent);
}
.split-t .say { margin-top: 18px; max-width: 26em; }
.split-v .stage-v { width: 100%; margin: 0; }
.ticks { margin-top: 28px; display: grid; gap: 13px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--soft); }
.ticks i { font-size: 13px; color: var(--blue); }

/* Everything else: open, four across, on one soft pool of night. */
#more .held { position: relative; }
.tiles {
  position: relative; gap: clamp(30px, 3.4vw, 46px) clamp(20px, 2.6vw, 40px); width: min(100%, 1080px);
  margin-top: var(--under); background: none; border: 0; border-radius: 0; overflow: visible; text-shadow: 0 0 14px #000, 0 0 3px #000;
}
.tiles::before {
  content: ""; position: absolute; inset: -60px -80px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .82), rgba(0, 0, 0, .6) 65%, transparent);
}
.tiles > * { padding: 0; background: none; }
.tiles a:hover { background: none; }
.tiles a:hover b { color: #dce6ff; }
.tiles i { font-size: 19px; }
.tiles b { margin-top: 14px; font: 540 16.5px/1.25 var(--sans); font-stretch: 104%; letter-spacing: -.012em; transition: color .2s; }
.tiles span { margin-top: 4px; font-size: 14.5px; color: var(--grey); }

/* Why it is free: the table plain, Neptunion's column lit a little. */
.cmp { width: min(100%, 780px); background: rgba(5, 6, 9, .9); border-color: var(--rim); border-radius: 16px; font-size: 16px; }
.cmp th, .cmp td { padding: 17px 24px; }
.cmp thead th { padding-block: 20px 16px; font: 500 14px/1 var(--sans); letter-spacing: -.005em; text-transform: none; color: var(--grey); }
.cmp thead th:last-child { color: var(--ink); }
.cmp tbody th { width: 30%; font: 500 16px/1.45 var(--sans); color: var(--grey); }
.cmp tbody td:nth-of-type(1) { color: var(--grey); }
.cmp td:last-child, .cmp thead th:last-child { background: rgba(106, 157, 244, .07); }
.cmp tbody td:last-child { color: var(--ink); font-weight: 500; }

/* How: three lines down the column, the planet and the network beside them. */
#how .col { width: min(100%, 560px); }
.flow { margin-top: 36px; counter-reset: none; }
.flow li { padding: 20px 0; counter-increment: none; }
.flow li::before { content: none; }
.flow b { font-weight: 540; font-size: 18.5px; }
.flow span { color: var(--grey); }
/* Octropy under the three lines: one sentence ending in a white button with
   its name (2026-11-28, Lars: the card was "too much"). */
.built { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 34px; font: 500 clamp(18px, 1.5vw, 21px)/1.3 var(--sans); letter-spacing: -.01em; color: var(--soft); }
.built .key { margin: 0; }
a.more { display: inline-block; margin-top: 30px; color: var(--ink); font-weight: 500; text-decoration: none; }
a.more::after { content: "\2192"; display: inline-block; margin-left: 8px; color: var(--blue); transition: translate .25s var(--ease); }
a.more:hover::after { translate: 4px 0; }

/* The two ways in. */
#doors .held { width: min(100%, 1040px); margin-inline: auto; }
.doors { margin-top: var(--under); }
.door { border-color: var(--rim); }
.door-t h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 540; }
.door-t p { color: var(--grey); }
.door-t .go { font: 500 14.5px/1 var(--sans); }
.door-t .go::after { content: " \2192"; }

/* The last word, over the planet's edge at sunrise: short enough that at the
   foot of the page it shares the window with the foot. */
.soon { min-height: 76vh; min-height: 76svh; padding-top: calc(var(--bar-h) + 18vh); padding-bottom: 0; }
.soon h2 { font-weight: 560; font-size: clamp(52px, 7.4vw, 112px); letter-spacing: -.045em; }
.soon .say { margin-top: 22px; color: var(--soft); }
.soon .get { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------------------------------------------------------------- Students and Business
   The same parts on the audience pages (2026-11-28), whose first screen keeps
   the planet beside the words: the title at the landing's weight, the grey
   line, the two buttons; a picture beside its words now and then, on either
   side; the questions open, in the words' face. */
.col h1.sub { font-weight: 560; font-size: clamp(46px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.042em; }
.col h1.sub + .say { margin-top: 24px; max-width: 30em; font-size: clamp(17px, 1.45vw, 20px); }
.col .get[data-short] { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.soon .col .get[data-short] { justify-content: center; }
.split.flip .held { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip .split-t { order: 2; }
.asks { width: min(100%, 720px); }
.asks details { background: none; border-color: var(--rim); }
.asks summary { padding: 22px 4px; font: 500 18px/1.35 var(--sans); }
.asks summary::before { content: "+"; font-family: var(--sans); font-weight: 400; }
.asks details[open] summary::before { content: "\2212"; }
.asks details p { color: var(--grey); font-size: 16px; line-height: 1.55; }
@media (max-width: 900px) {
  .split.flip .held { grid-template-columns: none; }
  .split.flip .split-t { order: 0; }
}

/* ---------------------------------------------------------------- the foot
   The name at the left, the pages in three short columns at the right. */
footer.foot {
  margin-top: 0; min-height: 0; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px;
  padding: clamp(80px, 9vw, 120px) var(--gut) clamp(48px, 6vw, 72px); font: 400 14.5px/1.4 var(--sans);
  background: linear-gradient(rgba(0, 0, 0, 0), #000 110px);
}
.foot .name { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 28px clamp(48px, 7vw, 120px); }
.foot nav div { display: flex; flex-direction: column; gap: 12px; }
.foot nav b { margin-bottom: 4px; font-weight: 500; color: var(--ink); }
.foot nav a { color: var(--grey); text-decoration: none; transition: color .2s; }
.foot nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------------------------------------------------------------- narrower windows */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split .held { grid-template-columns: none; }
  .split-t { text-align: center; }
  .split-t .say { margin-inline: auto; }
  .ticks { justify-content: center; }
}
@media (max-width: 760px) {
  /* The planet above the claim on a phone (neptunion.js NARROW), as on every part. */
  /* Over neptunion.css's .part.over:not(.soon), which pads the top for the planet: .mark does that here. */
  main > .part.hero.over { display: block; padding-top: 0; padding-bottom: 72px; }
  .hero .mark { min-height: 0; padding-top: calc(var(--bar-h) + 27vh); padding-top: calc(var(--bar-h) + 27svh); }
  .hero h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .lede { margin-top: 18px; font-size: 17px; }
  .hero .get, .soon .get { margin-top: 28px; }
  .preview { margin-top: 48px; }
  .intro { margin-top: 48px; }
  /* The tabs as one row swiped sideways, the window's width. */
  .tabs { display: flex; width: auto; max-width: none; margin-inline: calc(-1 * var(--gut)); border-radius: 0; border-inline: 0; padding-inline: var(--gut); }
  .tabs button { padding: 10px 13px 11px; font-size: 13.5px; }
  .preview .film { margin-top: 14px; border-radius: 10px; }
  .stage { padding-top: 104px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .tiles span { font-size: 13.5px; }
  .tiles::before { inset: -40px -30px; }
  .cmp tbody td:last-child { background: none; }
  .cmp thead th:last-child { background: none; }
  .cmp tbody th { width: auto; color: var(--ink); }
  .cmp tbody td::before { font: 400 13px/1.6 var(--sans); color: var(--grey); }
  #how .col { width: 100%; }
  /* The last word and the foot share the last screen here too. */
  .soon { min-height: 0; padding-bottom: 8px; }
  footer.foot { flex-direction: column; gap: 28px; padding-top: 64px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); font-size: 14px; }
  .foot nav { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 26px; }
  .foot nav div { gap: 0; }
  .foot nav a { padding: 7px 0; }
}
@media (max-width: 400px) {
  .tabs button i { display: none; }
}
