/* The app collection: one generous stage, with color tied to each app. */
.apps-section {
  --app-accent: #d92e52;
  padding: 115px 0 76px;
  background: #fafafa;
  color: #191919;
  overflow: clip;
}
.apps-section[data-active-app="calendar"] { --app-accent: #d23933; }
.apps-section[data-active-app="reminders"] { --app-accent: #3272c3; }
.apps-section[data-active-app="weather"] { --app-accent: #3375bc; }
.apps-section[data-active-app="browser"] { --app-accent: #257998; }
.apps-section[data-active-app="timer"] { --app-accent: #a95d19; }
.apps-section .chapter-heading { display: block; text-align: center; }
.apps-section .chapter-heading > .chapter-kicker { margin: 0 auto 27px; max-width: none; font-size: 12px; color: #707070; text-align: center; }
.apps-section .chapter-heading h2 {
  font-size: clamp(57px, 6.6vw, 88px);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: initial;
}
.apps-section .chapter-heading h2 span { color: #8f8f8f; }
.apps-section .chapter-heading > p:last-child {
  max-width: 570px;
  margin: 28px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: #707070;
}
.apps-section .chapter-heading strong { color: #333; font-weight: 500; }
.apps-section .app-demo { display: block; margin-top: 58px; }
.apps-section .app-tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 36px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  border: 0;
  border-bottom: 1px solid #ddd;
  padding: 0;
  border-radius: 0;
  background: none;
}
.apps-section .app-tabs button,
.apps-section .app-tabs button.active {
  display: block;
  flex: 0 0 auto;
  width: auto;
  padding: 0 0 18px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  color: #707070;
}
.apps-section .app-tabs button.active { color: var(--app-accent); }
.apps-section .app-tabs button:hover { color: #222; }
.apps-section .app-tabs button::after { background: var(--app-accent); height: 2px; }
.apps-section .app-name { font-size: 17px; letter-spacing: -.02em; font-weight: 500; }
.apps-section .app-scene { padding: 62px 0 48px; }
.apps-section .app-panel {
  display: grid;
  grid-template-columns: 32% 68%;
  align-items: center;
  min-height: 445px;
  gap: 30px;
}
.apps-section .app-panel[hidden] { display: none; }
.apps-section .app-panel.active { animation: none; }
.app-panel-copy { padding: 15px 0 25px; position: relative; z-index: 2; }
.app-panel-copy .app-kicker { margin: 0 0 24px; color: #707070; font-size: 12px; }
.app-panel-copy h3 {
  font-size: clamp(38px, 4.1vw, 55px);
  font-weight: 550;
  line-height: 1.06;
  letter-spacing: -.05em;
}
.app-panel-copy h3 span { color: var(--app-accent); }
.app-panel-copy .app-panel-description {
  max-width: 285px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #707070;
}
.app-visual { width: calc(100% + 95px); min-width: 0; }
/* Keep agenda times and list controls inside the visible composition. */
.app-panel:not([data-panel="music"]) .app-visual { width: 100%; }
.app-visual .device {
  padding: 11px;
  border-color: #727272;
  box-shadow: 0 2px 0 #333, 0 28px 45px -32px #0008;
}
.app-panel.active .app-visual { animation: chapter-screen-in .65s cubic-bezier(.22,.8,.2,1) both; }
.app-panel.active .app-panel-copy { animation: chapter-copy-in .5s ease both; }
@keyframes chapter-screen-in {
  from { opacity: 0; transform: translateX(calc(var(--app-direction, 1) * 35px)); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes chapter-copy-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.apps-section .app-connections {
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 30px;
  margin-top: 27px;
  padding-top: 27px;
  border-color: #ddd;
}
.apps-section .app-connections-label { color: #707070; font-size: 12px; padding-top: 7px; }
.apps-section .app-connections-content ul { gap: 14px 26px; }
.apps-section .app-connections-content li { font-size: 21px; color: #333; }
.apps-section .app-service-note { max-width: 680px; color: #707070; line-height: 1.7; }

/* A photo frame, given its own space. The UI supplies the color. */
.faces-section,
.faces-section[data-personality="photo"],
.faces-section[data-personality="day"] {
  --face-bg: #101010;
  --face-ink: #f3f3f3;
  --face-muted: #999;
  padding: 107px 0 65px;
  background: var(--face-bg);
}
.faces-section .faces-layout { display: block; min-height: 0; }
.faces-section .faces-copy { display: block; padding: 0; text-align: center; }
.faces-section .faces-eyebrow { margin-bottom: 26px; font-size: 12px; color: #999; }
.faces-section .faces-copy h2 {
  font-size: clamp(63px, 7.8vw, 102px);
  font-weight: 550;
  line-height: .99;
  letter-spacing: -.06em;
  min-height: 1.98em;
}
.faces-section .personality-description {
  max-width: 510px;
  min-height: 3.3em;
  margin: 27px auto 0;
  font-size: 16px;
  line-height: 1.65;
}
.faces-section .personality-picker {
  justify-content: center;
  gap: 23px;
  margin: 33px auto 44px;
}
.faces-section .personality-picker button { gap: 10px; font-size: 11px; }
.faces-section .personality-swatch {
  width: 70px;
  height: 51px;
  padding: 4px;
  border-radius: 11px;
  opacity: .6;
  transition: opacity .25s ease, border-color .25s ease, transform .25s ease;
}
.faces-section .personality-swatch img { border-radius: 7px; object-fit: cover; }
.faces-section .personality-picker button.selected .personality-swatch { opacity: 1; border-color: #aaa; }
.faces-section .personality-picker button:hover .personality-swatch { opacity: 1; transform: translateY(-2px); }
.faces-section .personality-product { width: min(100%, 1000px); padding: 0; margin: 0 auto; }
.faces-section .personality-product .device {
  padding: 12px;
  border-color: #555;
  box-shadow: 0 2px 0 #333, 0 40px 80px -45px #000;
}
.faces-section .personality-caption { margin: 30px 0 0; text-align: center; font-size: 12px; color: #888; }

@media (max-width: 1050px) and (min-width: 761px) {
  .apps-section .app-tabs { gap: 30px; }
  .apps-section .app-panel { grid-template-columns: 32% 68%; min-height: 370px; }
  .app-visual { width: calc(100% + 65px); }
  .app-panel-copy .app-panel-description { font-size: 14px; }
}
@media (max-width: 760px) {
  .apps-section { padding: 75px 0 46px; }
  .apps-section .chapter-heading > .chapter-kicker { margin: 0 auto 27px; max-width: none; font-size: 12px; color: #707070; text-align: center; }
  .apps-section .chapter-heading h2 { font-size: clamp(39px, 10vw, 64px); line-height: 1.07; }
  .apps-section .chapter-heading > p:last-child { font-size: 15px; max-width: 460px; margin-top: 24px; }
  .apps-section .app-demo { margin-top: 34px; }
  .apps-section .app-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 19px 22px;
    border: 0;
  }
  .apps-section .app-tabs button,
  .apps-section .app-tabs button.active { padding: 8px 0 12px; border-bottom: 1px solid #ddd; }
  .apps-section .app-name { font-size: 15px; }
  .apps-section .app-scene { padding: 37px 0 23px; }
  .apps-section .app-panel { display: flex; flex-direction: column; align-items: stretch; gap: 29px; min-height: 0; }
  .apps-section .app-panel[hidden] { display: none; }
  .app-panel-copy { padding: 0; text-align: center; }
  .app-panel-copy .app-kicker { margin-bottom: 17px; font-size: 11px; }
  .app-panel-copy h3 { font-size: 41px; line-height: 1.06; }
  .app-panel-copy .app-panel-description { font-size: 14px; max-width: 380px; margin: 18px auto 0; min-height: 5.1em; }
  .app-visual { width: 100%; }
  .app-visual .device { padding: 6px; }
  .apps-section .app-connections { display: block; margin-top: 21px; padding-top: 24px; }
  .apps-section .app-connections-label { padding: 0; margin-bottom: 17px; font-size: 12px; }
  .apps-section .app-connections-content ul { gap: 9px 19px; }
  .apps-section .app-connections-content li { font-size: 18px; }
  .apps-section .app-service-note { font-size: 10px; }
  .faces-section,
  .faces-section[data-personality="photo"],
  .faces-section[data-personality="day"] { padding: 71px 0 43px; }
  .faces-section .faces-copy h2 { font-size: clamp(51px, 13vw, 76px); }
  .faces-section .personality-description { max-width: 440px; font-size: 14px; min-height: 6.6em; margin-top: 24px; }
  .faces-section .personality-picker { margin: 25px 0 33px; gap: 22px; }
  .faces-section .personality-swatch { width: 63px; height: 46px; }
  .faces-section .personality-product .device { padding: 6px; }
  .faces-section .personality-caption { font-size: 10px; margin-top: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-panel.active .app-visual, .app-panel.active .app-panel-copy { animation: none; }
  .faces-section .personality-swatch { transition: none; }
}

/* Closing chapters: a typographic pause, a compact reference, a clear sign-off. */
.closing-idea {
  padding: 99px 0 77px;
  color: #181818;
  background: #f5f5f5;
}
.closing-kicker {
  margin: 0 0 31px;
  color: #707070;
  font-size: 12px;
  letter-spacing: .015em;
}
.closing-idea h2 {
  max-width: 100%;
  font-size: clamp(68px, 9.6vw, 134px);
  font-weight: 550;
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: initial;
}
.closing-idea h2 span { color: #8b8b8b; }
.closing-idea-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(45px, 8vw, 118px);
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #d4d4d4;
}
.closing-idea-copy p {
  max-width: 490px;
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -.01em;
}
.closing-questions {
  padding: 16px 0 86px;
  background: #f5f5f5;
  color: #181818;
}
.closing-questions h2 {
  margin: 0 0 28px;
  font-size: 31px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.closing-questions .faq-list { border-top: 1px solid #cfcfcf; }
.closing-questions .faq-list details { border-bottom: 1px solid #cfcfcf; }
.closing-questions .faq-list summary,
.closing-questions .faq-list details:first-child summary {
  padding: 24px 0;
  color: #2b2b2b;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 450;
  letter-spacing: -.025em;
  transition: color .2s ease;
}
.closing-questions .faq-list summary:hover { color: #707070; }
.closing-questions .faq-list summary span {
  color: #8a8a8a;
  font-size: 28px;
  line-height: 1;
  flex: 0 0 24px;
  text-align: center;
}
.closing-questions .faq-list details p {
  width: 59%;
  max-width: 690px;
  margin: -2px 0 0 auto;
  padding: 0 32px 28px 0;
  color: #6c6c6c;
  font-size: 15px;
  line-height: 1.75;
}
.closing-download {
  overflow: clip;
  padding: 48px 0 47px;
  background: #0b0b0b;
  color: #f1f1f1;
}
.closing-download-top { display: flex; align-items: center; gap: 11px; }
.closing-download-top p { color: #aaa; font-size: 13px; }
.closing-download-top .app-icon { width: 28px; height: 28px; border-radius: 8px; }
.closing-download h2 {
  margin: 45px 0 34px -6px;
  font-size: clamp(88px, 13.2vw, 178px);
  font-weight: 550;
  line-height: .84;
  letter-spacing: -.07em;
  text-wrap: initial;
}
.closing-download h2 br { display: none; }
.closing-download h2 span { color: #777; margin-left: .06em; }
.closing-download-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  padding-top: 36px;
}
.closing-download-bottom > p {
  color: #999;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -.01em;
}
.closing-download #download-action { margin: 0; text-align: right; }
.closing-download .download-pending {
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid #555;
  border-radius: 0;
  color: #d7d7d7;
  font-size: 14px;
  font-weight: 400;
}
.closing-download .download-note { display: block; margin: 11px 0 0; color: #808080; font-size: 11px; }
.closing-download #download-action .button { background: #eee; color: #111; }
.closing-footer { padding: 0 0 31px; background: #0b0b0b; color: #b7b7b7; }
.closing-footer .footer-top {
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid #272727;
}
.closing-footer .footer-top .brand { color: #e7e7e7; font-size: 18px; }
.closing-footer .footer-top > a:nth-child(2) { color: #898989; }
.closing-footer .closing-back-top { color: #898989; font-size: 12px; }
.closing-back-top span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.closing-back-top:hover span { transform: translateY(-3px); }
.closing-footer .footer-top p { color: #808080; font-size: 11px; }
.closing-footer .legal { color: #808080; max-width: 760px; margin-top: 24px; font-size: 10px; }

@media (max-width: 1050px) and (min-width: 761px) {
  .closing-idea { padding-top: 80px; }
  .closing-idea-copy { gap: 52px; }
  .closing-idea-copy p { font-size: 15px; }
  .closing-download h2 { font-size: 13.2vw; }
}
@media (max-width: 760px) {
  .closing-idea { padding: 64px 0 48px; }
  .closing-kicker { margin-bottom: 26px; font-size: 11px; }
  .closing-idea h2 { font-size: clamp(53px, 12.1vw, 87px); line-height: 1; letter-spacing: -.065em; }
  .closing-idea-copy { grid-template-columns: 1fr; gap: 19px; margin-top: 32px; padding-top: 24px; }
  .closing-idea-copy p { max-width: 570px; font-size: 14px; line-height: 1.7; }
  .closing-questions { padding: 7px 0 58px; }
  .closing-questions h2 { font-size: 27px; margin-bottom: 24px; }
  .closing-questions .faq-list summary,
  .closing-questions .faq-list details:first-child summary { font-size: 17px; padding: 20px 0; gap: 18px; }
  .closing-questions .faq-list summary span { font-size: 25px; flex-basis: 20px; }
  .closing-questions .faq-list details p { width: 100%; margin: -1px 0 0; padding: 0 26px 23px 0; font-size: 13px; line-height: 1.7; }
  .closing-download { padding: 34px 0 34px; }
  .closing-download-top p { font-size: 12px; }
  .closing-download h2 { font-size: clamp(84px, 21.4vw, 147px); margin: 40px 0 0 -3px; line-height: .94; }
  .closing-download h2 br { display: initial; }
  .closing-download h2 span { margin-left: 0; }
  .closing-download-bottom { display: block; padding-top: 28px; }
  .closing-download-bottom > p { font-size: 13px; }
  .closing-download-bottom > p br { display: none; }
  .closing-download #download-action { margin-top: 25px; text-align: left; }
  .closing-download .download-pending { font-size: 13px; padding-bottom: 9px; }
  .closing-download .download-note { display: block; margin: 10px 0 0; font-size: 10px; }
  .closing-footer { padding: 0 0 25px; }
  .closing-footer .footer-top { display: grid; grid-template-columns: 1fr auto; gap: 23px 20px; padding-top: 25px; }
  .closing-footer .footer-top > a:nth-child(2) { margin: 0; font-size: 10px; text-align: right; }
  .closing-footer .footer-top .brand { font-size: 17px; }
  .closing-footer .closing-back-top { font-size: 10px; }
  .closing-footer .footer-top p { font-size: 10px; text-align: right; }
  .closing-footer .legal { font-size: 9px; margin-top: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .closing-questions .faq-list summary,
  .closing-questions .faq-list summary span,
  .closing-back-top span { transition: none; }
  .closing-back-top:hover span { transform: none; }
}
