/* Snap website. Colours and proportions follow the brand guide:
   text on orange is ink, white on orange is reserved for the logo. */

@font-face {
  font-family: "Anybody";
  src: url("/assets/fonts/anybody-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}

:root {
  --flame: #FF6A13;
  --ink: #1B1F3B;
  --paper: #FFFFFF;
  --mist: #F3F4F8;
  --line: #E4E6EE;
  --ember: #B83C00;
  --ink-soft: #565A75;
  --screen: #FFFBF8;
  --bubble: #FFE9DA;

  --cjk: "PingFang HK", "PingFang TC", "Noto Sans HK", "Noto Sans TC", "Source Han Sans TC", "Microsoft JhengHei";
  --display: "Anybody", var(--cjk), system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", var(--cjk), Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --block: clamp(88px, 13vw, 190px);
  --nav-h: 68px;
  /* The logo's move: a short overshoot, then home. */
  --snap: cubic-bezier(.3, 1.55, .5, 1);
}

:root[lang="zh-Hans"] {
  --cjk: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei";
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; }
.phrase { display: inline-block; }

h2 { font-size: clamp(2.2rem, 5.4vw, 4.75rem); line-height: 1.02; }
:lang(zh) h2 { line-height: 1.16; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 24px; height: 24px; flex: none; }

.fine { font-size: .8125rem; color: var(--ink-soft); }

.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 650;
  font-stretch: 110%;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--snap), background-color .15s, color .15s;
}
.btn:hover { transform: translateX(4px); }
.btn:active { transform: translateX(1px) scale(.98); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--flame { background: var(--flame); color: var(--ink); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .9375rem; }

.link {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
}
.chip--solid { background: var(--flame); border-color: var(--flame); }

/* Voice bars: four short strokes that move while Snap speaks */

.bars { display: inline-flex; align-items: center; gap: 2px; height: 12px; }
.bars i { width: 2px; height: 4px; border-radius: 2px; background: currentColor; opacity: .55; }

/* The orb: Snap's voice. The one indigo object on the page. */

.orb {
  position: relative;
  display: block;
  flex: none;
  width: var(--orb, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 26%, #6E74C4 0%, #3A3F8C 34%, #1F2352 68%, #14173A 100%);
  box-shadow: 0 0 0 calc(var(--orb, 120px) * .07) rgba(27, 31, 59, .05);
}
.orb__flare {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 46% 9% at 50% 54%, #FFD27A 0%, #FF9A3D 38%, rgba(255, 106, 19, 0) 100%),
    radial-gradient(ellipse 62% 20% at 46% 56%, rgba(255, 138, 31, .55) 0%, rgba(255, 106, 19, 0) 100%);
  transform: rotate(-24deg);
  filter: blur(calc(var(--orb, 120px) * .02));
}
.orb--mini { --orb: 26px; box-shadow: none; }
.orb--mid { --orb: 72px; }
.orb--big { --orb: 46%; }

/* Opening: the same orange screen as the app launch. */

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--flame);
  pointer-events: none;
  animation: splash-out .3s 1.05s both;
}
.splash svg { width: 176px; height: auto; overflow: visible; }
.splash path { transform-box: fill-box; }
.splash path:nth-of-type(2) { animation: splash-lead 1.25s both; }
.splash path:nth-of-type(1) { animation: splash-last 1.25s both; }
.no-splash .splash { display: none; }

