:root {
  --ink: #171717;
  --muted: #626262;
  --paper: #f4f3f0;
  --white: #fff;
  --line: #dddddd;
  --emphasis: #393939;
  --surface: #eeeeee;
  --radius: .625rem;
  --radius-inner: .375rem;
  --radius-button: 999px;
  --button-height: 3.25rem;
  --compact-button-height: 2.75rem;
  --button-weight: 550;
  --quiet-ink: #171717;
  --quiet-fill: #e8e6e3;
  --quiet-hover: #ddd9d4;
  --focus-color: #353535;
  --type-display: clamp(3.25rem, 6vw, 5.375rem);
  --type-hero-statement: clamp(1.375rem, 2.02vw, 1.8125rem);
  --type-title: clamp(2rem, 3.333vw, 3rem);
  --type-subtitle: clamp(1.5rem, 2.22vw, 2rem);
  --type-feature-label: clamp(1.375rem, 1.81vw, 1.625rem);
  --type-card-title: 1.125rem;
  --type-lede: clamp(1.0625rem, 1.25vw, 1.125rem);
  --type-body: 1rem;
  --type-supporting: .9375rem;
  --type-label: .875rem;
  --type-caption: .8125rem;
  --gutter: clamp(1.25rem, 6.667vw, 6rem);
  --shell: 90rem;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.8rem;
}
body {
  margin: 0;
  font-size: var(--type-body);
}
img {
  display: block;
  width: 100%;
}
figure, p, h1, h2, h3, h4, dl, dd {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button, a, summary {
  touch-action: manipulation;
}
::selection {
  color: #171717;
  background: #d4d4d4;
}
:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(3.75rem, 7vw, 6.5rem);
}
[id] {
  scroll-margin-top: 1.25rem;
}
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  z-index: 50;
  color: #171717;
  background: #fff;
  padding: 1rem;
  --focus-color: #353535;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.75rem;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.25rem;
  font-weight: 620;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3.2vw, 3rem);
}
.nav a {
  font-size: var(--type-label);
  color: #484848;
  font-weight: 620;
  padding-block: .75rem;
  white-space: nowrap;
}
.nav a:hover, .text-button:hover {
  color: var(--emphasis);
}
.header-cta {
  justify-self: end;
}
.menu-button {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height);
  padding: .65rem 1.25rem;
  border-radius: var(--radius-button);
  border: 0;
  font-size: var(--type-label);
  font-weight: var(--button-weight);
  text-align: center;
  transition: background .18s ease, color .18s ease, transform .16s ease;
}
.button-dark {
  background: var(--ink);
  color: white;
}
.button-dark:hover {
  background: #353535;
}
.button-quiet {
  color: var(--quiet-ink);
  background: var(--quiet-fill);
}
.button-quiet:hover {
  background: var(--quiet-hover);
}
.button-light {
  background: #f7f7f7;
  color: var(--ink);
}
.button-light:hover {
  background: #eeeeee;
}
.text-button {
  display: inline-flex;
  align-items: center;
  color: inherit;
  min-height: var(--compact-button-height);
  font-size: var(--type-label);
  font-weight: var(--button-weight);
  border: 0;
  border-radius: var(--radius-button);
  padding: .45rem .65rem;
  background: transparent;
}
.text-button:hover {
  background: var(--quiet-fill);
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Opening lookbook */
.hero {
  padding-top: clamp(2.15rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,.86fr) minmax(0,1.3fr);
  gap: clamp(1.5rem, 4vw, 4.25rem);
  align-items: center;
}
.hero-copy {
  padding: 1.2rem 0;
}
.eyebrow {
  display: flex;
  gap: .55rem;
  align-items: center;
  font-size: var(--type-label);
  color: var(--emphasis);
  font-weight: 570;
  letter-spacing: .015em;
  line-height: 1.4;
}
h1, h2, h3, h4 {
  font-weight: 600;
}
h1 {
  margin: 0 0 1.45rem;
  font-size: var(--type-display);
  line-height: 1.13;
}
.hero-statement {
  font-size: var(--type-hero-statement);
  font-weight: 600;
  line-height: 1.3;
}
.hero-note {
  max-inline-size: 25em;
  margin-top: .65rem;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.65;
  line-break: strict;
  text-wrap: pretty;
}
.hero-copy .actions {
  margin-top: 1.95rem;
}
/* App presentation */
.consumer {
  background: #fff;
}
.faq p, .muted {
  line-height: 1.8;
  color: var(--muted);
}
h2 {
  font-size: var(--type-title);
  line-height: 1.18;
}
.eyebrow + h2 {
  margin-top: .8rem;
}
h3 {
  font-size: var(--type-subtitle);
  line-height: 1.25;
}
h4 {
  font-size: var(--type-card-title);
  line-height: 1.3;
}
.caption {
  color: var(--muted);
  font-size: var(--type-caption);
  line-height: 1.55;
  margin-top: .9rem;
}

/* Prototype screenshots */
.product-screens {
  margin-top: clamp(3rem, 7vw, 6.25rem);
}
.detail-head {
  margin-bottom: 1.5rem;
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.screen-preview {
  display: grid;
  place-items: center;
  position: relative;
  padding: clamp(.7rem, 2.55vw, 2rem);
  border-radius: var(--radius);
  background: #f1f1f1;
  cursor: zoom-in;
}
.consumer .screen-preview {
  padding: .65rem .25rem 1.25rem;
  background: transparent;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.screen-preview img {
  width: 100%;
  max-width: 14rem;
  height: auto;
}
.screen-card figcaption {
  padding-top: 1.15rem;
}
/* Questions and product links */
.faq {
  border-top: 1px solid var(--line);
  background: white;
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr);
  gap: 2rem;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 550;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding-block: .85rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details p {
  padding: 0 1.75rem 1rem 0;
}
/* Graphic assets contain their final shape and are safe to render as-is. */
.editorial-frieze {
  height: clamp(5.5rem, 11vw, 9.875rem);
  background-color: #1c1c1c;
  background-image: url("./assets/profile-repeat.webp");
  background-size: auto 100%;
  background-position: 50% center;
  background-repeat: repeat-x;
}
@media (min-width: 58.5rem) {
  h1 {
    letter-spacing: -.01em;
  }
}

.footer {
  padding-block: 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
}
.footer .text-button, .footer small {
  font-size: var(--type-label);
  color: var(--muted);
}
.footer .text-button:hover {
  color: var(--emphasis);
}

/* Unconfigured destinations */
dialog {
  --focus-color: #353535;
  --quiet-ink: #171717;
  --quiet-fill: #e8e6e3;
  --quiet-hover: #ddd9d4;
  width: min(calc(100% - 2rem), 26rem);
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 1.75rem;
}
dialog::backdrop {
  background: #17171799;
}
dialog[open] {
  animation: dialog-appear 160ms ease-out;
}
@keyframes dialog-appear {
  from { opacity: 0; transform: translateY(.35rem); }
  to { opacity: 1; transform: translateY(0); }
}
dialog h2 {
  font-size: var(--type-subtitle);
}
dialog p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  margin: .75rem 0 1.3rem;
}
.screen-dialog {
  width: min(calc(100% - 1.25rem), 34rem);
  max-height: calc(100dvh - 1.25rem);
  padding: .8rem 1rem 1rem;
  overscroll-behavior: contain;
}
.screen-dialog[open] {
  animation: screen-appear 250ms cubic-bezier(.22, 1, .36, 1);
}
@keyframes screen-appear {
  from { opacity: 0; transform: translateY(.75rem) scale(.99); }
  to { opacity: 1; transform: none; }
}
.screen-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.screen-dialog-bar h2 {
  font-size: var(--type-card-title);
}
.screen-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .75rem;
}
.screen-gallery-controls .button {
  min-height: var(--compact-button-height);
  padding-inline: .9rem;
}
.screen-gallery-controls .screen-gallery-count {
  margin: 0;
  font-size: var(--type-caption);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.screen-dialog img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 7rem);
  margin-inline: auto;
}
.screen-gallery-controls:not([hidden]) + img {
  max-height: max(10rem, calc(100dvh - 10.5rem));
  cursor: grab;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}
