@charset "UTF-8";
/* ShadowSync home — a working day turning into night.
   A light hero where the work is named, an angled cut into the dark, and teal
   as the only light below it: the signal of something running unattended.
   Shared type, controls, glass, steps and the close banner live in
   world.css; tokens in chrome.css. This file is the home page's own. */


/* ================================================================ 1. day */
.n-day {
  --cut: clamp(30px, 4.5vw, 64px);
  position: relative;
  isolation: isolate;
  background: var(--day);
  color: var(--day-ink);
  padding: calc(var(--nav-h) + clamp(28px, 4vw, 56px)) 0 calc(var(--cut) + clamp(28px, 3vw, 44px));
  /* the cut into night: the dark comes in from the lower left on an angle */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 36% 100%, 31% calc(100% - var(--cut)), 0 calc(100% - var(--cut)));
}
.n-day-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.n-day-lines path { fill: none; stroke: var(--day-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
/* stacked on a narrow screen the lines would run through the cards, the
   buttons and the facts; the angled cut carries the world there on its own */
@media (max-width: 759px) { .n-day-lines { display: none; } }

.n-day-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
}
@media (min-width: 1100px) {
  .n-day-grid {
    grid-template-columns: 52px minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(24px, 3vw, 52px);
    min-height: min(640px, calc(100svh - var(--nav-h) - 180px));
  }
}

/* the numbered rail, from the destination slider */
.n-rail { display: none; }
@media (min-width: 1100px) {
  .n-rail { display: grid; justify-items: center; gap: 22px; align-self: stretch; align-content: center; }
}
.n-rail-list {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.n-rail-list::before {
  content: "";
  position: absolute;
  top: -40px;
  bottom: -40px;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--day-line) 14%, var(--day-line) 86%, transparent);
}
/* Each node is a 36px target. The resting dot and the teal disc are drawn as
   two layers so the change between them is a transform, never a resize. */
