/* The home page's sections, in the order a visitor meets them. */

.section {
  padding: clamp(72px, 11vw, 140px) 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}

/* Hero: the claim on the left, the claim happening on the right. */

.hero {
  padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.75rem, 6.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-variation-settings: "FLAR" 100, "VOLM" 70;
  max-width: 12ch;
}
.hero__sub {
  margin-top: 26px;
  max-width: 34ch;
  color: var(--soft);
  font-size: clamp(1.1875rem, 1.9vw, 1.375rem);
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.maker {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--rim);
  border-radius: var(--r-surface);
  background: var(--surface);
}
.maker__label {
  display: block;
  color: var(--soft);
  font-size: 1rem;
}
.maker__field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: var(--r-pill);
  background: var(--raised);
  min-height: 60px;
}
.maker__typed {
  flex: 1;
  min-width: 0;
  font-size: 1.25rem;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
}
.maker__caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--text);
}
@media (prefers-reduced-motion: no-preference) {
  .maker__caret {
    animation: caret 1s steps(1) infinite;
  }
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.maker__send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}
.maker__send svg {
  width: 20px;
  height: 20px;
}
.maker.is-typing .maker__send {
  opacity: 0.35;
}
.maker.is-sent .maker__send {
  transform: scale(0.86);
}
.maker__result {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 30px;
  min-height: 300px;
  text-align: center;
  align-content: start;
}
.maker__result .face {
  --size: clamp(120px, 16vw, 152px);
}
.maker__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.375rem;
  font-weight: 720;
  letter-spacing: -0.015em;
}
.maker__summary {
  max-width: 30ch;
  color: var(--soft);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.maker__meta {
  transition: opacity 0.35s, transform 0.5s var(--ease-out);
}
.maker.is-clearing .maker__meta,
.maker.is-clearing .maker__result .face {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}
.maker.is-typing .maker__meta,
.maker.is-typing .maker__result .face {
  opacity: 0;
}
.maker__result .face {
  transition: opacity 0.3s;
}

/* Where to get it. */

.avail {
  border-block: 1px solid var(--line);
}
.avail__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 24px 40px;
  align-items: center;
  padding: 22px 0;
}
.avail__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avail__item svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.avail__item strong {
  display: block;
  font-weight: 700;
}
.avail__item span {
  color: var(--soft);
  font-size: 1rem;
}
.avail__item--android svg {
  color: #3ddc84;
}
.avail__item--soon svg,
.avail__item--soon strong {
  color: var(--muted);
}

/* The faces: what you can make. */

.faces__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  margin-top: clamp(40px, 6vw, 64px);
}
.wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.wall li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  transition: background-color 0.25s;
}
.wall li:hover {
  background: var(--surface);
}
.wall .face {
  --size: 52px;
  grid-row: span 2;
  cursor: pointer;
}
.wall b {
  font-weight: 680;
  line-height: 1.3;
}
.wall small {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}
.own-title {
  margin-top: 36px;
  color: var(--soft);
  font-size: 1rem;
}
.own {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}
.own li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border: 1.5px dashed var(--rim);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1rem;
}
.own .face {
  --size: 34px;
}
.faces__more {
  display: inline-block;
}
.faces__aside {
  position: sticky;
  top: 96px;
}
.faces__aside .shot {
  max-width: 300px;
}
.faces__aside p {
  margin-top: 18px;
  color: var(--soft);
  font-size: 1.125rem;
}
.faces__more {
  margin-top: 28px;
}

/* Routines: the one field of colour on the page, the sun's yellow. */

.sunfield {
  background: var(--sun);
  color: var(--ink);
  border-top: 0 !important;
}
.sunfield + .section {
  border-top: 0;
}
.sunfield .ask span {
  background: rgb(27 29 42 / 0.1);
}
.sunfield .lede {
  color: #3b3520;
}
.sunfield :focus-visible {
  outline-color: var(--ink);
}