@keyframes splash-lead {
  0%, 18% { transform: none; animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  36% { transform: translateX(-46%); animation-timing-function: cubic-bezier(.7, 0, .9, .4); }
  46%, 100% { transform: none; }
}
@keyframes splash-last {
  0%, 46% { transform: none; animation-timing-function: cubic-bezier(.1, .8, .3, 1); }
  52% { transform: translateX(7%); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  62%, 100% { transform: none; }
}
@keyframes splash-out {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: hidden; }
}

/* Navigation */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  height: var(--nav-h);
  padding-inline: var(--gutter);
  transition: background-color .2s, box-shadow .2s;
}
/* Scrolled, but still over the orange opening. */
.nav.is-stuck { background: var(--flame); }
.nav.is-solid {
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo { display: block; margin-right: auto; }
.nav__logo svg { height: 26px; width: auto; }
.nav__logo-color { display: none; }
.nav.is-solid .nav__logo-color { display: block; }
.nav.is-solid .nav__logo-orange { display: none; }

.nav__links { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav__links a {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 108%;
  font-size: .9375rem;
  text-decoration: none;
  padding: 8px 0;
}
.nav__links a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.langs { display: flex; gap: 2px; }
.langs a {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.langs a[lang="en"] { font-family: var(--display); font-stretch: 108%; }
.langs a:hover { background: rgba(27, 31, 59, .08); }
.langs a[aria-current] { background: var(--ink); color: var(--paper); }

.nav__signin {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 108%;
  font-size: .9375rem;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  padding: 8px 0;
}
.nav__signin:hover { text-decoration-thickness: 3px; }

.nav__cta { background: var(--ink); color: var(--paper); }
.nav.is-solid .nav__cta { background: var(--flame); color: var(--ink); }

/* Hero */

.hero {
  background: var(--flame);
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 24px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.3vw, 5.5rem);
  line-height: .98;
}
:lang(zh) .hero h1 {
  font-size: clamp(2.9rem, 7.4vw, 7.2rem);
  line-height: 1.1;
  max-width: 7em;
}
.hero__sub {
  margin-top: clamp(20px, 2.6vw, 36px);
  max-width: 30em;
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  line-height: 1.45;
  font-weight: 500;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 48px);
}
.hero__phone { display: grid; justify-items: center; }
/* On a short window the phone shrinks rather than running off the first screen. */
.hero__phone .phone { --phone-w: min(clamp(250px, 25vw, 330px), (100svh - var(--nav-h) - 110px) * 9 / 18.6); }

.js:not(.no-splash) .hero__text { animation: lead-in .55s 1.02s both var(--snap); }
.js:not(.no-splash) .hero__phone { animation: last-in .7s 1.02s both; }
@keyframes lead-in {
  from { opacity: 0; transform: translateX(-56px); }
  to { opacity: 1; transform: none; }
}
@keyframes last-in {
  0% { opacity: 0; transform: none; }
  45% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.1, .8, .3, 1); }
  65% { transform: translateX(16px); animation-timing-function: cubic-bezier(.4, 0, .4, 1); }
  100% { opacity: 1; transform: none; }
}

/* Phone */

.phone {
  --phone-w: clamp(250px, 25vw, 330px);
  width: var(--phone-w);
  aspect-ratio: 9 / 18.6;
  padding: calc(var(--phone-w) * .032);
  border-radius: calc(var(--phone-w) * .155);
  background: var(--ink);
  font-size: calc(var(--phone-w) * .0425);
  line-height: 1.45;
  box-shadow: 0 40px 70px -34px rgba(120, 38, 0, .55);
}
.phone__screen {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: calc(var(--phone-w) * .125);
  background: var(--screen);
  overflow: hidden;
}
.phone__bar {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: 2.6em 1.2em .8em;
}
.phone__close { font-size: 1.5em; line-height: 1; width: 1em; }
.phone__title { display: grid; line-height: 1.25; }
.phone__title b { font-weight: 650; }
.phone__title small { display: flex; align-items: center; gap: .5em; font-size: .8em; color: var(--ink-soft); }
.phone__body { position: relative; }
.phone__controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .3em;
  padding: .7em .7em 1.4em;
  border-top: 1px solid var(--line);
  font-size: .72em;
  text-align: center;
}
.phone__controls span { display: grid; justify-items: center; gap: .3em; padding: .7em 0; border-radius: .9em; }
.phone__controls .is-on { background: var(--bubble); color: var(--ember); }
.phone__controls .icon { width: 1.7em; height: 1.7em; }