.n-rail-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.n-rail-node::before,
.n-rail-node::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), border-color 0.25s var(--ease);
}
.n-rail-node::after { width: 12px; height: 12px; border: 1px solid #b9b9b3; background: var(--day); }
.n-rail-node::before { inset: 0; background: var(--teal); transform: scale(0); }
.n-rail-node:hover::after { border-color: var(--day-ink); }
.n-rail-no { position: relative; z-index: 1; opacity: 0; font: 700 0.72rem/1 var(--sans); color: var(--teal-ink); transition: opacity 0.2s var(--ease); }
.n-rail-node[aria-current="true"]::before { transform: scale(1); }
.n-rail-node[aria-current="true"]::after { opacity: 0; transform: scale(0.4); }
.n-rail-node[aria-current="true"] .n-rail-no { opacity: 1; }
.n-rail-count {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 18px 0 0;
  font: 300 0.86rem/1 var(--display);
  font-stretch: 112%;
  color: var(--day-soft);
}
.n-rail-count [data-count-now] { color: var(--day-ink); font-weight: 500; }
.n-rail-of { opacity: 0.5; }

/* the copy column: the promise, then the selected service */
.n-day-copy { display: grid; gap: clamp(28px, 3.4vw, 44px); min-width: 0; }
.n-pick { display: grid; gap: 14px; max-width: 46ch; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.n-pick.is-swapping { opacity: 0; transform: translateY(6px); }
/* the heading is the selected slide's caption: its lines leave and arrive a
   beat apart, so the change reads as the sentence turning over */
.n-caption span { transition: opacity 0.24s var(--ease), transform 0.24s var(--ease); }
.n-caption span:nth-child(2) { transition-delay: 0.04s; }
.n-caption span:nth-child(3) { transition-delay: 0.08s; }
.n-caption.is-swapping span { opacity: 0; transform: translateY(10px); }
.n-pick-name {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font: 560 clamp(1.08rem, 1.3vw, 1.3rem)/1.25 var(--display);
  letter-spacing: -0.012em;
}
.n-pick-name::before { content: ""; flex: none; width: 30px; height: 1px; background: var(--day-ink); }
.n-pick-lede { margin: 0; color: var(--day-soft); line-height: 1.6; }
.n-pick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }

/* the card carousel: the selected card largest, the rest stepping down and
   running off the right edge of the page */
.n-deck {
  --cw: clamp(150px, 13vw, 208px);
  --gap: 16px;
  --lead: 1.3;
  position: relative;
  min-width: 0;
}
.n-deck-window {
  /* room inside the clip for the selected card's shadow to fall softly,
     handed back by the negative margins so nothing moves */
  overflow: hidden;
  margin: -20px calc(-1 * var(--edge)) -60px calc(-1 * var(--edge));
  padding: 30px 0 70px calc(var(--edge) + 2px);
}
.n-deck-track { position: relative; height: calc(var(--cw) * 1.3333 * var(--lead) + 6px); }
.n-card {
  /* Geometry lives here, not in script: JS only sets --d, the card's distance
     from the selected one, so the layout can never be measured before the
     stylesheet has applied. */
  --d: 1;
  --x: calc(var(--cw) * var(--lead) + var(--gap) + (var(--d) - 1) * (var(--cw) + var(--gap)));
  --s: 1;
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--cw);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-decoration: none;
  background: #1b1b1e;
  transform: translate3d(var(--x), -50%, 0) scale(var(--s));
  transform-origin: left center;
  transition: transform 0.75s var(--ease), opacity 0.5s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow: 0 18px 40px -26px rgba(10, 10, 11, 0.55);
}
.n-card.is-active { --x: 0px; --s: var(--lead); }
.n-card.is-gone { --x: calc(var(--d) * (var(--cw) + var(--gap)) - 30px); opacity: 0; pointer-events: none; }
.n-card.is-active { box-shadow: 0 30px 60px -30px rgba(10, 10, 11, 0.7); }
.n-card-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
  transition: transform 1.1s var(--ease);
}
.n-card:hover .n-card-img { transform: scale(1.04); }
.n-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(7, 7, 8, 0.9) 0%, rgba(7, 7, 8, 0.38) 46%, rgba(7, 7, 8, 0.05) 70%);
}
.n-card-title { position: absolute; left: 14px; right: 14px; bottom: 14px; font: 600 0.92rem/1.2 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
/* the first card is ShadowSync itself: the mark, lit from below */
.n-card--brand {
  background:
    radial-gradient(120% 62% at 50% 112%, rgba(0, 214, 180, 0.38), rgba(0, 214, 180, 0.08) 55%, transparent 75%),
    #0f0f11;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 40px -26px rgba(10, 10, 11, 0.55);
}
.n-card--brand::after { content: none; }
.n-card-mark { position: absolute; left: 50%; top: 40%; translate: -50% -50%; color: var(--night-ink); }
.n-card-mark .brand-mark { width: calc(var(--cw) * 0.38); height: auto; }

.n-deck-ctrl { display: flex; align-items: center; gap: 16px; margin-top: clamp(14px, 2vw, 22px); }
.n-pips { display: flex; align-items: center; gap: 7px; }
.n-pip { width: 6px; height: 6px; border-radius: 999px; background: #c2c2bc; transition: background-color 0.3s var(--ease); }
.n-pip.is-on { width: 28px; background: var(--teal); }

/* without script the deck is a plain strip that scrolls sideways */
.no-js .n-deck-track { display: flex; gap: var(--gap); height: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
.no-js .n-card { position: relative; top: auto; flex: 0 0 var(--cw); transform: none; scroll-snap-align: start; }
.no-js .n-deck-ctrl { display: none; }

/* three verifiable facts along the foot of the day */
.n-facts {
  display: grid;
  gap: 18px 0;
  margin-top: clamp(36px, 5vw, 64px);
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .n-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100% - (var(--edge) * 2), 860px); margin-right: max(var(--edge), calc((100% - var(--shell)) / 2)); margin-left: auto; }
  .n-facts li + li { border-left: 1px solid var(--day-line); }
  .n-facts li { padding-left: clamp(16px, 2vw, 26px); }
}
.n-facts li { display: flex; align-items: baseline; gap: 12px; }
.n-fact-n { font: 280 clamp(1.9rem, 2.8vw, 2.6rem)/1 var(--display); font-stretch: 112%; letter-spacing: -0.02em; flex: none; }
.n-fact-l { color: var(--day-soft); font-size: 0.86rem; line-height: 1.35; max-width: 22ch; }
a.n-fact-l { color: var(--day-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(10, 10, 11, 0.3); }

/* ================================================================ 2. night begins */
.n-night-intro { padding: clamp(64px, 9vw, 130px) 0 clamp(60px, 8vw, 110px); }
.n-intro-grid { display: grid; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (min-width: 900px) {
  .n-intro-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}
.n-intro-figure { margin: 0; aspect-ratio: 4 / 5; max-height: 640px; }
.n-intro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.12) brightness(0.86);
  /* the portrait comes out of the dark rather than sitting in a frame: every
     edge falls away to the ground, the top and left furthest */
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 30%, #000 82%, transparent),
    linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 30%, #000 82%, transparent),
    linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
  mask-composite: intersect;
}
.n-intro-copy { display: grid; gap: 26px; justify-items: start; }

/* ================================================================ 3. the products arc */
.n-arc { position: relative; padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 110px); }
.n-arc-head { display: grid; justify-items: center; gap: 20px; text-align: center; }
.n-arc-head .n-lede { max-width: 52ch; }