.screen-gallery-controls:not([hidden]) + img:active {
  cursor: grabbing;
}
@media (prefers-reduced-motion: no-preference) {
  .button:active, .menu-button:active {
    transform: scale(.98);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .screen-preview {
    transition: transform .22s cubic-bezier(.22, 1, .36, 1);
  }
  .screen-preview:hover {
    transform: translateY(-3px);
  }
}
@media (max-width: 970px) {
  .hero-grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
    gap: 1.45rem;
  }
}
@media (max-width: 730px) {
  html {
    scroll-padding-top: 4rem;
  }
  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: .65rem;
    min-height: 4rem;
  }
  .menu-button {
    display: inline-flex;
    align-items: center;
    min-height: var(--compact-button-height);
    color: var(--quiet-ink);
    border: 0;
    border-radius: var(--radius-button);
    background: var(--quiet-fill);
    padding: .55rem .75rem;
    font-size: var(--type-label);
    font-weight: var(--button-weight);
  }
  .menu-button:hover {
    background: var(--quiet-hover);
  }
  .nav {
    background: var(--paper);
    position: absolute;
    inset: 100% 0 auto;
    border-bottom: 1px solid var(--line);
    padding: .3rem var(--gutter) .65rem;
    justify-content: center;
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: var(--compact-button-height);
  }
  .header-cta {
    min-height: var(--compact-button-height);
    padding: .4rem .7rem;
    font-size: var(--type-label);
  }
  .hero-grid, .faq-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 1.45rem;
  }
  .hero-copy {
    padding-top: 0;
  }
  :root {
    --type-display: clamp(2.625rem, 10.5vw, 3.5rem);
    --gutter: 1.25rem;
  }
  .hero-copy .actions {
    margin-top: 1.3rem;
  }
  .faq-layout {
    gap: .8rem;
  }
  .screen-grid {
    grid-template-columns: 1fr;
  }
  .screen-card {
    display: grid;
    grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
    gap: 1rem;
    align-items: center;
  }
  .screen-card figcaption {
    padding-top: 0;
  }
  .consumer .screen-preview {
    border-bottom: 0;
    padding-block: .5rem;
  }
  .footer-inner {
    align-items: flex-start;
  }
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(244,243,240,.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }
}
@media (forced-colors: active) {
  .button, .menu-button {
    border: 1px solid ButtonText;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
