/* Landing page. */

.hero { position: relative; padding: 168px 0 0; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  max-width: 13em;
  margin: 0;
  font-size: 64px;
  font-weight: 510;
  line-height: 1;
  letter-spacing: -0.022em;
}
.hero-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 32px 0 64px; }
.hero-sub p { margin: 0; color: var(--color-fog); font-size: 16px; }
.hero-new { display: inline-flex; gap: 10px; color: var(--color-fog); font-size: 15px; text-decoration: none; white-space: nowrap; }
.hero-new b { color: var(--color-paper); font-weight: 510; }
.hero-new:hover span { color: var(--color-paper); }
/* The product sits on a wide band that brightens to grey toward its foot, and runs a little past
   the window's bottom edge. */
.hero-floor { position: relative; margin-bottom: var(--section-gap); padding: 0 0 88px; }
.hero-floor::before {
  content: "";
  position: absolute;
  top: -80px;
  bottom: 0;
  left: 50%;
  width: min(1720px, calc(100vw - 48px));
  transform: translateX(-50%);
  background:
    radial-gradient(55% 60% at 50% 100%, rgba(208, 214, 224, 0.62) 0%, rgba(208, 214, 224, 0.28) 40%, rgba(208, 214, 224, 0) 80%),
    linear-gradient(180deg, #0c0d0e 0%, #17181a 35%, #3a3c40 100%);
  /* A rectangle whose top fades out into the black; its sides stay crisp. */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 42%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 42%);
  pointer-events: none;
}
.hero-shot { position: relative; width: min(1290px, calc(100vw - 200px)); margin: 0 auto; }

/* On load: the headline, then its subline, then the app window fade up in turn. */
.hero h1, .hero-sub, .hero-floor { animation: hero-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-sub { animation-delay: 0.15s; }
.hero-floor { animation-duration: 1.2s; animation-delay: 0.35s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero h1, .hero-sub, .hero-floor { animation: none; } }
.hero-shot .win { box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14) inset, 0 0 0 1px rgba(0, 0, 0, 0.9), 0 40px 80px rgba(0, 0, 0, 0.55); }

/* Device strip */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: 40px 0; border-top: 1px solid var(--color-graphite); border-bottom: 1px solid var(--color-graphite); }
.strip p { margin: 0; color: var(--color-fog); font-size: 13px; }
.strip ul { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 0; padding: 0; list-style: none; }
.strip li { color: var(--color-mist); font-size: 17px; font-weight: 510; letter-spacing: -0.012em; }

/* Feature sections: overlapping windows that run past the content width and fade into the page. */
.stack {
  position: relative;
  width: calc(100% + 200px);
  margin: 0 -100px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 80%, transparent 100%), linear-gradient(180deg, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 80%, transparent 100%), linear-gradient(180deg, #000 62%, transparent 100%);
  mask-composite: intersect;
}

/* "Features" index under each stack: a label, then two columns of expandable items. */
.fx-index { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 24px; }
.fx-label { color: var(--color-fog); font-size: 15px; }
.fx-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fx-col { display: flex; flex-direction: column; gap: 4px; }
.fx-col + .fx-col { padding-left: 32px; border-left: 1px solid var(--color-graphite); }
.fx { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 0; border: 0; background: none; color: var(--color-mist); font-size: 15px; letter-spacing: -0.011em; line-height: 28px; cursor: pointer; }
.fx::after { content: "+"; color: var(--color-fog); font-size: 16px; transition: color 0.12s; }
.fx:hover, .fx:focus-visible { color: var(--color-paper); }
.fx:hover::after { color: var(--color-paper); }
.label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--color-fog); font-size: 13px; }
.label .sym { width: 14px; height: 14px; color: var(--color-mist); }

/* Closing call to action */
.closing { padding: 128px 0; border-top: 1px solid var(--color-graphite); }
.closing h2 { max-width: 12em; margin: 0 0 32px; font-size: 64px; line-height: 1; letter-spacing: -0.022em; }
.closing .actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .hero { padding-top: 132px; }
  .hero h1 { font-size: 44px; }
  .hero-sub { flex-direction: column; gap: 12px; margin-bottom: 40px; }
  .stack { width: calc(100% + 64px); margin: 0 -32px; }
  .fx-index { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-floor { padding-bottom: 40px; }
  .hero-shot { width: calc(100vw - 48px); }
  .hero-floor::before { width: calc(100vw - 16px); }
  .closing h2 { font-size: 40px; }
}

/* Wordmark in the SCX logo's slot (Synchronology has no logo image). */
.wordmark { color: var(--color-paper); font-size: 16px; font-weight: 510; line-height: 18px; letter-spacing: -0.022em; white-space: nowrap; }
.footer-brand .wordmark { display: block; font-size: 14px; line-height: 14px; }
