/* ==========================================================================
   Homepage, built from 21st.dev components and ported to plain CSS:
     hero      Clipboard Hero (aashirzayd)     sky, clouds, hill and a
                                               glass desktop
     .clis     Logo Cloud Marquee (olewandowski1)
     .feats    feature cards                   real screens of the app
     .qa       FAQ Accordion Section (vamsiy78)
     .getit    the last download call, plain and centred
   Loaded after site.css on index.html only. The site's system font stays.
   ========================================================================== */

.home21 {
  /* The hero is the bay of Aion in coloured ASCII on deep ink. */
  --sky: radial-gradient(120% 60% at 60% 0%, #12305a, transparent 70%), linear-gradient(180deg, #071226, #050a16 60%, #04101f);
  --glass-bg: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.05));
  --glass-ring: inset 0 0 0 1px rgb(255 255 255 / 0.24);
  --glass-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7);
  --ink: #0b0c0f;
  --tile-bg: #fff;
  --tile-line: #e7e8ec;
  --tile-line-hover: #cfd2d8;
  --well: #f7f7f9;
  --accent: #2a6bff;
  --ok: #12945f;
  --radius-card: 24px;
  --radius-sky: 22px;
  --edge: 8px;

  background: var(--bg);
}

[data-theme="light"] .home21 {
  --bg: #fbfbfc;
}

/* Night: the same scene after dark. */
html:not([data-theme="light"]) .home21 {
  --tile-bg: #131518;
  --tile-line: #24272d;
  --tile-line-hover: #3a3e46;
  --well: #0e0f11;
  --accent: #7aa5ff;
  --ok: #3fcf8e;
  color-scheme: dark;
}

.home21 main {
  container-type: normal;
}

/* site.css draws rails and column rules for the older layouts. */
body.home21::before,
body.home21::after,
.home21 main::before {
  display: none;
}

.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  top: 12px;
}

:where(.topbar, .sky, .feats, .qa, .getit) a:focus-visible,
:where(.topbar, .sky, .feats, .qa, .getit) button:focus-visible,
.qa summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* ------------------------------------------------------------------ sky --- */

.sky {
  position: relative;
  isolation: isolate;
  margin: var(--edge) var(--edge) 0;
  padding: 0;
  overflow: clip;
  border-radius: var(--radius-sky);
  background: var(--sky);
  color: #fff;
}

.sky::before {
  display: none;
}

.sky__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.sky__ascii {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms ease;
}

.sky__ascii.is-ready {
  opacity: 1;
}

/* Keeps the words readable over the picture: darker behind the copy and
   the bar, clear over the temples and the water. */
.sky__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(4 8 20 / 0.45), transparent 120px),
    radial-gradient(44% 30% at 50% 28%, rgb(4 8 20 / 0.5), transparent 100%);
}

@keyframes s-rise {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.sky__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(92px, 9vw, 116px) 20px 0;
  text-align: center;
}

.sky__copy > * {
  animation: s-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sky__copy > :nth-child(2) { animation-delay: 0.08s; }
.sky__copy > :nth-child(3) { animation-delay: 0.16s; }
.sky__copy > :nth-child(4) { animation-delay: 0.24s; }
.sky__copy > :nth-child(5) { animation-delay: 0.32s; }

.sky__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: rgb(5 10 22 / 0.62);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.28);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 150ms ease;
}

.sky__eyebrow:hover {
  background: rgb(5 10 22 / 0.78);
}

.sky__new {
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  color: #0c1a4a;
  font-size: 0.75rem;
  font-weight: 650;
}

.sky h1 {
  max-width: none;
  margin: 20px 0 0;
  color: #fff;
  font-size: clamp(2.6rem, 1.2rem + 5.4vw, 4.75rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.45), 0 4px 40px rgb(4 8 20 / 0.85);
  text-wrap: balance;
}

.sky h1 > span {
  display: block;
  color: inherit;
  padding-top: 0.06em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  opacity: 0.94;
}

.sky__sub {
  max-width: 34em;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  font-weight: 500;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.6), 0 0 22px rgb(4 8 20 / 0.9);
  line-height: 1.5;
  text-wrap: pretty;
}

.sky__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.sky__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 12px 30px -10px rgb(0 0 30 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.sky__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -12px rgb(0 0 30 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.14);
}

.sky__btn:active {
  transform: scale(0.98);
}

.sky__btn .platform-icon {
  width: 15px;
  height: 15px;
}