.standby {
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.4em;
  padding-bottom: 12%;
}
.standby p { font-size: 1.3em; font-weight: 650; }
.standby .bars { color: var(--flame); height: 14px; }
.standby .bars i { opacity: 1; }

/* Conversation */

.chat { display: grid; gap: 1em; align-content: start; }
.chat__row { display: grid; gap: .25em; justify-items: start; }
.chat__row--you { justify-items: end; }
.chat__who { font-size: .76em; color: var(--ink-soft); }
.chat__row p { max-width: 92%; }
.bubble {
  padding: .6em .95em;
  border-radius: 1.15em 1.15em .3em 1.15em;
  background: var(--bubble);
}

.card {
  padding: .95em 1.05em;
  border: 1px solid var(--line);
  border-radius: 1em;
  background: var(--paper);
}
.card__head { display: flex; align-items: center; gap: .5em; font-weight: 650; }
.card__head .icon { width: 1.25em; height: 1.25em; }
.card__meta { margin-top: .15em; font-size: .82em; color: var(--ink-soft); }
.card__slot {
  display: flex;
  gap: 1.1em;
  margin-top: .8em;
  padding-top: .8em;
  border-top: 1px solid var(--line);
}
.card__slot b { font-variant-numeric: tabular-nums; }
.card__slot small { display: block; font-size: .82em; color: var(--ink-soft); }
.card__note { margin-top: .8em; padding-top: .8em; border-top: 1px solid var(--line); }
.card__next { margin-top: .3em; font-size: .88em; color: var(--ember); font-weight: 600; }
.card__actions { display: flex; gap: .5em; margin-top: .9em; }
.card__actions .chip { min-height: 2.3em; padding: 0 1.1em; font-size: .82em; }
.card__doc { display: flex; align-items: center; gap: .9em; margin-top: .8em; }
.card__doc small { display: block; font-size: .82em; color: var(--ink-soft); }
.card__sheet {
  display: grid;
  gap: .28em;
  width: 2.7em;
  padding: .5em .4em;
  border: 1px solid var(--line);
  border-radius: .3em;
  background: var(--paper);
}
.card__sheet i { height: .22em; border-radius: 1px; background: var(--line); }
.card__sheet .is-hit { background: var(--flame); height: .5em; }

/* AI Copilot */

.copilot { padding-top: var(--block); }

.lede { max-width: 60rem; }
.lede p {
  margin-top: clamp(18px, 2vw, 28px);
  max-width: 36em;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.demo { margin-top: clamp(40px, 6vw, 72px); }
.demo__phone { display: none; }
.step + .step { margin-top: clamp(64px, 10vw, 96px); }
.step h3 { font-size: clamp(2.1rem, 5vw, 4.25rem); line-height: 1; }
:lang(zh) .step h3 { line-height: 1.16; }
.step__text p {
  margin-top: clamp(14px, 1.6vw, 22px);
  max-width: 27em;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.5;
}
.step__chat {
  margin-top: 28px;
  max-width: 420px;
  padding: 22px 18px;
  border-radius: 26px;
  background: var(--screen);
  border: 1px solid var(--line);
  font-size: .9375rem;
}

/* Messages arrive the way the logo's pieces do. Without scripting, or when
   motion is turned off, everything is simply there. */
.js [data-at] {
  opacity: 0;
  transform: translateX(-18px) scale(.97);
  transition: opacity .2s, transform .45s var(--snap);
}
.js .chat__row--you[data-at] { transform: translateX(18px) scale(.97); }
.js [data-at].is-in { opacity: 1; transform: none; }
.js [data-reveal].is-in [data-at="2"] { transition-delay: .45s; }
.js [data-reveal].is-in [data-at="3"] { transition-delay: .9s; }

@media (min-width: 960px) {
  .js .demo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(40px, 8vw, 140px);
    align-items: start;
  }
  /* The phone stands on an orange stage, so the section keeps the brand
     colour in view while the conversation plays. */
  .js .demo__phone {
    --stage-pad: 30px;
    --demo-h: min(640px, 100svh - var(--nav-h) - 2 * var(--stage-pad) - 48px);
    display: block;
    position: sticky;
    top: calc((100svh + var(--nav-h) - var(--demo-h)) / 2 - var(--stage-pad));
    padding: var(--stage-pad) clamp(40px, 6.5vw, 104px);
    border-radius: 48px;
    background: var(--flame);
  }
  .js .phone--demo {
    --phone-w: calc(var(--demo-h) * 9 / 18.6);
    box-shadow: 0 40px 70px -36px rgba(120, 38, 0, .6);
  }
  .js .step { min-height: 105svh; }
  .js .step + .step { margin-top: 0; }
  .js .step__text { position: sticky; top: 34svh; }
  /* The conversation is shown in the phone at this size. Keep the copy in the
     page for screen readers. */
  .js .step__chat {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    border: 0;
  }
  .js .screen {
    position: absolute;
    inset: 0;
    padding: .6em 1.15em;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility 0s .2s;
  }
  .js .screen.is-active { visibility: visible; opacity: 1; transition: opacity .2s; }
}

