/* Taskel marketing site. One stylesheet, no build step. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-v5-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono-v6-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic-v5-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@property --sky {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(255, 178, 120, 0.3);
}

:root {
  --paper: #fafaf7;
  --paper-2: #f2f2ed;
  --paper-3: #ebebe4;
  --card: #fff;
  --ink: #081237;
  --ink-2: #2a3150;
  --muted: #62666f;
  --faint: #9a9ea6;
  --line: rgba(8, 18, 55, 0.08);
  --line-2: rgba(8, 18, 55, 0.13);

  --blue: #0153f3;
  --blue-2: #3d7bff;
  --blue-soft: #e9f0fe;
  --blue-ink: #08348a;
  --green: #0e9f5b;
  --green-soft: #e6f5ec;
  --green-ink: #0a6b3e;
  --amber: #e08a00;
  --amber-soft: #fdf2de;
  --amber-ink: #8a4f00;
  --red: #d4332a;
  --red-soft: #fdebe9;

  --shadow-sm: 0 1px 2px rgba(8, 18, 55, 0.06), 0 1px 1px rgba(8, 18, 55, 0.03);
  --shadow-md: 0 14px 34px -14px rgba(8, 18, 55, 0.22), 0 3px 8px -2px rgba(8, 18, 55, 0.06);
  --shadow-lg: 0 50px 100px -30px rgba(8, 18, 55, 0.32), 0 18px 36px -18px rgba(8, 18, 55, 0.18);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;

  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1200px;
  --nav-h: 68px;
  color-scheme: light;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
}
img,
svg {
  display: block;
}
::selection {
  background: rgba(1, 83, 243, 0.16);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 550;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip:focus {
  transform: none;
}

.i {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- type ---------- */
.h1 {
  font-size: clamp(42px, 6.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(36px, 5.1vw, 70px);
  line-height: 1;
  letter-spacing: -0.048em;
  font-weight: 600;
  text-wrap: balance;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.h1 .serif,
.h2 .serif {
  font-size: 1.1em;
  line-height: 0.8;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.lead {
  font-size: clamp(17px, 1.4vw, 19.5px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 550;
  color: var(--blue);
}
.text-link .i {
  font-size: 17px;
  transition: transform 0.25s var(--ease);
}
.text-link:hover .i {
  transform: translateX(3px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn .i {
  font-size: 18px;
  transition: transform 0.25s var(--ease);
}
.btn:hover .i {
  transform: translateX(3px);
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14.5px;
}
.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 24px -10px rgba(8, 18, 55, 0.55);
}
.btn-dark:hover {
  background: #0f1d4d;
  transform: translateY(-1px);
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover {
  border-color: rgba(8, 18, 55, 0.24);
  transform: translateY(-1px);
}
.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 40px -16px rgba(59, 123, 255, 0.7);
}
.btn-white:hover {
  transform: translateY(-1px);
}
.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(250, 250, 247, 0.9);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.logo-img {
  display: block;
  width: auto;
  height: 36px;
}
.foot-brand .logo-img {
  height: 40px;
}
/* The app icon: the mark on a white tile, as on a phone's home screen. */
.app-ic {
  display: grid;
  place-items: center;
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24%;
  box-shadow: var(--shadow-sm);
}
.app-ic img {
  display: block;
  width: 64%;
  height: auto;
}
.nav-links {
  display: flex;
  gap: 2px;
  margin: 0 auto;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: rgba(8, 18, 55, 0.05);
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-signin {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.2s;
}
.nav-signin:hover {
  background: rgba(8, 18, 55, 0.05);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.nav-toggle:hover {
  background: rgba(8, 18, 55, 0.05);
}
.ic-close,
.nav.is-open .ic-menu {
  display: none;
}
.nav.is-open .ic-close {
  display: block;
}
.menu {
  border-top: 1px solid var(--line);
}
.menu-inner {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  padding-bottom: 18px;
}
.menu-inner a {
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.menu-inner a:last-child {
  border-bottom: 0;
  color: var(--blue);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 5.5vw, 76px) 0 clamp(40px, 5vw, 72px);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: calc(var(--nav-h) * -1) 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(8, 18, 55, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8, 18, 55, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 52% at 50% 18%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 52% at 50% 18%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(1400px, 140vw);
  height: 900px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 32% 55%, rgba(59, 123, 255, 0.26), transparent 70%),
    radial-gradient(closest-side at 72% 45%, rgba(1, 83, 243, 0.2), transparent 72%),
    radial-gradient(closest-side at 55% 80%, rgba(255, 186, 120, 0.22), transparent 70%);
  filter: blur(30px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.chip:hover {
  border-color: rgba(8, 18, 55, 0.24);
  transform: translateY(-1px);
}
.chip .i {
  font-size: 15px;
  color: var(--muted);
}
.chip-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.chip-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}
.hero .h1 {
  margin-top: 26px;
}
.h1 .line {
  display: block;
}
@media (min-width: 640px) {
  .h1 .line {
    white-space: nowrap;
  }
}
.hero-lead {
  max-width: 700px;
  margin-top: 28px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 30px;
  font-size: 14.5px;
  color: var(--muted);
}
.ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticks .i {
  font-size: 16px;
  color: var(--green);
  stroke-width: 2.4;
}

/* hero entrance */
.hero-in,
.h1 .line {
  animation: rise 1.1s var(--ease) both;
}
.h1.hero-in {
  animation: none;
}
.hero-copy > :nth-child(1) {
  animation-delay: 0.05s;
}
.h1 .line:nth-child(1) {
  animation-delay: 0.12s;
}
.h1 .line:nth-child(2) {
  animation-delay: 0.22s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.34s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.44s;
}
.hero-copy > :nth-child(5) {
  animation-delay: 0.52s;
}
.stage.hero-in {
  animation-duration: 1.4s;
  animation-delay: 0.55s;
}

/* ---------- product stage ---------- */
.stage {
  position: relative;
  max-width: 1180px;
  margin: clamp(48px, 5.5vw, 76px) auto 0;
  container-type: inline-size;
}
.stage-inner {
  position: relative;
  height: 64em;
  font-size: calc(100cqw / 118);
  transform-origin: 50% 0%;
}

/* office window */
.win {
  position: absolute;
  left: 0;
  top: 3em;
  width: 94em;
  height: 60em;
  border-radius: 1.8em;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.win-bar {
  position: relative;
  height: 4.4em;
  display: flex;
  align-items: center;
  padding: 0 1.6em;
  border-bottom: 1px solid var(--line);
  background: #fbfbf9;
}
.win-dots {
  display: flex;
  gap: 0.7em;
}
.win-dots i {
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: #e4e4df;
}
.win-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  height: 2.4em;
  padding: 0 1.4em;
  border-radius: 99em;
  background: var(--paper-2);
  font-size: 1.15em;
  color: var(--muted);
}
.win-url .i {
  font-size: 1em;
}
.win-body {
  display: grid;
  grid-template-columns: 17.5em 1fr;
  height: calc(100% - 4.4em);
}
.side {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 1.8em 1.2em;
  border-right: 1px solid var(--line);
  background: #fcfcfa;
}
.side-brand {
  margin: 0.2em 0 1.6em 0.7em;
}
.side-brand img {
  display: block;
  width: auto;
  height: 3.9em;
}
.side-item {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.7em 0.8em;
  border-radius: 0.8em;
  font-size: 1.28em;
  font-weight: 500;
  color: var(--ink-2);
}
.side-item .i {
  font-size: 1.2em;
  color: var(--muted);
}
.side-item.is-on {
  background: var(--blue-soft);
  color: var(--blue-ink);
}
.side-item.is-on .i {
  color: var(--blue);
}
.side-item b {
  margin-left: auto;
  min-width: 1.6em;
  height: 1.6em;
  display: grid;
  place-items: center;
  border-radius: 99em;
  background: var(--blue);
  color: #fff;
  font-size: 0.8em;
  font-weight: 600;
}
.side-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.9em 0.6em 0;
  border-top: 1px solid var(--line);
}
.side-foot b {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
}
.side-foot small {
  display: block;
  font-size: 1.05em;
  color: var(--muted);
}

.avatar {
  display: grid;
  place-items: center;
  width: 3.2em;
  height: 3.2em;
  border-radius: 50%;
  font-size: 1em;
  font-weight: 650;
  flex: none;
}
.av-r {
  background: #ffe3d3;
  color: #9a4a1e;
}
.av-a {
  background: #dcebff;
  color: #1d4e9e;
}
.av-j {
  background: #ddf3e5;
  color: #1f6b43;
}
.av-d {
  background: #ece4ff;
  color: #5b3ba5;
}

.board {
  padding: 2em 2.2em;
  min-width: 0;
}
.board-head {
  display: flex;
  align-items: center;
  gap: 1.4em;
}
.board-title {
  font-size: 2.2em;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.board-sub {
  margin-top: 0.3em;
  font-size: 1.2em;
  color: var(--muted);
}
.board-sub span {
  display: inline-block;
  font-weight: 600;
  color: var(--green-ink);
}
.seg {
  display: inline-flex;
  padding: 0.3em;
  border-radius: 0.9em;
  background: var(--paper-2);
}
.board-head .seg {
  margin-left: 2.4em;
}
.seg span {
  padding: 0.45em 1em;
  border-radius: 0.6em;
  font-size: 1.15em;
  font-weight: 500;
  color: var(--muted);
}
.seg .is-on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.board-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.65em 1.1em;
  border-radius: 0.75em;
  background: var(--ink);
  color: #fff;
  font-size: 1.15em;
  font-weight: 550;
}
.week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9em;
  margin-top: 1.8em;
}
.col {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  min-height: 46em;
  padding: 0.8em;
  border-radius: 1.2em;
  background: #f7f7f4;
}
.col.is-today {
  background: #f1f6ff;
  box-shadow: inset 0 0 0 1px rgba(1, 83, 243, 0.18);
}
.col-h {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.2em 0.3em 0.4em;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--muted);
}
.col-h em {
  font-style: normal;
  font-size: 0.8em;
  padding: 0.2em 0.6em;
  border-radius: 99em;
  background: var(--blue);
  color: #fff;
}
.ev {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.6em;
  padding: 0.75em 0.8em 0.75em 1.1em;
  border-radius: 0.9em;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.ev::before {
  content: "";
  position: absolute;
  left: 0.4em;
  top: 0.7em;
  bottom: 0.7em;
  width: 0.28em;
  border-radius: 1em;
  background: var(--blue);
  transition: background-color 0.5s var(--ease);
}
.ev b {
  font-family: var(--mono);
  font-size: 1em;
  font-weight: 500;
  color: var(--muted);
}
.ev span {
  grid-column: 1;
  margin-top: 0.15em;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ev i {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  font-style: normal;
  font-size: 0.95em;
  font-weight: 650;
}
.ev-done {
  background: #f6fbf8;
  border-color: rgba(14, 159, 91, 0.16);
  box-shadow: none;
}
.ev-done::before {
  background: var(--green);
}
.ev-done span {
  color: var(--ink-2);
}
.ev-state {
  grid-column: 1 / -1;
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.4s var(--ease), margin 0.4s var(--ease);
}
.ev-state em {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-style: normal;
  font-size: 0.95em;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.ev-state .s-in {
  color: var(--amber-ink);
}
.ev-state .s-in::before {
  content: "";
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--amber);
  animation: blink 1.2s ease-in-out infinite;
}
.ev-state .s-done {
  color: var(--green-ink);
}
.ev-state .s-done::before {
  content: "✓";
  font-weight: 700;
}

/* office notifications */
.toasts {
  position: absolute;
  left: 22.5em;
  top: 46em;
  width: 31em;
  z-index: 2;
}
.toast {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 1.1em 1.3em;
  border-radius: 1.4em;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  opacity: 0;
  transform: translateY(1.6em) scale(0.96);
  transition:
    opacity 0.55s var(--ease),
    transform 0.7s var(--spring);
}
.toast b {
  display: block;
  font-size: 1.28em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.toast small {
  display: block;
  margin-top: 0.15em;
  font-size: 1.1em;
  color: var(--muted);
}
.toast-ic {
  display: grid;
  place-items: center;
  width: 3.2em;
  height: 3.2em;
  border-radius: 1em;
  flex: none;
  font-size: 1em;
}
.toast-ic .i {
  font-size: 1.6em;
  stroke-width: 2.1;
}
.ic-amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.ic-blue {
  background: var(--blue-soft);
  color: var(--blue);
}
.ic-green {
  background: var(--green-soft);
  color: var(--green);
}

/* stacking: newest in front, older ones step back and up */
[data-state="1"] .t1,
[data-state="2"] .t2,
[data-state="3"] .t3 {
  opacity: 1;
  transform: none;
  z-index: 3;
}
[data-state="2"] .t1,
[data-state="3"] .t2 {
  opacity: 0.7;
  transform: translateY(-1.3em) scale(0.94);
  z-index: 2;
}
[data-state="3"] .t1 {
  opacity: 0.35;
  transform: translateY(-2.5em) scale(0.88);
  z-index: 1;
}

/* crew phone */
.phone {
  position: absolute;
  left: 87.5em;
  top: 0;
  width: 30.5em;
  height: 63em;
  padding: 0.9em;
  border-radius: 5.2em;
  background: #111216;
  box-shadow:
    inset 0 0 0 0.18em #2c2e34,
    inset 0 0 0 0.45em #0b0c0f,
    0 60px 120px -30px rgba(8, 18, 55, 0.45),
    0 24px 48px -24px rgba(8, 18, 55, 0.35);
  z-index: 3;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 4.4em;
  overflow: hidden;
  background: #f5f6f8;
}
.phone-status {
  position: relative;
  height: 4.8em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6em 2.6em 0 3.2em;
}
.phone-time {
  position: relative;
  width: 4em;
  height: 1.3em;
  font-size: 1.35em;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.phone-time span {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
[data-state="0"] .pt0,
[data-state="1"] .pt1,
[data-state="2"] .pt2,
[data-state="3"] .pt3 {
  opacity: 1;
}
.phone-island {
  position: absolute;
  left: 50%;
  top: 1.1em;
  width: 9.6em;
  height: 2.8em;
  border-radius: 2em;
  background: #000;
  transform: translateX(-50%);
}
.phone-icons {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.phone-icons .sig {
  width: 1.7em;
  height: 1.05em;
  background: linear-gradient(to right, var(--ink) 0 20%, transparent 20% 27%, var(--ink) 27% 47%, transparent 47% 54%, var(--ink) 54% 74%, transparent 74% 80%, var(--ink) 80%);
  -webkit-mask: linear-gradient(to top right, #000 50%, transparent 50%);
  mask: linear-gradient(to top right, #000 50%, transparent 50%);
}
.phone-icons .bat {
  position: relative;
  width: 2.3em;
  height: 1.1em;
  border-radius: 0.35em;
  border: 0.12em solid rgba(8, 18, 55, 0.45);
}
.phone-icons .bat::after {
  content: "";
  position: absolute;
  inset: 0.12em 0.5em 0.12em 0.12em;
  border-radius: 0.18em;
  background: var(--ink);
}
.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6em 2em 0;
}
.app-title {
  font-size: 2.8em;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.app-sub {
  font-size: 1.25em;
  color: var(--muted);
}
.app-filters {
  display: flex;
  gap: 0.6em;
  padding: 1.2em 2em 0.4em;
}
.app-filters > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.45em 0.95em;
  border-radius: 99em;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 1.1em;
  font-weight: 550;
  color: var(--muted);
}
.app-filters > .is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.done-n {
  position: relative;
  display: inline-block;
  width: 0.65em;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
}
.done-n em {
  position: absolute;
  left: 0;
  top: 0;
  font-style: normal;
  transition: transform 0.5s var(--spring);
}
.done-n em + em {
  transform: translateY(110%);
}
[data-state="3"] .done-n em:first-child {
  transform: translateY(-110%);
}
[data-state="3"] .done-n em + em {
  transform: none;
}

.vcard {
  margin: 0.9em 1.4em 0;
  padding: 1.4em 1.5em;
  border-radius: 1.8em;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.vcard-live {
  box-shadow: 0 1.2em 2.4em -1.4em rgba(8, 18, 55, 0.25), var(--shadow-sm);
}
.vcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vtime {
  font-family: var(--mono);
  font-size: 1.12em;
  color: var(--muted);
}
.vpill {
  position: relative;
  display: inline-grid;
  font-size: 1em;
  font-weight: 600;
}
.vpill em {
  grid-area: 1 / 1;
  justify-self: end;
  padding: 0.3em 0.8em;
  border-radius: 99em;
  font-style: normal;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--spring);
}
.vpill .p0 {
  background: var(--blue-soft);
  color: var(--blue-ink);
}
.vpill .p1 {
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.vpill .p3 {
  background: var(--green-soft);
  color: var(--green-ink);
}
[data-state="0"] .p0,
[data-state="1"] .p1,
[data-state="2"] .p1,
[data-state="3"] .p3 {
  opacity: 1;
  transform: none;
}
.vpill-soft {
  padding: 0.3em 0.8em;
  border-radius: 99em;
  background: var(--paper-2);
  color: var(--muted);
}
.vname {
  margin-top: 0.35em;
  font-size: 1.6em;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.vaddr {
  display: flex;
  align-items: center;
  gap: 0.35em;
  margin-top: 0.15em;
  font-size: 1.2em;
  color: var(--muted);
}
.vaddr .i {
  font-size: 1.05em;
}
.vnote {
  margin-top: 1em;
  padding: 0.75em 0.95em;
  border-radius: 0.95em;
  background: #fff7e8;
  font-size: 1.1em;
  line-height: 1.4;
  color: #5e4310;
}
.vnote b {
  display: block;
  font-size: 0.85em;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.vphotos {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.6s var(--ease),
    opacity 0.4s var(--ease),
    margin 0.6s var(--ease);
}
.vphotos > * {
  min-height: 0;
  overflow: hidden;
}
.vphotos-h {
  font-size: 1.05em;
  font-weight: 600;
  color: var(--muted);
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6em;
  padding-top: 0.6em;
}
.thumbs i,
.m-photos i,
.tile-thumbs i {
  aspect-ratio: 1;
  border-radius: 0.8em;
  background: linear-gradient(160deg, #dbe6f6 0%, #a9c0e2 100%);
  transform: scale(0.6);
  opacity: 0;
  transition:
    transform 0.5s var(--spring),
    opacity 0.3s var(--ease);
}
.thumbs i:nth-child(1),
.m-photos i:nth-child(1),
.tile-thumbs i:nth-child(1) {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.9) 0 12%, transparent 13%),
    linear-gradient(170deg, #e4edf8 0 58%, #b5c7de 58%);
}
.thumbs i:nth-child(2),
.m-photos i:nth-child(2),
.tile-thumbs i:nth-child(2) {
  background: linear-gradient(180deg, #f3ebdf 0 56%, #c9a77f 56%);
}
.thumbs i:nth-child(3),
.m-photos i:nth-child(3),
.tile-thumbs i:nth-child(3) {
  background:
    radial-gradient(ellipse 30% 26% at 32% 58%, #8fc7a6 0 70%, transparent 72%),
    linear-gradient(180deg, #edf4ef 0 66%, #c9dccf 66%);
}
.thumbs i:nth-child(4),
.m-photos i:nth-child(4) {
  background:
    radial-gradient(ellipse at 50% 85%, #ffffff 0 18%, transparent 19%),
    linear-gradient(180deg, #e8eef3 0 62%, #b9c5d0 62%);
}
[data-state="2"] .vphotos,
[data-state="3"] .vphotos {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 1em;
}
[data-state="2"] .thumbs i,
[data-state="3"] .thumbs i {
  transform: none;
  opacity: 1;
}
.thumbs i:nth-child(2) {
  transition-delay: 0.12s;
}
.thumbs i:nth-child(3) {
  transition-delay: 0.24s;
}
.thumbs i:nth-child(4) {
  transition-delay: 0.36s;
}

.vbtn {
  position: relative;
  display: grid;
  place-items: center;
  height: 4.8em;
  margin-top: 1.1em;
  border-radius: 1.4em;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}
.vbtn > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 1.45em;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(0.6em);
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease);
}
.vbtn .i {
  font-size: 1em;
  stroke-width: 2.2;
}
[data-state="1"] .vbtn,
[data-state="2"] .vbtn {
  background: var(--ink);
}
[data-state="3"] .vbtn {
  background: var(--green-soft);
  color: var(--green-ink);
}
[data-state="0"] .b0,
[data-state="1"] .b1,
[data-state="2"] .b1,
[data-state="3"] .b3 {
  opacity: 1;
  transform: none;
}
.tap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5em;
  height: 5em;
  margin: -2.5em 0 0 -2.5em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  opacity: 0;
  pointer-events: none;
}
.vbtn.is-tap .tap {
  animation: tap 0.6s var(--ease);
}
.vmeta {
  position: relative;
  height: 1.5em;
  margin-top: 0.7em;
  font-size: 1.05em;
  color: var(--muted);
}
.vmeta em {
  position: absolute;
  inset: 0;
  font-style: normal;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
[data-state="1"] .m1,
[data-state="2"] .m1,
[data-state="3"] .m3 {
  opacity: 1;
}
.tabbar {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1em 1em 2.2em;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  font-size: 0.95em;
  font-weight: 550;
  color: var(--faint);
}
.tabbar .i {
  font-size: 2em;
}
.tabbar .is-on {
  color: var(--blue);
}

/* the live visit on the office board follows the phone */
[data-state="1"] [data-ev-live],
[data-state="2"] [data-ev-live] {
  background: #fffaf0;
  border-color: rgba(224, 138, 0, 0.3);
  box-shadow: 0 0 0 0.35em rgba(224, 138, 0, 0.1);
}
[data-state="1"] [data-ev-live]::before,
[data-state="2"] [data-ev-live]::before {
  background: var(--amber);
}
[data-state="3"] [data-ev-live] {
  background: #f3fbf6;
  border-color: rgba(14, 159, 91, 0.3);
  box-shadow: 0 0 0 0.35em rgba(14, 159, 91, 0.1);
}
[data-state="3"] [data-ev-live]::before {
  background: var(--green);
}
[data-state="1"] .ev-state,
[data-state="2"] .ev-state,
[data-state="3"] .ev-state {
  height: 1.3em;
  margin-top: 0.35em;
}
[data-state="1"] .s-in,
[data-state="2"] .s-in,
[data-state="3"] .s-done {
  opacity: 1;
}

/* the board tilts flat as it scrolls in */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    .stage-inner {
      animation: tilt linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 42%;
    }
  }
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: clamp(88px, 10vw, 144px) 0;
}
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
}
.split-head .lead {
  max-width: 520px;
  padding-bottom: 6px;
}
.center-head {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.center-head .eyebrow {
  justify-content: center;
}
.center-head .lead {
  max-width: 600px;
  margin: 24px auto 0;
}

/* why */
.why {
  border-top: 1px solid var(--line);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
}
.why-card {
  padding: 12px 12px 28px;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 184px;
  margin-bottom: 24px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 120%, rgba(59, 123, 255, 0.1), transparent 60%),
    var(--paper-2);
  overflow: hidden;
}
.why-card h3 {
  padding: 0 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.why-card p {
  margin-top: 8px;
  padding: 0 12px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.big-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow: 0 18px 30px -16px rgba(1, 83, 243, 0.8);
}
.big-btn .i {
  font-size: 20px;
  stroke-width: 2.2;
}
.finger {
  position: absolute;
  left: 58%;
  top: 56%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(8, 18, 55, 0.2);
  animation: press 2.8s var(--ease) infinite;
}
.mini-visit {
  position: relative;
  display: grid;
  gap: 2px;
  width: 78%;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  text-align: left;
}
.mini-visit b {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}
.mini-visit strong {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.mini-visit span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
}
.mini-visit em {
  position: absolute;
  right: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 16px;
}
.art-owner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 196px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 550;
}
.stat i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.stat b {
  margin-left: auto;
  font-family: var(--mono);
  font-weight: 500;
}
.st-amber i {
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}
.st-green i {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.st-red i {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.invite {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 82%;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.invite-ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 18px;
  flex: none;
}
.invite b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.invite small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.invite em {
  margin-left: auto;
  color: var(--green);
  font-size: 18px;
}
.invite .i {
  stroke-width: 2;
}

/* a day */
.day {
  background:
    radial-gradient(ellipse 55% 45% at 22% 58%, var(--sky), transparent 70%),
    var(--paper);
  transition: --sky 1s var(--ease);
}
.day-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 7vw, 112px);
}
.day-head {
  grid-column: 1;
  grid-row: 1;
}
.day-head .lead {
  margin-top: 24px;
  max-width: 420px;
}
.clock-col {
  grid-column: 1;
  grid-row: 2;
}
.clock {
  position: sticky;
  top: calc(50vh - 90px);
  margin-top: 56px;
}
.clock-face {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.clock-time {
  display: inline-block;
  font-size: clamp(76px, 9.5vw, 150px);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
}
.clock-ampm {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--muted);
}
.clock-face.tick .clock-time {
  animation: tick 0.6s var(--ease);
}
.dayline {
  position: relative;
  height: 4px;
  margin-top: 30px;
  max-width: 440px;
  border-radius: 4px;
  background: var(--line-2);
}
.dayline-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f6a53c, var(--blue));
  transition: width 0.9s var(--ease);
}
.dayline-fill::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: 0 0 0 6px rgba(1, 83, 243, 0.12);
}
.dayline-labels {
  display: flex;
  justify-content: space-between;
  max-width: 440px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}
.steps {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72vh;
  padding: 6vh 0;
  opacity: 0.28;
  transition: opacity 0.6s var(--ease);
}
.step:first-child {
  min-height: 60vh;
}
.step:last-child {
  min-height: 58vh;
}
.day.section {
  padding-bottom: clamp(48px, 6vw, 88px);
}
.step.is-active {
  opacity: 1;
}
.step-time {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.step h3 {
  margin-top: 10px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.step > p:not(.step-time) {
  margin-top: 12px;
  max-width: 470px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.moment {
  margin-top: 28px;
  max-width: 440px;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.7s var(--spring);
}
.step.is-active .moment {
  transform: none;
}
.push {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.push-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.push b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.push span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.push small {
  font-size: 12.5px;
  color: var(--faint);
}
.m-card {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.m-k {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.m-muted {
  color: var(--faint);
}
.m-title {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.m-status {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-ink);
}
.m-status .i {
  font-size: 18px;
  stroke-width: 2.4;
}
.m-status b {
  display: block;
  font-size: 14.5px;
}
.m-status span {
  font-size: 13.5px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pill .i {
  font-size: 13px;
  stroke-width: 2.4;
}
.pill-amber {
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.pill-green {
  background: var(--green-soft);
  color: var(--green-ink);
}
.pill-blue {
  background: var(--blue-soft);
  color: var(--blue-ink);
}
.pill-soft {
  background: var(--paper-2);
  color: var(--muted);
}
.m-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.m-photos i {
  border-radius: 12px;
}
.step.is-active .m-photos i,
.tile-thumbs i {
  transform: none;
  opacity: 1;
}
.step.is-active .m-photos i:nth-child(2) {
  transition-delay: 0.1s;
}
.step.is-active .m-photos i:nth-child(3) {
  transition-delay: 0.2s;
}
.step.is-active .m-photos i:nth-child(4) {
  transition-delay: 0.3s;
}
.bubbles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.bubble {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.bubble .avatar {
  width: 28px;
  height: 28px;
  font-size: 12px;
}
.bubble p {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 6px;
  background: var(--paper-2);
  font-size: 14.5px;
  line-height: 1.45;
}
.bubble.me {
  justify-content: flex-end;
}
.bubble.me p {
  border-radius: 18px 18px 6px 18px;
  background: var(--blue);
  color: #fff;
}
.m-done {
  display: flex;
  align-items: center;
  gap: 14px;
}
.m-done b {
  display: block;
  font-size: 16px;
  font-weight: 650;
}
.m-done div span {
  font-size: 13.5px;
  color: var(--muted);
}
.m-done .pill {
  margin-left: auto;
}
.done-ring {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 0 0 7px var(--green-soft);
  flex: none;
}
.done-ring .i {
  stroke-width: 2.6;
}
.m-book {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.m-book-l {
  font-size: 14.5px;
  font-weight: 600;
}
.m-book-u {
  font-size: 13.5px;
  color: var(--muted);
}
.seg-sm {
  font-size: 10px;
}
.m-book .seg-sm {
  margin-left: auto;
}

/* language */
.lang {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.lang-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 7vw, 112px);
  align-items: center;
}
.lang-copy .lead {
  margin-top: 24px;
  max-width: 470px;
}
.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.lang-switch button {
  position: relative;
  z-index: 1;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 550;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.lang-switch button.is-on {
  color: #fff;
}
.lang-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.5s var(--spring);
}
.lang-switch.is-es .lang-thumb {
  transform: translateX(100%);
}
.lang-demo {
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px 0;
}
.lang-demo::before {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background:
    radial-gradient(closest-side at 40% 50%, rgba(59, 123, 255, 0.22), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(255, 186, 120, 0.25), transparent);
  filter: blur(20px);
  z-index: 0;
}
.ld-card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 22px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.ld-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.ld-title {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.ld-sub {
  margin-top: 2px;
  font-size: 14.5px;
  color: var(--muted);
}
.ld-nav {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 600;
}
.ld-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 6px;
}
.ld-filters span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
}
.ld-filters .is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.ld-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 2px;
  border-top: 1px solid var(--line);
}
.ld-time {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--muted);
}
.ld-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ld-name small {
  display: block;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--muted);
}
.is-done .ld-name small {
  color: var(--green-ink);
}
.is-live .ld-name small {
  color: var(--amber-ink);
}
.ld-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 17px;
}
.ld-check .i {
  stroke-width: 2.6;
}
.ld-btn {
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.ld-btn-dark {
  background: var(--ink);
}
.ld-foot {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 14px;
  font-weight: 550;
}
[data-en] {
  transition:
    opacity 0.22s var(--ease),
    filter 0.22s var(--ease),
    transform 0.22s var(--ease);
}
[data-en].swap {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(3px);
}

/* features */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tile-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 28px;
}
.tile-ic {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile h3 {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.tile p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.tile-foot {
  margin-top: auto;
  padding-top: 22px;
}
.alerts {
  display: grid;
  gap: 6px;
}
.alerts span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 550;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.dot-red {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.dot-amber {
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}
.undo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.undo-msg {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 550;
  box-shadow: var(--shadow-md);
}
.undo-msg .i {
  font-size: 16px;
  color: #4ade80;
  stroke-width: 2.4;
}
.undo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 600;
}
.undo-btn .i {
  font-size: 15px;
  stroke-width: 2.2;
}
.convo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.convo .avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
}
.convo-t {
  min-width: 0;
  flex: 1;
}
.convo-t b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.convo-t small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.convo em {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
}
.banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0 -8px;
  padding: 12px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.banner-ic {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.banner b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
.banner span small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.banner-t {
  align-self: start;
  font-size: 12px;
  color: var(--faint);
}
.file {
  display: flex;
  align-items: center;
  gap: 12px;
}
.file-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e3f4ea;
  color: #107c41;
  font-size: 20px;
  flex: none;
}
.file-t {
  min-width: 0;
  flex: 1;
}
.file-t b {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-t small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.file-go {
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 600;
}
.home {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.app i,
.app .app-ic {
  width: 50px;
  height: 50px;
  border-radius: 13px;
}
.app i {
  background: linear-gradient(160deg, var(--paper-2), var(--paper-3));
}
.app .app-ic {
  box-shadow: 0 8px 18px -6px rgba(8, 18, 55, 0.3);
}
.app small {
  font-size: 11.5px;
  font-weight: 550;
  color: var(--ink-2);
}
.app-taskel {
  transform: translateY(-2px);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips span {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 12.5px;
  font-weight: 600;
}
.tile-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tile-thumbs i {
  border-radius: 12px;
}
.tile-art {
  height: 100%;
  min-height: 210px;
  padding: 18px;
  border-radius: 18px;
  background: var(--paper-2);
}
.art-week {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.art-week .seg {
  align-self: flex-start;
  background: #fff;
}
.art-week .seg .is-on {
  background: var(--ink);
  color: #fff;
}
.mini-week {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
.mini-week span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px;
  border-radius: 12px;
  background: #fff;
}
.mini-week span.today {
  box-shadow: inset 0 0 0 1.5px rgba(1, 83, 243, 0.4);
}
.mini-week i {
  height: 22px;
  border-radius: 6px;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
}
.mini-week i.d {
  background: var(--green-soft);
  border-left-color: var(--green);
}
.mini-week i.l {
  background: var(--amber-soft);
  border-left-color: var(--amber);
}
.art-roles {
  display: grid;
  place-items: center;
}
.roles {
  width: 100%;
  display: grid;
  gap: 4px;
  font-size: 13.5px;
}
.roles > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, 58px);
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
}
.roles .roles-h {
  background: none;
  padding-bottom: 2px;
}
.roles-h b {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.roles span {
  font-weight: 550;
}
.roles i {
  justify-self: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.roles i.y {
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e9f5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.roles i.n {
  background: var(--paper-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9ea6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.kicker {
  margin-top: clamp(56px, 7vw, 88px);
  text-align: center;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--ink-2);
}
.kicker .serif {
  font-size: 1.12em;
  color: var(--blue);
}

/* trades */
.trades {
  border-top: 1px solid var(--line);
}
.trade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
}
.trade {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.trade:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.trade-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.trade-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--paper-2);
  font-size: 24px;
}
.trade h3 {
  margin-top: auto;
  padding-top: 40px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.trade p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.trade-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}
.trade-link .i {
  transition: transform 0.25s var(--ease);
}
.trade-link:hover .i {
  transform: translateX(3px);
}
.trade-link.is-muted {
  color: var(--muted);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.badge-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}
.trade-live {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(8, 18, 55, 0.6);
}
.trade-live::before {
  content: "";
  position: absolute;
  right: -30%;
  top: -40%;
  width: 90%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(59, 123, 255, 0.45), transparent);
  filter: blur(10px);
  pointer-events: none;
}
.trade-live .trade-ic {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.trade-live .badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.trade-live p {
  color: rgba(255, 255, 255, 0.7);
}
.trade-live .trade-link {
  color: #fff;
}
.trade-ask {
  background:
    repeating-linear-gradient(-45deg, transparent 0 10px, rgba(8, 18, 55, 0.025) 10px 11px),
    #fff;
  border-style: dashed;
  border-color: var(--line-2);
  box-shadow: none;
}

/* get started */
.start {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.start-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
  counter-reset: s;
}
.start-step {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.start-n {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: var(--blue);
  background: var(--blue-soft);
}
.start-step h3 {
  margin-top: 26px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.start-step p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.start-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 56px;
  right: -17px;
  width: 18px;
  height: 1.5px;
  background: var(--line-2);
}

/* faq */
.faq {
  border-top: 1px solid var(--line);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 48px clamp(40px, 7vw, 112px);
  align-items: start;
}
.faq-head {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
}
.faq-head .lead {
  margin-top: 24px;
  max-width: 380px;
}
.faq-list {
  border-top: 1px solid var(--line-2);
}
.faq-list details {
  border-bottom: 1px solid var(--line-2);
}
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 550;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary i {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  flex: none;
  transition:
    transform 0.4s var(--spring),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.6px;
  margin: -0.8px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
}
.faq-list summary i::after {
  transform: rotate(90deg);
}
.faq-list summary:hover i {
  border-color: rgba(8, 18, 55, 0.3);
}
.faq-list details[open] summary i {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.faq-a {
  padding: 0 56px 26px 0;
}
.faq-a p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}
.faq-a a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
@supports (interpolate-size: allow-keywords) {
  .faq-list {
    interpolate-size: allow-keywords;
  }
  .faq-list details::details-content {
    height: 0;
    overflow: clip;
    transition:
      height 0.45s var(--ease),
      content-visibility 0.45s allow-discrete;
  }
  .faq-list details[open]::details-content {
    height: auto;
  }
}

/* closing call to action */
.cta {
  position: relative;
  padding: clamp(110px, 14vw, 190px) 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(1300px, 160vw);
  height: 900px;
  transform: translate(-50%, -52%);
  background:
    radial-gradient(closest-side at 40% 50%, rgba(59, 123, 255, 0.55), transparent 70%),
    radial-gradient(closest-side at 62% 55%, rgba(1, 83, 243, 0.6), transparent 72%),
    radial-gradient(closest-side at 50% 40%, rgba(255, 170, 110, 0.25), transparent 70%);
  filter: blur(40px);
}
.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 22px 48px -10px rgba(61, 123, 255, 0.6);
}
.cta-mark img {
  display: block;
  width: 44px;
  height: auto;
}
.cta-h {
  margin-top: 32px;
  font-size: clamp(44px, 7.4vw, 108px);
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.cta-h .serif {
  background: linear-gradient(100deg, #9ec0ff 10%, #ffffff 55%, #ffd2b0 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.cta .lead {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.66);
}
.cta .cta-row {
  margin-top: 40px;
}
.ticks-dark {
  color: rgba(255, 255, 255, 0.6);
}
.ticks-dark .i {
  color: #4ade80;
}

/* footer */
.foot {
  position: relative;
  padding-top: clamp(64px, 8vw, 96px);
  overflow: hidden;
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
}
.foot-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.foot-h {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-cols a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.2s;
}
.foot-cols a:hover {
  color: var(--blue);
}
.foot-cols small {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.foot-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 13.5px;
  color: var(--muted);
}
.foot-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line);
}
.foot-word {
  margin-top: 8px;
  font-size: clamp(120px, 27vw, 400px);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.74;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(8, 18, 55, 0.09), rgba(8, 18, 55, 0.015) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  transform: translateY(0.06em);
}

/* 404 */
.lost {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px var(--gutter) 64px;
  text-align: center;
  isolation: isolate;
}
.lost .hero-bg {
  inset: 0;
}
.lost > .logo {
  position: absolute;
  top: 20px;
  left: var(--gutter);
}
.lost .h2 {
  max-width: 11em;
}
.lost .lead {
  max-width: 460px;
  margin-top: 22px;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.pre {
  opacity: 0;
  transform: translateY(28px);
}

/* ---------- keyframes ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes tilt {
  from {
    transform: perspective(2600px) rotateX(18deg) scale(0.93);
  }
  to {
    transform: none;
  }
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}
@keyframes tap {
  0% {
    opacity: 0.9;
    transform: scale(0.2);
  }
  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}
@keyframes press {
  0%,
  100% {
    transform: translate(16px, 22px) scale(1);
    opacity: 0;
  }
  25% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  35% {
    transform: translate(0, 0) scale(0.82);
  }
  48% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  70% {
    transform: translate(16px, 22px) scale(1);
    opacity: 0;
  }
}
@keyframes tick {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .split-head,
  .lang-grid,
  .faq-grid,
  .foot-top {
    grid-template-columns: 1fr;
  }
  .split-head {
    align-items: start;
  }
  .trade-grid,
  .start-grid {
    grid-template-columns: 1fr;
  }
  .trade {
    min-height: 0;
  }
  .start-step:not(:last-child)::after {
    display: none;
  }
  .faq-head {
    position: static;
  }

  /* a day: the clock rides along under the nav */
  .day-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .day-head,
  .clock-col,
  .steps {
    grid-column: 1;
    grid-row: auto;
  }
  .clock-col {
    position: sticky;
    top: var(--nav-h);
    z-index: 5;
    margin: 32px calc(var(--gutter) * -1) 0;
    padding: 14px var(--gutter) 16px;
    background: rgba(250, 250, 247, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .clock {
    position: static;
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 20px;
  }
  .clock-time {
    font-size: 40px;
  }
  .clock-ampm {
    font-size: 14px;
  }
  .dayline {
    margin: 0;
  }
  .dayline-labels {
    display: none;
  }
  .step,
  .step:first-child,
  .step:last-child {
    min-height: 0;
    padding: 48px 0;
    opacity: 1;
  }
  .step .moment {
    transform: none;
  }
  .step .m-photos i {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 60px;
  }
  .nav-signin,
  .nav-actions .btn {
    display: none;
  }
  .why-grid,
  .bento {
    grid-template-columns: 1fr;
  }
  .tile-wide {
    grid-column: auto;
  }
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-a {
    padding-right: 0;
  }
  .roles > div {
    grid-template-columns: minmax(0, 1fr) repeat(3, 46px);
  }

  /* phone-first stage: the office board steps aside, notifications sit above the phone */
  .stage-inner {
    font-size: min(10.5px, calc((100vw - 40px) / 33));
    height: 72em;
  }
  .win {
    display: none;
  }
  .phone {
    left: 50%;
    top: 8.5em;
    margin-left: -15.25em;
  }
  .toasts {
    left: 50%;
    top: 0;
    width: 31em;
    margin-left: -15.5em;
  }
  [data-state="2"] .t1,
  [data-state="3"] .t2,
  [data-state="3"] .t1 {
    opacity: 0;
  }
}

@media (max-width: 420px) {
  .h1 {
    font-size: clamp(34px, 9.7vw, 42px);
  }
  .btn-lg {
    height: 52px;
    padding: 0 22px;
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
  .ticks {
    gap: 8px 18px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .step {
    opacity: 1;
  }
}