.day {
  position: relative;
  margin: clamp(48px, 7vw, 80px) 0 0;
  height: 500px;
}
.day__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.day::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: rgb(27 29 42 / 0.18);
}
.day__sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: var(--ink);
  transform-origin: left;
}
.day__hours {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 34px);
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.day__hours li {
  position: absolute;
  left: calc(var(--pos) * 100%);
  transform: translateX(calc(var(--pos) * -100%));
  font-size: 0.9375rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: #4a4430;
}
.pin {
  position: absolute;
  left: calc(var(--pos) * 100%);
  width: min(250px, 22vw);
  transform: translateX(calc(var(--pos) * -100%));
}
.pin[data-side="top"] {
  bottom: calc(50% + 44px);
}
.pin[data-side="bottom"] {
  top: calc(50% + 44px);
}
.pin::before {
  content: "";
  position: absolute;
  left: calc(var(--pos) * 100%);
  width: 2px;
  margin-left: -1px;
  background: rgb(27 29 42 / 0.35);
}
.pin[data-side="top"]::before {
  top: 100%;
  height: 44px;
}
.pin[data-side="bottom"]::before {
  bottom: 100%;
  height: 44px;
}
.pin::after {
  content: "";
  position: absolute;
  left: calc(var(--pos) * 100%);
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--sun);
}
.pin[data-side="top"]::after {
  top: calc(100% + 44px - 6.5px);
}
.pin[data-side="bottom"]::after {
  bottom: calc(100% + 44px - 6.5px);
}
.note {
  padding: 16px 18px;
  border-radius: 22px;
  background: #fff8e3;
  box-shadow: 0 1px 0 rgb(27 29 42 / 0.08), 0 14px 30px -18px rgb(80 55 0 / 0.55);
}
.note__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.note .face {
  --size: 34px;
}
.note time {
  font-weight: 800;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.note__who {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 650;
  color: #5c5640;
}
.note__what {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  line-height: 1.3;
}
.note__when {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: #5c5640;
}

@media (prefers-reduced-motion: no-preference) {
  .js .day__sweep {
    transform: scaleX(0);
  }
  .js .day.is-running .day__sweep {
    transform: scaleX(1);
    transition: transform 4.2s cubic-bezier(0.4, 0, 0.6, 1);
  }
  .js .pin {
    opacity: 0;
    translate: 0 10px;
  }
  .js .day.is-running .pin {
    opacity: 1;
    translate: 0 0;
    transition: opacity 0.5s, translate 0.7s var(--ease-out);
    transition-delay: calc(var(--pos) * 4.2s);
  }
}

.sun-caption {
  margin-top: 28px;
  color: #4a4430;
  font-size: 1rem;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 32px 0 0;
  border-top: 1.5px solid rgb(27 29 42 / 0.18);
  list-style: none;
}
.facts h3 {
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  font-variation-settings: "FLAR" 60, "VOLM" 20;
}
.facts p {
  margin-top: 8px;
  color: #3b3520;
  font-size: 1.125rem;
}

@media (max-width: 900px) {
  .day {
    height: auto;
    padding-left: 30px;
  }
  .day__list {
    display: grid;
    gap: 16px;
  }
  .day::before,
  .day__sweep {
    left: 7px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    margin: 0;
    transform-origin: top;
  }
  .js .day__sweep {
    transform: scaleY(0);
  }
  .js .day.is-running .day__sweep {
    transform: scaleY(1);
  }
  .day__hours {
    display: none;
  }
  .pin {
    position: relative;
    left: auto;
    width: auto;
    max-width: 420px;
    transform: none;
  }
  .pin[data-side] {
    top: auto;
    bottom: auto;
  }
  .pin::before {
    display: none;
  }
  .pin[data-side]::after {
    top: 24px;
    bottom: auto;
    left: -23px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
}

/* Rooms and documents. */

.rooms__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 64px);
}
.rooms__shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.rooms__shots .shot:nth-child(2) {
  margin-top: 56px;
}
.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 26px;
}
.points h3 {
  font-size: 1.3125rem;
  letter-spacing: -0.015em;
  font-variation-settings: "FLAR" 60, "VOLM" 20;
}
.points p {
  margin-top: 6px;
  color: var(--soft);
}
.points .face-pair {
  display: flex;
  margin-bottom: 10px;
}
.points .face-pair .face {
  --size: 34px;
}
.points .face-pair .face + .face {
  margin-left: -8px;
}
.never {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 1.125rem;
}
.never strong {
  color: var(--text);
}

/* Memory, voice, web: three things it does, three different sizes. */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 6vw, 64px);
}
.tile {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-surface);
  background: var(--surface);
  border: 1px solid var(--line);
}
.tile h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.12;
  max-width: 18ch;
}
.tile p {
  margin-top: 12px;
  color: var(--soft);
  max-width: 42ch;
}
.tile--memory {
  grid-column: span 4;
  grid-row: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: start;
}
.tile--memory .shot {
  margin-bottom: -120px;
}
.tile--voice,
.tile--web {
  grid-column: span 2;
}
.voice-demo {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin: 8px 0 22px;
}
.voice-demo .face {
  --size: 96px;
}
.voice-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--raised);
  font-size: 0.875rem;
  color: var(--text);
}
.voice-bar svg {
  width: 16px;
  height: 16px;
}
.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--raised);
  font-size: 0.9375rem;
}
.step-pill svg {
  width: 16px;
  height: 16px;
}
.step-pill i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}
@media (prefers-reduced-motion: no-preference) {
  .step-pill i {
    animation: dots 1.2s infinite;
  }
  .step-pill i:nth-of-type(2) {
    animation-delay: 0.2s;
  }
  .step-pill i:nth-of-type(3) {
    animation-delay: 0.4s;
  }
}
@keyframes dots {
  0%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

/* Privacy and the AI Act. */

.trust__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  margin-top: clamp(44px, 6vw, 72px);
}
.trust__cols h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rim);
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  font-variation-settings: "FLAR" 60, "VOLM" 20;
}
.trust__cols h3 small {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
}
.claims {
  list-style: none;
  margin: 0;
  padding: 0;
}
.claims li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.claims svg {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: #3ddc97;
}
.claims b {
  font-weight: 680;
}
.claims p {
  margin-top: 2px;
  color: var(--soft);
  font-size: 1.125rem;
}
.trust__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-top: 40px;
}
.trust__foot p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Greek. */