.n-arc-stage {
  /* One continuous curved band, not a row of tiles: the radius is derived
     from the card width so neighbours sit --seam-gap apart at any size
     (arc length = R x step; 14deg is 0.2443rad, so R = (w + gap) / 0.2443). */
  --step: 14deg;
  --w: clamp(220px, 20vw, 300px);
  --seam-gap: 14px;
  --R: calc((var(--w) + var(--seam-gap)) * 4.093);
  --rot: 0deg;
  position: relative;
  height: calc(var(--w) * 1.25 * 1.42);
  margin-top: clamp(28px, 4vw, 48px);
  /* close enough that the flanks curve toward you and loom */
  perspective: 1000px;
  perspective-origin: 50% 50%;
  overflow: hidden;
}
.n-arc-pool {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(70vw, 820px);
  height: min(40vw, 420px);
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 214, 180, 0.26), rgba(0, 214, 180, 0.08) 55%, transparent);
  filter: blur(8px);
  pointer-events: none;
}
.n-arc-ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(var(--R));
}
.n-arc-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  aspect-ratio: 4 / 5;
  margin: 0;
  margin-left: calc(var(--w) / -2);
  margin-top: calc(var(--w) * -0.625);
  border-radius: 16px;
  overflow: hidden;
  background: #121214;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  backface-visibility: hidden;
  transform: rotateY(calc(var(--k) * var(--step) * -1 + var(--rot))) translateZ(calc(var(--R) * -1));
  transition: opacity 0.4s var(--ease);
}
.n-arc-card.is-out { opacity: 0; }
.n-arc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  /* off the seam the screens stay legible as mid-grey, behind a halftone
     screen, so the one crossing the light is the only one in colour */
  filter: grayscale(1) brightness(0.58) contrast(0.96);
  transition: filter 0.5s var(--ease);
}
.n-arc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(7, 7, 8, 0.4) 0.7px, transparent 1.05px) 0 0 / 3px 3px;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.n-arc-card.is-seam img { filter: none; }
.n-arc-card.is-seam::after { opacity: 0; }
.n-arc-card.is-seam { box-shadow: 0 0 0 1px rgba(0, 214, 180, 0.7); }
.n-arc-seam {
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: 12%;
  width: 2px;
  translate: -50% 0;
  z-index: 3;
  border-radius: 2px;
  background: linear-gradient(transparent, var(--teal) 18%, #b8fff2 50%, var(--teal) 82%, transparent);
  box-shadow: 0 0 18px 3px rgba(0, 214, 180, 0.65), 0 0 60px 8px rgba(0, 214, 180, 0.25);
  pointer-events: none;
  mix-blend-mode: screen;
}
/* the bloom: the seam's light spills across the lit screen and catches the
   near edges of its neighbours */
.n-arc-seam::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14%;
  bottom: -14%;
  width: calc(var(--w) * 2.5);
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(0, 214, 180, 0.3), rgba(0, 214, 180, 0.1) 50%, transparent);
}