/* Voices */

.voices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: clamp(56px, 8vw, 110px);
  padding: clamp(24px, 4vw, 52px);
  border-radius: 32px;
  background: var(--mist);
}
.voices__intro { display: flex; align-items: center; gap: 20px; }
.voices h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; }
.voices__intro p { margin-top: 4px; color: var(--ink-soft); }
.voices__list { display: flex; flex-wrap: wrap; gap: 10px; }
.voice {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--display);
  font-weight: 650;
  font-stretch: 108%;
  cursor: pointer;
  transition: transform .25s var(--snap);
}
.voice:hover { transform: translateX(3px); }
.voice__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--flame);
}
.voice__icon .icon { width: 18px; height: 18px; }
.voice__icon .bars { display: none; height: 16px; gap: 3px; }
.voice__icon .bars i { width: 3px; opacity: 1; }
.voice[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.voice[aria-pressed="true"] .voice__icon { color: var(--ink); }
.voice[aria-pressed="true"] .voice__icon .icon { display: none; }
.voice[aria-pressed="true"] .voice__icon .bars { display: inline-flex; }
.voices__caption {
  min-height: 3.2em;
  max-width: 34em;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  font-weight: 500;
}
.voices__caption.is-hint { color: var(--ink-soft); font-weight: 400; }

@media (min-width: 960px) {
  .voices { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; column-gap: 48px; }
  .voices__caption, .voices .fine { grid-column: 2; }
  .voices__intro { grid-row: 1 / span 3; align-self: start; }
}

/* Confirm first */

.confirm { margin-top: var(--block); padding-block: var(--block); background: var(--mist); }
.confirm__grid { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
.confirm__text p {
  margin-top: clamp(18px, 2vw, 28px);
  max-width: 30em;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.ask {
  width: 100%;
  max-width: 460px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 30px 60px -40px rgba(27, 31, 59, .45);
}
.ask__label { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink-soft); font-weight: 600; }
.ask__q { margin-top: 14px; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; }
.ask__change { display: grid; gap: 8px; margin-top: 20px; }
.ask__change div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--mist);
  transition: transform .45s var(--snap), background-color .2s, opacity .2s;
}
.ask__change dt { color: var(--ink-soft); }
.ask__change dd { font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.ask__to { outline: 2px solid var(--flame); outline-offset: -2px; }
.ask__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ask__result { display: none; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; min-height: 52px; }
.ask__result p { font-weight: 650; }

.ask[data-state="yes"] .ask__actions, .ask[data-state="no"] .ask__actions { display: none; }
.ask[data-state="yes"] .ask__result, .ask[data-state="no"] .ask__result { display: flex; }
.ask[data-state="yes"] .ask__from { opacity: .45; }
.ask[data-state="yes"] .ask__from dd { text-decoration: line-through; }
.ask[data-state="yes"] .ask__to { background: var(--flame); animation: knock .5s var(--snap); }
.ask[data-state="no"] .ask__to { outline-color: var(--line); opacity: .45; }
.ask[data-state="no"] .ask__to dd { text-decoration: line-through; }

@keyframes knock {
  0% { transform: translateX(-22px); }
  100% { transform: none; }
}

@media (min-width: 900px) {
  .confirm__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .ask { justify-self: end; }
}

/* Back office */

.office { padding-block: var(--block); }

.admin {
  margin-top: clamp(40px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 50px 90px -60px rgba(27, 31, 59, .5);
}
.admin__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  background: var(--flame);
  font-family: var(--display);
  font-stretch: 110%;
  font-size: .9375rem;
}
.admin__mark svg { height: 18px; width: auto; }
.admin__mark path:nth-of-type(2) { fill: var(--paper); }
.admin__dots { display: flex; gap: 6px; margin-left: auto; }
.admin__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(27, 31, 59, .28); }
.admin__body { padding: clamp(18px, 3.4vw, 44px); }
.admin__ask {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
}
.admin__ask span:nth-child(2) { flex: 1; }
.admin__answer {
  margin-top: clamp(20px, 3vw, 36px);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
  line-height: 1.2;
  max-width: 26em;
}
.admin__table { width: 100%; margin-top: clamp(16px, 2.4vw, 28px); border-collapse: collapse; font-size: clamp(.875rem, 1.2vw, 1rem); }
.admin__table th { text-align: left; font-weight: 500; color: var(--ink-soft); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.admin__table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.admin__table td:first-child { font-weight: 650; }
.admin__table td:nth-child(3) { color: var(--ember); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: .875rem; color: var(--ink-soft); }
.admin__foot span:first-child { display: flex; align-items: center; gap: 8px; }
.admin__foot .icon { width: 18px; height: 18px; }
.admin__foot .chip { color: var(--ink); }

.trio { display: grid; gap: 28px; margin-top: clamp(40px, 6vw, 80px); }
.trio h3 { font-size: 1.3rem; font-stretch: 112%; line-height: 1.2; }
.trio p { margin-top: 8px; color: var(--ink-soft); max-width: 24em; }

@media (min-width: 760px) {
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
}
@media (max-width: 620px) {
  .admin__table th:nth-child(4), .admin__table td:nth-child(4) { display: none; }
}

/* Snap's own model */

.model { background: var(--flame); padding-top: var(--block); overflow: hidden; }
.model__grid { display: grid; gap: clamp(24px, 4vw, 64px); }
.model h2 { font-size: clamp(2.6rem, 7.6vw, 7.4rem); line-height: .96; }
:lang(zh) .model h2 { line-height: 1.12; }
.model__text p { max-width: 32em; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; font-weight: 500; }
.model__text ul { display: grid; gap: 6px; margin-top: 24px; }
.model__text li {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.25;
}

.terms { margin-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(48px, 7vw, 100px); display: grid; gap: clamp(4px, 1vw, 14px); }
.terms__row {
  display: flex;
  gap: .9em;
  width: max-content;
  margin-left: -6vw;
  white-space: nowrap;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 4.6rem);
  line-height: 1.15;
  color: rgba(27, 31, 59, .2);
  transform: translate3d(var(--shift, 0px), 0, 0);
  will-change: transform;
}
.terms__row[data-row="1"] { margin-left: -22vw; }
.terms__row .is-strong { color: var(--ink); }

