.interface-atlas {
  background: #252337;
  color: #f9f7fe;
  scroll-margin-top: 64px;
}
.atlas-inner {
  width: min(1180px, 90%);
  margin-inline: auto;
  padding-block: clamp(48px, 6vw, 90px);
}
.atlas-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(25px, 3vw, 42px);
}
.atlas-intro h2 {
  font-size: clamp(40px, 5.3vw, 80px);
  font-weight: 580;
  line-height: 1.02;
  letter-spacing: -.068em;
}
.atlas-intro h2 em { color: #cab8ff; font-style: normal; }
.atlas-intro > p { max-width: 33ch; margin-bottom: 3px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.45; color: #e4deec; }
.atlas-grid {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-template-rows: clamp(300px,30vw,390px) clamp(225px,23.8vw,292px);
  gap: clamp(10px,1.25vw,18px);
}
.atlas-card { display: block; position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(16px,1.8vw,27px); color: #252630; text-align: left; }
.atlas-card:focus-visible { outline: 3px solid #fff; outline-offset: 4px; z-index: 1; }
.atlas-copy { position: relative; z-index: 2; padding: clamp(17px,2vw,30px); }
.atlas-copy h3 { margin: 0; font-size: clamp(22px,2.4vw,36px); font-weight: 590; line-height: 1.06; letter-spacing: -.053em; }
.atlas-copy p { margin-top: 7px; font-size: clamp(14px,1.2vw,18px); line-height: 1.32; }
.atlas-card:hover h3 { text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: .055em; }
.atlas-learning { grid-column: span 8; background: #d8e1ee; }
.atlas-learning .atlas-copy { padding-bottom: 0; }
.atlas-learning-art { position: absolute; width: 78%; top: 33%; left: 14%; transform: rotate(-4deg); }
.atlas-board { width: 100%; height: auto; border-radius: 12px; border: 5px solid #f8f8fb; box-shadow: 0 12px 30px #2a3c5d38; }
.atlas-teacher { position: absolute; right: -4%; top: -7%; width: 14%; height: auto; border-radius: 18%; border: 3px solid #fff; box-shadow: 0 4px 10px #29364d38; }
.atlas-companion { grid-column: span 4; background: #9d594b; color: #fff; }
.atlas-face { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center 31%; }
.atlas-companion::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#201325d9,transparent 55%); pointer-events: none; }
.atlas-companion .atlas-copy { position: absolute; bottom: 0; }
.atlas-mail { grid-column: span 5; background: #efe2ce; }
.atlas-mail-screen { position: absolute; width: 92%; max-width: none; height: auto; left: 10%; top: 31%; transform: rotate(-4deg); border-radius: 9px; box-shadow: 0 7px 17px #55371732; }
.atlas-utterance { position: absolute; display: inline-flex; align-items: center; gap: 7px; bottom: 9%; left: 6%; padding: 8px 12px; border-radius: 20px; background: #303031; color: #fff; font-size: clamp(12px,1.15vw,16px); line-height: 1.25; }
.atlas-utterance .icon { width: 17px; height: 17px; }
.atlas-speaking { grid-column: span 3; background: #c6bae7; color: #32244b; }
.atlas-speaking .atlas-copy { padding-bottom: 0; }
.atlas-dialogue { position: relative; display: grid; justify-items: start; gap: 6px; z-index: 1; margin: 14px 12% 0 8%; }
.atlas-dialogue span { padding: 6px 10px; border-radius: 13px 13px 13px 4px; color: #392b4e; font-size: clamp(13px,1.1vw,16px); line-height: 1.24; background: #fcf9ff; box-shadow: 0 2px 8px #4d396316; }
.atlas-dialogue span + span { justify-self: end; color: #fff; background: #61477e; border-radius: 13px 13px 4px 13px; }
.atlas-coach-screen { position: absolute; width: 68%; top: 54%; left: 26%; height: auto; border: 4px solid #372b49; border-radius: 17px; transform: rotate(6deg); box-shadow: 0 8px 20px #42345642; }
.atlas-tasks { grid-column: span 4; color: #22382f; background: #ccdecf; }
.atlas-task-screen { position: absolute; width: 125%; max-width: none; height: auto; left: 9%; top: 43%; border-radius: 10px; transform: rotate(3deg); box-shadow: 0 8px 23px #354e3c35; }
@media (max-width: 860px) {
  .atlas-inner { width: 92%; }
  .atlas-intro { align-items: start; }
  .atlas-intro > p { max-width: 28ch; }
  .atlas-grid { grid-template-rows: clamp(265px,36vw,310px) 237px; }
}
@media (max-width: 640px) {
  .atlas-inner { width: min(92%,520px); padding-block: 44px; }
  .atlas-intro { display: grid; gap: 13px; }
  .atlas-intro > p { max-width: 43ch; margin: 0; }
  .atlas-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
  .atlas-card { grid-column: auto; height: clamp(178px,48vw,247px); }
  .atlas-learning { grid-column: 1/-1; height: clamp(242px,62vw,333px); }
  .atlas-learning-art { width: 84%; left: 8%; top: 34%; }
  .atlas-copy { padding: 15px; }
  .atlas-copy h3 { font-size: clamp(20px,5.1vw,28px); }
  .atlas-learning .atlas-copy h3 { font-size: clamp(25px,6vw,32px); }
  .atlas-copy p { font-size: 14px; }
  .atlas-mail-screen { width: 130%; top: 45%; left: 8%; }
  .atlas-utterance { max-width: 90%; left: 5%; bottom: 7%; padding: 6px 8px; font-size: 12px; }
  .atlas-dialogue { margin-top: 9px; }
  .atlas-dialogue span { padding: 4px 8px; font-size: 13px; }
  .atlas-coach-screen { top: 64%; }
  .atlas-task-screen { width: 166%; top: 50%; }
}

/* The three personal-life interfaces share the same layout on both pages. */
.pitch-atlas { margin: 32px 0; }
.pitch-atlas .atlas-utterance .icon { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; }
.atlas-grid { grid-auto-rows: minmax(246px,auto); }
.atlas-life { grid-column: span 4; display: flex; flex-direction: column; padding-bottom: clamp(16px,1.7vw,24px); }
.atlas-life .atlas-copy { padding-bottom: 12px; }
.atlas-life:hover h3 { text-decoration: none; }
.atlas-life :is(p,dl,dt,dd,blockquote) { margin: 0; }
.atlas-life .atlas-period { font: 600 13px/1.3 system-ui,sans-serif; letter-spacing: .01em; }
.atlas-finance { background: #163f43; color: #f3ffef; }
.atlas-statement,.atlas-diary,.atlas-reflection { flex: 1; margin: 0 clamp(14px,1.8vw,26px); border-radius: 14px; padding: clamp(13px,1.35vw,20px); }
.atlas-statement { background: #f5f8ee; color: #1e3633; }
.atlas-statement .atlas-period { color: #485c54; }
.atlas-total { display: block; font-size: clamp(27px,2.2vw,36px); line-height: 1.08; letter-spacing: -.06em; margin: 3px 0 9px; }
.atlas-spend-bar { height: 7px; border-radius: 4px; background: linear-gradient(to right,#28675b 0 57.14%,#9bc4a0 57.14% 85.71%,#e4b46e 85.71%); }
.atlas-spend-list { padding-top: 8px; }
.atlas-spend-list > div,.atlas-health-list > div,.atlas-mood { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; }
.atlas-spend-list > div { padding: 2px 0; font-size: 13px; line-height: 1.3; }
.atlas-spend-list dd,.atlas-health-list dd { font-weight: 650; font-variant-numeric: tabular-nums; }
.atlas-health { color: #4f2a2c; background: #edc5be; }
.atlas-diary { color: #51373a; background: #fff7f1; }
.atlas-health-heading { display: flex; align-items: center; gap: 7px; font-size: 14px; line-height: 1.2; font-weight: 650; }
.atlas-pulse { color: #b85665; font-size: 21px; }
.atlas-health-list > div { padding: 10px 0 5px; border-bottom: 1px solid #e5d4cc; font-size: 15px; line-height: 1.25; }
.atlas-mood { padding-top: 9px; font-size: 14px; }
.atlas-mood strong { color: #78454e; font-size: 13px; }
.atlas-spirit { background: #e3dded; color: #3e314d; }
.atlas-reflection { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: #f9f5ec; }
.atlas-reflection .atlas-period { position: relative; color: #66526f; }
.atlas-reflection blockquote { position: relative; margin-top: 8px; max-width: 15ch; font: 400 clamp(22px,2.1vw,32px)/1.12 Georgia,serif; letter-spacing: -.035em; }
.atlas-sun { z-index: -1; position: absolute; width: 72px; height: 72px; bottom: -40px; right: 6%; border-radius: 100%; background: #dca369; box-shadow: 0 0 0 10px #e9c6a6,0 0 0 21px #ecd4c3,0 0 0 33px #f0e3d4; }
@media (max-width: 640px) {
  .atlas-grid { grid-auto-rows: auto; }
  .atlas-life { grid-column: auto; height: auto; min-height: 210px; padding-bottom: 12px; }
  .atlas-life .atlas-copy { padding-bottom: 8px; }
  .atlas-statement,.atlas-diary,.atlas-reflection { margin-inline: 11px; padding: 11px; }
  .atlas-spend-list > div,.atlas-health-list > div { font-size: 13px; }
  .atlas-spirit { grid-column: 1/-1; min-height: 175px; }
  .atlas-reflection blockquote { max-width: 24ch; }
  .atlas-sun { bottom: -26px; right: 2%; }
}
@media (max-width: 350px) {
  .atlas-life { grid-column: 1/-1; }
}