.n-arc-cols {
  display: grid;
  gap: 34px;
  margin-top: clamp(36px, 5vw, 64px);
  padding: 0;
  list-style: none;
  text-align: center;
}
@media (min-width: 900px) { .n-arc-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.n-arc-cols li { display: grid; justify-items: center; gap: 12px; align-content: start; }
.n-col-title { margin: 0; font: 400 clamp(1.2rem, 1.6vw, 1.45rem)/1.2 var(--display); font-stretch: 108%; letter-spacing: -0.015em; }
.n-col-text { margin: 0; color: var(--night-soft); font-size: 0.94rem; line-height: 1.6; max-width: 34ch; }

/* ================================================================ 5. the stack, in glass */
.n-stack { padding: clamp(60px, 8vw, 110px) 0; }
.n-glass-grid { display: grid; gap: 14px; }
.n-glass-grid .n-glass { grid-template-rows: 1fr auto; gap: 26px; min-height: 340px; }
@media (min-width: 900px) {
  .n-glass-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .n-glass--phones, .n-glass--chat { grid-column: span 5; }
  .n-glass--records, .n-glass--desk { grid-column: span 7; }
}
/* the vignettes: small, illustrative interfaces, drawn rather than pictured */
.n-vignette { display: grid; gap: 10px; align-content: center; justify-items: start; }
.v-call, .v-row, .v-ticket, .v-bubble {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(21, 21, 23, 0.86);
  font-size: 0.82rem;
  color: var(--night-ink);
}
.v-call { --in: 0px; width: min(100% - var(--in), 360px); margin-left: var(--in); }
.v-call-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); flex: none; }
.v-wave { display: flex; align-items: center; gap: 3px; margin-left: auto; height: 22px; }
.v-wave i { width: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.34); height: 30%; }
.v-wave i:nth-child(3n) { height: 70%; }
.v-wave i:nth-child(4n+1) { height: 100%; }
.v-wave i:nth-child(5n+2) { height: 50%; }
.v-call--handoff { --in: 40px; color: var(--night-soft); background: rgba(15, 15, 17, 0.9); }
.v-row { --in: calc(var(--d) * 22px); width: min(100% - var(--in), 440px); margin-left: var(--in); }
.v-tick { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.34); position: relative; flex: none; }
.v-tick::after { content: ""; position: absolute; left: 4px; top: 2px; width: 4px; height: 7px; border: solid var(--night-ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.v-meta { margin-left: auto; color: var(--night-soft); font-size: 0.74rem; }
.v-ticket { --in: 0px; display: grid; gap: 4px; width: min(100% - var(--in), 320px); margin-left: var(--in); }
.v-ticket--open { --in: 46px; border-color: rgba(0, 214, 180, 0.45); }
.v-ticket-state { font-size: 0.7rem; font-weight: 600; color: var(--night-soft); }
.v-ticket--open .v-ticket-state { color: var(--night-ink); }
.v-ticket-subject { color: var(--night-ink); font-weight: 500; }
.v-ticket-note { color: var(--night-soft); font-size: 0.76rem; }
.v-bubble { --in: 0px; max-width: min(100% - var(--in), 280px); margin-left: var(--in); border-radius: 16px 16px 16px 4px; }
.v-bubble--reply { --in: 56px; border-radius: 16px 16px 4px 16px; border-color: rgba(0, 214, 180, 0.4); background: rgba(0, 214, 180, 0.1); }

/* ================================================================ 6. commitments */
.n-trust { position: relative; padding: clamp(60px, 8vw, 120px) 0; overflow: hidden; }
.n-trust-curve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.n-trust-curve path { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.n-trust-grid { position: relative; display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) { .n-trust-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; } }
.n-trust-head { display: grid; gap: 26px; align-content: start; }
.n-rule { display: block; height: 1px; background: rgba(255, 255, 255, 0.14); width: min(100%, 360px); }
.n-trust-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.n-trust-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 15, 17, 0.88);
}
@media (min-width: 960px) {
  .n-trust-card:nth-child(even) { margin-right: 44px; margin-left: -44px; }
}
.n-trust-text { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--night-ink); max-width: 60ch; }
.n-trust-name { margin: 0; font: 500 0.8rem/1.2 var(--sans); color: var(--night-soft); }

/* ================================================================ motion */
@media (prefers-reduced-motion: reduce) {
  .n-card, .n-card-img, .n-pick, .n-caption span, .n-rail-node::before, .n-rail-node::after, .n-pip, .n-steps-img, .n-arc-card, .n-arc-card img, .n-arrow { transition: none !important; }
  .n-close-banner .hero-media { display: none; }
}

@media (max-width: 1099px) {
  .n-deck { --cw: clamp(140px, 30vw, 200px); --lead: 1.18; }
  .n-display--hero { font-size: clamp(2.3rem, 9.4vw, 4.2rem); }
}
@media (max-width: 640px) {
  /* tighter on a phone, so four or five screens read as one curve rather
     than two cards and a gap */
  .n-arc-stage { --w: 150px; --seam-gap: 10px; perspective: 700px; }
  .n-trust-card { padding: 18px; }
  .n-card-title { left: 12px; right: 12px; bottom: 12px; font-size: 0.8rem; }
  .v-call--handoff, .v-ticket--open, .v-bubble--reply { --in: 22px; }
  .v-row { --in: calc(var(--d) * 12px); }
}