@media (min-width: 900px) {
  .model__text {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(32px, 6vw, 110px);
    align-items: start;
  }
  .model__text ul { margin-top: 0; }
}

/* Standard features */

.features { padding-block: var(--block); }

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 64px);
}
.tile {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 168px;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: 24px;
  background: var(--mist);
}
.tile .icon { width: 30px; height: 30px; margin-bottom: clamp(18px, 3vw, 44px); color: var(--ember); }
.tile h3 { font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-stretch: 112%; line-height: 1.2; }
.tile p { font-size: .9375rem; line-height: 1.45; color: var(--ink-soft); }
.tile--clients { background: var(--flame); }
.tile--clients .icon { color: var(--ink); }
.tile--clients p { color: var(--ink); }
.tile--clients, .tile--policies, .tile--compliance { grid-column: span 2; }
.tile--clients h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.05; }

.js .bento .tile { opacity: 0; transform: translateX(-26px); }
.js .bento.is-in .tile {
  opacity: 1;
  transform: none;
  transition: opacity .2s, transform .5s var(--snap);
  transition-delay: calc(var(--i, 0) * 45ms);
}

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .tile { min-height: 220px; }
}

/* Security */

.security { padding-block: var(--block); background: var(--mist); }
.security__grid { display: grid; gap: clamp(32px, 5vw, 80px); }
.security__list { display: grid; }
.security__list li {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(27, 31, 59, .16);
}
.security__list li:last-child { border-bottom: 1px solid rgba(27, 31, 59, .16); }
.security__list .icon { width: 30px; height: 30px; color: var(--ember); margin-top: 2px; }
.security__list h3 { font-size: 1.3rem; font-stretch: 112%; line-height: 1.2; }
.security__list p { margin-top: 6px; color: var(--ink-soft); max-width: 30em; }