.specimen {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-surface);
  background: var(--surface);
}
.specimen blockquote {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variation-settings: "FLAR" 100, "VOLM" 100;
}
.specimen figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 26px;
  max-width: 60ch;
  color: var(--soft);
}
.specimen figcaption .face {
  --size: 36px;
}
.greek__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 44px 0 0;
  padding: 0;
}
.greek__list b {
  display: block;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.greek__list p {
  margin-top: 6px;
  color: var(--soft);
  font-size: 1.125rem;
}
.caps {
  letter-spacing: 0.04em;
}

/* Getting it. */

.get__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 88px);
  margin-top: clamp(40px, 6vw, 64px);
  align-items: start;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--rim);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.steps b {
  font-weight: 680;
}
.steps p {
  margin-top: 4px;
  overflow-wrap: break-word;
  color: var(--soft);
  font-size: 1.125rem;
}
.invite {
  position: sticky;
  top: 96px;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--r-surface);
  background: var(--surface);
  border: 1px solid var(--rim);
}
.invite h3 {
  font-size: 1.625rem;
  line-height: 1.15;
}
.invite > p {
  margin-top: 10px;
  color: var(--soft);
  font-size: 1.125rem;
}
.invite .btn--primary {
  width: 100%;
  margin-top: 24px;
}
.mail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 6px 6px 6px 18px;
  border-radius: var(--r-pill);
  background: var(--raised);
  font-weight: 600;
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.copy svg {
  width: 16px;
  height: 16px;
}
.copy .when-done {
  display: none;
}
.copy.is-done .when-done {
  display: inline;
}
.copy.is-done .when-idle {
  display: none;
}
.invite__ios {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 1rem;
}
.invite__ios svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--muted);
}

/* Small screens. */

@media (max-width: 960px) {
  .hero__grid,
  .faces__layout,
  .rooms__grid,
  .get__grid,
  .trust__cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .faces__aside,
  .invite {
    position: static;
  }
  .faces__aside {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    align-items: center;
  }
  .faces__aside p {
    margin-top: 0;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .tile--memory {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .tile--voice,
  .tile--web {
    grid-column: span 1;
  }
  .greek__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }
  /* On a phone the made assistant has to reach the first screen, so the
     guide link gives up its pill and the face gets smaller. */
  .hero {
    padding-top: 20px;
  }
  .hero__grid {
    gap: 28px;
  }
  .hero__sub {
    margin-top: 18px;
  }
  .hero__actions {
    align-items: center;
    gap: 6px 20px;
    margin-top: 24px;
  }
  .hero__actions .btn--primary {
    flex: 1 1 auto;
  }
  .hero__actions .btn--ghost {
    min-height: 0;
    padding: 8px 2px;
    border-color: transparent;
    text-decoration: underline;
    text-decoration-color: #6b6b70;
    text-underline-offset: 4px;
  }
  .maker__result {
    gap: 10px;
    margin-top: 20px;
    min-height: 222px;
  }
  .maker__result .face {
    --size: 96px;
  }
  .avail__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wall {
    grid-template-columns: 1fr;
  }
  .wall li {
    padding: 12px 8px;
  }
  .rooms__shots {
    gap: 10px;
  }
  .rooms__shots .shot {
    border-radius: 24px;
    padding: 5px;
  }
  .rooms__shots .shot img {
    border-radius: 20px;
  }
  .bento,
  .tile--memory {
    grid-template-columns: 1fr;
  }
  .tile--voice,
  .tile--web {
    grid-column: 1 / -1;
  }
  .tile--memory .shot {
    max-width: 260px;
    margin: 0 auto -110px;
  }
  .facts,
  .greek__list {
    grid-template-columns: 1fr;
  }
  .answer {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .answer > .face {
    --size: 40px;
  }
  .mail-row {
    font-size: 0.9375rem;
  }
}