.sky__ghost {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgb(5 10 22 / 0.62);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.36);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 160ms ease;
}

.sky__ghost:hover {
  background: rgb(5 10 22 / 0.8);
}

.sky__notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: 0.75rem;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.7);
}

.sky__notes li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sky__notes .platform-icon {
  width: 12px;
  height: 12px;
}

/* The glass desktop and the app on it. */
/* The app window is the biggest thing on the page: nearly the full width
   of the hero, and as tall as the screen allows. The real app renders at
   the size it is shown, so more room means more of it, not bigger pixels. */
.sky__desk {
  width: min(1680px, 100% - 40px);
  margin: clamp(24px, 3vw, 40px) auto 0;
  padding-bottom: clamp(84px, 8vw, 112px);
  animation: s-rise 1s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* The scene switcher: one solid bar, the tabs and the two controls in it,
   so the busy picture never shows through the labels. */
.sky .demo__bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 4px;
  border-radius: 14px;
  background: #0b101b;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 14px 34px -14px rgb(0 0 0 / 0.8);
}

.sky .demo__tabs {
  display: flex;
  gap: 2px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.sky .demo__tab {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background-color 150ms ease, color 150ms ease;
}

.sky .demo__tab:hover {
  background: rgb(255 255 255 / 0.06);
  color: #fff;
}

.sky .demo__tab[aria-pressed="true"] {
  background: rgb(255 255 255 / 0.13);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

.sky .demo__actions {
  display: flex;
  gap: 2px;
  margin: 0;
  padding-left: 4px;
  border-left: 1px solid rgb(255 255 255 / 0.1);
}

.sky .demo__control {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: rgb(255 255 255 / 0.7);
}

.sky .demo__control:hover {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}

/* No bezel: the app window sits straight on the picture. */
.sky .stage {
  position: relative;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  box-shadow: none;
}

.sky .demo__frame {
  min-height: min(560px, 70svh);
  max-height: calc(100svh - 88px);
  border-radius: 12px;
  overflow: clip;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(0 10 60 / 0.12), 0 30px 60px -20px rgb(0 10 60 / 0.55);
}

html:not([data-theme="light"]) .sky .demo__frame {
  background: var(--window);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 30px 60px -20px rgb(0 0 0 / 0.8);
}

.sky .demo__caption {
  display: table;
  max-width: min(62ch, 100%);
  min-height: 0;
  margin: 18px auto 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(5 10 22 / 0.72);
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sky .demo__status {
  margin: 12px auto 0;
  color: #fff;
  text-align: center;
}

/* -------------------------------------------------------- CLI marquee --- */

.clis {
  padding: clamp(44px, 6vw, 72px) 0 clamp(20px, 3vw, 32px);
  border: 0;
}

.clis__title {
  margin: 0 0 22px;
  padding-inline: 20px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.clis__viewport {
  display: flex;
  overflow: clip;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.clis__track {
  display: flex;
  flex: none;
  gap: 44px;
  margin: 0;
  padding: 0 22px;
  list-style: none;
  animation: c-scroll 38s linear infinite;
}

.clis__viewport:hover .clis__track {
  animation-play-state: paused;
}

.clis__track li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-2);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.clis__track img {
  border-radius: 6px;
}

.clis__mark {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--ink);
}

.clis__mark::after {
  position: absolute;
  inset: 4px;
  background: #fff;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
  content: "";
}

html:not([data-theme="light"]) .clis__mark {
  background: #2a2d33;
}

@keyframes c-scroll {
  to { transform: translateX(-100%); }
}

/* ----------------------------------------------------------- features --- */

.wrap21 {
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.feats__wrap {
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.feats {
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
}

.feats h2,
.qa h2 {
  max-width: 16em;
  margin: 0;
  color: var(--fg);
  font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.feats__lede {
  max-width: 34em;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* Cards: a real screen of the app on top, the words under it. */
.feats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.feat {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: clip;
  border: 1px solid var(--tile-line);
  border-radius: 20px;
  background: var(--tile-bg);
  transition: border-color 300ms ease, transform 400ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms ease;
}

.feat:hover {
  border-color: var(--tile-line-hover);
  box-shadow: 0 28px 50px -36px rgb(10 20 50 / 0.4);
  transform: translateY(-3px);
}

.feat__shot {
  aspect-ratio: 8 / 5;
  overflow: clip;
  border-bottom: 1px solid var(--tile-line);
  background: var(--well);
}

.feat__img {
  display: block;
  background: var(--well);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feat:hover .feat__img {
  transform: scale(1.03);
}

[data-theme="light"] .feat__img--dark,
html:not([data-theme="light"]) .feat__img--light {
  display: none;
}

.feat__body {
  padding: 22px 24px 26px;
}

.feat h3 {
  margin: 0;
  color: var(--fg);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feat p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}



.more {
  display: inline-flex;
  gap: 6px;
  margin-top: 28px;
  color: var(--fg);
  font-size: 0.9375rem;
  font-weight: 500;
}

.more span {
  transition: transform 200ms ease;
}

.more:hover span {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------- FAQ --- */

.qa {
  padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 4vw, 48px);
  border: 0;
}

.qa__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px clamp(32px, 6vw, 88px);
  align-items: start;
}

.qa__head p {
  max-width: 26em;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.qa__head a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 3px;
}

.qa__head .qa__links {
  display: flex;
  gap: 18px;
}

.qa__list {
  border-top: 1px solid var(--tile-line);
}

.qa details {
  border-bottom: 1px solid var(--tile-line);
}

.qa summary {
  position: relative;
  display: block;
  padding: 20px 40px 20px 0;
  color: var(--fg);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 9px;
  height: 9px;
  border-right: 1.75px solid var(--muted);
  border-bottom: 1.75px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
}

.qa details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.qa details p {
  max-width: 60ch;
  margin: 0;
  padding: 0 40px 22px 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.qa details p a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@supports selector(::details-content) {
  .qa details::details-content {
    height: 0;
    overflow: clip;
    transition: height 300ms cubic-bezier(0.22, 1, 0.36, 1), content-visibility 300ms allow-discrete;
  }

  .qa details[open]::details-content {
    height: auto;
  }

  .qa {
    interpolate-size: allow-keywords;
  }
}

/* ------------------------------------------------------------ Get Eaon --- */
/* The last word: no card, no border. A hairline, a big name, the button
   for this visitor's system, the Discord, and every other download. */

.getit {
  padding: 0 0 clamp(96px, 12vw, 168px);
}

.getit__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-top: clamp(88px, 12vw, 176px);
  border-top: 1px solid var(--tile-line);
  text-align: center;
}

.getit h2 {
  margin: 0;
  color: var(--fg);
  font-size: clamp(3.25rem, 2rem + 5vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.getit__sub {
  max-width: 30em;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  text-wrap: balance;
}

.getit__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.getit .sky__btn,
.getit__ghost {
  height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 1rem;
}

html:not([data-theme="light"]) .getit .sky__btn {
  background: #fff;
  color: #0b0c0f;
}

.getit__ghost {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--tile-line-hover);
  background: transparent;
  color: var(--fg);
  font-weight: 500;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.getit__ghost:hover {
  border-color: var(--fg);
}

.getit__also {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.getit__also a {
  color: inherit;
  transition: color 150ms ease;
}

.getit__also a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------- footer --- */

.home21 .site-foot {
  border-top: 1px solid var(--tile-line);
}

/* ------------------------------------------------------------ layouts --- */

@media (max-width: 880px) {
  .qa__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .sky .demo__bar {
    justify-content: flex-start;
  }

  .sky .demo__tabs {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sky .demo__tab {
    flex: none;
  }


  .sky__desk {
    width: calc(100% - 16px);
  }

  .sky .demo__caption {
    border-radius: 14px;
  }
}

@media (max-width: 600px) {
  .home21 {
    --edge: 6px;
  }

  .sky__scrim {
    background:
      linear-gradient(180deg, rgb(4 8 20 / 0.5), transparent 120px),
      radial-gradient(95% 34% at 50% 30%, rgb(4 8 20 / 0.72), rgb(4 8 20 / 0.4) 65%, transparent 100%);
  }

}

@media (prefers-reduced-motion: reduce) {
  .home21 *,
  .home21 *::before,
  .home21 *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .clis__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .clis__track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
    width: 100%;
  }

  .clis__track[aria-hidden="true"] {
    display: none;
  }
}

/* In the hero the main button sits on dark ink, so it is the light one. */
.sky .sky__btn {
  background: #fff;
  color: #0b0c0f;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.6);
}

.sky .sky__btn:hover {
  box-shadow: 0 16px 34px -12px rgb(0 0 0 / 0.7);
}

/* Wide screens: the words sit on the left so the temple, the cliffs and
   the mountains on the right are seen in full. home.js keeps the picture
   dim only in a band behind this column. */
@media (min-width: 900px) {
  .sky__copy {
    align-items: flex-start;
    width: min(1180px, 100% - 64px);
    max-width: none;
    padding-inline: 0;
    text-align: left;
  }

  .sky h1 {
    max-width: 9.6em;
    font-size: clamp(3rem, 1.6rem + 3.4vw, 4.5rem);
    text-wrap: wrap;
  }

  .sky__sub {
    max-width: 29em;
  }

  .sky__cta,
  .sky__notes {
    justify-content: flex-start;
  }

  /* The app window starts right under the words, so its top is on screen
     when the page first loads. It sits over the lower part of the painting
     (the sea); the temple and the cliffs above stay clear. */

  .sky__scrim {
    display: none;
  }
}

/* Phones and tablets: the copy is as wide as the screen, so the picture
   gets its own space first. The top of the hero shows the temple in full,
   and the words start under it. */
@media (max-width: 899px) {
  .sky__copy {
    padding-top: calc((100vw - 2 * var(--edge)) * 0.5606 + 16px);
  }

  .sky__scrim {
    display: none;
  }
}

/* Words over the painting: no dimming of the picture, so the text carries
   its own shadow. */
.sky h1 {
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.55), 0 3px 12px rgb(0 0 0 / 0.5), 0 8px 48px rgb(0 0 0 / 0.45);
}

.sky__sub,
.sky__notes {
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.85), 0 0 14px rgb(0 0 0 / 0.7);
}

/* ---------------------------------------------------- readable over art ---
   The painting stays whole and at full brightness. Behind the words (and
   behind the top bar's links) the picture is only blurred, in a pool with
   feathered edges: no tint, no box, no border. The blur smooths the ASCII
   grain into soft colour, which is what makes the letters hard to read;
   a soft shadow on the letters does the rest. */

.sky__panel {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: inherit;
  max-width: 640px;
}

.sky__panel::before {
  content: "";
  position: absolute;
  inset: -64px -88px;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 88px, #000 calc(100% - 88px), transparent),
    linear-gradient(180deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 88px, #000 calc(100% - 88px), transparent),
    linear-gradient(180deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
  mask-composite: intersect;
}

.sky__panel h1 {
  max-width: none;
  font-size: clamp(2.5rem, 1.5rem + 2.7vw, 4rem);
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.35), 0 2px 18px rgb(0 0 0 / 0.35);
}

.sky__panel .sky__sub,
.sky__panel .sky__notes {
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.45), 0 0 16px rgb(0 0 0 / 0.35);
}

.sky__panel .sky__sub {
  color: #fff;
}

.sky__panel .sky__notes {
  color: #fff;
}

.sky__panel .sky__eyebrow {
  background: rgb(255 255 255 / 0.16);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3);
}

.sky__panel .sky__eyebrow:hover {
  background: rgb(255 255 255 / 0.24);
}

.sky__panel .sky__ghost {
  background: rgb(255 255 255 / 0.16);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4);
}

.sky__panel .sky__ghost:hover {
  background: rgb(255 255 255 / 0.26);
}

/* Top bar at rest: the same feathered blur, fading out below the bar so it
   has no edge. */
.topbar:not(.is-scrolled) {
  --tb-dim: #fff;
}

.topbar:not(.is-scrolled)::before {
  content: "";
  position: absolute;
  inset: 0 0 -32px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.topbar:not(.is-scrolled) .topbar__nav a,
.topbar:not(.is-scrolled) .topbar__brand {
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.45), 0 0 14px rgb(0 0 0 / 0.35);
}

@media (max-width: 899px) {
  .sky__panel {
    width: 100%;
    max-width: 620px;
  }

  .sky__panel::before {
    inset: -40px -24px;
  }
}

/* The rise-in animation leaves a filter on whatever it animates, and a
   filter on the panel would switch its backdrop blur off. So the panel
   itself stays still and its children rise in. */
.sky__copy > .sky__panel {
  animation: none;
}

.sky__panel > * {
  animation: s-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sky__panel > :nth-child(2) { animation-delay: 0.08s; }
.sky__panel > :nth-child(3) { animation-delay: 0.16s; }
.sky__panel > :nth-child(4) { animation-delay: 0.24s; }
.sky__panel > :nth-child(5) { animation-delay: 0.32s; }

/* ------------------------------------------------- features: layouts --- */

@media (max-width: 1000px) {
  .feats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .feats__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