@media (min-width: 900px) {
  .security__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .security h2 { position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* Contact */

.contact { background: var(--flame); padding-top: var(--block); }
.contact h2 { font-size: clamp(3.2rem, 11vw, 10.5rem); line-height: .92; }
:lang(zh) .contact h2 { line-height: 1.1; }
.contact__body { margin-top: clamp(20px, 2.6vw, 36px); max-width: 30em; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; font-weight: 500; }
.contact__mail {
  margin-top: clamp(28px, 4vw, 56px);
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(1.5rem, 4.6vw, 4rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.contact__mail a { text-decoration-thickness: .06em; text-underline-offset: .14em; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: var(--block);
  padding-block: 28px 36px;
  border-top: 1px solid rgba(27, 31, 59, .22);
  font-size: .875rem;
}
.footer__logo svg { height: 24px; width: auto; }
.footer__signin { font-weight: 600; text-underline-offset: 4px; }
.footer .langs { margin-left: auto; }

/* Small screens */

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__signin { display: none; }
  .hero { align-items: start; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__phone { justify-items: start; }
  .hero__phone .phone { --phone-w: min(72vw, 290px); margin-bottom: -34%; }
}
@media (max-width: 479px) {
  .nav__cta { display: none; }
  .tile h3 { font-stretch: 100%; font-size: 1.0625rem; }
  .tile--clients h3 { font-stretch: 112%; font-size: 1.6rem; }
}

/* Motion that runs on its own: the orb breathes and the bars move. */

@media (prefers-reduced-motion: no-preference) {
  .orb__flare { animation: flare 9s ease-in-out infinite alternate; }
  .orb--big { animation: breathe 4.5s ease-in-out infinite, listen 3s ease-out infinite; }
  .standby .bars i, .voice[aria-pressed="true"] .bars i, .phone__title .bars i { animation: bar 1s ease-in-out infinite; }
  .bars i:nth-child(2) { animation-delay: -.3s; }
  .bars i:nth-child(3) { animation-delay: -.6s; }
  .bars i:nth-child(4) { animation-delay: -.15s; }
}
@keyframes flare {
  from { transform: rotate(-30deg) translateY(4%); }
  to { transform: rotate(-16deg) translateY(-5%); }
}
@keyframes breathe {
  50% { transform: scale(1.045); }
}
@keyframes listen {
  0% { box-shadow: 0 0 0 0 rgba(58, 63, 140, .28); }
  70%, 100% { box-shadow: 0 0 0 calc(var(--phone-w) * .13) rgba(58, 63, 140, 0); }
}
@keyframes bar {
  50% { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-at], .js .bento .tile { opacity: 1; transform: none; }
  .terms__row { transform: none; }
}
