/* SerenStream website. Brand: Lexend for the name and headings; the palette of the brand kit
   (Night slate #2c3e52, Slate #4d6580, Mist #a9bccf, Cloud #dfe6ee, Paper #f5f7f9, Ink #22303f). */
@font-face {
  font-family: "Lexend";
  src: url("../fonts/Lexend.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --ink: #22303f; --ink-2: #4d5b6b; --slate: #4d6580; --mist: #a9bccf; --cloud: #dfe6ee; --paper: #f5f7f9;
  --night: #050a10; --night-2: #0d1a28; --accent: #2a78d6; --accent-dark: #5b9df0; --cyan: #43c6e8; --warm: #f0a33a;
  --brand: "Lexend", "Avenir Next", "Segoe UI", sans-serif;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
  --cn: "Avenir Next Condensed", "Bahnschrift", "Roboto Condensed", "Arial Narrow", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--night); }
body { margin: 0; font: 400 18px/1.6 var(--serif); color: var(--ink); background: var(--paper); }
img, svg { display: block; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 8px 14px; border-radius: 8px; background: #fff; color: var(--ink);
  font: 600 15px var(--cn); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- the welcome picture, as in the application */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; color: #f5f7f9;
  background: radial-gradient(ellipse at 50% 38%, rgba(91, 157, 240, 0.22), transparent 62%), linear-gradient(180deg, var(--night), var(--night-2));
}
.hero__grid, .hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid { opacity: .05; }
.hero__veil { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 44%, transparent 0 22%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0.42)); }
.hero__card {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: min(540px, calc(100% - 32px));
  display: grid; justify-items: center; gap: 6px; text-align: center; padding: 34px 30px 30px;
  background: rgba(12, 22, 34, 0.56); border: 1px solid rgba(185, 200, 216, 0.22); border-radius: 22px;
  -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: rise 700ms cubic-bezier(.2, .75, .25, 1) both;
}
.lite .hero__card { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(12, 22, 34, 0.86); }
.hero__mark { width: 112px; height: auto; margin-bottom: 6px; }
.hero__word { margin: 0 -0.2em 0 0; font: 400 26px/1 var(--brand); letter-spacing: .2em; color: #fff; }
.hero__word span { font-weight: 300; color: var(--mist); }
.hero__line { margin: 6px 0 0; font: 400 18px/1.35 var(--cn); font-stretch: 75%; letter-spacing: .02em; color: var(--mist); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0 auto; max-width: 70ch; padding: 0 20px; text-align: center;
  font: 400 13.5px/1.4 var(--cn); color: var(--mist); }
@keyframes rise { from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)); } to { opacity: 1; transform: translate(-50%, -50%); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 24px; border-radius: 999px;
  font: 600 17px/1 var(--cn); font-stretch: 75%; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn--primary { color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); background: linear-gradient(135deg, var(--accent-dark), var(--cyan));
  box-shadow: 0 10px 30px rgba(91, 157, 240, 0.35); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(91, 157, 240, 0.45); }
.btn--ghost { color: #f5f7f9; border: 1px solid rgba(185, 200, 216, 0.45); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--big { font-size: 19px; text-transform: none; letter-spacing: .02em; padding: 14px 30px; }

/* ---- the page */
.section { padding: 88px 0; }
.section--tint { background: #eaeff4; }
.section--dark { color: #f5f7f9; background: radial-gradient(ellipse at 50% 0%, rgba(91, 157, 240, 0.18), transparent 60%), linear-gradient(180deg, var(--night-2), var(--night)); }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.wrap--split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.kicker { margin: 0 0 10px; font: 600 15px/1.2 var(--cn); font-stretch: 75%; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
h2 { margin: 0; font: 500 clamp(28px, 4vw, 40px)/1.15 var(--brand); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.section--dark h2 { color: #fff; }
h3 { margin: 14px 0 6px; font: 500 21px/1.25 var(--brand); color: var(--ink); }
p { margin: 0 0 14px; }
.lede { max-width: 64ch; margin-top: 18px; font-size: 20px; color: var(--ink-2); }
.wrap--split p { color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { padding: 26px 24px 18px; border-radius: 18px; background: #fff; border: 1px solid #dde4ec; box-shadow: 0 12px 34px rgba(34, 48, 63, 0.06); }
.card p { font-size: 17px; color: var(--ink-2); }
.card__icon { width: 48px; height: 48px; color: var(--slate); }

.contact { display: grid; justify-items: center; text-align: center; gap: 8px; }
.contact p { color: var(--mist); }
.contact__mark { width: 64px; height: auto; margin-bottom: 8px; }
.contact .btn { margin-top: 10px; }

.foot { padding: 28px 0 34px; background: var(--night); color: var(--mist); font: 400 14px/1.5 var(--cn); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot__row p { margin: 0; }
.foot__logo { height: 26px; width: auto; opacity: .9; }

@media (max-width: 860px) {
  .wrap--split { grid-template-columns: 1fr; gap: 18px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .hero__card { top: 42%; padding: 28px 20px 24px; }
  .hero__mark { width: 92px; }
  .hero__word { font-size: 22px; }
  .hero__line { font-size: 17px; }
  .btn { font-size: 16px; padding: 10px 20px; }
  .lede { font-size: 18px; }
}
@media (max-height: 560px) and (min-width: 521px) {
  .hero__card { top: 50%; }
  .hero__foot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__card { animation: none; }
  .btn { transition: none; }
}
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; }
